Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/coretests/src/android/app/backup/
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()
/frameworks/opt/car/services/updatableServices/tests/src/com/android/internal/car/updatable/
DUserMetricsTest.java165 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/
DBackupManagerMonitorWrapper.java45 public void onEvent(final Bundle event) throws RemoteException { in onEvent() method in BackupManagerMonitorWrapper
50 mMonitor.onEvent(event); in onEvent()
DIBackupManagerMonitor.aidl34 void onEvent(in Bundle event); in onEvent() method
/frameworks/base/core/java/android/os/
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
/frameworks/av/services/tuner/
DTunerLnb.cpp80 ::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()
DTunerFrontend.cpp123 ::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/
DTarBackupReaderTest.java264 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 …]
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()
/frameworks/base/media/jni/tuner/
DLnbClient.cpp96 Status TunerLnbCallback::onEvent(LnbEventType lnbEventType) { in onEvent() function in android::TunerLnbCallback
98 mLnbClientCallback->onEvent(lnbEventType); in onEvent()
DLnbClientCallback.h29 virtual void onEvent(const LnbEventType lnbEventType);
DFrontendClientCallback.h31 virtual void onEvent(FrontendEventType frontendEventType);
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/current/android/frameworks/sensorservice/
DIEventQueueCallback.aidl22 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/
DIEventQueueCallback.aidl22 oneway void onEvent(in android.hardware.sensors.Event event); in onEvent() method
/frameworks/hardware/interfaces/sensorservice/aidl/android/frameworks/sensorservice/
DIEventQueueCallback.aidl21 void onEvent(in Event event); in onEvent() method
/frameworks/av/services/tuner/aidl/android/media/tv/tuner/
DITunerLnbCallback.aidl30 void onEvent(in LnbEventType lnbEventType); in onEvent() method
DITunerFrontendCallback.aidl32 void onEvent(in FrontendEventType frontendEventType); in onEvent() method
/frameworks/base/media/java/android/media/tv/tuner/
DLnbCallback.java34 void onEvent(@EventType int lnbEventType); in onEvent() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/dock/
DDockManager.java103 void onEvent(int event); in onEvent() method
/frameworks/base/services/people/java/com/android/server/people/data/
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()
/frameworks/base/media/java/android/media/
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);
/frameworks/base/core/java/android/speech/
DRecognitionListener.java155 void onEvent(int eventType, Bundle params); in onEvent() method
DIRecognitionListener.aidl115 void onEvent(in int eventType, in Bundle params); in onEvent() method
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/dock/
DDockManagerFake.java64 mCallback.onEvent(event); in setDockEvent()
/frameworks/base/telecomm/java/android/telecom/
DCallEventCallback.java86 void onEvent(@NonNull String event, @NonNull Bundle extras); in onEvent() method

1234