Searched refs:STATE_ENABLED_INACTIVE (Results 1 – 16 of 16) sorted by relevance
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbServiceCoreTest.java | 527 verify(cb).onAdapterStateChanged(UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE, in testEnableWithCountryCode_success() 530 .isEqualTo(AdapterState.STATE_ENABLED_INACTIVE); in testEnableWithCountryCode_success() 605 .onAdapterStateChanged(UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE, in testCountryCodeChange_fromValidCountry_statusRegulationUwbOff() 608 .isEqualTo(AdapterState.STATE_ENABLED_INACTIVE); in testCountryCodeChange_fromValidCountry_statusRegulationUwbOff() 691 .onAdapterStateChanged(UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE, in testEnableWhenAlreadyEnabled() 694 .isEqualTo(AdapterState.STATE_ENABLED_INACTIVE); in testEnableWhenAlreadyEnabled() 701 .isEqualTo(AdapterState.STATE_ENABLED_INACTIVE); in testEnableWhenAlreadyEnabled() 746 .onAdapterStateChanged(UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE, in testEnableWhenInitializeDelayed() 749 .isEqualTo(AdapterState.STATE_ENABLED_INACTIVE); in testEnableWhenInitializeDelayed() 767 .onAdapterStateChanged(UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE, in testDisable() [all …]
|
D | UwbServiceImplTest.java | 21 import static android.uwb.UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE; 438 when(mUwbServiceCore.getAdapterState()).thenReturn(STATE_ENABLED_INACTIVE); in testToggleStateReadFromSharedPrefsOnInitialization() 439 assertThat(mUwbServiceImpl.getAdapterState()).isEqualTo(STATE_ENABLED_INACTIVE); in testToggleStateReadFromSharedPrefsOnInitialization()
|
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/ |
D | UwbActivityEnergyInfoTest.java | 19 import static android.uwb.UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE; 42 private static final int STACK_STATE = STATE_ENABLED_INACTIVE;
|
D | UwbTestUtils.java | 109 .setStackState(UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE) in getUwbActivityEnergyInfo()
|
D | UwbManagerTest.java | 24 import static android.uwb.UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE; 165 int adapterState = enabled ? STATE_ENABLED_INACTIVE : STATE_DISABLED; in setUwbEnabledAndWaitForCompletion() 1642 assertThat(mUwbManager.getAdapterState()).isEqualTo(STATE_ENABLED_INACTIVE); in testUwbStateToggle() 2127 int adapterState = expectAdapterEnable ? STATE_ENABLED_INACTIVE : STATE_ENABLED_HW_IDLE; in requestUwbHwEnabledAndWaitForCompletion() 2151 assertThat(mUwbManager.getAdapterState()).isEqualTo(STATE_ENABLED_INACTIVE); in testUwbHwStateToggle() 2203 new AdapterStateCallback(countDownLatch, STATE_ENABLED_INACTIVE); in testUwbHwStateToggle_WhenUwbToggleDisabled() 2215 new AdapterStateCallback(countDownLatch, STATE_ENABLED_INACTIVE); in testUwbHwStateToggle_WhenUwbToggleDisabled()
|
/packages/modules/Uwb/framework/java/android/uwb/ |
D | AdapterStateListener.java | 191 case AdapterState.STATE_ENABLED_INACTIVE: in convertToState() 192 return AdapterStateCallback.STATE_ENABLED_INACTIVE; in convertToState()
|
D | UwbActivityEnergyInfo.java | 205 && stackState != UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE in setStackState() 286 && mStackState != UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE in build()
|
D | AdapterState.aidl | 32 STATE_ENABLED_INACTIVE, enumConstant
|
D | UwbManager.java | 98 STATE_ENABLED_INACTIVE, 141 int STATE_ENABLED_INACTIVE = 1; field
|
/packages/apps/Settings/src/com/android/settings/uwb/ |
D | UwbPreferenceController.java | 22 import static android.uwb.UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE; 126 return mState == STATE_ENABLED_ACTIVE || mState == STATE_ENABLED_INACTIVE; in isChecked()
|
/packages/modules/Connectivity/remoteauth/tests/unit/src/com/android/server/remoteauth/ranging/ |
D | RangingManagerTest.java | 20 import static android.uwb.UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE; 119 when(mUwbManager.getAdapterState()).thenReturn(STATE_ENABLED_INACTIVE); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/uwb/ |
D | UwbPreferenceControllerTest.java | 23 import static android.uwb.UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE; 202 STATE_ENABLED_INACTIVE, STATE_CHANGED_REASON_SYSTEM_POLICY); in updateStateAndSummary_uwbDisabledAndEnabled()
|
/packages/modules/Uwb/framework/tests/src/android/uwb/ |
D | AdapterStateListenerTest.java | 216 AdapterState.STATE_ENABLED_INACTIVE, 218 AdapterStateCallback.STATE_ENABLED_INACTIVE);
|
D | UwbManagerTest.java | 143 when(mIUwbAdapter.getAdapterState()).thenReturn(AdapterState.STATE_ENABLED_INACTIVE); in testGettersAndSetters()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbServiceCore.java | 471 adapterState = AdapterStateCallback.STATE_ENABLED_INACTIVE; in getAdapterStateFromDeviceState() 927 : AdapterStateCallback.STATE_ENABLED_INACTIVE; in getInternalAdapterState()
|
/packages/modules/Uwb/framework/api/ |
D | system-current.txt | 268 field public static final int STATE_ENABLED_INACTIVE = 1; // 0x1
|