Home
last modified time | relevance | path

Searched refs:STATE_ENABLED_INACTIVE (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbServiceCoreTest.java527 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 …]
DUwbServiceImplTest.java21 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/
DUwbActivityEnergyInfoTest.java19 import static android.uwb.UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE;
42 private static final int STACK_STATE = STATE_ENABLED_INACTIVE;
DUwbTestUtils.java109 .setStackState(UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE) in getUwbActivityEnergyInfo()
DUwbManagerTest.java24 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/
DAdapterStateListener.java191 case AdapterState.STATE_ENABLED_INACTIVE: in convertToState()
192 return AdapterStateCallback.STATE_ENABLED_INACTIVE; in convertToState()
DUwbActivityEnergyInfo.java205 && stackState != UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE in setStackState()
286 && mStackState != UwbManager.AdapterStateCallback.STATE_ENABLED_INACTIVE in build()
DAdapterState.aidl32 STATE_ENABLED_INACTIVE, enumConstant
DUwbManager.java98 STATE_ENABLED_INACTIVE,
141 int STATE_ENABLED_INACTIVE = 1; field
/packages/apps/Settings/src/com/android/settings/uwb/
DUwbPreferenceController.java22 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/
DRangingManagerTest.java20 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/
DUwbPreferenceControllerTest.java23 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/
DAdapterStateListenerTest.java216 AdapterState.STATE_ENABLED_INACTIVE,
218 AdapterStateCallback.STATE_ENABLED_INACTIVE);
DUwbManagerTest.java143 when(mIUwbAdapter.getAdapterState()).thenReturn(AdapterState.STATE_ENABLED_INACTIVE); in testGettersAndSetters()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbServiceCore.java471 adapterState = AdapterStateCallback.STATE_ENABLED_INACTIVE; in getAdapterStateFromDeviceState()
927 : AdapterStateCallback.STATE_ENABLED_INACTIVE; in getInternalAdapterState()
/packages/modules/Uwb/framework/api/
Dsystem-current.txt268 field public static final int STATE_ENABLED_INACTIVE = 1; // 0x1