Home
last modified time | relevance | path

Searched refs:eventId (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java48 public final int eventId; field in NetworkNotificationManager.NotificationType
50 NotificationType(int eventId) { in NotificationType() argument
51 this.eventId = eventId; in NotificationType()
52 Holder.sIdToTypeMap.put(eventId, this); in NotificationType()
129 final int eventId = notifyType.eventId; in showNotification() local
146 tag, nameOf(eventId), getTransportName(transportType), extraInfo, in showNotification()
215 mNotificationTypeMap.put(id, eventId); in showNotification()
217 mNotificationManager.notifyAsUser(tag, eventId, notification, UserHandle.ALL); in showNotification()
228 final int eventId = mNotificationTypeMap.get(id); in clearNotification() local
231 nameOf(eventId))); in clearNotification()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
DNetworkNotificationManagerTest.java111 final int eventId = types.get(i).eventId; in testNotificationsShownAndCleared() local
113 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any()); in testNotificationsShownAndCleared()
114 verify(mNotificationManager, times(1)).cancelAsUser(eq(tag), eq(eventId), any()); in testNotificationsShownAndCleared()
127 final int eventId = NO_INTERNET.eventId; in testNoInternetNotificationsNotShownForCellular() local
129 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any()); in testNoInternetNotificationsNotShownForCellular()
/frameworks/base/core/java/android/provider/
DCalendarContract.java873 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { in query() argument
874 String[] attArgs = {Long.toString(eventId)}; in query()
1363 final long eventId = cursor.getLong(cursor.getColumnIndexOrThrow(Events._ID)); in getEntityAndIncrementCursor() local
1365 cv.put(Events._ID, eventId); in getEntityAndIncrementCursor()
1436 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor()
1441 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor()
1458 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor()
1463 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor()
1492 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor()
1497 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DCalendarTracker.java130 final int eventId = cursor.getInt(4); in checkEvent() local
140 availabilityToString(availability), eventId, name, owner, calendarId, in checkEvent()
149 final boolean meetsAttendee = meetsAttendee(filter, eventId, owner); in checkEvent()
172 private boolean meetsAttendee(EventInfo filter, int eventId, String email) {
175 String[] selectionArgs = { Integer.toString(eventId), email };
197 final boolean eventMeets = rowEventId == eventId && Objects.equals(rowEmail, email)
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c226 XAuint32 eventId, in StreamChangeCallback() argument
234 switch (eventId) { in StreamChangeCallback()
261 fprintf(stderr, "Unexpected stream event ID %u\n", eventId); in StreamChangeCallback()
/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl146 oneway void notifySystemEvent(int eventId, in int[] args); in notifySystemEvent() argument
/frameworks/wilhelm/tests/sandbox/
Dxaplay.c75 void streamEventChangeCallback(XAStreamInformationItf caller __unused, XAuint32 eventId, in streamEventChangeCallback() argument
80 switch (eventId) { in streamEventChangeCallback()
86 printf("Unknown stream event ID %u\n", eventId); in streamEventChangeCallback()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DProxyController.java600 int radioFamily, String logicalModemId, int status, int eventId) { in sendRadioCapabilityRequest() argument
604 requestRC, mHandler.obtainMessage(eventId)); in sendRadioCapabilityRequest()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java938 public void pushEvent(int eventId, boolean required) { in pushEvent() argument
941 mEventQueue.put(new Event(eventId)); in pushEvent()
943 mEventQueue.offer(new Event(eventId)); in pushEvent()
948 Log.e("CameraStreamer", "Dropping event " + eventId + "!"); in pushEvent()
DGraphRunner.java216 public void pushEvent(int eventId, Object object) { in pushEvent() argument
217 mEventQueue.offer(new Event(eventId, object)); in pushEvent()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1466 Status CameraService::notifySystemEvent(int32_t eventId, in notifySystemEvent() argument
1470 switch(eventId) { in notifySystemEvent()
1478 eventId); in notifySystemEvent()
DCameraService.h145 virtual binder::Status notifySystemEvent(int32_t eventId,
/frameworks/base/docs/html/training/wearables/notifications/
Dcreating.jd68 viewIntent.putExtra(EXTRA_EVENT_ID, eventId);
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h1696 XAuint32 eventId,
3146 XAuint32 eventId,