Home
last modified time | relevance | path

Searched refs:STATE_OFF (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java538 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 …]
DDisplayPowerState.java154 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
DVirtualDisplayAdapter.java231 if (state == Display.STATE_OFF) { in requestDisplayStateLocked()
333 mInfo.state = mSurface != null ? Display.STATE_ON : Display.STATE_OFF; in getDisplayDeviceInfoLocked()
DLocalDisplayAdapter.java131 case Display.STATE_OFF: in getPowerModeForState()
316 assert state != Display.STATE_OFF || brightness == PowerManager.BRIGHTNESS_OFF; in requestDisplayStateLocked()
DDisplayManagerService.java338 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/
DCameraPreviewActivity.java83 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/
DBluetoothManagerService.java201 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/
DDisplay.java247 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()
DViewRootImpl.java860 if (oldDisplayState == Display.STATE_OFF) {
879 return displayState == Display.STATE_OFF ?
2424 if (mAttachInfo.mDisplayState == Display.STATE_OFF && !mReportNextDraw) { in performDraw()
DView.java19138 if (mAttachInfo != null && mAttachInfo.mDisplayState == Display.STATE_OFF
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java150 @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()
DBluetoothHeadset.java954 if (mAdapter.getState() == BluetoothAdapter.STATE_OFF) return true; in isDisabled()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java166 setDozeScreenState(Display.STATE_OFF); in performTimeUpdate()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java128 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/
DNfcAdapter.java197 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/
DShutdownThread.java514 nfc.getState() == NfcAdapter.STATE_OFF; in shutdownRadios()
581 nfcOff = nfc.getState() == NfcAdapter.STATE_OFF; in shutdownRadios()
DPowerManagerService.java2053 if (state == Display.STATE_OFF) {
3473 case Display.STATE_OFF: in setDozeOverrideFromDreamManager()
/frameworks/base/docs/html/sdk/api_diff/20/
DmissingSinces.txt60 NO DOC BLOCK: android.view.Display Field STATE_OFF
/frameworks/base/core/java/android/os/
DBatteryStats.java668 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/
DDozeService.java279 setDozeScreenState(Display.STATE_OFF); in turnDisplayOff()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java910 boolean visible = mVisible && mDisplayState != Display.STATE_OFF; in reportVisibility()
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth.jd274 android.bluetooth.BluetoothAdapter#STATE_OFF}. Listening for this
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java5233 if (mDisplay == null || mDisplay.getState() == Display.STATE_OFF) { in shouldDispatchInputWhenNonInteractive()
/frameworks/base/api/
Dcurrent.txt6325 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
Dsystem-current.txt6543 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