/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerController.java | 538 state = Display.STATE_OFF; in updatePowerState() 561 if (mPowerRequest.useProximitySensor && state != Display.STATE_OFF) { in updatePowerState() 571 && state != Display.STATE_OFF) { in updatePowerState() 586 state = Display.STATE_OFF; in updatePowerState() 596 if (state == Display.STATE_OFF) { in updatePowerState() 707 if (ready && state != Display.STATE_OFF in updatePowerState() 772 final boolean wasOn = (mPowerState.getScreenState() != Display.STATE_OFF); 789 final boolean isOff = (state == Display.STATE_OFF); 837 if (mPendingScreenOff && target != Display.STATE_OFF) { 838 setScreenState(Display.STATE_OFF); [all …]
|
D | DisplayPowerState.java | 154 if (mScreenState != Display.STATE_OFF) { in setScreenBrightness() 218 if (mScreenState != Display.STATE_OFF) { in setColorFadeLevel() 301 int brightness = mScreenState != Display.STATE_OFF 335 private static final int INITIAL_SCREEN_STATE = Display.STATE_OFF; // unknown, assume off
|
D | VirtualDisplayAdapter.java | 231 if (state == Display.STATE_OFF) { in requestDisplayStateLocked() 333 mInfo.state = mSurface != null ? Display.STATE_ON : Display.STATE_OFF; in getDisplayDeviceInfoLocked()
|
D | LocalDisplayAdapter.java | 131 case Display.STATE_OFF: in getPowerModeForState() 316 assert state != Display.STATE_OFF || brightness == PowerManager.BRIGHTNESS_OFF; in requestDisplayStateLocked()
|
D | DisplayManagerService.java | 338 if (state == Display.STATE_OFF) { in requestGlobalDisplayStateInternal() 926 display.configureDisplayInTransactionLocked(device, info.state == Display.STATE_OFF); in configureDisplayInTransactionLocked() 1511 if (state == Display.STATE_OFF) { in initPowerManagement() 1517 if (state != Display.STATE_OFF) { in initPowerManagement()
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
D | CameraPreviewActivity.java | 83 private static final int STATE_OFF = 0; field in CameraPreviewActivity 86 private int mState = STATE_OFF; 249 mState = STATE_OFF; in shutdownCamera() 254 if (mState != STATE_OFF) { in startPreview() 258 mState = STATE_OFF; in startPreview()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 201 int st = BluetoothAdapter.STATE_OFF; 251 mState = BluetoothAdapter.STATE_OFF; in BluetoothManagerService() 1369 (newState == BluetoothAdapter.STATE_OFF) && in handleMessage() 1427 BluetoothAdapter.STATE_OFF); in handleMessage() 1431 mState = BluetoothAdapter.STATE_OFF; in handleMessage() 1477 bluetoothStateChangeHandler(mState, BluetoothAdapter.STATE_OFF); in handleMessage() 1478 mState = BluetoothAdapter.STATE_OFF; in handleMessage() 1480 if (mState == BluetoothAdapter.STATE_OFF) { in handleMessage() 1501 BluetoothAdapter.STATE_OFF); in handleMessage() 1514 mState = BluetoothAdapter.STATE_OFF; in handleMessage() [all …]
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 247 public static final int STATE_OFF = 1; field in Display 888 case STATE_OFF: in stateToString() 907 return state == STATE_OFF || state == STATE_DOZE_SUSPEND; in isSuspendedState()
|
D | ViewRootImpl.java | 860 if (oldDisplayState == Display.STATE_OFF) { 879 return displayState == Display.STATE_OFF ? 2424 if (mAttachInfo.mDisplayState == Display.STATE_OFF && !mReportNextDraw) { in performDraw()
|
D | View.java | 19138 if (mAttachInfo != null && mAttachInfo.mDisplayState == Display.STATE_OFF
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 150 @IntDef({STATE_OFF, STATE_TURNING_ON, STATE_ON, STATE_TURNING_OFF, STATE_BLE_TURNING_ON, 158 public static final int STATE_OFF = 10; field in BluetoothAdapter 798 state = BluetoothAdapter.STATE_OFF; in getState() 806 return STATE_OFF; in getState() 841 return BluetoothAdapter.STATE_OFF; in getLeState() 883 int state = STATE_OFF; in enable()
|
D | BluetoothHeadset.java | 954 if (mAdapter.getState() == BluetoothAdapter.STATE_OFF) return true; in isDisabled()
|
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/ |
D | DozeTestDream.java | 166 setDozeScreenState(Display.STATE_OFF); in performTimeUpdate()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 128 case BluetoothAdapter.STATE_OFF: in onReceive() 441 case BluetoothAdapter.STATE_OFF: in enable() 493 case BluetoothAdapter.STATE_OFF: in disable() 518 if (state == BluetoothAdapter.STATE_OFF in disable() 536 state, BluetoothAdapter.STATE_OFF, firedFlags, mask)); in disable()
|
/frameworks/base/core/java/android/nfc/ |
D | NfcAdapter.java | 197 public static final int STATE_OFF = 1; field in NfcAdapter 646 return NfcAdapter.STATE_OFF; in getAdapterState()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ShutdownThread.java | 514 nfc.getState() == NfcAdapter.STATE_OFF; in shutdownRadios() 581 nfcOff = nfc.getState() == NfcAdapter.STATE_OFF; in shutdownRadios()
|
D | PowerManagerService.java | 2053 if (state == Display.STATE_OFF) { 3473 case Display.STATE_OFF: in setDozeOverrideFromDreamManager()
|
/frameworks/base/docs/html/sdk/api_diff/20/ |
D | missingSinces.txt | 60 NO DOC BLOCK: android.view.Display Field STATE_OFF
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 668 case Display.STATE_OFF: out.append('f'); break; in encodeEntryAt() 680 case Display.STATE_OFF: out.append('F'); break; in encodeEntryAt() 705 case 'f': out |= (((long)Display.STATE_OFF-1)<<STEP_LEVEL_INITIAL_MODE_SHIFT); in decodeEntryAt() 720 case 'F': out |= (((long)Display.STATE_OFF-1)<<STEP_LEVEL_MODIFIED_MODE_SHIFT); in decodeEntryAt() 2218 (Display.STATE_OFF-1), 2219 (Display.STATE_OFF-1)|STEP_LEVEL_MODE_POWER_SAVE, 2220 (Display.STATE_OFF-1)|STEP_LEVEL_MODE_DEVICE_IDLE, 4652 case Display.STATE_OFF: lineArgs[2] = "s-"; break; in dumpDurationSteps() 4681 case Display.STATE_OFF: pw.print("screen-off"); break; in dumpDurationSteps()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeService.java | 279 setDozeScreenState(Display.STATE_OFF); in turnDisplayOff()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 910 boolean visible = mVisible && mDisplayState != Display.STATE_OFF; in reportVisibility()
|
/frameworks/base/docs/html/guide/topics/connectivity/ |
D | bluetooth.jd | 274 android.bluetooth.BluetoothAdapter#STATE_OFF}. Listening for this
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 5233 if (mDisplay == null || mDisplay.getState() == Display.STATE_OFF) { in shouldDispatchInputWhenNonInteractive()
|
/frameworks/base/api/ |
D | current.txt | 6325 field public static final int STATE_OFF = 10; // 0xa 19650 field public static final int STATE_OFF = 1; // 0x1 34641 field public static final int STATE_OFF = 1; // 0x1
|
D | system-current.txt | 6543 field public static final int STATE_OFF = 10; // 0xa 21590 field public static final int STATE_OFF = 1; // 0x1 36933 field public static final int STATE_OFF = 1; // 0x1
|