/aosp14/frameworks/base/core/tests/coretests/src/android/app/backup/ |
H A D | BackupManagerMonitorWrapperTest.java | 53 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 D | BackupManagerMonitorWrapper.java | 45 public void onEvent(final Bundle event) throws RemoteException { in onEvent() method in BackupManagerMonitorWrapper 50 mMonitor.onEvent(event); in onEvent()
|
H A D | IBackupManagerMonitor.aidl | 34 void onEvent(in Bundle event); in onEvent() method
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/ |
H A D | BackupManagerMonitorEventSenderTest.java | 96 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 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()
|
/aosp14/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
|
/aosp14/frameworks/base/media/jni/tuner/ |
H A D | LnbClient.cpp | 96 Status TunerLnbCallback::onEvent(LnbEventType lnbEventType) { in onEvent() function in android::TunerLnbCallback 98 mLnbClientCallback->onEvent(lnbEventType); in onEvent()
|
H A D | LnbClientCallback.h | 29 virtual void onEvent(const LnbEventType lnbEventType);
|
H A D | FrontendClientCallback.h | 31 virtual void onEvent(FrontendEventType frontendEventType);
|
H A D | FrontendClient.cpp | 185 Status TunerFrontendCallback::onEvent(FrontendEventType frontendEventType) { in onEvent() function in android::TunerFrontendCallback 187 mFrontendClientCallback->onEvent(frontendEventType); in onEvent()
|
H A D | LnbClient.h | 47 Status onEvent(LnbEventType lnbEventType);
|
/aosp14/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);
|
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/ |
H A D | UsageStatsQueryHelper.java | 50 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 D | LnbCallback.java | 34 void onEvent(@EventType int lnbEventType); in onEvent() method
|
H A D | Lnb.java | 216 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 D | DockManager.java | 103 void onEvent(int event); in onEvent() method
|
/aosp14/frameworks/base/telecomm/java/android/telecom/ |
H A D | CallEventCallback.java | 75 void onEvent(@NonNull String event, @NonNull Bundle extras); in onEvent() method
|
/aosp14/system/core/libsysutils/include/sysutils/ |
H A D | NetlinkListener.h | 46 virtual void onEvent(NetlinkEvent *evt) = 0;
|
/aosp14/frameworks/base/core/java/android/speech/ |
H A D | RecognitionListener.java | 155 void onEvent(int eventType, Bundle params); in onEvent() method
|
H A D | IRecognitionListener.aidl | 115 void onEvent(in int eventType, in Bundle params); in onEvent() method
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dock/ |
H A D | DockManagerFake.java | 62 mCallback.onEvent(event); in setDockEvent()
|
/aosp14/frameworks/base/media/java/android/media/session/ |
H A D | ISessionControllerCallback.aidl | 28 void onEvent(String event, in Bundle extras); in onEvent() method
|
/aosp14/system/core/libsysutils/src/ |
H A D | NetlinkListener.cpp | 66 onEvent(evt); in onDataAvailable()
|
/aosp14/frameworks/base/tests/Codegen/src/com/android/codegentest/ |
H A D | StaleDataclassDetectorFalsePositivesTest.java | 40 void onEvent(); in onEvent() method
|
/aosp14/frameworks/base/telecomm/java/com/android/internal/telecom/ |
H A D | ICallEventCallback.aidl | 49 void onEvent(String callId, String event, in Bundle extras); in onEvent() method
|