Searched refs:STATE_OFF (Results 1 – 6 of 6) sorted by relevance
137 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()
129 if (BluetoothAdapter.STATE_OFF == newState in onReceive()136 && (BluetoothAdapter.STATE_OFF == previousState in onReceive()141 if (BluetoothAdapter.STATE_OFF == newState) { in onReceive()
227 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()
53 private static final int STATE_OFF = 0; field in CameraOrientationActivity73 private int mState = STATE_OFF;216 mState = STATE_OFF; in shutdownCamera()221 if (mState != STATE_OFF) { in startPreview()225 mState = STATE_OFF; in startPreview()
95 private static final int STATE_OFF = 0; field in CameraFormatsActivity98 private int mState = STATE_OFF;431 mState = STATE_OFF; in shutdownCamera()436 if (mState != STATE_OFF) { in startPreview()440 mState = STATE_OFF; in startPreview()
68 private static final int STATE_OFF = 0; field in CameraIntentsActivity84 private int mState = STATE_OFF;