/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityEventSource.java | 44 * @param eventType The event type. 46 public void sendAccessibilityEvent(int eventType); argument
|
/frameworks/av/drm/libmediadrm/ |
H A D | IDrmClient.cpp | 43 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/base/location/lib/java/com/android/location/provider/ |
H A D | ActivityRecognitionEvent.java | 28 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { argument 30 mEventType = eventType;
|
H A D | ActivityRecognitionProvider.java | 92 public boolean enableActivityEvent(String activity, int eventType, long reportLatencyNs) argument 94 return mService.enableActivityEvent(activity, eventType, reportLatencyNs); 97 public boolean disableActivityEvent(String activity, int eventType) throws RemoteException { argument 98 return mService.disableActivityEvent(activity, eventType);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaSyncEvent.java | 51 * @param eventType the synchronization event type. 55 public static MediaSyncEvent createEvent(int eventType) argument 57 if (!isValidType(eventType)) { 58 throw (new IllegalArgumentException(eventType 61 return new MediaSyncEvent(eventType); 68 private MediaSyncEvent(int eventType) { argument 69 mType = eventType;
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | ActivityRecognitionEvent.java | 32 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 D | ActivityRecognitionHardware.java | 117 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/net/metrics/ |
H A D | DnsEvent.java | 61 boolean addResult(byte eventType, byte returnCode, int latencyMs) { argument 70 eventTypes[eventCount] = eventType;
|
H A D | IpManagerEvent.java | 53 public final @EventType int eventType; field in class:IpManagerEvent 56 public IpManagerEvent(@EventType int eventType, long duration) { argument 57 this.eventType = eventType; 62 this.eventType = in.readInt(); 68 out.writeInt(eventType); 91 Decoder.constants.get(eventType), durationMs);
|
H A D | IpReachabilityEvent.java | 44 // eventType byte format (MSB to LSB): 49 public final int eventType; field in class:IpReachabilityEvent 51 public IpReachabilityEvent(int eventType) { argument 52 this.eventType = eventType; 56 this.eventType = in.readInt(); 61 out.writeInt(eventType); 93 int hi = eventType & 0xff00; 94 int lo = eventType & 0x00ff;
|
H A D | NetworkEvent.java | 63 public final @EventType int eventType; field in class:NetworkEvent 66 public NetworkEvent(@EventType int eventType, long durationMs) { argument 67 this.eventType = eventType; 71 public NetworkEvent(@EventType int eventType) { argument 72 this(eventType, 0); 76 eventType = in.readInt(); 82 out.writeInt(eventType); 105 Decoder.constants.get(eventType), durationMs);
|
H A D | NetworkMetrics.java | 78 public void addDnsResult(int eventType, int returnCode, int latencyMs) { argument 82 boolean isSuccess = dnsMetrics.addResult((byte) eventType, (byte) returnCode, latencyMs);
|
/frameworks/base/core/java/android/speech/ |
H A D | RecognitionListener.java | 95 * @param eventType the type of the occurred event 98 void onEvent(int eventType, Bundle params); argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | VisualVoicemailSmsParser.java | 66 String eventType = smsBody.substring(prefixEnd + 1, eventTypeEnd); 71 return new WrappedMessageData(eventType, fields); 131 String eventType = smsBody.substring(0, eventTypeEnd); 132 if (!isAllowedAlternativeFormatEvent(eventType)) { 139 return new WrappedMessageData(eventType, fields); 145 private static boolean isAllowedAlternativeFormatEvent(String eventType) { argument 147 if (event.equals(eventType)) {
|
/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | AccessibilityDelegateCompat.java | 86 public void sendAccessibilityEvent(View host, int eventType) { argument 87 mCompat.sendAccessibilityEvent(host, eventType); 138 * @param eventType The type of the event to send. 142 public void sendAccessibilityEvent(View host, int eventType) { argument 143 DEFAULT_DELEGATE.sendAccessibilityEvent(host, eventType);
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
H A D | UsageLogActivity.java | 111 final int eventType = getItem(position).getEventType(); 112 if (eventType == UsageEvents.Event.CONFIGURATION_CHANGE) { 156 private String eventToString(int eventType) { argument 157 switch (eventType) { 171 return "Unknown: " + eventType;
|
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
H A D | ListRowDataAdapter.java | 78 void doNotify(int eventType, int positionStart, int itemCount) { argument 79 switch (eventType) { 93 throw new IllegalArgumentException("Invalid event type " + eventType); 150 protected void onEventFired(int eventType, int positionStart, int itemCount) { argument 151 doNotify(eventType, positionStart, itemCount);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
H A D | DrmPlugin.h | 254 Return<void> sendEvent(EventType eventType, const hidl_vec<uint8_t>& sessionId, argument 257 mListener->sendEvent(eventType, sessionId, data);
|
/frameworks/base/core/java/android/app/usage/ |
H A D | UsageStatsManagerInternal.java | 39 * @param eventType The event that occurred. Valid values can be found at 42 public abstract void reportEvent(ComponentName component, @UserIdInt int userId, int eventType); argument 49 * @param eventType The event that occurred. Valid values can be found at 52 public abstract void reportEvent(String packageName, @UserIdInt int userId, int eventType); argument
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | ScanResult.java | 123 * @param eventType Event type. 133 public ScanResult(BluetoothDevice device, int eventType, int primaryPhy, int secondaryPhy, argument 137 mEventType = eventType; 335 + ", timestampNanos=" + mTimestampNanos + ", eventType=" + mEventType
|
/frameworks/base/core/java/android/service/autofill/ |
H A D | FillEventHistory.java | 445 * @param eventType The type of the event 467 public Event(int eventType, @Nullable String datasetId, @Nullable Bundle clientState, argument 476 mEventType = Preconditions.checkArgumentInRange(eventType, 0, TYPE_CONTEXT_COMMITTED, 477 "eventType"); 528 final int eventType = parcel.readInt(); 558 selection.addEvent(new Event(eventType, datasetId, clientState,
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ExploreByTouchHelper.java | 175 * @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/media/java/android/media/tv/ |
H A D | TvRecordingClient.java | 284 * @param eventType The type of the event. 289 public void onEvent(String inputId, String eventType, Bundle eventArgs) { argument 390 public void onSessionEvent(TvInputManager.Session session, String eventType, argument 393 Log.d(TAG, "onSessionEvent(eventType=" + eventType + ", eventArgs=" + eventArgs 401 mCallback.onEvent(mInputId, eventType, eventArgs);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
H A D | SensorLoggerSession.java | 80 public void addPhoneEvent(int eventType, long systemTimeNanos) { argument 81 PhoneEvent event = phoneEventToProto(eventType, systemTimeNanos); 117 private PhoneEvent phoneEventToProto(int eventType, long sysTimeNanos) { argument 119 proto.setType(eventType);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_power_PowerManagerService.cpp | 145 void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType) { argument 150 if (eventType >= 0 && eventType <= USER_ACTIVITY_EVENT_LAST) { 156 if (gLastEventTime[eventType] + MIN_TIME_BETWEEN_USERACTIVITIES > eventTime) { 159 gLastEventTime[eventType] = eventTime; 169 nanoseconds_to_milliseconds(eventTime), eventType, 0);
|