/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BtAdapterUtils.java | 81 } else if (newState == BluetoothAdapter.STATE_OFF) { in onReceive() 130 if (bluetoothAdapter.getState() == BluetoothAdapter.STATE_OFF) return true; in disableAdapter() 136 while (bluetoothAdapter.getState() != BluetoothAdapter.STATE_OFF) { in disableAdapter() 149 return bluetoothAdapter.getState() == BluetoothAdapter.STATE_OFF; in disableAdapter()
|
D | BluetoothToggleActivity.java | 122 if (BluetoothAdapter.STATE_OFF == newState in onReceive() 129 && (BluetoothAdapter.STATE_OFF == previousState in onReceive()
|
D | BleEncryptedClientBaseActivity.java | 300 if (state == BluetoothAdapter.STATE_OFF) { in onReceive()
|
D | BleClientTestBaseActivity.java | 501 if (state == BluetoothAdapter.STATE_OFF) { in onReceive()
|
/cts/tests/tests/nfc/src/android/nfc/cts/ |
D | NfcUtils.java | 42 AtomicInteger state = new AtomicInteger(NfcAdapter.STATE_OFF); in enableNfc() 47 NfcAdapter.STATE_OFF); in enableNfc() 112 return state.get() == NfcAdapter.STATE_OFF; in disableNfc()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BluetoothRestrictionTest.java | 135 if (state == BluetoothAdapter.STATE_OFF) { in disable() 161 case BluetoothAdapter.STATE_OFF: in assertDisabledAfterTimeout() 198 assertBluetoothAdapterState(BluetoothAdapter.STATE_OFF); in enable() 224 if (state != BluetoothAdapter.STATE_OFF || turningOn) { in assertEnabledAfterTimeout()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarPowerManagerTest.java | 265 return display.getState() == Display.STATE_OFF; in testSetDisplayPowerState_passengerDisplays_modeOn() 297 return display.getState() == Display.STATE_OFF; in testSetDisplayPowerState_passengerDisplays_modeOff() 302 return display.getState() == Display.STATE_OFF; in testSetDisplayPowerState_passengerDisplays_modeOff() 307 return display.getState() == Display.STATE_OFF; in testSetDisplayPowerState_passengerDisplays_modeOff() 339 return display.getState() == Display.STATE_OFF; in testSetDisplayPowerState_passengerDisplays_modeAlwaysOn()
|
D | VehicleLightStateTest.java | 33 assertThat(VehicleLightState.toString(VehicleLightState.STATE_OFF)) in testToString()
|
D | VehicleLightSwitchTest.java | 33 assertThat(VehicleLightSwitch.toString(VehicleLightSwitch.STATE_OFF)) in testToString()
|
D | CarProjectionManagerTest.java | 122 } else if (newState == BluetoothAdapter.STATE_OFF) { in onReceive() 145 waitForAdapterState(BluetoothAdapter.STATE_OFF); in waitForAdapterOff()
|
D | CarBluetoothTest.java | 104 } else if (newState == BluetoothAdapter.STATE_OFF) { in onReceive() 126 waitForAdapterState(BluetoothAdapter.STATE_OFF); in waitForAdapterOff()
|
D | CarInputTest.java | 273 return mPassengerDisplay.getState() == Display.STATE_OFF; in testPowerKeyForAnyPassengerMainDisplay()
|
D | CarPropertyManagerTest.java | 216 ImmutableSet.<Integer>builder().add(VehicleLightState.STATE_OFF, 219 ImmutableSet.<Integer>builder().add(VehicleLightSwitch.STATE_OFF,
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/area/ |
D | ExtensionRearDisplayPresentationKeyguardTest.java | 205 assertNotEquals(Display.STATE_OFF, presentationView.getDisplay().getState()); in testStartRearDisplayPresentation_afterKeyguardLocked() 251 assertNotEquals(Display.STATE_OFF, presentationView.getDisplay().getState()); in testStartRearDisplayPresentation_thenKeyguardLocked() 299 assertNotEquals(Display.STATE_OFF, presentationView.getDisplay().getState()); in testStartRearDisplayPresentation_thenKeyguardLocked_activityFinishes() 352 assertNotEquals(Display.STATE_OFF, presentationView.getDisplay().getState()); in testStartRearDisplayPresentation_persistsAfterDismissingKeyguard() 406 assertNotEquals(Display.STATE_OFF, presentationDisplay.getState()); in testStartRearDisplayPresentation_afterKeyguardLocked_thenScreenOff()
|
D | ExtensionRearDisplayPresentationTest.java | 271 assertTrue(presentationView.getDisplay().getState() != Display.STATE_OFF); in testStartAndEndRearDisplayPresentationSession() 339 waitAndAssert(() -> presentationView.getDisplay().getState() != Display.STATE_OFF); in testStartAndEndRearDisplayPresentationSession_backgroundApp() 393 assertTrue(presentationView.getDisplay().getState() != Display.STATE_OFF); in testStartAndEndRearDisplayPresentationSession_lockDevice()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
D | CameraOrientationActivity.java | 56 private static final int STATE_OFF = 0; field in CameraOrientationActivity 81 private int mState = STATE_OFF; 232 mState = STATE_OFF; in shutdownCamera() 237 if (mState != STATE_OFF) { in startPreview() 241 mState = STATE_OFF; in startPreview()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 97 private static final int STATE_OFF = 0; field in CameraFormatsActivity 100 private int mState = STATE_OFF; 488 mState = STATE_OFF; in shutdownCamera() 523 if (mState != STATE_OFF) { in startPreview() 527 mState = STATE_OFF; in startPreview()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothCddTest.java | 71 if (mAdapter != null && mAdapter.getState() != BluetoothAdapter.STATE_OFF) { in tearDown()
|
D | BluetoothAdapterTest.java | 475 assertEquals("OFF", BluetoothAdapter.nameForState(BluetoothAdapter.STATE_OFF)); in nameForState() 484 for (int state = 0; state < BluetoothAdapter.STATE_OFF; state++) { in nameForState()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraIntentsActivity.java | 84 private static final int STATE_OFF = 0; field in CameraIntentsActivity 112 private int mState = STATE_OFF; 396 } else if (mState != STATE_OFF) { in onResume()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/bluetooth/ |
D | Bluetooth.java | 138 return intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1) == BluetoothAdapter.STATE_OFF; in isStateDisabled()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | BluetoothTest.java | 247 == BluetoothAdapter.STATE_OFF; in isStateDisabled()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | bluetooth-current.txt | 84 field public static final int STATE_OFF = 10; // 0xa
|
D | current.txt | 50748 field public static final int STATE_OFF = 1; // 0x1
|