Searched refs:STATE_ENABLED_ACTIVE (Results 1 – 15 of 15) sorted by relevance
/packages/modules/Uwb/framework/tests/src/android/uwb/ |
D | AdapterStateListenerTest.java | 220 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,
|
D | UwbManagerTest.java | 141 when(mIUwbAdapter.getAdapterState()).thenReturn(AdapterState.STATE_ENABLED_ACTIVE); in testGettersAndSetters()
|
/packages/modules/Uwb/framework/java/android/uwb/ |
D | AdapterStateListener.java | 194 case AdapterState.STATE_ENABLED_ACTIVE: in convertToState() 195 return AdapterStateCallback.STATE_ENABLED_ACTIVE; in convertToState()
|
D | UwbActivityEnergyInfo.java | 206 && stackState != UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE) { in setStackState() 287 && mStackState != UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE) { in build()
|
D | AdapterState.aidl | 37 STATE_ENABLED_ACTIVE, enumConstant
|
D | UwbManager.java | 99 STATE_ENABLED_ACTIVE, 146 int STATE_ENABLED_ACTIVE = 2; field
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/uwb/ |
D | UwbPreferenceControllerTest.java | 22 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/ |
D | UwbPreferenceController.java | 21 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/ |
D | UwbSettingsStore.java | 19 import static android.uwb.UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE; 147 == STATE_ENABLED_ACTIVE; in initialize()
|
D | UwbServiceCore.java | 473 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/ |
D | UwbServiceImplTest.java | 20 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()
|
D | UwbServiceCoreTest.java | 1514 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()
|
D | UwbShellCommandTest.java | 135 .thenReturn(UwbManager.AdapterStateCallback.STATE_ENABLED_ACTIVE); in testStatus()
|
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/ |
D | UwbManagerTest.java | 22 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/ |
D | system-current.txt | 266 field public static final int STATE_ENABLED_ACTIVE = 2; // 0x2
|