/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
H A D | RaceConditionReproducerTest.java | 56 eventProcessor.onEvent("B1"); in run3_3_TestAction() 57 eventProcessor.onEvent("B2"); in run3_3_TestAction() 58 eventProcessor.onEvent("B3"); in run3_3_TestAction() 62 eventProcessor.onEvent("A1"); in run3_3_TestAction() 63 eventProcessor.onEvent("A2"); in run3_3_TestAction() 64 eventProcessor.onEvent("A3"); in run3_3_TestAction() 103 eventProcessor.onEvent("B2"); in test3_3_enter_exit() 109 eventProcessor.onEvent("A1"); in test3_3_enter_exit() 150 eventProcessor.onEvent("B1"); in test2_1_2() 160 eventProcessor.onEvent("A1"); in test2_1_2() [all …]
|
H A D | TraceHelperForTest.java | 56 mRaceConditionReproducer.onEvent(RaceConditionReproducer.enterEvt(sectionName)); in beginSection() 74 mRaceConditionReproducer.onEvent(RaceConditionReproducer.exitEvt(info.sectionName)); in endSection()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
H A D | SimulatorConference.java | 88 onEvent(new Event(Event.CALL_AUDIO_STATE_CHANGED)); in onCallAudioStateChanged() 94 onEvent( in onConnectionAdded() 103 onEvent(new Event(Event.DISCONNECT)); in onDisconnect() 109 onEvent(new Event(Event.HOLD)); in onHold() 121 onEvent(new Event(Event.MERGE)); in onMerge() 127 onEvent(new Event(Event.DTMF, Character.toString(c), null)); in onPlayDtmfTone() 144 onEvent(new Event(Event.SWAP)); in onSwap() 150 onEvent(new Event(Event.UNHOLD)); in onUnhold() 173 void onEvent(@NonNull Event event) { in onEvent() method in SimulatorConference 176 listener.onEvent(this, event); in onEvent() [all …]
|
H A D | SimulatorConnection.java | 90 onEvent(new Event(Event.ANSWER, Integer.toString(videoState), null)); in onAnswer() 97 onEvent(new Event(Event.REJECT)); in onReject() 103 onEvent(new Event(Event.HOLD)); in onHold() 109 onEvent(new Event(Event.UNHOLD)); in onUnhold() 116 onEvent(new Event(Event.DISCONNECT)); in onDisconnect() 139 onEvent(new Event(Event.DTMF, Character.toString(c), null)); in onPlayDtmfTone() 151 onEvent(new Event(Event.START_RTT)); in onStartRtt() 160 onEvent(new Event(Event.STOP_RTT)); in onStopRtt() 166 onEvent(new Event(Event.HANDLE_RTT_UPGRADE_RESPONSE)); in handleRttUpgradeResponse() 169 void onEvent(@NonNull Event event) { in onEvent() method in SimulatorConnection [all …]
|
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | InputLogicTestsDeadKeys.java | 59 mLatinIME.onEvent(event); in testDeadCircumflexSimple() 73 mLatinIME.onEvent(event); in testDeadCircumflexBackspace() 85 mLatinIME.onEvent(event); in testDeadCircumflexFeedback() 103 mLatinIME.onEvent(event); in testDeadDiaeresisSpace() 118 mLatinIME.onEvent(event); in testDeadAcuteLetterBackspace() 121 mLatinIME.onEvent(Event.createSoftwareKeypressEvent(Event.NOT_A_CODE_POINT, in testDeadAcuteLetterBackspace() 137 mLatinIME.onEvent(event); in testFinnishStroke() 160 mLatinIME.onEvent(event); in testDoubleDeadOgonek() 176 mLatinIME.onEvent(event); in testDeadCircumflexDeadDiaeresis() 193 mLatinIME.onEvent(event); in testDeadCircumflexDeadDiaeresisBackspace() [all …]
|
/aosp12/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/ |
H A D | IpaEventRelay.cpp | 50 mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STARTED); in onOffloadStarted() 64 mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STOPPED_ERROR); in onOffloadStopped() 67 mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STOPPED_UNSUPPORTED); in onOffloadStopped() 77 mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_SUPPORT_AVAILABLE); in onOffloadSupportAvailable() 82 mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STOPPED_LIMIT_REACHED); in onLimitReached()
|
/aosp12/hardware/qcom/sdm845/data/ipacfg-mgr/hal/src/ |
H A D | IpaEventRelay.cpp | 50 mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STARTED); in onOffloadStarted() 64 mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STOPPED_ERROR); in onOffloadStopped() 67 mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STOPPED_UNSUPPORTED); in onOffloadStopped() 77 mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_SUPPORT_AVAILABLE); in onOffloadSupportAvailable() 82 mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STOPPED_LIMIT_REACHED); in onLimitReached()
|
/aosp12/hardware/qcom/sm8150/data/ipacfg-mgr/hal/src/ |
H A D | IpaEventRelay.cpp | 50 auto ret = mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STARTED); in onOffloadStarted() 66 auto ret = mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STOPPED_ERROR); in onOffloadStopped() 72 auto ret = mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STOPPED_UNSUPPORTED); in onOffloadStopped() 84 auto ret = mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_SUPPORT_AVAILABLE); in onOffloadSupportAvailable() 92 auto ret = mFramework->onEvent(OffloadCallbackEvent::OFFLOAD_STOPPED_LIMIT_REACHED); in onLimitReached()
|
/aosp12/frameworks/opt/car/services/tests/src/com/android/internal/car/ |
H A D | UserMetricsTest.java | 165 mUserMetrics.onEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING, timestampMs, /* fromUserId */ -1, in sendStartingEvent() 172 mUserMetrics.onEvent(USER_LIFECYCLE_EVENT_TYPE_SWITCHING, timestampMs, fromUserId, userId); in sendSwitchingEvent() 178 mUserMetrics.onEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKING, timestampMs, /* fromUserId */ -1, in sendUnlockingEvent() 185 mUserMetrics.onEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKED, timestampMs, /* fromUserId */ -1, in sendUnlockedEvent() 192 mUserMetrics.onEvent(USER_LIFECYCLE_EVENT_TYPE_STOPPING, timestampMs, /* fromUserId */ -1, in sendStopingEvent() 199 mUserMetrics.onEvent(USER_LIFECYCLE_EVENT_TYPE_STOPPED, timestampMs, /* fromUserId */ -1, in sendStoppedEvent()
|
/aosp12/hardware/interfaces/cas/1.1/default/ |
H A D | CasImpl.cpp | 50 casImpl->onEvent(event, arg, data, size); in OnEvent() 61 casImpl->onEvent(sessionId, event, arg, data, size); in CallBackExt() 70 void CasImpl::onEvent(int32_t event, int32_t arg, uint8_t* data, size_t size) { in onEvent() function in android::hardware::cas::V1_1::implementation::CasImpl 80 mListener->onEvent(event, arg, eventData); in onEvent() 83 void CasImpl::onEvent(const CasSessionId* sessionId, int32_t event, int32_t arg, uint8_t* data, in onEvent() function in android::hardware::cas::V1_1::implementation::CasImpl 97 mListener->onEvent(event, arg, eventData); in onEvent()
|
H A D | CasImpl.h | 49 void onEvent(int32_t event, int32_t arg, uint8_t* data, size_t size); 51 void onEvent(const CasSessionId* sessionId, int32_t event, int32_t arg, uint8_t* data,
|
/aosp12/frameworks/base/media/jni/tuner/ |
H A D | LnbClient.cpp | 135 Return<void> HidlLnbCallback::onEvent(const LnbEventType lnbEventType) { in onEvent() function in android::HidlLnbCallback 137 mLnbClientCallback->onEvent(lnbEventType); in onEvent() 154 Status TunerLnbCallback::onEvent(int lnbEventType) { in onEvent() function in android::TunerLnbCallback 156 mLnbClientCallback->onEvent(static_cast<LnbEventType>(lnbEventType)); in onEvent()
|
H A D | LnbClient.h | 54 Status onEvent(int lnbEventType); 65 virtual Return<void> onEvent(const LnbEventType lnbEventType);
|
/aosp12/hardware/interfaces/cas/1.2/default/ |
H A D | CasImpl.cpp | 51 casImpl->onEvent(event, arg, data, size); in OnEvent() 62 casImpl->onEvent(sessionId, event, arg, data, size); in CallBackExt() 81 void CasImpl::onEvent(int32_t event, int32_t arg, uint8_t* data, size_t size) { in onEvent() function in android::hardware::cas::V1_1::implementation::CasImpl 91 mListener->onEvent(event, arg, eventData); in onEvent() 94 void CasImpl::onEvent(const CasSessionId* sessionId, int32_t event, int32_t arg, uint8_t* data, in onEvent() function in android::hardware::cas::V1_1::implementation::CasImpl 108 mListener->onEvent(event, arg, eventData); in onEvent()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
H A D | BackupManagerMonitorUtilsTest.java | 68 doThrow(new RemoteException()).when(mMonitorMock).onEvent(any(Bundle.class)); in monitorEvent_monitorOnEventThrows_returnsNull() 73 verify(mMonitorMock).onEvent(any(Bundle.class)); in monitorEvent_monitorOnEventThrows_returnsNull() 84 verify(mMonitorMock).onEvent(bundleCaptor.capture()); in monitorEvent_packageAndExtrasAreNull_fillsBundleCorrectly() 105 verify(mMonitorMock).onEvent(bundleCaptor.capture()); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly() 132 verify(mMonitorMock).onEvent(bundleCaptor.capture()); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong()
|
H A D | TarBackupReaderTest.java | 254 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk() 279 verify(mBackupManagerMonitorMock, times(2)).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore() 305 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_packageDoesNotExistAndDoesNotAllowApks_returnsIgnore() 330 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore() 357 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore() 392 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore() 431 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept() 469 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_restoreAnyVersion_returnsAccept() 511 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_notRestoreAnyVersionButVersionMatch_returnsAccept() 595 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchAndDoesNotAllowApks_returnsIgnore()
|
/aosp12/packages/apps/Gallery2/src_pd/com/android/gallery3d/util/ |
H A D | UsageStatistics.java | 51 public static void onEvent(String category, String action, String label) {}; in onEvent() method in UsageStatistics 52 … public static void onEvent(String category, String action, String label, long optional_value) {}; in onEvent() method in UsageStatistics
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/common/rotary/ |
H A D | DirectManipulationHandler.java | 166 return mCenterButtonDelegate.onEvent(inDirectManipulationMode); in onKey() 177 return mBackDelegate.onEvent(inDirectManipulationMode); in onKey() 222 boolean onEvent(boolean inDirectManipulationMode); in onEvent() method
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | FileObserver.java | 149 public void onEvent(int wfd, @NotifyEventType int mask, String path) { in onEvent() method in FileObserver.ObserverThread 166 observer.onEvent(mask, path); in onEvent() 300 public abstract void onEvent(int event, @Nullable String path); in onEvent() method in FileObserver
|
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
H A D | OffloadHardwareInterfaceTest.java | 223 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_STARTED); in testTetheringOffloadCallback() 227 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_STOPPED_ERROR); in testTetheringOffloadCallback() 231 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_STOPPED_UNSUPPORTED); in testTetheringOffloadCallback() 235 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_SUPPORT_AVAILABLE); in testTetheringOffloadCallback() 239 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_STOPPED_LIMIT_REACHED); in testTetheringOffloadCallback()
|
/aosp12/hardware/interfaces/cas/1.0/default/ |
H A D | CasImpl.cpp | 56 casImpl->onEvent(event, arg, data, size); in OnEvent() 65 void CasImpl::onEvent( in onEvent() function in android::hardware::cas::V1_0::implementation::CasImpl 76 mListener->onEvent(event, arg, eventData); in onEvent()
|
/aosp12/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
H A D | SensorsHidlEnvironmentBase.h | 32 virtual void onEvent(const Event& event) = 0; 91 mCallback->onEvent(ev); in addEvent()
|
/aosp12/packages/apps/TV/common/src/com/android/tv/common/compat/ |
H A D | TvRecordingClientCompat.java | 80 public void onEvent(String inputId, String eventType, Bundle eventArgs) { in onEvent() method in TvRecordingClientCompat.RecordingCallbackCompat 83 super.onEvent(inputId, eventType, eventArgs); in onEvent()
|
H A D | TvViewCompat.java | 80 public void onEvent(String inputId, String eventType, Bundle eventArgs) { in onEvent() method in TvViewCompat.TvInputCallbackCompat 83 super.onEvent(inputId, eventType, eventArgs); in onEvent()
|
/aosp12/frameworks/base/media/java/android/media/ |
H A D | Utils.java | 459 void onEvent(int eventCode, @Nullable V info); 550 public void onEvent(int eventCode, V info) { 557 listener.onEvent(eventCode, info); 561 listener.onEvent(eventCode, info); 628 listener.onEvent(eventCode, info);
|