Home
last modified time | relevance | path

Searched refs:mPowerManager (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Phone/src/com/android/phone/
DRinger.java59 IPowerManager mPowerManager; field in Ringer
86mPowerManager = 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()
DBluetoothHeadsetService.java71 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,
DNotificationMgr.java103 private PowerManager mPowerManager; field in NotificationMgr
141 mPowerManager = in NotificationMgr()
DBluetoothHandsfree.java102 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()
DInCallScreen.java244 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/
DBrowserActivity.java117 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/
DBluetoothOppService.java122 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/
DNfcService.java218 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()