/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeScreenStatePreventingAdapterTest.java | 54 mWrapper.setDozeScreenState(Display.STATE_ON); in forwards_setDozeScreenState_on() 55 verify(mInner).setDozeScreenState(Display.STATE_ON); in forwards_setDozeScreenState_on() 67 verify(mInner).setDozeScreenState(Display.STATE_ON); in forwards_setDozeScreenState_doze() 73 verify(mInner).setDozeScreenState(Display.STATE_ON); in forwards_setDozeScreenState_doze_suspend()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 161 @IntDef({STATE_OFF, STATE_TURNING_ON, STATE_ON, STATE_TURNING_OFF, STATE_BLE_TURNING_ON, 179 public static final int STATE_ON = 12; field in BluetoothAdapter 212 case STATE_ON: return "ON"; in nameForState() 729 return (state == BluetoothAdapter.STATE_ON || state == BluetoothAdapter.STATE_BLE_ON); in isLeEnabled() 763 if (state == BluetoothAdapter.STATE_ON || state == BluetoothAdapter.STATE_BLE_ON) { in disableBLE() 904 if (getLeState() == STATE_ON) in getLeAccess() 1060 if (getState() != STATE_ON) return null; in getUuids() 1088 if (getState() != STATE_ON) return false; in setName() 1118 if (getState() != STATE_ON) return SCAN_MODE_NONE; in getScanMode() 1159 if (getState() != STATE_ON) return false; in setScanMode() [all …]
|
D | BluetoothAvrcpPlayerSettings.java | 73 public static final int STATE_ON = 0x01; field in BluetoothAvrcpPlayerSettings
|
D | BluetoothAvrcpController.java | 305 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothPbapClient.java | 314 if (adapter != null && adapter.getState() == BluetoothAdapter.STATE_ON) { in isEnabled()
|
D | BluetoothPan.java | 389 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothSap.java | 418 if (adapter != null && adapter.getState() == BluetoothAdapter.STATE_ON) in isEnabled()
|
D | BluetoothMap.java | 394 if (adapter != null && adapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothA2dpSink.java | 502 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothMapClient.java | 411 if (adapter != null && adapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
D | BluetoothHealth.java | 544 if (adapter != null && adapter.getState() == BluetoothAdapter.STATE_ON) return true; in isEnabled()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerController.java | 610 state = Display.STATE_ON; in updatePowerState() 663 && (state == Display.STATE_ON || autoBrightnessEnabledInDoze) in updatePowerState() 668 mPowerRequest.screenAutoBrightnessAdjustment, state != Display.STATE_ON, in updatePowerState() 755 if (state == Display.STATE_ON) { in updatePowerState() 772 if ((state == Display.STATE_ON in updatePowerState() 835 mDozing = state != Display.STATE_ON; in updatePowerState() 964 if (target != Display.STATE_ON) { 980 if (target == Display.STATE_ON) { 984 if (!setScreenState(Display.STATE_ON)) { 1009 && mPowerState.getScreenState() == Display.STATE_ON) { [all …]
|
D | DisplayPowerState.java | 85 mScreenState = Display.STATE_ON; in DisplayPowerState()
|
D | DisplayDeviceInfo.java | 255 public int state = Display.STATE_ON;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenStatePreventingAdapter.java | 44 state = Display.STATE_ON; in setDozeScreenState()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 301 } else if (st == BluetoothAdapter.STATE_ON){ 669 if (mBluetooth != null && (mBluetooth.getState() != BluetoothAdapter.STATE_ON)) { in disableBleScanMode() 1610 if (newState == BluetoothAdapter.STATE_ON || in handleMessage() 1657 (mState == BluetoothAdapter.STATE_ON)) { in handleMessage() 1658 bluetoothStateChangeHandler(BluetoothAdapter.STATE_ON, in handleMessage() 1728 bluetoothStateChangeHandler(mState, BluetoothAdapter.STATE_ON); in handleMessage() 1736 bluetoothStateChangeHandler(BluetoothAdapter.STATE_ON, in handleMessage() 1952 } else if (newState == BluetoothAdapter.STATE_ON) { in bluetoothStateChangeHandler() 1953 boolean isUp = (newState == BluetoothAdapter.STATE_ON); in bluetoothStateChangeHandler() 1992 if (mBluetooth.getState() == BluetoothAdapter.STATE_ON) return true; in waitForOnOff() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothDiscoverableTimeoutReceiver.java | 79 localBluetoothAdapter.getState() == BluetoothAdapter.STATE_ON) { in onReceive()
|
D | LocalBluetoothAdapter.java | 196 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/java/android/view/ |
D | Display.java | 276 public static final int STATE_ON = 2; field in Display 1098 case STATE_ON: in stateToString()
|
/frameworks/base/core/java/android/nfc/ |
D | NfcAdapter.java | 203 public static final int STATE_ON = 3; field in NfcAdapter 683 return sService.getState() == STATE_ON; in isEnabled()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DeviceStateMonitor.java | 385 if (display.getState() == Display.STATE_ON) { in isScreenOn()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImpl.java | 226 mEnabled = bluetoothState == BluetoothAdapter.STATE_ON in onBluetoothStateChanged()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 136 case BluetoothAdapter.STATE_ON: in onReceive() 441 if (state == BluetoothAdapter.STATE_ON) { in enable() 460 BluetoothAdapter.STATE_ON)); in enable()
|