Home
last modified time | relevance | path

Searched refs:STATE_OFF (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DBluetoothTest.java137 if (mAdapter.getState() == BluetoothAdapter.STATE_OFF) { in disable()
150 case BluetoothAdapter.STATE_OFF: in disable()
176 assertEquals(BluetoothAdapter.STATE_OFF, mAdapter.getState()); in enable()
188 if (state != BluetoothAdapter.STATE_OFF || turnOn) { in enable()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothToggleActivity.java129 if (BluetoothAdapter.STATE_OFF == newState in onReceive()
136 && (BluetoothAdapter.STATE_OFF == previousState in onReceive()
141 if (BluetoothAdapter.STATE_OFF == newState) { in onReceive()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBasicAdapterTest.java227 if (adapter.getState() == BluetoothAdapter.STATE_OFF) { in disable()
240 case BluetoothAdapter.STATE_OFF: in disable()
265 assertEquals(BluetoothAdapter.STATE_OFF, adapter.getState()); in enable()
277 if (state != BluetoothAdapter.STATE_OFF || turnOn) { in enable()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java53 private static final int STATE_OFF = 0; field in CameraOrientationActivity
73 private int mState = STATE_OFF;
216 mState = STATE_OFF; in shutdownCamera()
221 if (mState != STATE_OFF) { in startPreview()
225 mState = STATE_OFF; in startPreview()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java95 private static final int STATE_OFF = 0; field in CameraFormatsActivity
98 private int mState = STATE_OFF;
431 mState = STATE_OFF; in shutdownCamera()
436 if (mState != STATE_OFF) { in startPreview()
440 mState = STATE_OFF; in startPreview()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraIntentsActivity.java68 private static final int STATE_OFF = 0; field in CameraIntentsActivity
84 private int mState = STATE_OFF;