Home
last modified time | relevance | path

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

12

/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.java146 public void onEvent(int wfd, @NotifyEventType int mask, String path) { in onEvent() method in FileObserver.ObserverThread
163 observer.onEvent(mask, path); in onEvent()
297 public abstract void onEvent(int event, @Nullable String path); in onEvent() method in FileObserver
/frameworks/base/core/java/android/app/backup/
DIBackupManagerMonitor.aidl34 void onEvent(in Bundle event); in onEvent() method
DBackupManagerMonitor.java198 public void onEvent(Bundle event) { in onEvent() method in BackupManagerMonitor
DRestoreSession.java405 public void onEvent(final Bundle event) throws RemoteException { in onEvent() method in RestoreSession.BackupManagerMonitorWrapper
406 mMonitor.onEvent(event); in onEvent()
DBackupManager.java1048 public void onEvent(final Bundle event) throws RemoteException { in onEvent() method in BackupManager.BackupManagerMonitorWrapper
1049 mMonitor.onEvent(event); in onEvent()
/frameworks/base/services/core/java/com/android/server/
DINativeDaemonConnectorCallbacks.java24 boolean onEvent(int code, String raw, String[] cooked); in onEvent() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/dock/
DDockManager.java61 void onEvent(int event); in onEvent() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dock/
DDockManagerFake.java41 mCallback.onEvent(event); in setDockEvent()
/frameworks/base/core/java/android/speech/
DRecognitionListener.java98 void onEvent(int eventType, Bundle params); in onEvent() method
DIRecognitionListener.aidl87 void onEvent(in int eventType, in Bundle params); in onEvent() method
DSpeechRecognizer.java465 mInternalListener.onEvent(msg.arg1, (Bundle) msg.obj);
503 public void onEvent(final int eventType, final Bundle params) { in onEvent() method in SpeechRecognizer.InternalListener
/frameworks/base/media/java/android/media/session/
DISessionControllerCallback.aidl28 void onEvent(String event, in Bundle extras); in onEvent() method
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorEventQueue.h43 android::hardware::Return<void> onEvent(const Event &event) override;
DASensorEventQueue.cpp105 Return<void> ASensorEventQueue::onEvent(const Event &event) { in onEvent() function in ASensorEventQueue
/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 */
DIEventQueueCallback.hal36 oneway onEvent(Event event);
/frameworks/native/services/sensorservice/hidl/
DEventQueue.cpp47 Return<void> ret = mCallback->onEvent(convertEvent(event)); in handleEvent()
/frameworks/base/media/java/android/media/tv/
DTvRecordingClient.java289 public void onEvent(String inputId, String eventType, Bundle eventArgs) { in onEvent() method in TvRecordingClient.RecordingCallback
401 mCallback.onEvent(mInputId, eventType, eventArgs); in onSessionEvent()
/frameworks/base/media/java/android/media/
DMediaCas.java159 mListener.onEvent(MediaCas.this, msg.arg1, msg.arg2, in handleMessage()
173 public void onEvent(int event, int arg, @Nullable ArrayList<Byte> data)
488 void onEvent(@NonNull MediaCas mediaCas, int event, int arg, @Nullable byte[] data); in onEvent() method
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupManagerMonitorUtils.java71 monitor.onEvent(bundle); in monitorEvent()
/frameworks/base/core/tests/coretests/src/android/os/
DFileObserverTest.java45 public void onEvent(int event, String path) { in onEvent() method in FileObserverTest.Observer
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeDockHandler.java113 public void onEvent(int event) { in onEvent() method in DozeDockHandler.DockEventListener
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java101 public void onEvent(DrmManagerClient client, DrmEvent event); in onEvent() method
172 mOnEventListener.onEvent(DrmManagerClient.this, event); in handleMessage()

12