/frameworks/base/core/tests/coretests/src/android/app/backup/ |
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()
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/internal/car/updatable/ |
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()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupManagerMonitorWrapper.java | 45 public void onEvent(final Bundle event) throws RemoteException { in onEvent() method in BackupManagerMonitorWrapper 50 mMonitor.onEvent(event); in onEvent()
|
D | IBackupManagerMonitor.aidl | 34 void onEvent(in Bundle event); in onEvent() method
|
/frameworks/base/core/java/android/os/ |
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
|
/frameworks/av/services/tuner/ |
D | TunerLnb.cpp | 80 ::ndk::ScopedAStatus TunerLnb::LnbCallback::onEvent(const LnbEventType lnbEventType) { in onEvent() function in aidl::android::media::tv::tuner::TunerLnb::LnbCallback 82 mTunerLnbCallback->onEvent(lnbEventType); in onEvent()
|
D | TunerFrontend.cpp | 123 ::ndk::ScopedAStatus TunerFrontend::FrontendCallback::onEvent(FrontendEventType frontendEventType) { in onEvent() function in aidl::android::media::tv::tuner::TunerFrontend::FrontendCallback 126 mTunerFrontendCallback->onEvent(frontendEventType); in onEvent()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/ |
D | TarBackupReaderTest.java | 264 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk() 289 verify(mBackupManagerMonitorMock, times(2)).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore() 315 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_packageDoesNotExistAndDoesNotAllowApks_returnsIgnore() 340 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore() 367 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore() 402 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore() 441 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept() 479 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_restoreAnyVersion_returnsAccept() 521 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_notRestoreAnyVersionButVersionMatch_returnsAccept() 554 verify(mBackupManagerMonitorMock).onEvent(bundleCaptor.capture()); in chooseRestorePolicy_flagOnNotRestoreAnyVersionVToURestoreAndInAllowlist_returnsIgnore() [all …]
|
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()
|
/frameworks/base/media/jni/tuner/ |
D | LnbClient.cpp | 96 Status TunerLnbCallback::onEvent(LnbEventType lnbEventType) { in onEvent() function in android::TunerLnbCallback 98 mLnbClientCallback->onEvent(lnbEventType); in onEvent()
|
D | LnbClientCallback.h | 29 virtual void onEvent(const LnbEventType lnbEventType);
|
D | FrontendClientCallback.h | 31 virtual void onEvent(FrontendEventType frontendEventType);
|
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/current/android/frameworks/sensorservice/ |
D | IEventQueueCallback.aidl | 22 oneway void onEvent(in android.hardware.sensors.Event event); in onEvent() method
|
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/1/android/frameworks/sensorservice/ |
D | IEventQueueCallback.aidl | 22 oneway void onEvent(in android.hardware.sensors.Event event); in onEvent() method
|
/frameworks/hardware/interfaces/sensorservice/aidl/android/frameworks/sensorservice/ |
D | IEventQueueCallback.aidl | 21 void onEvent(in Event event); in onEvent() method
|
/frameworks/av/services/tuner/aidl/android/media/tv/tuner/ |
D | ITunerLnbCallback.aidl | 30 void onEvent(in LnbEventType lnbEventType); in onEvent() method
|
D | ITunerFrontendCallback.aidl | 32 void onEvent(in FrontendEventType frontendEventType); in onEvent() method
|
/frameworks/base/media/java/android/media/tv/tuner/ |
D | LnbCallback.java | 34 void onEvent(@EventType int lnbEventType); in onEvent() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dock/ |
D | DockManager.java | 103 void onEvent(int event); in onEvent() method
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
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()
|
/frameworks/base/media/java/android/media/ |
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);
|
/frameworks/base/core/java/android/speech/ |
D | RecognitionListener.java | 155 void onEvent(int eventType, Bundle params); in onEvent() method
|
D | IRecognitionListener.aidl | 115 void onEvent(in int eventType, in Bundle params); in onEvent() method
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/dock/ |
D | DockManagerFake.java | 64 mCallback.onEvent(event); in setDockEvent()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | CallEventCallback.java | 86 void onEvent(@NonNull String event, @NonNull Bundle extras); in onEvent() method
|