/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/base/core/java/android/net/metrics/ |
H A D | IpManagerEvent.java | 37 public final int eventType; field in class:IpManagerEvent 40 private IpManagerEvent(String ifName, int eventType, long duration) { argument 42 this.eventType = eventType; 48 this.eventType = in.readInt(); 54 out.writeInt(eventType); 73 public static void logEvent(int eventType, String ifName, long durationMs) { argument 74 logEvent(new IpManagerEvent(ifName, eventType, durationMs)); 80 ifName, Decoder.constants.get(eventType), durationMs);
|
H A D | IpReachabilityEvent.java | 37 // eventType byte format (MSB to LSB): 42 public final int eventType; field in class:IpReachabilityEvent 44 private IpReachabilityEvent(String ifName, int eventType) { argument 46 this.eventType = eventType; 51 this.eventType = in.readInt(); 56 out.writeInt(eventType); 89 Decoder.constants.get(eventType));
|
H A D | NetworkEvent.java | 41 public final int eventType; field in class:NetworkEvent 44 private NetworkEvent(int netId, int eventType, long durationMs) { argument 46 this.eventType = eventType; 52 eventType = in.readInt(); 58 out.writeInt(eventType); 77 public static void logEvent(int netId, int eventType) { argument 78 logEvent(new NetworkEvent(netId, eventType, 0)); 92 netId, Decoder.constants.get(eventType), durationMs);
|
/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/v4/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/v4/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/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/packages/SystemUI/src/com/android/systemui/analytics/ |
H A D | SensorLoggerSession.java | 76 public void addPhoneEvent(int eventType, long systemTimeNanos) { argument 77 PhoneEvent event = phoneEventToProto(eventType, systemTimeNanos); 113 private PhoneEvent phoneEventToProto(int eventType, long sysTimeNanos) { argument 115 proto.setType(eventType);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | DnsEventListenerService.java | 65 public void addResult(byte eventType, byte returnCode, int latencyMs) { argument 66 mEventTypes[mEventCount] = eventType; 129 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs) { argument 131 netId, eventType, returnCode, latencyMs)); 138 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/v4/java/android/support/v4/view/ |
H A D | AccessibilityDelegateCompat.java | 58 public void sendAccessibilityEvent(Object delegate, View host, int eventType); argument 108 public void sendAccessibilityEvent(Object delegate, View host, int eventType) { argument 170 public void sendAccessibilityEvent(View host, int eventType) { 171 compat.sendAccessibilityEvent(host, eventType); 215 public void sendAccessibilityEvent(Object delegate, View host, int eventType) { argument 216 AccessibilityDelegateCompatIcs.sendAccessibilityEvent(delegate, host, eventType); 261 public void sendAccessibilityEvent(View host, int eventType) { 262 compat.sendAccessibilityEvent(host, eventType); 343 * @param eventType The type of the event to send. 347 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/services/core/java/com/android/server/camera/ |
H A D | CameraService.java | 251 private boolean notifyMediaserverLocked(int eventType, Set<Integer> updatedUserHandles) { argument 271 mCameraServiceRaw.notifySystemEvent(eventType, toArray(updatedUserHandles));
|
/frameworks/native/include/media/drm/ |
H A D | DrmAPI.h | 347 void sendEvent(EventType eventType, int extra, 368 virtual void sendEvent(DrmPlugin::EventType eventType, int extra, 380 inline void DrmPlugin::sendEvent(EventType eventType, int extra, argument 388 listener->sendEvent(eventType, extra, sessionId, data);
|