Searched refs:STATE_OFF (Results 1 – 12 of 12) 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()
151 if (mBluetoothAdapter.getState() == BluetoothAdapter.STATE_OFF) { in disable()172 case BluetoothAdapter.STATE_OFF: in assertDisabledAfterTimeout()217 assertEquals(BluetoothAdapter.STATE_OFF, mBluetoothAdapter.getState()); in enable()237 if (state != BluetoothAdapter.STATE_OFF || turnOn) { in assertEnabledAfterTimeout()
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()
285 } else if (newState == BluetoothAdapter.STATE_OFF) { in onReceive()
129 if (BluetoothAdapter.STATE_OFF == newState in onReceive()136 && (BluetoothAdapter.STATE_OFF == previousState in onReceive()141 if (BluetoothAdapter.STATE_OFF == newState) { in onReceive()
294 if (state == BluetoothAdapter.STATE_OFF) { in onReceive()
285 if (state == BluetoothAdapter.STATE_OFF) { in onReceive()
455 if (state == BluetoothAdapter.STATE_OFF) { in onReceive()
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()
96 } else if (newState == BluetoothAdapter.STATE_OFF) { in onReceive()118 waitForAdapterState(BluetoothAdapter.STATE_OFF); in waitForAdapterOff()
97 private static final int STATE_OFF = 0; field in CameraFormatsActivity100 private int mState = STATE_OFF;492 mState = STATE_OFF; in shutdownCamera()497 if (mState != STATE_OFF) { in startPreview()501 mState = STATE_OFF; in startPreview()
83 private static final int STATE_OFF = 0; field in CameraIntentsActivity108 private int mState = STATE_OFF;381 } else if (mState != STATE_OFF) { in onResume()