Home
last modified time | relevance | path

Searched refs:STATE_ENABLED_ACTIVE (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Uwb/framework/tests/src/android/uwb/
DAdapterStateListenerTest.java220 runStateChangeValue(StateChangeReason.SESSION_STARTED, AdapterState.STATE_ENABLED_ACTIVE,
222 AdapterStateCallback.STATE_ENABLED_ACTIVE);
262 cb.onAdapterStateChanged(AdapterState.STATE_ENABLED_ACTIVE,
274 verify(callback).onStateChanged(AdapterStateCallback.STATE_ENABLED_ACTIVE,
285 adapterStateListener.onAdapterStateChanged(AdapterState.STATE_ENABLED_ACTIVE,
289 verify(callback2).onStateChanged(AdapterStateCallback.STATE_ENABLED_ACTIVE,
DUwbManagerTest.java141 when(mIUwbAdapter.getAdapterState()).thenReturn(AdapterState.STATE_ENABLED_ACTIVE); in testGettersAndSetters()
/packages/modules/Uwb/framework/java/android/uwb/
DAdapterStateListener.java194 case AdapterState.STATE_ENABLED_ACTIVE: in convertToState()
195 return AdapterStateCallback.STATE_ENABLED_ACTIVE; in convertToState()
DUwbActivityEnergyInfo.java206 && stackState != UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE) { in setStackState()
287 && mStackState != UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE) { in build()
DAdapterState.aidl37 STATE_ENABLED_ACTIVE, enumConstant
DUwbManager.java99 STATE_ENABLED_ACTIVE,
146 int STATE_ENABLED_ACTIVE = 2; field
/packages/apps/Settings/tests/robotests/src/com/android/settings/uwb/
DUwbPreferenceControllerTest.java22 import static android.uwb.UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE;
109 doReturn(STATE_ENABLED_ACTIVE).when(mUwbManager).getAdapterState(); in setUp()
153 doReturn(STATE_ENABLED_ACTIVE).when(mUwbManager).getAdapterState(); in isChecked_uwbEnabled_shouldReturnTrue()
/packages/apps/Settings/src/com/android/settings/uwb/
DUwbPreferenceController.java21 import static android.uwb.UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE;
126 return mState == STATE_ENABLED_ACTIVE || mState == STATE_ENABLED_INACTIVE; in isChecked()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbSettingsStore.java19 import static android.uwb.UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE;
147 == STATE_ENABLED_ACTIVE; in initialize()
DUwbServiceCore.java473 adapterState = AdapterStateCallback.STATE_ENABLED_ACTIVE; in getAdapterStateFromDeviceState()
922 if (state == AdapterStateCallback.STATE_ENABLED_ACTIVE) { in getInternalAdapterState()
926 return isActive ? AdapterStateCallback.STATE_ENABLED_ACTIVE in getInternalAdapterState()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbServiceImplTest.java20 import static android.uwb.UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE;
434 when(mUwbServiceCore.getAdapterState()).thenReturn(STATE_ENABLED_ACTIVE); in testToggleStateReadFromSharedPrefsOnInitialization()
435 assertThat(mUwbServiceImpl.getAdapterState()).isEqualTo(STATE_ENABLED_ACTIVE); in testToggleStateReadFromSharedPrefsOnInitialization()
DUwbServiceCoreTest.java1514 assertThat(mUwbServiceCore.getAdapterState()).isEqualTo(AdapterState.STATE_ENABLED_ACTIVE); in testGetAdapterState_multichip()
1663 verify(cb).onAdapterStateChanged(UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE, in testDeviceStateCallback()
1695 verify(cb1).onAdapterStateChanged(UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE, in testMultipleDeviceStateCallbacks()
1697 verify(cb2).onAdapterStateChanged(UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE, in testMultipleDeviceStateCallbacks()
1718 .onAdapterStateChanged(UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE, in testDeviceStateCallback_invalidChipId()
DUwbShellCommandTest.java135 .thenReturn(UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE); in testStatus()
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java22 import static android.uwb.UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE;
1077 assertThat(mUwbManager.getAdapterState()).isEqualTo(STATE_ENABLED_ACTIVE); in verifyFiraRangingSession()
1949 assertThat(mUwbManager.getAdapterState()).isEqualTo(STATE_ENABLED_ACTIVE); in testOemCallbackExtension()
/packages/modules/Uwb/framework/api/
Dsystem-current.txt266 field public static final int STATE_ENABLED_ACTIVE = 2; // 0x2