/frameworks/base/core/java/com/android/internal/util/ |
D | StatLogger.java | 94 public long logDurationStat(int eventId, long start) { in logDurationStat() argument 97 if (eventId >= 0 && eventId < SIZE) { in logDurationStat() 98 mCountStats[eventId]++; in logDurationStat() 99 mDurationStats[eventId] += duration; in logDurationStat() 101 Slog.wtf(TAG, "Invalid event ID: " + eventId); in logDurationStat() 104 if (mMaxDurationStats[eventId] < duration) { in logDurationStat() 105 mMaxDurationStats[eventId] = duration; in logDurationStat() 111 if (mMaxCallsPerSecond[eventId] < mCallsPerSecond[eventId]) { in logDurationStat() 112 mMaxCallsPerSecond[eventId] = mCallsPerSecond[eventId]; in logDurationStat() 114 if (mMaxDurationPerSecond[eventId] < mDurationPerSecond[eventId]) { in logDurationStat() [all …]
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 117 .notifyAsUser(eq(tag), eq(PRIVATE_DNS_BROKEN.eventId), any(), any()); in verifyTitleByNetwork() 165 final int eventId = types.get(i).eventId; in testNotificationsShownAndCleared() local 167 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any()); in testNotificationsShownAndCleared() 168 verify(mNotificationManager, times(1)).cancelAsUser(eq(tag), eq(eventId), any()); in testNotificationsShownAndCleared() 181 final int eventId = NO_INTERNET.eventId; in testNoInternetNotificationsNotShownForCellular() local 183 verify(mNotificationManager, times(1)).notifyAsUser(eq(tag), eq(eventId), any(), any()); in testNoInternetNotificationsNotShownForCellular() 205 .notifyAsUser(eq(tag), eq(NO_INTERNET.eventId), any(), any()); in testDuplicatedNotificationsNoInternetThenSignIn() 210 .cancelAsUser(eq(tag), eq(NO_INTERNET.eventId), any()); in testDuplicatedNotificationsNoInternetThenSignIn() 212 .notifyAsUser(eq(tag), eq(SIGN_IN.eventId), any(), any()); in testDuplicatedNotificationsNoInternetThenSignIn() 216 verify(mNotificationManager, times(1)).cancelAsUser(eq(tag), eq(SIGN_IN.eventId), any()); in testDuplicatedNotificationsNoInternetThenSignIn() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 58 public final int eventId; field in NetworkNotificationManager.NotificationType 60 NotificationType(int eventId) { in NotificationType() argument 61 this.eventId = eventId; in NotificationType() 62 Holder.sIdToTypeMap.put(eventId, this); in NotificationType() 147 final int eventId = notifyType.eventId; in showNotification() local 177 tag, nameOf(eventId), getTransportName(transportType), name, highPriority)); in showNotification() 283 mNotificationTypeMap.put(id, eventId); in showNotification() 285 mNotificationManager.notifyAsUser(tag, eventId, notification, UserHandle.ALL); in showNotification() 308 final int eventId = mNotificationTypeMap.get(id); in clearNotification() local 311 nameOf(eventId))); in clearNotification() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | AnomalyReporter.java | 80 public static void reportAnomaly(@NonNull UUID eventId, String description) { in reportAnomaly() argument 82 Rlog.w(TAG, "AnomalyReporter not yet initialized, dropping event=" + eventId); in reportAnomaly() 88 Integer count = sEvents.containsKey(eventId) ? sEvents.get(eventId) + 1 : 1; in reportAnomaly() 89 sEvents.put(eventId, count); in reportAnomaly() 98 dbgIntent.putExtra(TelephonyManager.EXTRA_ANOMALY_ID, new ParcelUuid(eventId)); in reportAnomaly()
|
/frameworks/base/telecomm/java/android/telecom/Logging/ |
D | EventManager.java | 130 public String eventId; field in EventManager.Event 138 public Event(String eventId, String sessionId, long time, Object data) { in Event() argument 139 this.eventId = eventId; in Event() 212 if (requestResponsePairs.containsKey(event.eventId)) { in extractEventTimings() 216 event.eventId)) { in extractEventTimings() 217 pendingResponses.put(p.mResponse, new PendingResponse(event.eventId, in extractEventTimings() 222 PendingResponse pendingResponse = pendingResponses.remove(event.eventId); in extractEventTimings() 243 pw.print(event.eventId); in dump() 353 pw.print(event.second.eventId); in dumpEventsTimeline()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyEventLogger.java | 57 private DevicePolicyEventLogger(int eventId) { in DevicePolicyEventLogger() argument 58 mEventId = eventId; in DevicePolicyEventLogger() 68 public static DevicePolicyEventLogger createEvent(int eventId) { in createEvent() argument 69 return new DevicePolicyEventLogger(eventId); in createEvent()
|
D | IDevicePolicyManager.aidl | 438 …boolean startViewCalendarEventInManagedProfile(String packageName, long eventId, long start, long … in startViewCalendarEventInManagedProfile() argument
|
D | DevicePolicyManager.java | 10945 public boolean startViewCalendarEventInManagedProfile(long eventId, long start, long end, in startViewCalendarEventInManagedProfile() argument 10951 eventId, start, end, allDay, flags); in startViewCalendarEventInManagedProfile()
|
/frameworks/base/core/java/android/provider/ |
D | CalendarContract.java | 264 long eventId, long startMs, long endMs, boolean allDay, int flags) { in startViewCalendarEventInManagedProfile() argument 268 return dpm.startViewCalendarEventInManagedProfile(eventId, startMs, in startViewCalendarEventInManagedProfile() 984 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { in query() argument 985 String[] attArgs = {Long.toString(eventId)}; in query() 1474 final long eventId = cursor.getLong(cursor.getColumnIndexOrThrow(Events._ID)); in getEntityAndIncrementCursor() local 1476 cv.put(Events._ID, eventId); in getEntityAndIncrementCursor() 1547 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor() 1552 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor() 1569 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor() 1574 new String[] { Long.toString(eventId) } /* selectionArgs */, in getEntityAndIncrementCursor() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | CalendarTracker.java | 132 final int eventId = cursor.getInt(4); in checkEvent() local 142 availabilityToString(availability), eventId, name, owner, calendarId, in checkEvent() 153 final boolean meetsAttendee = meetsAttendee(filter, eventId, owner); in checkEvent() 178 private boolean meetsAttendee(EventInfo filter, int eventId, String email) { 181 String[] selectionArgs = { Integer.toString(eventId), email }; 203 final boolean eventMeets = rowEventId == eventId && Objects.equals(rowEmail, email)
|
/frameworks/base/tests/net/common/java/android/net/ |
D | CaptivePortalTest.java | 59 public void logEvent(int eventId, String packageName) throws RemoteException { in logEvent() argument 60 mCode = eventId; in logEvent()
|
/frameworks/base/core/java/android/net/ |
D | CaptivePortal.java | 187 public void logEvent(@EventId int eventId, @NonNull String packageName) { in logEvent() argument 189 ICaptivePortal.Stub.asInterface(mBinder).logEvent(eventId, packageName); in logEvent()
|
D | ICaptivePortal.aidl | 26 void logEvent(int eventId, String packageName); in logEvent() argument
|
/frameworks/wilhelm/tests/native-media/jni/ |
D | native-media-jni.c | 226 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/ |
D | ICameraService.aidl | 166 oneway void notifySystemEvent(int eventId, in int[] args); in notifySystemEvent() argument
|
/frameworks/wilhelm/tests/sandbox/ |
D | xaplay.c | 75 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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CameraStreamer.java | 938 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()
|
D | GraphRunner.java | 216 public void pushEvent(int eventId, Object object) { in pushEvent() argument 217 mEventQueue.offer(new Event(eventId, object)); in pushEvent()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ProxyController.java | 632 int radioFamily, String logicalModemId, int status, int eventId) { in sendRadioCapabilityRequest() argument 636 requestRC, mHandler.obtainMessage(eventId)); in sendRadioCapabilityRequest()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SarManagerTest.java | 272 private void sendSensorEvent(int eventId) { in sendSensorEvent() argument 280 event.values[0] = (float) eventId; in sendSensorEvent()
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 1063 private static String eventIdToString(int eventId) { in eventIdToString() argument 1064 switch (eventId) { in eventIdToString()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 157 virtual binder::Status notifySystemEvent(int32_t eventId,
|
D | CameraService.cpp | 1685 Status CameraService::notifySystemEvent(int32_t eventId, in notifySystemEvent() argument 1707 switch(eventId) { in notifySystemEvent() 1719 eventId); in notifySystemEvent()
|
/frameworks/wilhelm/include/OMXAL/ |
D | OpenMAXAL.h | 1696 XAuint32 eventId, 3146 XAuint32 eventId,
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 3863 public void logEvent(int eventId, String packageName) { in logEvent() argument 3866 new MetricsLogger().action(eventId, packageName); in logEvent() 4287 private void handleReleaseNetworkTransitionWakelock(int eventId) { in handleReleaseNetworkTransitionWakelock() argument 4288 String event = eventName(eventId); in handleReleaseNetworkTransitionWakelock()
|