Home
last modified time | relevance | path

Searched defs:event (Results 1 – 25 of 741) sorted by relevance

12345678910>>...30

/packages/modules/StatsD/lib/libstatssocket/
Dstats_event.c91 AStatsEvent* event = malloc(sizeof(AStatsEvent)); in AStatsEvent_obtain() local
107 void AStatsEvent_release(AStatsEvent* event) { in AStatsEvent_release()
112 void AStatsEvent_setAtomId(AStatsEvent* event, uint32_t atomId) { in AStatsEvent_setAtomId()
125 void AStatsEvent_overwriteTimestamp(AStatsEvent* event, uint64_t timestampNs) { in AStatsEvent_overwriteTimestamp()
132 static bool overflows(AStatsEvent* event, size_t size) { in overflows()
156 static void append_byte(AStatsEvent* event, uint8_t value) { in append_byte()
163 static void append_bool(AStatsEvent* event, bool value) { in append_bool()
167 static void append_int32(AStatsEvent* event, int32_t value) { in append_int32()
174 static void append_int64(AStatsEvent* event, int64_t value) { in append_int64()
181 static void append_float(AStatsEvent* event, float value) { in append_float()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pProvDiscEventTest.java44 WifiP2pProvDiscEvent event = in testPbcReqEvent() local
56 WifiP2pProvDiscEvent event = in testPbcRespEvent() local
67 WifiP2pProvDiscEvent event = in testEnterPinEvent() local
78 WifiP2pProvDiscEvent event = in testShowPinEvent() local
92 WifiP2pProvDiscEvent event = new WifiP2pProvDiscEvent("OneToken"); in testMalformedInput() local
105 WifiP2pProvDiscEvent event = new WifiP2pProvDiscEvent("XXX " + DEVICE_ADDRESS); in testMalformedEvent() local
/packages/services/Car/service/src/com/android/car/
DCarSensorEventFactory.java29 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, 0, 1, 0); in createBooleanEvent() local
35 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, 0, 1, 0); in createIntEvent() local
50 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, 0, 0, value.size()); in createInt64VecEvent() local
58 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, 1, 0, 0); in createFloatEvent() local
68 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, numFloats, numInts, in createMixedEvent() local
83 public static void returnToPool(CarSensorEvent event) { in returnToPool()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/instrumentation/
DMetricsFeatureProvider.java41 final SettingsIntelligenceEvent event = new SettingsIntelligenceEvent(); in logGetSuggestion() local
51 final SettingsIntelligenceEvent event = new SettingsIntelligenceEvent(); in logDismissSuggestion() local
61 final SettingsIntelligenceEvent event = new SettingsIntelligenceEvent(); in logLaunchSuggestion() local
72 final SettingsIntelligenceEvent event = new SettingsIntelligenceEvent(); in logSearchResultClick() local
87 final SettingsIntelligenceEvent event = new SettingsIntelligenceEvent(); in logEvent() local
93 private void logEvent(SettingsIntelligenceEvent event) { in logEvent()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DDefaultOmtpEventHandler.java32 OmtpEvents event) { in handleEvent()
52 Context context, VoicemailStatus.Editor status, OmtpEvents event) { in handleConfigurationEvent()
90 Context context, VoicemailStatus.Editor status, OmtpEvents event) { in handleDataChannelEvent()
157 OmtpEvents event) { in handleNotificationChannelEvent()
180 Context context, VoicemailStatus.Editor status, OmtpEvents event) { in handleOtherEvent()
/packages/services/Car/tests/SampleCustomInputService/tests/src/com/android/car/custominput/sample/unittest/
DCustomInputEventListenerTest.java98 CustomInputEvent event = new CustomInputEvent( in testHandleEvent_launchingMaps() local
131 CustomInputEvent event = new CustomInputEvent( in testHandleEvent_acceptIncomingCallAction() local
148 CustomInputEvent event = new CustomInputEvent( in testHandleEvent_rejectIncomingCallAction() local
165 CustomInputEvent event = new CustomInputEvent( in testHandleEvent_launchHomeAction() local
201 CustomInputEvent event = new CustomInputEvent(CustomInputEvent.INPUT_CODE_F1, in testHandleEvent_ignoringEventsForNonMainDisplay() local
232 CustomInputEvent event = new CustomInputEvent(inputCode, in doTestIncreaseVolumeAndAssert() local
265 CustomInputEvent event = new CustomInputEvent(inputCode, in doTestIncreaseMaxVolumeAndAssert() local
296 CustomInputEvent event = new CustomInputEvent(inputCode, in doTestDecreaseVolumeAndAssert() local
329 CustomInputEvent event = new CustomInputEvent(inputCode, in doTestDecreaseMinVolumeAndAssert() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java138 RotaryEvent event = new RotaryEvent( in testOnRotaryEvent_injectingRotaryNavigationEvent() local
157 RotaryEvent event = new RotaryEvent( in testOnRotaryEvent_injectingRotaryVolumeEvent() local
179 RotaryEvent event = new RotaryEvent( in testOnRotaryEvent_injectingRotaryNavigation_notConsumedByCaptureController() local
213 CustomInputEvent event = new CustomInputEvent(INPUT_CODE_F1, in testOnCustomInputEvent_delegatesToCaptureController() local
240 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in ordinaryEvents_onMainDisplay_routedToInputManager() local
257 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in ordinaryEvents_onInstrumentClusterDisplay_routedToListener() local
269 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in customEventHandler_capturesDisplayMainEvent_capturedByInputController() local
283 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in customEventHandler_capturesDisplayMainEvent_missedByInputController() local
297 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in customEventHandler_capturesClusterEvents_capturedByInstrumentCluster() local
665 KeyEvent event = new KeyEvent(/* downTime= */ currentTime, in injectKeyEvent_throwsSecurityExceptionWithoutInjectEventsPermission() local
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DDtmfKeyListener.java75 public boolean backspace(View view, Editable content, int keyCode, KeyEvent event) { in backspace()
86 public boolean onKeyDown(View view, Editable content, int keyCode, KeyEvent event) { in onKeyDown()
100 boolean onKeyDown(KeyEvent event) { in onKeyDown()
127 public boolean onKeyUp(View view, Editable content, int keyCode, KeyEvent event) { in onKeyUp()
140 boolean onKeyUp(KeyEvent event) { in onKeyUp()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DEventLogArray.java50 public void addLog(String event) { in addLog()
54 public void addLog(String event, int extras) { in addLog()
58 public void addLog(String event, boolean extras) { in addLog()
62 private void addLog(int type, String event, float extras) { in addLog()
127 private boolean isEntrySame(EventEntry entry, int type, String event) { in isEntrySame()
135 private String event; field in EventLogArray.EventEntry
141 public void update(int type, String event, float extras, int traceId) { in update()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryDragListener.java37 public boolean onDrag(View v, DragEvent event) { in onDrag()
53 public boolean handleDropEventChecked(View v, DragEvent event) { in handleDropEventChecked()
58 public @Nullable TimerTask createOpenTask(final View v, DragEvent event) { in createOpenTask()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DRaceConditionReproducer.java261 public void onEvent(String event) { in onEvent()
271 private boolean canRegisterEventNowLocked(String event) { in canRegisterEventNowLocked()
292 private synchronized Semaphore tryRegisterEvent(String event) { in tryRegisterEvent()
367 private Semaphore createWaitObjectForPostponedEventLocked(String event) { in createWaitObjectForPostponedEventLocked()
374 private void waitUntilCanRegister(String event, Semaphore waitObject) { in waitUntilCanRegister()
407 private void registerPostponedEventLocked(String event) { in registerPostponedEventLocked()
422 private static String prefixFromPostfixedEvent(String event, String postfix) { in prefixFromPostfixedEvent()
433 private static String eventAsEnter(String event) { in eventAsEnter()
440 private static String eventAsExit(String event) { in eventAsExit()
444 private void registerEventLocked(String event) { in registerEventLocked()
/packages/apps/Contacts/src/com/android/contacts/logging/
DLogger.java69 final ListEvent event = new ListEvent(); in logListEvent() local
89 final QuickContactEvent event = new QuickContactEvent(); in logQuickContactEvent() local
102 final EditorEvent event = new EditorEvent(); in logEditorEvent() local
111 public abstract void logListEventImpl(ListEvent event); in logListEventImpl()
112 public abstract void logQuickContactEventImpl(QuickContactEvent event); in logQuickContactEventImpl()
113 public abstract void logEditorEventImpl(EditorEvent event); in logEditorEventImpl()
/packages/modules/DnsResolver/tests/
Dresolv_stats_test_utils.cpp69 NetworkDnsEventReported event; in fromNetworkDnsEventReportedStr() local
141 void PrintTo(const DnsQueryEvents& event, std::ostream* os) { in PrintTo()
147 void PrintTo(const DnsQueryEvent& event, std::ostream* os) { in PrintTo()
162 void PrintTo(const NetworkDnsEventReported& event, std::ostream* os) { in PrintTo()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DNativeInterface.java310 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in onConnectionStateChanged() local
329 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_AUDIO_STATE_CHANGED); in onAudioStateChanged() local
345 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_VR_STATE_CHANGED); in onVrStateChanged() local
362 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_NETWORK_STATE); in onNetworkState() local
380 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_ROAMING_STATE); in onNetworkRoaming() local
396 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_NETWORK_SIGNAL); in onNetworkSignal() local
411 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_BATTERY_LEVEL); in onBatteryLevel() local
426 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_OPERATOR_NAME); in onCurrentOperator() local
442 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CALL); in onCall() local
466 StackEvent event = new StackEvent(StackEvent.EVENT_TYPE_CALLSETUP); in onCallSetup() local
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DICalendarTest.java156 ICalendar.Component event = ICalendar.parseEvent(text); in testParseBareEvent() local
171 ICalendar.Component event = ICalendar.parseEvent(text); in testParseEvent1() local
195 ICalendar.Component event = ICalendar.parseEvent(text); in testParseEvent2() local
212 ICalendar.Component event = ICalendar.parseEvent(text); in testParseInvalidProperty() local
278 ICalendar.Component event = ICalendar.parseEvent(text); in testNormalize() local
294 ICalendar.Component event = ICalendar.parseEvent(text); in testNormalizeBadSep() local
310 ICalendar.Component event = ICalendar.parseEvent(text); in testBad() local
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DDragGestureDetector.java44 private void computeAveragePosition(MotionEvent event, float[] position) { in computeAveragePosition()
48 private void computeAveragePosition(MotionEvent event, float[] position, int ignore) { in computeAveragePosition()
64 public boolean onTouchEvent(MotionEvent event) { in onTouchEvent()
104 private void move(MotionEvent event, boolean drop) { in move()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetNativeInterface.java59 private void sendMessageToService(HeadsetStackEvent event) { in sendMessageToService()
75 HeadsetStackEvent event = in onConnectionStateChanged() local
84 HeadsetStackEvent event = in onAudioStateChanged() local
91 HeadsetStackEvent event = in onVrStateChanged() local
98 HeadsetStackEvent event = in onAnswerCall() local
104 HeadsetStackEvent event = in onHangupCall() local
110 HeadsetStackEvent event = in onVolumeChanged() local
117 HeadsetStackEvent event = in onDialCall() local
124 HeadsetStackEvent event = in onSendDtmf() local
131 HeadsetStackEvent event = in onNoiseReductionEnable() local
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/systemmonitor/
DSystemMonitorEventUnitTest.java30 SystemMonitorEvent event = new SystemMonitorEvent(); in testCpuUsageLevelGetterSetter_correctlyGetSetCpuUsageLevel() local
39 SystemMonitorEvent event = new SystemMonitorEvent(); in testMemUsageLevelGetterSetter_correctlyGetSetMemUsageLevel() local
/packages/apps/DocumentsUI/src/com/android/documentsui/
DItemDragListener.java66 public boolean onDrag(final View v, DragEvent event) { in onDrag()
91 private void handleEnteredEvent(View v, DragEvent event) { in handleEnteredEvent()
109 private void handleExitedEndedEvent(View v, DragEvent event) { in handleExitedEndedEvent()
117 private boolean handleDropEvent(View v, DragEvent event) { in handleDropEvent()
130 public @Nullable TimerTask createOpenTask(final View v, DragEvent event) { in createOpenTask()
150 public boolean handleDropEventChecked(View v, DragEvent event) { in handleDropEventChecked()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarDrivingStateManager.java79 void onDrivingStateChanged(CarDrivingStateEvent event); in onDrivingStateChanged()
168 CarDrivingStateEvent event = new CarDrivingStateEvent( in injectDrivingState() local
190 public void onDrivingStateChanged(CarDrivingStateEvent event) { in onDrivingStateChanged()
205 private void handleDrivingStateChanged(CarDrivingStateEvent event) { in handleDrivingStateChanged()
240 private void dispatchDrivingStateChangeToClient(CarDrivingStateEvent event) { in dispatchDrivingStateChangeToClient()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java390 KeyEvent event = KeyEvents.createLeftCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToCopy_SameRoot_LeftCtrlPressed() local
450 KeyEvent event = KeyEvents.createRightCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToCopy_SameRoot_RightCtrlPressed() local
472 KeyEvent event = KeyEvents.createLeftCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToMove_DifferentRoot_LeftCtrlPressed() local
494 KeyEvent event = KeyEvents.createRightCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToMove_DifferentRoot_RightCtrlPressed() local
516 KeyEvent event = KeyEvents.createLeftCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToMove_SameRoot_LeftCtrlReleased() local
541 KeyEvent event = KeyEvents.createRightCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToMove_SameRoot_RightCtrlReleased() local
566 KeyEvent event = KeyEvents.createLeftCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToCopy_DifferentRoot_LeftCtrlReleased() local
591 KeyEvent event = KeyEvents.createRightCtrlKey(KeyEvent.ACTION_DOWN); in testUpdateState_UpdatesToCopy_DifferentRoot_RightCtrlReleased() local
750 KeyEvent event = KeyEvents.createLeftCtrlKey(KeyEvent.ACTION_DOWN); in testDrop_Copies_SameRoot_DropOnRoot_ReleasesCtrlBeforeGettingRootDocument() local
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java203 A2dpStackEvent event = (A2dpStackEvent) message.obj; in processMessage() local
227 private void processConnectionEvent(int event) { in processConnectionEvent()
296 A2dpStackEvent event = in processMessage() local
310 A2dpStackEvent event = (A2dpStackEvent) message.obj; in processMessage() local
336 private void processConnectionEvent(int event) { in processConnectionEvent()
392 A2dpStackEvent event = in processMessage() local
403 A2dpStackEvent event = (A2dpStackEvent) message.obj; in processMessage() local
428 private void processConnectionEvent(int event) { in processConnectionEvent()
513 A2dpStackEvent event = (A2dpStackEvent) message.obj; in processMessage() local
540 private void processConnectionEvent(int event) { in processConnectionEvent()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestLogging.java29 private static void recordEventSlow(String sequence, String event) { in recordEventSlow()
37 public static void recordEvent(String sequence, String event) { in recordEvent()
49 public static void recordMotionEvent(String sequence, String message, MotionEvent event) { in recordMotionEvent()
/packages/modules/StatsD/statsd/tests/
DLogEvent_test.cpp81 AStatsEvent* event = AStatsEvent_obtain(); in TEST() local
131 AStatsEvent* event = AStatsEvent_obtain(); in TEST() local
169 AStatsEvent* event = AStatsEvent_obtain(); in TEST() local
199 AStatsEvent* event = AStatsEvent_obtain(); in TEST() local
229 AStatsEvent* event = AStatsEvent_obtain(); in TEST() local
289 LogEvent event(/*uid=*/0, /*pid=*/0); in TEST() local
298 LogEvent event(/*uid=*/0, /*pid=*/0); in TEST() local
307 LogEvent event(/*uid=*/0, /*pid=*/0); in TEST() local
316 LogEvent event(/*uid=*/0, /*pid=*/0); in TEST() local
358 LogEvent event(/*uid=*/0, /*pid=*/0); in TEST() local
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DInputHalServiceTest.java170 KeyEvent event = dispatchSingleEvent(Key.DOWN, KeyEvent.KEYCODE_ENTER, VehicleDisplay.MAIN, in dispatchesInputEvent_single_toListener_mainDisplay() local
180 KeyEvent event = dispatchSingleEvent(Key.DOWN, KeyEvent.KEYCODE_ENTER, in dispatchesInputEvent_single_toListener_clusterDisplay() local
242 KeyEvent event = dispatchSingleEvent(Key.DOWN, KeyEvent.KEYCODE_ENTER, VehicleDisplay.MAIN, in handlesRepeatedKeys_anyDisplay() local
288 KeyEvent event = dispatchSingleEventWithIndents(KeyEvent.KEYCODE_VOLUME_UP, 5, in handlesRepeatedKeyWithIndents_anyDisplay() local
311 KeyEvent event = dispatchSingleEvent(Key.UP, KeyEvent.KEYCODE_ENTER, VehicleDisplay.MAIN, in handlesKeyUp_withoutKeyDown_mainDisplay() local
325 KeyEvent event = dispatchSingleEvent(Key.UP, KeyEvent.KEYCODE_ENTER, in handlesKeyUp_withoutKeyDown_clusterDisplay() local
344 KeyEvent event = dispatchSingleEvent(Key.DOWN, KeyEvent.KEYCODE_MENU, VehicleDisplay.MAIN, in separateKeyDownEvents_areIndependent_mainDisplay() local
361 KeyEvent event = dispatchSingleEvent(Key.DOWN, KeyEvent.KEYCODE_MENU, VehicleDisplay.MAIN, in separateKeyDownEvents_areIndependent_clusterDisplay() local

12345678910>>...30