/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 156 @IntDef({STATE_OFF, STATE_TURNING_ON, STATE_ON, STATE_TURNING_OFF, STATE_BLE_TURNING_ON, 174 public static final int STATE_ON = 12; field in BluetoothAdapter 638 if (state == BluetoothAdapter.STATE_ON) { in isLeEnabled() 703 if (state == BluetoothAdapter.STATE_ON) { in disableBLE() 862 if(getLeState() == STATE_ON) in getLeAccess() 1045 if (getState() != STATE_ON) return null; in getUuids() 1074 if (getState() != STATE_ON) return false; in setName() 1105 if (getState() != STATE_ON) return SCAN_MODE_NONE; in getScanMode() 1146 if (getState() != STATE_ON) return false; in setScanMode() 1160 if (getState() != STATE_ON) return false; in setScanMode() [all …]
|
D | BluetoothAvrcpPlayerSettings.java | 73 public static final int STATE_ON = 0x01; field in BluetoothAvrcpPlayerSettings
|
D | BluetoothPan.java | 388 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothPbapClient.java | 313 if (adapter != null && adapter.getState() == BluetoothAdapter.STATE_ON) { in isEnabled()
|
D | BluetoothA2dpSink.java | 501 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothAvrcpController.java | 402 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothMap.java | 394 if (adapter != null && adapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothSap.java | 417 if (adapter != null && adapter.getState() == BluetoothAdapter.STATE_ON) in isEnabled()
|
D | BluetoothA2dp.java | 553 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothHealth.java | 543 if (adapter != null && adapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothInputDevice.java | 498 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerController.java | 565 state = Display.STATE_ON; in updatePowerState() 617 && (state == Display.STATE_ON || autoBrightnessEnabledInDoze) in updatePowerState() 622 mPowerRequest.screenAutoBrightnessAdjustment, state != Display.STATE_ON, in updatePowerState() 704 if (state == Display.STATE_ON || state == Display.STATE_DOZE) { in updatePowerState() 848 if (target != Display.STATE_ON) { 864 if (target == Display.STATE_ON) { 868 if (!setScreenState(Display.STATE_ON)) { 894 && mPowerState.getScreenState() == Display.STATE_ON) {
|
D | DisplayDeviceInfo.java | 241 public int state = Display.STATE_ON;
|
D | DisplayPowerState.java | 85 mScreenState = Display.STATE_ON; in DisplayPowerState()
|
D | VirtualDisplayAdapter.java | 333 mInfo.state = mSurface != null ? Display.STATE_ON : Display.STATE_OFF; in getDisplayDeviceInfoLocked()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 227 } else if (st == BluetoothAdapter.STATE_ON){ 491 if (mBluetooth != null && (mBluetooth.getState() != BluetoothAdapter.STATE_ON)) { in disableBleScanMode() 1378 if (newState == BluetoothAdapter.STATE_ON || in handleMessage() 1422 (mState == BluetoothAdapter.STATE_ON)) { in handleMessage() 1423 bluetoothStateChangeHandler(BluetoothAdapter.STATE_ON, in handleMessage() 1487 bluetoothStateChangeHandler(mState, BluetoothAdapter.STATE_ON); in handleMessage() 1494 bluetoothStateChangeHandler(BluetoothAdapter.STATE_ON, in handleMessage() 1705 } else if (newState == BluetoothAdapter.STATE_ON) { in bluetoothStateChangeHandler() 1706 boolean isUp = (newState==BluetoothAdapter.STATE_ON); in bluetoothStateChangeHandler() 1746 if (mBluetooth.getState() == BluetoothAdapter.STATE_ON) return true; in waitForOnOff() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothDiscoverableTimeoutReceiver.java | 77 localBluetoothAdapter.getState() == BluetoothAdapter.STATE_ON) { in onReceive()
|
D | LocalBluetoothAdapter.java | 192 if (state == BluetoothAdapter.STATE_ON) { in setBluetoothStateInt()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/ |
D | KeyboardUI.java | 221 if ((btState == BluetoothAdapter.STATE_TURNING_ON || btState == BluetoothAdapter.STATE_ON) in processKeyboardState() 234 if (btState != BluetoothAdapter.STATE_ON) { in processKeyboardState() 377 if (bluetoothState == BluetoothAdapter.STATE_ON && mState == STATE_WAITING_FOR_BLUETOOTH) { in onBluetoothStateChangedInternal()
|
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/ |
D | DozeTestDream.java | 54 private static final int DISPLAY_STATE_WHEN_DOZING = Display.STATE_ON;
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 134 case BluetoothAdapter.STATE_ON: in onReceive() 433 case BluetoothAdapter.STATE_ON: in enable() 458 if (state == BluetoothAdapter.STATE_ON in enable() 476 state, BluetoothAdapter.STATE_ON, firedFlags, mask)); in enable() 501 case BluetoothAdapter.STATE_ON: in disable()
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 262 public static final int STATE_ON = 2; field in Display 959 case STATE_ON: in stateToString()
|
/frameworks/base/core/java/android/nfc/ |
D | NfcAdapter.java | 202 public static final int STATE_ON = 3; field in NfcAdapter 658 return sService.getState() == STATE_ON; in isEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImpl.java | 195 mEnabled = bluetoothState == BluetoothAdapter.STATE_ON; in onBluetoothStateChanged()
|
D | Clock.java | 181 if (getDisplay().getState() == Display.STATE_ON) { in updateShowSeconds()
|