/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 149 public static final int STATE_ON = 12; field in BluetoothAdapter 465 if (getState() != STATE_ON) { in getBluetoothLeAdvertiser() 484 if (getState() != STATE_ON) { in getBluetoothLeScanner() 684 if (getState() != STATE_ON) return null; in getUuids() 709 if (getState() != STATE_ON) return false; in setName() 735 if (getState() != STATE_ON) return SCAN_MODE_NONE; in getScanMode() 773 if (getState() != STATE_ON) return false; in setScanMode() 784 if (getState() != STATE_ON) return false; in setScanMode() 791 if (getState() != STATE_ON) return -1; in getDiscoverableTimeout() 802 if (getState() != STATE_ON) return; in setDiscoverableTimeout() [all …]
|
D | BluetoothAvrcpController.java | 246 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothA2dpSink.java | 418 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothPan.java | 373 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 | BluetoothA2dp.java | 541 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()
|
D | BluetoothHeadset.java | 949 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothHeadsetClient.java | 1153 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerController.java | 543 state = Display.STATE_ON; in updatePowerState() 595 && (state == Display.STATE_ON || autoBrightnessEnabledInDoze) in updatePowerState() 598 mPowerRequest.screenAutoBrightnessAdjustment, state != Display.STATE_ON); in updatePowerState() 673 if (state == Display.STATE_ON || state == Display.STATE_DOZE) { in updatePowerState() 814 if (target == Display.STATE_ON) { 818 if (!setScreenState(Display.STATE_ON)) { 844 && mPowerState.getScreenState() == Display.STATE_ON) {
|
D | DisplayDeviceInfo.java | 208 public int state = Display.STATE_ON;
|
D | DisplayPowerState.java | 91 mScreenState = Display.STATE_ON; in DisplayPowerState()
|
D | VirtualDisplayAdapter.java | 327 mInfo.state = mSurface != null ? Display.STATE_ON : Display.STATE_OFF; in getDisplayDeviceInfoLocked()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 1121 if (newState == BluetoothAdapter.STATE_ON) { in handleMessage() 1162 (mState == BluetoothAdapter.STATE_ON)) { in handleMessage() 1163 bluetoothStateChangeHandler(BluetoothAdapter.STATE_ON, in handleMessage() 1230 bluetoothStateChangeHandler(mState, BluetoothAdapter.STATE_ON); in handleMessage() 1237 bluetoothStateChangeHandler(BluetoothAdapter.STATE_ON, in handleMessage() 1384 if (newState == BluetoothAdapter.STATE_ON || newState == BluetoothAdapter.STATE_OFF) { in bluetoothStateChangeHandler() 1385 boolean isUp = (newState==BluetoothAdapter.STATE_ON); in bluetoothStateChangeHandler() 1429 if (mBluetooth.getState() == BluetoothAdapter.STATE_ON) return true; in waitForOnOff() 1433 if (mBluetooth.getState() != BluetoothAdapter.STATE_ON) return true; in waitForOnOff()
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 227 public static final int STATE_ON = 2; field in Display 837 case STATE_ON: in stateToString()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | BluetoothLeUtils.java | 135 if (adapter == null || adapter.getState() != BluetoothAdapter.STATE_ON) { in checkAdapterStateOn()
|
/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() 432 case BluetoothAdapter.STATE_ON: in enable() 457 if (state == BluetoothAdapter.STATE_ON in enable() 475 state, BluetoothAdapter.STATE_ON, firedFlags, mask)); in enable() 500 case BluetoothAdapter.STATE_ON: in disable()
|
/frameworks/base/core/java/android/nfc/ |
D | NfcAdapter.java | 199 public static final int STATE_ON = 3; field in NfcAdapter 621 return sService.getState() == STATE_ON; in isEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 264 mBluetoothEnabled = (adapter.getState() == BluetoothAdapter.STATE_ON); in updateBluetooth()
|
/frameworks/base/docs/html/sdk/api_diff/20/ |
D | missingSinces.txt | 61 NO DOC BLOCK: android.view.Display Field STATE_ON
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeService.java | 284 setDozeScreenState(mDisplayStateSupported ? Display.STATE_DOZE : Display.STATE_ON); in turnDisplayOn()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImpl.java | 413 final boolean enabled = adapterState == BluetoothAdapter.STATE_ON; in setAdapterState()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 3037 if (state == Display.STATE_ON) { in noteScreenStateLocked() 3062 } else if (oldState == Display.STATE_ON) { in noteScreenStateLocked() 3102 if (mScreenState == Display.STATE_ON) { in noteScreenBrightnessLocked() 6639 return mScreenState == Display.STATE_ON; in isScreenOn() 6679 if (mScreenState == Display.STATE_ON) { in resetAllStatsCmdLocked() 6811 final boolean screenOn = mScreenState == Display.STATE_ON; in pullPendingStateUpdatesLocked() 6825 final boolean screenOn = mScreenState == Display.STATE_ON; in setOnBatteryLocked() 7493 if (mOnBattery && mScreenState == Display.STATE_ON in getDischargeAmountScreenOn() 7504 if (mOnBattery && mScreenState == Display.STATE_ON in getDischargeAmountScreenOnSinceCharge() 7515 if (mOnBattery && mScreenState != Display.STATE_ON in getDischargeAmountScreenOff() [all …]
|