/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyEventDispatcherTest.java | 155 assertTrue(mInputEventsHandler.hasMessages(SEND_FRAMEWORK_KEY_EVENT)); in testSetOnKeyResult_eventNotHandled_shouldPassEventToFramework() 169 assertFalse(mInputEventsHandler.hasMessages(SEND_FRAMEWORK_KEY_EVENT)); in testSetOnKeyResult_eventHandled_shouldNotPassEventToFramework() 185 assertTrue(mInputEventsHandler.hasMessages(SEND_FRAMEWORK_KEY_EVENT)); in testSetOnKeyResult_twoServicesReturnsFalse_shouldPassEventToFramework() 201 assertFalse(mInputEventsHandler.hasMessages(SEND_FRAMEWORK_KEY_EVENT)); in testSetOnKeyResult_twoServicesReturnsTrue_shouldNotPassEventToFramework() 218 assertFalse(mInputEventsHandler.hasMessages(SEND_FRAMEWORK_KEY_EVENT)); in testSetOnKeyResult_firstOfTwoServicesReturnsTrue_shouldNotPassEventToFramework() 235 assertFalse(mInputEventsHandler.hasMessages(SEND_FRAMEWORK_KEY_EVENT)); in testSetOnKeyResult_secondOfTwoServicesReturnsTrue_shouldNotPassEventToFramework() 252 assertFalse(mInputEventsHandler.hasMessages(SEND_FRAMEWORK_KEY_EVENT)); in testSetOnKeyResult_firstServiceReturnsTwice_secondShouldBeIgnored() 257 assertTrue(mInputEventsHandler.hasMessages(SEND_FRAMEWORK_KEY_EVENT)); in testSetOnKeyResult_firstServiceReturnsTwice_secondShouldBeIgnored() 274 assertTrue(mInputEventsHandler.hasMessages(SEND_FRAMEWORK_KEY_EVENT)); in testEventTimesOut_shouldPassToFramework() 289 assertTrue(mInputEventsHandler.hasMessages(SEND_FRAMEWORK_KEY_EVENT)); in testEventTimesOut_afterOneServiceReturnsFalse_shouldPassToFramework() [all …]
|
D | MessageCapturingHandler.java | 89 if (hasMessages()) { in removeAllMessages() 97 public boolean hasMessages() { in hasMessages() method in MessageCapturingHandler 105 if (!hasMessages(message.what, message.obj)) { in removeStaleMessages()
|
D | FingerprintGestureControllerTest.java | 118 assertFalse(messageCapturingHandler.hasMessages()); in testDetectionActiveCallback_withHandler_shouldPostRunnableToHandler() 159 assertFalse(messageCapturingHandler.hasMessages()); in testGestureCallback_withHandler_shouldPostRunnableToHandler()
|
D | KeyboardInterceptorTest.java | 95 assertFalse(mHandler.hasMessages()); in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped() 105 assertTrue(mHandler.hasMessages()); in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms() 122 assertTrue(mHandler.hasMessages()); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped()
|
/frameworks/base/core/java/android/os/ |
D | TestLooperManager.java | 154 public boolean hasMessages(Handler h, Object object, int what) { in hasMessages() method in TestLooperManager 156 return mQueue.hasMessages(h, what, object); in hasMessages() 166 public boolean hasMessages(Handler h, Object object, Runnable r) { in hasMessages() method in TestLooperManager 168 return mQueue.hasMessages(h, r, object); in hasMessages()
|
D | Handler.java | 828 public final boolean hasMessages(int what) { in hasMessages() method in Handler 829 return mQueue.hasMessages(this, what, null); in hasMessages() 837 return mQueue.hasMessages(this); in hasMessagesOrCallbacks() 844 public final boolean hasMessages(int what, @Nullable Object object) { in hasMessages() method in Handler 845 return mQueue.hasMessages(this, what, object); in hasMessages() 863 return mQueue.hasMessages(this, r, null); in hasCallbacks()
|
D | MessageQueue.java | 603 boolean hasMessages(Handler h, int what, Object object) { in hasMessages() method in MessageQueue 638 boolean hasMessages(Handler h, Runnable r, Object object) { in hasMessages() method in MessageQueue 655 boolean hasMessages(Handler h) { in hasMessages() method in MessageQueue
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 869 assertTrue(mClientHandler.hasMessages(WifiP2pManager.ADD_LOCAL_SERVICE_FAILED)); in testAddLocalServiceFailureWhenNoChannelUpdated() 883 assertTrue(mClientHandler.hasMessages(WifiP2pManager.ADD_LOCAL_SERVICE_FAILED)); in testAddLocalServiceFailureWhenChannelUpdateWrongPkgName() 899 assertTrue(mClientHandler.hasMessages(WifiP2pManager.ADD_LOCAL_SERVICE_FAILED)); in testAddLocalServiceFailureWhenCallerPermissionDenied() 920 assertTrue(mClientHandler.hasMessages(WifiP2pManager.ADD_LOCAL_SERVICE_SUCCEEDED)); in testAddLocalServiceSuccess() 938 assertTrue(mClientHandler.hasMessages(WifiP2pManager.ADD_LOCAL_SERVICE_FAILED)); in testAddLocalServiceFailureWhenNativeCallFailure() 949 assertTrue(mClientHandler.hasMessages(WifiP2pManager.CONNECT_FAILED)); in testConnectWithConfigValidAsGroupFailureWhenNoChannelUpdated() 965 assertTrue(mClientHandler.hasMessages(WifiP2pManager.CONNECT_FAILED)); in testConnectWithConfigValidAsGroupFailureWhenChannelUpdateWrongPkgName() 981 assertTrue(mClientHandler.hasMessages(WifiP2pManager.CONNECT_FAILED)); in testConnectWithConfigValidAsGroupFailureWhenPermissionDenied() 1001 assertTrue(mClientHandler.hasMessages(WifiP2pManager.CONNECT_SUCCEEDED)); in testConnectWithConfigValidAsGroupSuccess() 1018 assertTrue(mClientHandler.hasMessages(WifiP2pManager.CONNECT_FAILED)); in testConnectWithConfigValidAsGroupFailureWhenNativeCallFailure() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 330 if (!mBackgroundHandler.hasMessages(BackgroundHandler.MSG_LOAD_ENTRIES)) { in doResumeIfNeededLocked() 600 if (!mBackgroundHandler.hasMessages(BackgroundHandler.MSG_LOAD_ENTRIES)) { in addPackage() 603 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in addPackage() 644 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in removePackage() 669 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in addUser() 685 if (!mMainHandler.hasMessages(MainHandler.MSG_PACKAGE_LIST_CHANGED)) { in removeUser() 855 if (!mBackgroundHandler.hasMessages(BackgroundHandler.MSG_REBUILD_LIST)) { in rebuild() 934 if (!mMainHandler.hasMessages(MainHandler.MSG_REBUILD_COMPLETE, this)) { in handleRebuildList() 1122 if (!mMainHandler.hasMessages(MainHandler.MSG_LOAD_ENTRIES_COMPLETE)) { in handleMessage() 1197 if (!mMainHandler.hasMessages(MainHandler.MSG_LAUNCHER_INFO_CHANGED)) { in handleMessage() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestHandlerThread.java | 71 if (mHandler.hasMessages(i)) { in hasAnyMessages()
|
D | GLThreadManager.java | 196 if (!handler.hasMessages(MSG_NEW_FRAME)) { in queueNewFrame()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableLooper.java | 196 if (!queueWrapper.hasMessages(handler, null, execute)) { in waitForMessage() 203 if (!queueWrapper.hasMessages(handler, null, execute)) { in waitForMessage()
|
D | TestableInstrumentation.java | 166 while (!mManager.hasMessages(mMainHandler, null, this)); in startManaging()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | HandlerCaller.java | 80 public boolean hasMessages(int what) { in hasMessages() method in HandlerCaller 81 return mH.hasMessages(what); in hasMessages()
|
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/ |
D | TestHandler.java | 120 if (!hasMessages(msgId)) { in dispatch()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceBroker.java | 594 return mBrokerHandler.hasMessages(MSG_IL_BTA2DP_DOCK_TIMEOUT); in hasScheduledA2dpDockTimeout() 599 return (mBrokerHandler.hasMessages(MSG_IL_SET_A2DP_SINK_CONNECTION_STATE_CONNECTED, in hasScheduledA2dpSinkConnectionState() 601 || mBrokerHandler.hasMessages(MSG_IL_SET_A2DP_SINK_CONNECTION_STATE_DISCONNECTED, in hasScheduledA2dpSinkConnectionState() 1020 } else if (existingMsgPolicy == SENDMSG_NOOP && mBrokerHandler.hasMessages(msg)) { in sendIILMsg()
|
/frameworks/base/core/java/android/app/ |
D | QueuedWork.java | 161 if (handler.hasMessages(QueuedWorkHandler.MSG_RUN)) { in waitToFinish()
|
D | ProgressDialog.java | 517 if (mViewUpdateHandler != null && !mViewUpdateHandler.hasMessages(0)) { in onProgressChanged()
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 472 if (mHandler.hasMessages(CANCEL) || mHandler.hasMessages(HIDE)) { in handleShow()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MotionEventInjector.java | 133 if (!mHandler.hasMessages(MESSAGE_SEND_MOTION_EVENT)) { in clearEvents() 315 if (mHandler.hasMessages(MESSAGE_SEND_MOTION_EVENT)) { in cancelAnyPendingInjectedEvents()
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 586 boolean hadTapMessage = mHandler.hasMessages(TAP); in onTouchEvent() 639 final boolean hasPendingLongPress = mHandler.hasMessages(LONG_PRESS); in onTouchEvent()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AbstractResolverComparator.java | 75 if (mHandler.hasMessages(RANKER_RESULT_TIMEOUT)) {
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | MainContentCaptureSession.java | 425 if (checkExisting && mHandler.hasMessages(MSG_FLUSH)) { in scheduleFlush() 477 if (!mHandler.hasMessages(MSG_FLUSH)) { in flush()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceFragment.java | 361 if (mHandler.hasMessages(MSG_BIND_PREFERENCES)) return; in postBindPreferences()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 1416 if (!mHandler.hasMessages(MESSAGE_BIND_PROFILE_SERVICE, this)) { in addProxy() 1734 if (mHandler.hasMessages(MESSAGE_HANDLE_DISABLE_DELAYED) in handleMessage() 1735 || mHandler.hasMessages(MESSAGE_HANDLE_ENABLE_DELAYED)) { in handleMessage() 1795 if (mHandler.hasMessages(MESSAGE_HANDLE_DISABLE_DELAYED) || mBinding in handleMessage() 1796 || mHandler.hasMessages(MESSAGE_HANDLE_ENABLE_DELAYED)) { in handleMessage()
|