Home
last modified time | relevance | path

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

123

/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/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadHardwareInterfaceTest.java181 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_STARTED); in testTetheringOffloadCallback()
185 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_STOPPED_ERROR); in testTetheringOffloadCallback()
189 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_STOPPED_UNSUPPORTED); in testTetheringOffloadCallback()
193 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_SUPPORT_AVAILABLE); in testTetheringOffloadCallback()
197 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_STOPPED_LIMIT_REACHED); in testTetheringOffloadCallback()
/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()
/frameworks/base/services/core/java/com/android/server/
DINativeDaemonConnectorCallbacks.java24 boolean onEvent(int code, String raw, String[] cooked); in onEvent() method
/frameworks/base/media/java/android/media/tv/tuner/
DLnbCallback.java34 void onEvent(@EventType int lnbEventType); in onEvent() method
DLnb.java175 private void onEvent(int eventType) { in onEvent() method in Lnb
177 mExecutor.execute(() -> mCallback.onEvent(eventType)); in onEvent()
/frameworks/base/media/java/android/media/
DUtils.java461 void onEvent(int eventCode, @Nullable V info);
552 public void onEvent(int eventCode, V info) {
559 listener.onEvent(eventCode, info);
563 listener.onEvent(eventCode, info);
630 listener.onEvent(eventCode, info);
/frameworks/base/packages/SystemUI/src/com/android/systemui/dock/
DDockManager.java103 void onEvent(int event); in onEvent() method
/frameworks/base/tests/Codegen/src/com/android/codegentest/
DStaleDataclassDetectorFalsePositivesTest.java34 void onEvent(); in onEvent() method
/frameworks/base/core/java/android/speech/
DIRecognitionListener.aidl87 void onEvent(in int eventType, in Bundle params); in onEvent() method
DSpeechRecognizer.java468 mInternalListener.onEvent(msg.arg1, (Bundle) msg.obj);
506 public void onEvent(final int eventType, final Bundle params) { in onEvent() method in SpeechRecognizer.InternalListener
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dock/
DDockManagerFake.java57 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/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/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorEventQueue.h43 android::hardware::Return<void> onEvent(const Event &event) override;
/frameworks/base/media/java/android/media/tv/
DTvRecordingClient.java317 public void onEvent(String inputId, String eventType, Bundle eventArgs) { in onEvent() method in TvRecordingClient.RecordingCallback
429 mCallback.onEvent(mInputId, eventType, eventArgs); in onSessionEvent()
/frameworks/native/services/sensorservice/hidl/
DEventQueue.cpp47 Return<void> ret = mCallback->onEvent(convertEvent(event)); in handleEvent()
/frameworks/base/non-updatable-api/
Dsystem-lint-baseline.txt22 MissingNullability: android.media.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, an…
23 Missing nullability on parameter `inputId` in method `onEvent`
24 MissingNullability: android.media.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, an…
25 Missing nullability on parameter `eventType` in method `onEvent`
26 MissingNullability: android.media.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, an…
27 Missing nullability on parameter `eventArgs` in method `onEvent`
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupManagerMonitorUtils.java71 monitor.onEvent(bundle); in monitorEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeDockHandler.java75 public void onEvent(int dockState) { in onEvent() method in DozeDockHandler.DockEventListener

123