/packages/modules/Uwb/service/java/com/android/server/uwb/params/ |
D | FiraEncoder.java | 78 int deviceRole = params.getDeviceRole(); in getTlvBufferFromFiraOpenSessionParams() 97 .putByte(ConfigParam.DEVICE_ROLE, (byte) params.getDeviceRole()) in getTlvBufferFromFiraOpenSessionParams() 128 if (params.getDeviceRole() != FiraParams.RANGING_DEVICE_UT_TAG) { in getTlvBufferFromFiraOpenSessionParams() 233 if (params.getDeviceRole() == FiraParams.RANGING_DEVICE_UT_TAG) { in getTlvBufferFromFiraOpenSessionParams() 243 if (params.getDeviceRole() == FiraParams.RANGING_DEVICE_ROLE_ADVERTISER || in getTlvBufferFromFiraOpenSessionParams() 244 params.getDeviceRole() == FiraParams.RANGING_DEVICE_ROLE_OBSERVER) { in getTlvBufferFromFiraOpenSessionParams()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/ |
D | UwbConfigTest.java | 245 assertEquals(controleeParams.getDeviceRole(), RANGING_DEVICE_ROLE_RESPONDER); in testGetOpenSessionParams() 268 assertEquals(controllerParams.getDeviceRole(), RANGING_DEVICE_ROLE_RESPONDER); in testGetOpenSessionParams() 294 assertEquals(controleeParams.getDeviceRole(), RANGING_DEVICE_ROLE_RESPONDER); in testGetOpenSessionParamsForDynamicStsIndKey() 328 assertEquals(controleeParams.getDeviceRole(), RANGING_DEVICE_ROLE_RESPONDER); in testPacsControllerProfileForProvSTSIndKey()
|
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/ |
D | ThreadNetworkControllerTest.java | 452 assertThat(getDeviceRole(mController)).isEqualTo(DEVICE_ROLE_STOPPED); 470 assertThat(getDeviceRole(mController)).isEqualTo(DEVICE_ROLE_STOPPED); 488 assertThat(getDeviceRole(mController)).isEqualTo(DEVICE_ROLE_STOPPED); 759 assertThat(getDeviceRole(mController)).isEqualTo(DEVICE_ROLE_STOPPED); 781 assertThat(getDeviceRole(mController)).isEqualTo(DEVICE_ROLE_STOPPED); 925 return ThreadNetworkController.isAttached(getDeviceRole(controller)); 928 private static int getDeviceRole(ThreadNetworkController controller) throws Exception {
|
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/ranging/ |
D | SessionParameters.java | 80 public int getDeviceRole() { in getDeviceRole() method in SessionParameters
|
D | UwbRangingSession.java | 75 if (sessionParameters.getDeviceRole() == DEVICE_ROLE_INITIATOR) { in UwbRangingSession()
|
/packages/modules/Uwb/service/support_lib/test/ |
D | OemExtensionTests.java | 170 assertEquals(params.getDeviceRole(), RANGING_DEVICE_ROLE_INITIATOR); in testSessionConfigParams()
|
D | FiraTests.java | 227 assertEquals(params.getDeviceRole(), deviceRole); in testOpenSessionParams()
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/ |
D | ThreadNetworkControllerWrapper.java | 104 public final int getDeviceRole() in getDeviceRole() method in ThreadNetworkControllerWrapper
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbMetricsTest.java | 172 when(mFiraParams.getDeviceRole()).thenReturn(FiraParams.RANGING_DEVICE_ROLE_INITIATOR); in setUp() 308 when(mFiraParams.getDeviceRole()).thenReturn(FiraParams.RANGING_DEVICE_ROLE_RESPONDER); in testLogRangingSessionInitFiraInvalidParams()
|
/packages/modules/Uwb/androidx_backend/tests/src/androidx/core/uwb/backend/impl/internal/ |
D | ConfigurationManagerTest.java | 100 assertEquals(params.getDeviceRole(), RANGING_DEVICE_ROLE_INITIATOR); in testCreateOpenSessionParams()
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/ |
D | ThreadIntegrationTest.java | 164 assertThat(mController.getDeviceRole()).isEqualTo(DEVICE_ROLE_STOPPED); in otDaemonFactoryReset_deviceRoleIsStopped()
|
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/ |
D | RangingDevice.java | 495 if (openSessionParams.getDeviceRole() == RANGING_DEVICE_DT_TAG) {
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbMetrics.java | 176 mIsInitiator = params.getDeviceRole() == FiraParams.RANGING_DEVICE_ROLE_INITIATOR; in parseFiraParams()
|
D | UwbSessionManager.java | 2544 if (firaParams.getDeviceRole() != RANGING_DEVICE_ROLE_OBSERVER) { in isValidUwbSessionForOwrAoaRanging() 2546 + firaParams.getDeviceRole()); in isValidUwbSessionForOwrAoaRanging() 3143 int deviceRole = firaOpenSessionParams.getDeviceRole(); in updateFiraParamsForSessionTimeBase()
|
D | UwbShellCommand.java | 916 && ((FiraOpenSessionParams) openRangingSessionParams).getDeviceRole() in startRangingSession()
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/ |
D | FiraOpenSessionParams.java | 467 public int getDeviceRole() { in getDeviceRole() method in FiraOpenSessionParams
|
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/ |
D | UwbManagerTest.java | 1049 if (firaOpenSessionParams.getDeviceRole() == RANGING_DEVICE_DT_TAG) { in verifyFiraRangingSession()
|