Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java549 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 …]
DDisplayPowerState.java154 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
DVirtualDisplayAdapter.java231 if (state == Display.STATE_OFF) { in requestDisplayStateLocked()
333 mInfo.state = mSurface != null ? Display.STATE_ON : Display.STATE_OFF; in getDisplayDeviceInfoLocked()
DDisplayManagerService.java338 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()
DLocalDisplayAdapter.java132 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/
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.java195 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/
DBluetoothAvrcpPlayerSettings.java66 public static final int STATE_OFF = 0x00; field in BluetoothAvrcpPlayerSettings
DBluetoothAdapter.java156 @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()
DBluetoothHeadset.java996 if (mAdapter.getState() == BluetoothAdapter.STATE_OFF) return true; in isDisabled()
/frameworks/base/core/java/android/view/
DDisplay.java255 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()
DViewRootImpl.java993 if (oldDisplayState == Display.STATE_OFF) {
1012 return displayState == Display.STATE_OFF ?
2594 if (mAttachInfo.mDisplayState == Display.STATE_OFF && !mReportNextDraw) { in performDraw()
DView.java20081 if (mAttachInfo != null && mAttachInfo.mDisplayState == Display.STATE_OFF in setAnimation()
/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.java200 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/
DShutdownThread.java535 nfc.getState() == NfcAdapter.STATE_OFF; in shutdownRadios()
602 nfcOff = nfc.getState() == NfcAdapter.STATE_OFF; in shutdownRadios()
DPowerManagerService.java2164 if (state == Display.STATE_OFF) {
3668 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.java744 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/
DDozeService.java285 setDozeScreenState(Display.STATE_OFF); in turnDisplayOff()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java912 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/audio/
DAudioService.java5356 if (state == BluetoothAdapter.STATE_OFF || in onReceive()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java5855 final boolean displayOff = (mDisplay == null || mDisplay.getState() == Display.STATE_OFF); in shouldDispatchInputWhenNonInteractive()

12