Searched refs:mPowerManager (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Phone/src/com/android/phone/ |
D | Ringer.java | 59 IPowerManager mPowerManager; field in Ringer 86 … mPowerManager = IPowerManager.Stub.asInterface(ServiceManager.getService(Context.POWER_SERVICE)); in Ringer() 150 mPowerManager.setAttentionLight(true, 0x000000ff); in ring() 152 mPowerManager.setAttentionLight(true, 0x00ffffff); in ring() 217 mPowerManager.setAttentionLight(false, 0x00000000); in stopRing()
|
D | BluetoothHeadsetService.java | 71 private PowerManager mPowerManager; field in BluetoothHeadsetService 81 mPowerManager = (PowerManager) getSystemService(Context.POWER_SERVICE); in onCreate() 176 headset = new HeadsetBase(mPowerManager, mAdapter, 217 headset = new HeadsetBase(mPowerManager, mAdapter, 249 HeadsetBase headset = new HeadsetBase(mPowerManager, mAdapter, in rejectIncomingConnection() 374 HeadsetBase headset = new HeadsetBase(mPowerManager, mAdapter, in run() 725 headset = new HeadsetBase(mPowerManager, mAdapter, 785 headset = new HeadsetBase(mPowerManager, mAdapter,
|
D | NotificationMgr.java | 103 private PowerManager mPowerManager; field in NotificationMgr 141 mPowerManager = in NotificationMgr()
|
D | BluetoothHandsfree.java | 102 private PowerManager mPowerManager; field in BluetoothHandsfree 223 mPowerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in BluetoothHandsfree() 224 mStartCallWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in BluetoothHandsfree() 227 mStartVoiceRecognitionWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in BluetoothHandsfree()
|
D | InCallScreen.java | 244 private PowerManager mPowerManager; field in InCallScreen 812 if (mPowerManager.isScreenOn()) { in onPause() 1302 mPowerManager = (PowerManager) getSystemService(Context.POWER_SERVICE); in initInCallScreen()
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserActivity.java | 117 private PowerManager mPowerManager; field in BrowserActivity 124 if (mPowerManager == null) { in shouldIgnoreIntents() 125 mPowerManager = (PowerManager) getSystemService(Context.POWER_SERVICE); in shouldIgnoreIntents() 127 boolean ignore = !mPowerManager.isScreenOn(); in shouldIgnoreIntents()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppService.java | 122 private PowerManager mPowerManager; field in BluetoothOppService 602 mTransfer = new BluetoothOppTransfer(this, mPowerManager, newBatch); in insertShare() 606 mServerTransfer = new BluetoothOppTransfer(this, mPowerManager, newBatch, in insertShare() 640 mServerTransfer = new BluetoothOppTransfer(this, mPowerManager, in insertShare() 816 mTransfer = new BluetoothOppTransfer(this, mPowerManager, nextBatch); in removeBatch() 824 mServerTransfer = new BluetoothOppTransfer(this, mPowerManager, nextBatch, in removeBatch()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcService.java | 218 private PowerManager mPowerManager; field in NfcService 334 mPowerManager = (PowerManager) getSystemService(Context.POWER_SERVICE); in onCreate() 336 mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "NfcService"); in onCreate() 410 if (!mPowerManager.isScreenOn()) { in checkScreenState()
|