/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerController.java | 549 state = Display.STATE_OFF; in updatePowerState() 572 if (mPowerRequest.useProximitySensor && state != Display.STATE_OFF) { in updatePowerState() 582 && state != Display.STATE_OFF) { in updatePowerState() 597 state = Display.STATE_OFF; in updatePowerState() 607 if (state == Display.STATE_OFF) { in updatePowerState() 724 if (ready && state != Display.STATE_OFF in updatePowerState() 789 final boolean wasOn = (mPowerState.getScreenState() != Display.STATE_OFF); 806 final boolean isOff = (state == Display.STATE_OFF); 858 if (mPendingScreenOff && target != Display.STATE_OFF) { 859 setScreenState(Display.STATE_OFF); [all …]
|
D | DisplayPowerState.java | 154 if (mScreenState != Display.STATE_OFF) { in setScreenBrightness() 225 if (mScreenState != Display.STATE_OFF) { in setColorFadeLevel() 308 int brightness = mScreenState != Display.STATE_OFF 342 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 | DisplayManagerService.java | 338 if (state == Display.STATE_OFF) { in requestGlobalDisplayStateInternal() 937 display.configureDisplayInTransactionLocked(device, info.state == Display.STATE_OFF); in configureDisplayInTransactionLocked() 1535 if (state == Display.STATE_OFF) { in initPowerManagement() 1541 if (state != Display.STATE_OFF) { in initPowerManagement()
|
D | LocalDisplayAdapter.java | 132 case Display.STATE_OFF: in getPowerModeForState() 434 assert state != Display.STATE_OFF || brightness == PowerManager.BRIGHTNESS_OFF; in requestDisplayStateLocked()
|
/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 | 195 int st = BluetoothAdapter.STATE_OFF; 252 mState = BluetoothAdapter.STATE_OFF; in BluetoothManagerService() 1356 (newState == BluetoothAdapter.STATE_OFF) && in handleMessage() 1369 (newState == BluetoothAdapter.STATE_OFF)) { in handleMessage() 1429 BluetoothAdapter.STATE_OFF); in handleMessage() 1433 mState = BluetoothAdapter.STATE_OFF; in handleMessage() 1476 bluetoothStateChangeHandler(mState, BluetoothAdapter.STATE_OFF); in handleMessage() 1477 mState = BluetoothAdapter.STATE_OFF; in handleMessage() 1479 if (mState == BluetoothAdapter.STATE_OFF) { in handleMessage() 1500 BluetoothAdapter.STATE_OFF); in handleMessage() [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAvrcpPlayerSettings.java | 66 public static final int STATE_OFF = 0x00; field in BluetoothAvrcpPlayerSettings
|
D | BluetoothAdapter.java | 156 @IntDef({STATE_OFF, STATE_TURNING_ON, STATE_ON, STATE_TURNING_OFF, STATE_BLE_TURNING_ON, 164 public static final int STATE_OFF = 10; field in BluetoothAdapter 800 int state = BluetoothAdapter.STATE_OFF; in getState() 818 state = BluetoothAdapter.STATE_OFF; in getState() 844 int state = BluetoothAdapter.STATE_OFF; in getLeState()
|
D | BluetoothHeadset.java | 996 if (mAdapter.getState() == BluetoothAdapter.STATE_OFF) return true; in isDisabled()
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 255 public static final int STATE_OFF = 1; field in Display 957 case STATE_OFF: in stateToString() 976 return state == STATE_OFF || state == STATE_DOZE_SUSPEND; in isSuspendedState()
|
D | ViewRootImpl.java | 993 if (oldDisplayState == Display.STATE_OFF) { 1012 return displayState == Display.STATE_OFF ? 2594 if (mAttachInfo.mDisplayState == Display.STATE_OFF && !mReportNextDraw) { in performDraw()
|
D | View.java | 20081 if (mAttachInfo != null && mAttachInfo.mDisplayState == Display.STATE_OFF in setAnimation()
|
/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 | 200 public static final int STATE_OFF = 1; field in NfcAdapter 683 return NfcAdapter.STATE_OFF; in getAdapterState()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ShutdownThread.java | 535 nfc.getState() == NfcAdapter.STATE_OFF; in shutdownRadios() 602 nfcOff = nfc.getState() == NfcAdapter.STATE_OFF; in shutdownRadios()
|
D | PowerManagerService.java | 2164 if (state == Display.STATE_OFF) { 3668 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 | 744 case Display.STATE_OFF: out.append('f'); break; in encodeEntryAt() 756 case Display.STATE_OFF: out.append('F'); break; in encodeEntryAt() 781 case 'f': out |= (((long)Display.STATE_OFF-1)<<STEP_LEVEL_INITIAL_MODE_SHIFT); in decodeEntryAt() 796 case 'F': out |= (((long)Display.STATE_OFF-1)<<STEP_LEVEL_MODIFIED_MODE_SHIFT); in decodeEntryAt() 2349 (Display.STATE_OFF-1), 2350 (Display.STATE_OFF-1)|STEP_LEVEL_MODE_POWER_SAVE, 2351 (Display.STATE_OFF-1)|STEP_LEVEL_MODE_DEVICE_IDLE, 5018 case Display.STATE_OFF: lineArgs[2] = "s-"; break; in dumpDurationSteps() 5047 case Display.STATE_OFF: pw.print("screen-off"); break; in dumpDurationSteps()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeService.java | 285 setDozeScreenState(Display.STATE_OFF); in turnDisplayOff()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 912 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/audio/ |
D | AudioService.java | 5356 if (state == BluetoothAdapter.STATE_OFF || in onReceive()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 5855 final boolean displayOff = (mDisplay == null || mDisplay.getState() == Display.STATE_OFF); in shouldDispatchInputWhenNonInteractive()
|