Home
last modified time | relevance | path

Searched refs:onEvent (Results 1 – 25 of 66) sorted by relevance

123

/aosp14/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DBackupManagerMonitorWrapperTest.java53 mMonitorWrapper.onEvent(eventBundle); in testOnEvent_propagatesToMonitor()
55 verify(mMonitor, times(/* wantedNumberOfInvocations */ 1)).onEvent(eq(eventBundle)); in testOnEvent_propagatesToMonitor()
62 mMonitorWrapper.onEvent(new Bundle()); in testOnEvent_nullMonitor_eventIsIgnored()
64 verify(mMonitor, never()).onEvent(any()); in testOnEvent_nullMonitor_eventIsIgnored()
/aosp14/frameworks/base/core/java/android/app/backup/
H A DBackupManagerMonitorWrapper.java45 public void onEvent(final Bundle event) throws RemoteException { in onEvent() method in BackupManagerMonitorWrapper
50 mMonitor.onEvent(event); in onEvent()
H A DIBackupManagerMonitor.aidl34 void onEvent(in Bundle event); in onEvent() method
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
H A DBackupManagerMonitorEventSenderTest.java96 verify(mMonitorMock, never()).onEvent(any(Bundle.class)); in monitorEvent_monitorIsNull_doNotCallOnEvent()
101 doThrow(new RemoteException()).when(mMonitorMock).onEvent(any(Bundle.class)); in monitorEvent_monitorOnEventThrows_setsMonitorToNull()
106 verify(mMonitorMock).onEvent(any(Bundle.class)); in monitorEvent_monitorOnEventThrows_setsMonitorToNull()
125 verify(mMonitorMock).onEvent(bundleCaptor.capture()); in monitorEvent_packageAndExtrasAreNull_fillsBundleCorrectly()
146 verify(mMonitorMock).onEvent(bundleCaptor.capture()); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly()
174 verify(mMonitorMock).onEvent(bundleCaptor.capture()); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong()
302 verify(mMonitorMock).onEvent(bundleCaptor.capture()); in assertCorrectBundleSentToMonitor()
H A DTarBackupReaderTest.java254 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()
/aosp14/frameworks/base/core/java/android/os/
H A DFileObserver.java149 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
/aosp14/frameworks/base/media/jni/tuner/
H A DLnbClient.cpp96 Status TunerLnbCallback::onEvent(LnbEventType lnbEventType) { in onEvent() function in android::TunerLnbCallback
98 mLnbClientCallback->onEvent(lnbEventType); in onEvent()
H A DLnbClientCallback.h29 virtual void onEvent(const LnbEventType lnbEventType);
H A DFrontendClientCallback.h31 virtual void onEvent(FrontendEventType frontendEventType);
H A DFrontendClient.cpp185 Status TunerFrontendCallback::onEvent(FrontendEventType frontendEventType) { in onEvent() function in android::TunerFrontendCallback
187 mFrontendClientCallback->onEvent(frontendEventType); in onEvent()
H A DLnbClient.h47 Status onEvent(LnbEventType lnbEventType);
/aosp14/frameworks/base/media/java/android/media/
H A DUtils.java459 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);
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/
H A DUsageStatsQueryHelper.java50 void onEvent(PackageData packageData, ConversationInfo conversationInfo, Event event); in onEvent() method
216 mEventListener.onEvent(packageData, conversationInfo, event); in addEventByShortcutId()
228 mEventListener.onEvent(packageData, conversationInfo, event); in addEventByLocusId()
/aosp14/frameworks/base/media/java/android/media/tv/tuner/
H A DLnbCallback.java34 void onEvent(@EventType int lnbEventType); in onEvent() method
H A DLnb.java216 private void onEvent(int eventType) { in onEvent() method in Lnb
224 callback.onEvent(eventType); in onEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dock/
H A DDockManager.java103 void onEvent(int event); in onEvent() method
/aosp14/frameworks/base/telecomm/java/android/telecom/
H A DCallEventCallback.java75 void onEvent(@NonNull String event, @NonNull Bundle extras); in onEvent() method
/aosp14/system/core/libsysutils/include/sysutils/
H A DNetlinkListener.h46 virtual void onEvent(NetlinkEvent *evt) = 0;
/aosp14/frameworks/base/core/java/android/speech/
H A DRecognitionListener.java155 void onEvent(int eventType, Bundle params); in onEvent() method
H A DIRecognitionListener.aidl115 void onEvent(in int eventType, in Bundle params); in onEvent() method
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dock/
H A DDockManagerFake.java62 mCallback.onEvent(event); in setDockEvent()
/aosp14/frameworks/base/media/java/android/media/session/
H A DISessionControllerCallback.aidl28 void onEvent(String event, in Bundle extras); in onEvent() method
/aosp14/system/core/libsysutils/src/
H A DNetlinkListener.cpp66 onEvent(evt); in onDataAvailable()
/aosp14/frameworks/base/tests/Codegen/src/com/android/codegentest/
H A DStaleDataclassDetectorFalsePositivesTest.java40 void onEvent(); in onEvent() method
/aosp14/frameworks/base/telecomm/java/com/android/internal/telecom/
H A DICallEventCallback.aidl49 void onEvent(String callId, String event, in Bundle extras); in onEvent() method

123