Searched refs:msgWhat (Results 1 – 4 of 4) sorted by relevance
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertDialog.java | 247 int msgWhat = mCount.incrementAndGet(); in queueAnimateMessage() local 248 sendEmptyMessageDelayed(msgWhat, mWarningIconVisible ? WARNING_ICON_ON_DURATION_MSEC in queueAnimateMessage() 323 int msgWhat = mCount.incrementAndGet(); in startScreenOnTimer() local 324 removeMessages(msgWhat - 1); // Remove previous message, if any. in startScreenOnTimer() 325 sendEmptyMessageDelayed(msgWhat, screenOnDuration); in startScreenOnTimer() 326 Log.d(TAG, "added FLAG_KEEP_SCREEN_ON, queued screen off message id " + msgWhat); in startScreenOnTimer() 352 int msgWhat = msg.what; in handleMessage() local 353 if (msgWhat == mCount.get()) { in handleMessage() 355 Log.d(TAG, "removed FLAG_KEEP_SCREEN_ON with id " + msgWhat); in handleMessage() 357 Log.e(TAG, "discarding screen off message with id " + msgWhat); in handleMessage() [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/util/ |
D | SyncStateMachineTest.kt | 96 val (processedState, msgWhat) = mMsgProcessedResults.remove() in verifyMessageProcessedBy() constant 98 assertEquals(what, msgWhat) in verifyMessageProcessedBy()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 196 int msgWhat = enable ? WifiScanner.CMD_ENABLE : WifiScanner.CMD_DISABLE; in setScanningEnabled() local 198 enforcePermission(uid, packageName, null, isPrivilegedMessage(msgWhat), in setScanningEnabled() 216 msg.what = msgWhat; in setScanningEnabled() 566 private boolean isPrivilegedMessage(int msgWhat) { in isPrivilegedMessage() argument 567 boolean isPrivileged = (msgWhat == WifiScanner.CMD_ENABLE in isPrivilegedMessage() 568 || msgWhat == WifiScanner.CMD_DISABLE in isPrivilegedMessage() 569 || msgWhat == WifiScanner.CMD_START_PNO_SCAN in isPrivilegedMessage() 570 || msgWhat == WifiScanner.CMD_STOP_PNO_SCAN); in isPrivilegedMessage() 572 isPrivileged = isPrivileged || msgWhat == WifiScanner.CMD_REGISTER_SCAN_LISTENER; in isPrivilegedMessage()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachine.java | 1828 protected boolean isLocalRequest(int msgWhat) { in isLocalRequest() argument 1829 if ((msgWhat >= CMD_IKE_LOCAL_REQUEST_BASE in isLocalRequest() 1830 && msgWhat < CMD_IKE_LOCAL_REQUEST_BASE + CMD_CATEGORY_SIZE) in isLocalRequest() 1831 || (msgWhat >= CMD_CHILD_LOCAL_REQUEST_BASE in isLocalRequest() 1832 && msgWhat < CMD_CHILD_LOCAL_REQUEST_BASE + CMD_CATEGORY_SIZE)) { in isLocalRequest()
|