/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/ |
D | FiraOpenSessionParams.java | 44 public class FiraOpenSessionParams extends FiraParams { class 270 private FiraOpenSessionParams( in FiraOpenSessionParams() method in FiraOpenSessionParams 974 public static FiraOpenSessionParams fromBundle(PersistableBundle bundle) { in fromBundle() 988 private static FiraOpenSessionParams parseBundleVersion1(PersistableBundle bundle) { in parseBundleVersion1() 997 FiraOpenSessionParams.Builder builder = new FiraOpenSessionParams.Builder() in parseBundleVersion1() 1477 public Builder(@NonNull FiraOpenSessionParams params) { in Builder() 1569 public FiraOpenSessionParams.Builder setProtocolVersion(FiraProtocolVersion version) { in setProtocolVersion() 1574 public FiraOpenSessionParams.Builder setSessionId(int sessionId) { in setSessionId() 1579 public FiraOpenSessionParams.Builder setSessionType(@SessionType int sessionType) { in setSessionType() 1584 public FiraOpenSessionParams.Builder setDeviceType(@RangingDeviceType int deviceType) { in setDeviceType() [all …]
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/ |
D | FiraEncoderTest.java | 62 import com.google.uwb.support.fira.FiraOpenSessionParams; 83 private static final FiraOpenSessionParams.Builder TEST_FIRA_OPEN_SESSION_COMMON_PARAMS = 84 new FiraOpenSessionParams.Builder() 103 private static final FiraOpenSessionParams.Builder TEST_FIRA_OPEN_SESSION_PARAMS_V_1_1 = 104 new FiraOpenSessionParams.Builder(TEST_FIRA_OPEN_SESSION_COMMON_PARAMS); 106 private static final FiraOpenSessionParams.Builder TEST_FIRA_OPEN_SESSION_PARAMS_V_2_0 = 107 new FiraOpenSessionParams.Builder(TEST_FIRA_OPEN_SESSION_COMMON_PARAMS) 113 private static final FiraOpenSessionParams.Builder 115 new FiraOpenSessionParams.Builder(TEST_FIRA_OPEN_SESSION_PARAMS_V_2_0) 132 private static final FiraOpenSessionParams.Builder TEST_FIRA_UT_TAG_OPEN_SESSION_PARAM = [all …]
|
/packages/modules/Uwb/service/support_lib/test/ |
D | OemExtensionTests.java | 29 import com.google.uwb.support.fira.FiraOpenSessionParams; 138 FiraOpenSessionParams firaOpenSessionParams = new FiraOpenSessionParams.Builder() in testSessionConfigParams() 167 FiraOpenSessionParams params = FiraOpenSessionParams.fromBundle( in testSessionConfigParams()
|
D | FiraTests.java | 61 import com.google.uwb.support.fira.FiraOpenSessionParams; 153 FiraOpenSessionParams params = in testOpenSessionParams() 154 new FiraOpenSessionParams.Builder() in testOpenSessionParams() 296 FiraOpenSessionParams fromBundle = FiraOpenSessionParams.fromBundle(params.toBundle()); in testOpenSessionParams() 373 FiraOpenSessionParams fromCopy = new FiraOpenSessionParams.Builder(params).build(); in testOpenSessionParams()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbSessionManager.java | 107 import com.google.uwb.support.fira.FiraOpenSessionParams; 592 && uwbSession.getParams() instanceof FiraOpenSessionParams) { in setAppConfigurations() 593 FiraOpenSessionParams params = (FiraOpenSessionParams) uwbSession.getParams(); in setAppConfigurations() 1100 FiraOpenSessionParams firaOpenSessionParams = in suspendRangingPreconditionCheck() 1101 (FiraOpenSessionParams) uwbSession.getParams(); in suspendRangingPreconditionCheck() 1117 FiraOpenSessionParams firaOpenSessionParams = in sessionUpdateMulticastListCmdPreconditioncheck() 1118 (FiraOpenSessionParams) uwbSession.getParams(); in sessionUpdateMulticastListCmdPreconditioncheck() 2537 if (params instanceof FiraOpenSessionParams) { in isValidUwbSessionForOwrAoaRanging() 2538 FiraOpenSessionParams firaParams = (FiraOpenSessionParams) params; in isValidUwbSessionForOwrAoaRanging() 2702 if (params instanceof FiraOpenSessionParams) { in UwbSession() [all …]
|
D | UwbShellCommand.java | 110 import com.google.uwb.support.fira.FiraOpenSessionParams; 179 public static final FiraOpenSessionParams.Builder DEFAULT_FIRA_OPEN_SESSION_PARAMS = 180 new FiraOpenSessionParams.Builder() 453 private Pair<FiraOpenSessionParams, Boolean> buildFiraOpenSessionParams( in buildFiraOpenSessionParams() 455 FiraOpenSessionParams.Builder builder = in buildFiraOpenSessionParams() 456 new FiraOpenSessionParams.Builder(DEFAULT_FIRA_OPEN_SESSION_PARAMS); in buildFiraOpenSessionParams() 757 Pair<FiraOpenSessionParams, Boolean> firaOpenSessionParams = in startFiraRangingSession() 765 FiraOpenSessionParams.Builder builder = new FiraOpenSessionParams.Builder() in startDlTDoaRangingSession() 786 FiraOpenSessionParams firaOpenSessionParams = builder.build(); in startDlTDoaRangingSession() 915 if (openRangingSessionParams instanceof FiraOpenSessionParams in startRangingSession() [all …]
|
D | UwbMetrics.java | 35 import com.google.uwb.support.fira.FiraOpenSessionParams; 158 if (params instanceof FiraOpenSessionParams) { in parseParams() 159 parseFiraParams((FiraOpenSessionParams) params); in parseParams() 167 private void parseFiraParams(FiraOpenSessionParams params) { in parseFiraParams()
|
D | UwbServiceCore.java | 73 import com.google.uwb.support.fira.FiraOpenSessionParams; 656 FiraOpenSessionParams.Builder builder = in openRanging() 657 new FiraOpenSessionParams.Builder(FiraOpenSessionParams.fromBundle(params)); in openRanging() 669 FiraOpenSessionParams firaOpenSessionParams = builder.build(); in openRanging()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbConfigurationManagerTest.java | 63 import com.google.uwb.support.fira.FiraOpenSessionParams; 94 private FiraOpenSessionParams mFiraParams; 183 mFiraParams.getProtocolName(), new byte[0], FiraOpenSessionParams.class, in testGetAppConfigurations() 197 FiraOpenSessionParams.class, TEST_CHIP_ID, any()); in testGetCapsInfo() 202 private FiraOpenSessionParams getFiraParams() { in getFiraParams() 265 FiraOpenSessionParams params = in getFiraParams() 266 new FiraOpenSessionParams.Builder() in getFiraParams()
|
D | UwbSessionManagerTest.java | 143 import com.google.uwb.support.fira.FiraOpenSessionParams; 1184 FiraOpenSessionParams mockFiraOpenSessionParams = mock(FiraOpenSessionParams.class); in testCreateUwbSession_correctSessionPrioritiesSet() 1187 FiraOpenSessionParams.Builder mockFiraBuilder = mock(FiraOpenSessionParams.Builder.class); in testCreateUwbSession_correctSessionPrioritiesSet() 1269 FiraOpenSessionParams mockParams = mock(FiraOpenSessionParams.class); in initSession_controleeList() 1270 FiraOpenSessionParams.Builder mockBuilder = mock(FiraOpenSessionParams.Builder.class); in initSession_controleeList() 1694 FiraOpenSessionParams.Builder paramsBuilder = new FiraOpenSessionParams.Builder() in setupFiraParams() 1935 FiraOpenSessionParams firaParams = new in openRanging_success_Fira_2_0_absoluteInitiationTimeIsComputed() 1936 FiraOpenSessionParams.Builder( in openRanging_success_Fira_2_0_absoluteInitiationTimeIsComputed() 1937 (FiraOpenSessionParams) setupFiraParams(FIRA_VERSION_2_0)) in openRanging_success_Fira_2_0_absoluteInitiationTimeIsComputed() 2549 FiraOpenSessionParams firaParams = (FiraOpenSessionParams) uwbSession.getParams(); in reconfigure_calledSuccess() [all …]
|
D | UwbShellCommandTest.java | 62 import com.google.uwb.support.fira.FiraOpenSessionParams; 295 FiraOpenSessionParams.Builder openSessionParamsBuilder = in testStartFiraRangingUsesUniqueSessionHandle() 296 new FiraOpenSessionParams.Builder(DEFAULT_FIRA_OPEN_SESSION_PARAMS); in testStartFiraRangingUsesUniqueSessionHandle() 315 FiraOpenSessionParams.Builder openSessionParamsBuilder = in testStartFiraRangingWithNonDefaultParams() 316 new FiraOpenSessionParams.Builder(DEFAULT_FIRA_OPEN_SESSION_PARAMS); in testStartFiraRangingWithNonDefaultParams()
|
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/ |
D | UwbManagerTest.java | 73 import com.google.uwb.support.fira.FiraOpenSessionParams; 1000 private FiraOpenSessionParams.Builder makeOpenSessionBuilder() { in makeOpenSessionBuilder() 1001 return new FiraOpenSessionParams.Builder() in makeOpenSessionBuilder() 1024 @NonNull FiraOpenSessionParams firaOpenSessionParams, in verifyFiraRangingSession() 1121 FiraOpenSessionParams firaOpenSessionParams = makeOpenSessionBuilder() in testFiraRangingSession() 1130 FiraOpenSessionParams firaOpenSessionParams = makeOpenSessionBuilder() in testQueryMaxDataSizeBytesWithNoPermission() 1158 FiraOpenSessionParams firaOpenSessionParams = makeOpenSessionBuilder() in testsetDataTransferPhaseConfigWithNoPermission() 1187 FiraOpenSessionParams firaOpenSessionParams = makeOpenSessionBuilder() in testsetHybridSessionControllerConfigurationWithNoPermission() 1216 FiraOpenSessionParams firaOpenSessionParams = makeOpenSessionBuilder() in testsetHybridSessionControleeConfigurationWithNoPermission() 1249 FiraOpenSessionParams firaOpenSessionParams = new FiraOpenSessionParams.Builder() in testDlTdoaRangingSession() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/params/ |
D | FiraEncoder.java | 33 import com.google.uwb.support.fira.FiraOpenSessionParams; 55 if (param instanceof FiraOpenSessionParams) { in getTlvBuffer() 74 FiraOpenSessionParams params = (FiraOpenSessionParams) baseParam; in getTlvBufferFromFiraOpenSessionParams() 271 FiraOpenSessionParams params) { in configureStsParameters() 387 private int getResultReportConfig(FiraOpenSessionParams params) { in getResultReportConfig() 396 private int getRangingRoundControl(FiraOpenSessionParams params) { in getRangingRoundControl() 438 private byte[] getSessionTimeBase(FiraOpenSessionParams params) { in getSessionTimeBase()
|
/packages/modules/Uwb/indev_uwb_adaptation/tests/src/com/android/server/uwb/indev/ |
D | UwbServiceTest.java | 37 import com.google.uwb.support.fira.FiraOpenSessionParams; 69 private static final FiraOpenSessionParams.Builder TEST_FIRA_OPEN_SESSION_PARAMS = 70 new FiraOpenSessionParams.Builder()
|
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/ |
D | RangingControlee.java | 26 import com.google.uwb.support.fira.FiraOpenSessionParams; 41 protected FiraOpenSessionParams getOpenSessionParams() { in getOpenSessionParams()
|
D | ConfigurationManager.java | 61 import com.google.uwb.support.fira.FiraOpenSessionParams; 477 public static FiraOpenSessionParams createOpenSessionParams( in createOpenSessionParams() 512 FiraOpenSessionParams.Builder builder = in createOpenSessionParams() 513 new FiraOpenSessionParams.Builder() in createOpenSessionParams()
|
D | RangingDevice.java | 48 import com.google.uwb.support.fira.FiraOpenSessionParams; 421 protected abstract FiraOpenSessionParams getOpenSessionParams(); 465 FiraOpenSessionParams openSessionParams = getOpenSessionParams();
|
D | RangingController.java | 42 import com.google.uwb.support.fira.FiraOpenSessionParams; 66 protected FiraOpenSessionParams getOpenSessionParams() { in getOpenSessionParams()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/ |
D | UwbConfigTest.java | 60 import com.google.uwb.support.fira.FiraOpenSessionParams; 241 FiraOpenSessionParams controleeParams = in testGetOpenSessionParams() 262 FiraOpenSessionParams controllerParams = in testGetOpenSessionParams() 289 FiraOpenSessionParams controleeParams = in testGetOpenSessionParamsForDynamicStsIndKey() 321 FiraOpenSessionParams controleeParams = in testPacsControllerProfileForProvSTSIndKey()
|
/packages/modules/Uwb/androidx_backend/tests/src/androidx/core/uwb/backend/impl/internal/ |
D | ConfigurationManagerTest.java | 46 import com.google.uwb.support.fira.FiraOpenSessionParams; 96 FiraOpenSessionParams params = in testCreateOpenSessionParams() 121 FiraOpenSessionParams params = in testCreateOpenSessionParams_ProvisionedSts()
|
D | RangingControleeTest.java | 46 import com.google.uwb.support.fira.FiraOpenSessionParams; 163 FiraOpenSessionParams params = mRangingControlee.getOpenSessionParams();
|
D | RangingControllerTest.java | 47 import com.google.uwb.support.fira.FiraOpenSessionParams; 137 FiraOpenSessionParams params = mRangingController.getOpenSessionParams();
|
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/ |
D | RangingSessionController.java | 37 import com.google.uwb.support.fira.FiraOpenSessionParams; 165 FiraOpenSessionParams firaOpenSessionParams = in openRangingSession() 181 FiraOpenSessionParams firaOpenSessionParams = in startRanging()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/data/ |
D | UwbConfig.java | 45 import com.google.uwb.support.fira.FiraOpenSessionParams; 541 public static FiraOpenSessionParams getOpenSessionParams( in getOpenSessionParams() 545 FiraOpenSessionParams.Builder firaOpenSessionBuilder = new FiraOpenSessionParams.Builder() in getOpenSessionParams()
|
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/snippet/ |
D | UwbManagerSnippet.java | 43 import com.google.uwb.support.fira.FiraOpenSessionParams; 608 private FiraOpenSessionParams generateFiraOpenSessionParams(JSONObject j) throws JSONException { in generateFiraOpenSessionParams() 612 FiraOpenSessionParams.Builder builder = new FiraOpenSessionParams.Builder(); in generateFiraOpenSessionParams() 734 FiraOpenSessionParams params = generateFiraOpenSessionParams(config); in openFiraRangingSession()
|