/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | RaceConditionReproducerTest.java | 56 eventProcessor.onEvent("B1"); in run3_3_TestAction() 57 eventProcessor.onEvent("B2"); in run3_3_TestAction() 58 eventProcessor.onEvent("B3"); in run3_3_TestAction() 62 eventProcessor.onEvent("A1"); in run3_3_TestAction() 63 eventProcessor.onEvent("A2"); in run3_3_TestAction() 64 eventProcessor.onEvent("A3"); in run3_3_TestAction() 101 eventProcessor.onEvent("B1:enter"); in test3_3_enter_exit() 102 eventProcessor.onEvent("B1:exit"); in test3_3_enter_exit() 103 eventProcessor.onEvent("B2"); in test3_3_enter_exit() 104 eventProcessor.onEvent("B3:enter"); in test3_3_enter_exit() [all …]
|
D | TraceHelperForTest.java | 56 mRaceConditionReproducer.onEvent(RaceConditionReproducer.enterEvt(sectionName)); in beginSection() 74 mRaceConditionReproducer.onEvent(RaceConditionReproducer.exitEvt(info.sectionName)); in endSection()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorConference.java | 88 onEvent(new Event(Event.CALL_AUDIO_STATE_CHANGED)); in onCallAudioStateChanged() 94 onEvent( in onConnectionAdded() 103 onEvent(new Event(Event.DISCONNECT)); in onDisconnect() 109 onEvent(new Event(Event.HOLD)); in onHold() 115 onEvent(new Event(Event.MERGE, SimulatorSimCallManager.getConnectionTag(connection), null)); in onMerge() 121 onEvent(new Event(Event.MERGE)); in onMerge() 127 onEvent(new Event(Event.DTMF, Character.toString(c), null)); in onPlayDtmfTone() 133 onEvent(new Event(Event.SEPARATE, SimulatorSimCallManager.getConnectionTag(connection), null)); in onSeparate() 144 onEvent(new Event(Event.SWAP)); in onSwap() 150 onEvent(new Event(Event.UNHOLD)); in onUnhold() [all …]
|
D | SimulatorConnection.java | 90 onEvent(new Event(Event.ANSWER, Integer.toString(videoState), null)); in onAnswer() 97 onEvent(new Event(Event.REJECT)); in onReject() 103 onEvent(new Event(Event.HOLD)); in onHold() 109 onEvent(new Event(Event.UNHOLD)); in onUnhold() 116 onEvent(new Event(Event.DISCONNECT)); in onDisconnect() 133 onEvent(new Event(Event.STATE_CHANGE, stateToString(oldState), stateToString(newState))); in onStateChanged() 139 onEvent(new Event(Event.DTMF, Character.toString(c), null)); in onPlayDtmfTone() 151 onEvent(new Event(Event.START_RTT)); in onStartRtt() 160 onEvent(new Event(Event.STOP_RTT)); in onStopRtt() 166 onEvent(new Event(Event.HANDLE_RTT_UPGRADE_RESPONSE)); in handleRttUpgradeResponse() [all …]
|
D | SimulatorConferenceCreator.java | 170 public void onEvent(@NonNull SimulatorConnection connection, @NonNull Event event) { in onEvent() method in SimulatorConferenceCreator 191 public void onEvent(@NonNull SimulatorConference conference, @NonNull Event event) { in onEvent() method in SimulatorConferenceCreator
|
D | NonSimulatorConnectionListener.java | 31 public void onEvent(@NonNull SimulatorConnection connection, @NonNull Event event) { in onEvent() method in NonSimulatorConnectionListener
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | InputLogicTestsDeadKeys.java | 59 mLatinIME.onEvent(event); in testDeadCircumflexSimple() 73 mLatinIME.onEvent(event); in testDeadCircumflexBackspace() 85 mLatinIME.onEvent(event); in testDeadCircumflexFeedback() 103 mLatinIME.onEvent(event); in testDeadDiaeresisSpace() 118 mLatinIME.onEvent(event); in testDeadAcuteLetterBackspace() 121 mLatinIME.onEvent(Event.createSoftwareKeypressEvent(Event.NOT_A_CODE_POINT, in testDeadAcuteLetterBackspace() 137 mLatinIME.onEvent(event); in testFinnishStroke() 160 mLatinIME.onEvent(event); in testDoubleDeadOgonek() 176 mLatinIME.onEvent(event); in testDeadCircumflexDeadDiaeresis() 193 mLatinIME.onEvent(event); in testDeadCircumflexDeadDiaeresisBackspace() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/ |
D | VehiclePropertyPublisherTest.java | 383 mCarPropertyCallbackCaptor.getValue().onEvent(Collections.singletonList(PROP_INT_EVENT)); in testOnNewCarPropertyEvent_pushesValueToDataSubscriber() 410 eventListener.onEvent(Collections.singletonList(PROP_STRING_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly() 411 eventListener.onEvent(Collections.singletonList(PROP_BOOLEAN_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly() 412 eventListener.onEvent(Collections.singletonList(PROP_INT_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly() 413 eventListener.onEvent(Collections.singletonList(PROP_INT_VEC_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly() 414 eventListener.onEvent(Collections.singletonList(PROP_LONG_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly() 415 eventListener.onEvent(Collections.singletonList(PROP_LONG_VEC_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly() 416 eventListener.onEvent(Collections.singletonList(PROP_FLOAT_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly() 417 eventListener.onEvent(Collections.singletonList(PROP_FLOAT_VEC_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly() 418 eventListener.onEvent(Collections.singletonList(PROP_BYTES_EVENT)); in testOnNewCarPropertyEvent_parsesValueCorrectly() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | EvsHalServiceTest.java | 98 }).when(mListener).onEvent(anyInt(), anyBoolean()); in requestToStartRearviewViaEvsServiceRequest() 115 }).when(mListener).onEvent(anyInt(), anyBoolean()); in requestToStopRearviewViaEvsServiceRequest() 130 verify(mListener, never()).onEvent(anyInt(), anyBoolean()); in handleInvalidHalEvents() 136 verify(mListener, never()).onEvent(anyInt(), anyBoolean()); in handleInvalidHalEvents()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/rotary/ |
D | DirectManipulationHandler.java | 166 return mCenterButtonDelegate.onEvent(inDirectManipulationMode); in onKey() 177 return mBackDelegate.onEvent(inDirectManipulationMode); in onKey() 222 boolean onEvent(boolean inDirectManipulationMode); in onEvent() method
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarPropertyServiceUnitTest.java | 130 verify(mMockHandler1, timeout(5000)).onEvent(any()); in testRegisterUnregisterForContinuousProperty() 143 verify(mMockHandler2, timeout(5000)).onEvent(any()); in testRegisterUnregisterForContinuousProperty() 185 verify(mMockHandler1, timeout(5000)).onEvent(any()); in testRegisterUnregisterForOnChangeProperty() 198 verify(mMockHandler2, timeout(5000)).onEvent(any()); in testRegisterUnregisterForOnChangeProperty() 229 public void onEvent(List<CarPropertyEvent> events) throws RemoteException { in onEvent() method in CarPropertyServiceUnitTest.EventListener
|
D | CarOccupantZoneServiceTest.java | 435 mService.mUserLifecycleListener.onEvent(new UserLifecycleEvent( in testAssignProfileFollowedByUserSwitch() 648 mService.mUserLifecycleListener.onEvent(new UserLifecycleEvent( in testActiveUserAfterUserSwitching() 890 mService.mUserLifecycleListener.onEvent(new UserLifecycleEvent( in testManagerGetUserForOccupantAfterUserSwitch() 909 mService.mUserLifecycleListener.onEvent(new UserLifecycleEvent( in testManagerRegisterUnregister() 922 mService.mUserLifecycleListener.onEvent(new UserLifecycleEvent( in testManagerRegisterUnregister()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadHardwareInterfaceTest.java | 224 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_STARTED); in testTetheringOffloadCallback() 228 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_STOPPED_ERROR); in testTetheringOffloadCallback() 232 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_STOPPED_UNSUPPORTED); in testTetheringOffloadCallback() 236 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_SUPPORT_AVAILABLE); in testTetheringOffloadCallback() 240 mTetheringOffloadCallback.onEvent(OffloadCallbackEvent.OFFLOAD_STOPPED_LIMIT_REACHED); in testTetheringOffloadCallback()
|
/packages/apps/Gallery2/src_pd/com/android/gallery3d/util/ |
D | UsageStatistics.java | 51 public static void onEvent(String category, String action, String label) {}; in onEvent() method in UsageStatistics 52 … public static void onEvent(String category, String action, String label, long optional_value) {}; in onEvent() method in UsageStatistics
|
/packages/apps/TV/common/src/com/android/tv/common/compat/ |
D | TvRecordingClientCompat.java | 80 public void onEvent(String inputId, String eventType, Bundle eventArgs) { in onEvent() method in TvRecordingClientCompat.RecordingCallbackCompat 83 super.onEvent(inputId, eventType, eventArgs); in onEvent()
|
D | TvViewCompat.java | 80 public void onEvent(String inputId, String eventType, Bundle eventArgs) { in onEvent() method in TvViewCompat.TvInputCallbackCompat 83 super.onEvent(inputId, eventType, eventArgs); in onEvent()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarPropertyService.java | 190 void onEvent(List<CarPropertyEvent> events) throws RemoteException { in onEvent() method in CarPropertyService.Client 196 mListener.onEvent(events); in onEvent() 335 client.onEvent(events); in getAndDispatchPropertyInitValue() 698 client.onEvent(eventsToDispatch.get(client)); in onPropertyChange() 732 lastOperatedClient.onEvent(eventList); in dispatchToLastClient()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | EvsHalService.java | 77 void onEvent(@CarEvsServiceType int id, boolean on); in onEvent() method 183 listener.onEvent(type, on); in dispatchHalEvents()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | SilentModeHandler.java | 169 fileObserver.onEvent(FileObserver.MODIFY, mHwStateMonitoringFileName); in querySilentModeHwState() 246 public void onEvent(int event, String filename) { in startMonitoringSilentModeHwState()
|
/packages/services/Car/tools/keventreader/common/com/android/car/keventreader/ |
D | IEventCallback.aidl | 22 void onEvent(in KeypressEvent event); in onEvent() method
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | ICarPropertyEventListener.aidl | 31 void onEvent(in List<CarPropertyEvent> events) = 0;
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FlingBlockCheck.java | 42 public void onEvent() { in onEvent() method in FlingBlockCheck
|
/packages/services/Car/car-lib/src/android/car/cluster/renderer/ |
D | NavigationRenderer.java | 50 public void onEvent(int eventType, Bundle bundle) { in onEvent() method in NavigationRenderer
|
/packages/services/Car/tools/keventreader/server/ |
D | eventprovider.cpp | 33 cb->onEvent(event); in startLoop()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserServiceTest.java | 246 verify(mockListener1, never()).onEvent(any(UserLifecycleEvent.class)); in testRemoveUserLifecycleListener() 247 verify(mockListener2).onEvent(any(UserLifecycleEvent.class)); in testRemoveUserLifecycleListener() 281 failureListener).onEvent(any(UserLifecycleEvent.class)); in testOnUserLifecycleEvent_ensureAllListenersAreNotified() 309 verify(mockListener1).onEvent(any(UserLifecycleEvent.class)); in testOnUserLifecycleEvent_notifyListener_nullFilter() 310 verify(mockListener2).onEvent(any(UserLifecycleEvent.class)); in testOnUserLifecycleEvent_notifyListener_nullFilter() 335 verify(mockListener1, never()).onEvent(any(UserLifecycleEvent.class)); in testOnUserLifecycleEvent_notifyListener_nonNullFilter() 336 verify(mockListener2, times(1)).onEvent(any(UserLifecycleEvent.class)); in testOnUserLifecycleEvent_notifyListener_nonNullFilter() 337 verify(mockListener3, times(2)).onEvent(any(UserLifecycleEvent.class)); in testOnUserLifecycleEvent_notifyListener_nonNullFilter() 461 verify(mockServiceListener).onEvent(any(UserLifecycleEvent.class)); in testOnUserLifecycleEvent_postUnlockedEvent_notifiesServiceListenersOnly()
|