Searched defs:eventType (Results 1 - 25 of 62) sorted by path

123

/frameworks/av/drm/libmediadrm/
H A DDrm.cpp126 void Drm::sendEvent(DrmPlugin::EventType eventType, int extra, argument
140 listener->notify(eventType, extra, &obj);
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp420 DrmPlugin::EventType eventType = (DrmPlugin::EventType)code; local
437 sendEvent(eventType, extra, pSessionId, pData);
/frameworks/av/media/libmedia/
H A DIDrmClient.cpp43 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) argument
47 data.writeInt32((int)eventType);
66 int eventType = data.readInt32(); local
73 notify((DrmPlugin::EventType)eventType, extra, &obj);
/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp47 void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj);
64 void DrmListener::notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) { argument
87 switch(eventType) {
101 ALOGE("Invalid event DrmPlugin::EventType %d, ignored", (int)eventType);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java182 * @param eventType
187 final int eventType, long timeout) {
204 return runAndWaitForEvents(command, new WaitForAnyEventPredicate(eventType), timeout)
186 sendKeyAndWaitForEvent(final int keyCode, final int metaState, final int eventType, long timeout) argument
/frameworks/base/core/java/android/app/usage/
H A DUsageStatsManagerInternal.java36 * @param eventType The event that occurred. Valid values can be found at
39 public abstract void reportEvent(ComponentName component, int userId, int eventType); argument
46 * @param eventType The event that occurred. Valid values can be found at
49 public abstract void reportEvent(String packageName, int userId, int eventType); argument
/frameworks/base/core/java/android/hardware/location/
H A DActivityRecognitionEvent.java32 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { argument
34 mEventType = eventType;
55 int eventType = source.readInt();
58 return new ActivityRecognitionEvent(activity, eventType, timestampNs);
H A DActivityRecognitionHardware.java117 public boolean enableActivityEvent(String activity, int eventType, long reportLatencyNs) { argument
125 int result = nativeEnableActivityEvent(activityType, eventType, reportLatencyNs);
127 mSupportedActivitiesEnabledEvents[activityType][eventType] = EVENT_TYPE_ENABLED;
134 public boolean disableActivityEvent(String activity, int eventType) { argument
142 int result = nativeDisableActivityEvent(activityType, eventType);
144 mSupportedActivitiesEnabledEvents[activityType][eventType] = EVENT_TYPE_DISABLED;
248 private void disableActivityEventIfEnabled(int activityType, int eventType) { argument
249 if (mSupportedActivitiesEnabledEvents[activityType][eventType] != EVENT_TYPE_ENABLED) {
253 int result = nativeDisableActivityEvent(activityType, eventType);
254 mSupportedActivitiesEnabledEvents[activityType][eventType]
273 nativeEnableActivityEvent( int activityType, int eventType, long reportLatenceNs) argument
277 nativeDisableActivityEvent(int activityType, int eventType) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java987 private void sendAccessibilityEventForUnicodeCharacter(int eventType, int code) { argument
989 AccessibilityEvent event = AccessibilityEvent.obtain(eventType);
1028 if (eventType == AccessibilityEvent.TYPE_VIEW_HOVER_EXIT) {
/frameworks/base/core/java/android/net/metrics/
H A DIpManagerEvent.java48 public final @EventType int eventType; field in class:IpManagerEvent
52 public IpManagerEvent(String ifName, @EventType int eventType, long duration) { argument
54 this.eventType = eventType;
60 this.eventType = in.readInt();
67 out.writeInt(eventType);
87 public static void logEvent(int eventType, String ifName, long durationMs) { argument
93 ifName, Decoder.constants.get(eventType), durationMs);
H A DIpReachabilityEvent.java47 // eventType byte format (MSB to LSB):
52 public final int eventType; field in class:IpReachabilityEvent
55 public IpReachabilityEvent(String ifName, int eventType) { argument
57 this.eventType = eventType;
62 this.eventType = in.readInt();
68 out.writeInt(eventType);
110 int hi = eventType & 0xff00;
111 int lo = eventType & 0x00ff;
H A DNetworkEvent.java58 public final @EventType int eventType; field in class:NetworkEvent
62 public NetworkEvent(int netId, @EventType int eventType, long durationMs) { argument
64 this.eventType = eventType;
69 public NetworkEvent(int netId, @EventType int eventType) { argument
70 this(netId, eventType, 0);
75 eventType = in.readInt();
82 out.writeInt(eventType);
102 public static void logEvent(int netId, int eventType) { argument
114 netId, Decoder.constants.get(eventType), durationM
[all...]
/frameworks/base/core/java/android/speech/
H A DRecognitionListener.java95 * @param eventType the type of the occurred event
98 void onEvent(int eventType, Bundle params); argument
H A DSpeechRecognizer.java503 public void onEvent(final int eventType, final Bundle params) { argument
504 Message.obtain(mInternalHandler, MSG_ON_EVENT, eventType, eventType, params)
/frameworks/base/core/java/android/view/
H A DInputEventConsistencyVerifier.java645 private boolean startEvent(InputEvent event, int nestingLevel, String eventType) { argument
649 && eventType == mLastEventType) {
655 mLastEventType = eventType;
664 mCurrentEventType = eventType;
H A DView.java6273 * @param eventType The type of the event to send, as defined by several types from
6283 public void sendAccessibilityEvent(int eventType) { argument
6285 mAccessibilityDelegate.sendAccessibilityEvent(this, eventType);
6287 sendAccessibilityEventInternal(eventType);
6318 public void sendAccessibilityEventInternal(int eventType) { argument
6320 sendAccessibilityEventUnchecked(AccessibilityEvent.obtain(eventType));
8986 private void sendAccessibilityHoverEvent(int eventType) { argument
8999 source.sendAccessibilityEvent(eventType);
23442 * @param eventType The type of the event to send.
23446 public void sendAccessibilityEvent(View host, int eventType) { argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityEvent.java882 * @param eventType The event type.
886 public void setEventType(int eventType) { argument
888 mEventType = eventType;
989 * @param eventType The event type.
992 public static AccessibilityEvent obtain(int eventType) { argument
994 event.setEventType(eventType);
1242 * @param eventType The event type
1245 public static String eventTypeToString(int eventType) { argument
1246 if (eventType == TYPES_ALL_MASK) {
1251 while (eventType !
[all...]
H A DAccessibilityEventSource.java44 * @param eventType The event type.
46 public void sendAccessibilityEvent(int eventType); argument
/frameworks/base/core/java/android/widget/
H A DAbsListView.java1481 public void sendAccessibilityEventInternal(int eventType) { argument
1485 if (eventType == AccessibilityEvent.TYPE_VIEW_SCROLLED) {
1496 super.sendAccessibilityEventInternal(eventType);
H A DNumberPicker.java2552 public void sendAccessibilityEventForVirtualView(int virtualViewId, int eventType) { argument
2556 sendAccessibilityEventForVirtualButton(virtualViewId, eventType,
2561 sendAccessibilityEventForVirtualText(eventType);
2565 sendAccessibilityEventForVirtualButton(virtualViewId, eventType,
2572 private void sendAccessibilityEventForVirtualText(int eventType) { argument
2574 AccessibilityEvent event = AccessibilityEvent.obtain(eventType);
2582 private void sendAccessibilityEventForVirtualButton(int virtualViewId, int eventType, argument
2585 AccessibilityEvent event = AccessibilityEvent.obtain(eventType);
H A DTabHost.java175 public void sendAccessibilityEventInternal(int eventType) { argument
H A DTextView.java9265 public void sendAccessibilityEventInternal(int eventType) { argument
9266 if (eventType == AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED && mEditor != null) {
9273 if (eventType == AccessibilityEvent.TYPE_VIEW_SCROLLED) {
9276 super.sendAccessibilityEventInternal(eventType);
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java534 public void sendAccessibilityEvent(int eventType) { argument
547 getChildAt(0).sendAccessibilityEvent(eventType);
549 super.sendAccessibilityEvent(eventType);
/frameworks/base/core/java/com/android/internal/widget/
H A DExploreByTouchHelper.java175 * @param eventType The type of event to send.
178 public boolean sendEventForVirtualView(int virtualViewId, int eventType) { argument
188 final AccessibilityEvent event = createEvent(virtualViewId, eventType);
287 * @param eventType The type of event to construct.
291 private AccessibilityEvent createEvent(int virtualViewId, int eventType) { argument
294 return createEventForHost(eventType);
296 return createEventForChild(virtualViewId, eventType);
303 * @param eventType The type of event to construct.
307 private AccessibilityEvent createEventForHost(int eventType) { argument
308 final AccessibilityEvent event = AccessibilityEvent.obtain(eventType);
327 createEventForChild(int virtualViewId, int eventType) argument
[all...]
/frameworks/base/location/lib/java/com/android/location/provider/
H A DActivityRecognitionEvent.java27 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { argument
29 mEventType = eventType;

Completed in 767 milliseconds

123