Home
last modified time | relevance | path

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

1234

/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/services/tests/servicestests/src/com/android/server/backup/utils/
DBackupManagerMonitorUtilsTest.java68 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()
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()
/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/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);
DFrontendClient.cpp185 Status TunerFrontendCallback::onEvent(FrontendEventType frontendEventType) { in onEvent() function in android::TunerFrontendCallback
187 mFrontendClientCallback->onEvent(frontendEventType); in onEvent()
/frameworks/av/services/tuner/
DTunerLnb.cpp115 ::ndk::ScopedAStatus TunerLnb::LnbCallback::onEvent(const LnbEventType lnbEventType) { in onEvent() function in aidl::android::media::tv::tuner::TunerLnb::LnbCallback
117 mTunerLnbCallback->onEvent(lnbEventType); in onEvent()
DTunerFrontend.cpp200 ::ndk::ScopedAStatus TunerFrontend::FrontendCallback::onEvent(FrontendEventType frontendEventType) { in onEvent() function in aidl::android::media::tv::tuner::TunerFrontend::FrontendCallback
203 mTunerFrontendCallback->onEvent(frontendEventType); in onEvent()
/frameworks/base/core/java/android/app/backup/
DIBackupManagerMonitor.aidl34 void onEvent(in Bundle 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
DLnb.java216 private void onEvent(int eventType) { in onEvent() method in Lnb
224 callback.onEvent(eventType); in onEvent()
/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.java125 void onEvent(int eventType, Bundle params); in onEvent() method
DIRecognitionListener.aidl105 void onEvent(in int eventType, in Bundle params); in onEvent() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dock/
DDockManagerFake.java62 mCallback.onEvent(event); in setDockEvent()
/frameworks/base/media/java/android/media/session/
DISessionControllerCallback.aidl28 void onEvent(String event, in Bundle extras); in onEvent() method
/frameworks/av/services/tuner/hidl/
DTunerHidlLnb.cpp141 Return<void> TunerHidlLnb::LnbCallback::onEvent(const HidlLnbEventType lnbEventType) { in onEvent() function in aidl::android::media::tv::tuner::TunerHidlLnb::LnbCallback
143 mTunerLnbCallback->onEvent(static_cast<LnbEventType>(lnbEventType)); in onEvent()
/frameworks/base/tests/Codegen/src/com/android/codegentest/
DStaleDataclassDetectorFalsePositivesTest.java40 void onEvent(); in onEvent() method
/frameworks/hardware/interfaces/sensorservice/1.0/
DREADME85 IEventQueueCallback.onEvent is designed to be oneway, because the server should
104 Return<void> onEvent(const Event &e) {
129 /* start receiving events via onEvent */

1234