/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/media/libmedia/ |
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 | 27 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { argument 29 mEventType = eventType;
|
H A D | ActivityRecognitionProvider.java | 91 public boolean enableActivityEvent(String activity, int eventType, long reportLatencyNs) argument 93 return mService.enableActivityEvent(activity, eventType, reportLatencyNs); 96 public boolean disableActivityEvent(String activity, int eventType) throws RemoteException { argument 97 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/packages/Keyguard/src/com/android/keyguard/ |
H A D | ObscureSpeechDelegate.java | 49 public void sendAccessibilityEvent(View host, int eventType) { argument 50 super.sendAccessibilityEvent(host, eventType); 54 if ((eventType == AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED)
|
/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/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/base/core/java/android/net/metrics/ |
H A D | IpManagerEvent.java | 48 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 D | IpReachabilityEvent.java | 47 // 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 D | NetworkEvent.java | 58 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/services/usage/java/com/android/server/usage/ |
H A D | IntervalStats.java | 84 private boolean isStatefulEvent(int eventType) { argument 85 switch (eventType) { 95 void update(String packageName, long timeStamp, int eventType) { argument 100 if (eventType == UsageEvents.Event.MOVE_TO_BACKGROUND || 101 eventType == UsageEvents.Event.END_OF_DAY) { 108 if (isStatefulEvent(eventType)) { 109 usageStats.mLastEvent = eventType; 112 if (eventType != UsageEvents.Event.SYSTEM_INTERACTION) { 117 if (eventType == UsageEvents.Event.MOVE_TO_FOREGROUND) {
|
/frameworks/support/compat/ics/android/support/v4/view/ |
H A D | AccessibilityDelegateCompatIcs.java | 37 public void sendAccessibilityEvent(View host, int eventType); argument 74 public void sendAccessibilityEvent(View host, int eventType) { 75 bridge.sendAccessibilityEvent(host, eventType); 111 public static void sendAccessibilityEvent(Object delegate, View host, int eventType) { argument 112 ((AccessibilityDelegate) delegate).sendAccessibilityEvent(host, eventType);
|
/frameworks/support/compat/jellybean/android/support/v4/view/ |
H A D | AccessibilityDelegateCompatJellyBean.java | 39 public void sendAccessibilityEvent(View host, int eventType); argument 76 public void sendAccessibilityEvent(View host, int eventType) { 77 bridge.sendAccessibilityEvent(host, eventType);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | ListRowDataAdapter.java | 68 void doNotify(int eventType, int positionStart, int itemCount) { argument 69 switch (eventType) { 82 throw new IllegalArgumentException("Invalid event type " + eventType); 139 protected void onEventFired(int eventType, int positionStart, int itemCount) { argument 140 doNotify(eventType, positionStart, itemCount);
|
/frameworks/base/core/java/android/app/usage/ |
H A D | UsageStatsManagerInternal.java | 36 * @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/services/core/java/com/android/server/connectivity/ |
H A D | DnsEventListenerService.java | 68 public void addResult(byte eventType, byte returnCode, int latencyMs) { argument 69 mEventTypes[mEventCount] = eventType; 137 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs) { argument 139 netId, eventType, returnCode, latencyMs)); 146 batch.addResult((byte) eventType, (byte) returnCode, latencyMs);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_power_PowerManagerService.cpp | 70 void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType) { argument 80 if (eventType >= 0 && eventType <= USER_ACTIVITY_EVENT_LAST) { 86 if (gLastEventTime[eventType] + MIN_TIME_BETWEEN_USERACTIVITIES > eventTime) { 89 gLastEventTime[eventType] = eventTime; 96 nanoseconds_to_milliseconds(eventTime), eventType, 0);
|
/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/compat/java/android/support/v4/view/ |
H A D | AccessibilityDelegateCompat.java | 58 public void sendAccessibilityEvent(Object delegate, View host, int eventType); argument 109 public void sendAccessibilityEvent(Object delegate, View host, int eventType) { argument 171 public void sendAccessibilityEvent(View host, int eventType) { 172 compat.sendAccessibilityEvent(host, eventType); 216 public void sendAccessibilityEvent(Object delegate, View host, int eventType) { argument 217 AccessibilityDelegateCompatIcs.sendAccessibilityEvent(delegate, host, eventType); 262 public void sendAccessibilityEvent(View host, int eventType) { 263 compat.sendAccessibilityEvent(host, eventType); 344 * @param eventType The type of the event to send. 348 public void sendAccessibilityEvent(View host, int eventType) { argument [all...] |
/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);
|