/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobNotificationCoordinator.java | 88 public final int notificationId; field in JobNotificationCoordinator.NotificationDetails 96 int notificationId, String notificationChannel, in NotificationDetails() argument 99 this.notificationId = notificationId; in NotificationDetails() 114 int callingPid, int callingUid, int notificationId, @NonNull Notification notification, in enqueueNotification() argument 143 if (oldDetails.notificationId != notificationId) { in enqueueNotification() 158 if (notificationIds.indexOf(notificationId) == -1) { in enqueueNotification() 159 notificationIds.add(notificationId); in enqueueNotification() 166 userPackage, callingPid, callingUid, notificationId, notification.getChannelId(), in enqueueNotification() 173 appNotifications.add(notificationId, hostingContext); in enqueueNotification() 179 notificationId, notification, userId); in enqueueNotification() [all …]
|
D | JobServiceContext.java | 307 public void setNotification(int jobId, int notificationId, in setNotification() argument 309 doSetNotification(this, jobId, notificationId, notification, jobEndNotificationPolicy); in setNotification() 932 private void doSetNotification(JobCallback cb, int jodId, int notificationId, in doSetNotification() argument 948 callingPid, callingUid, notificationId, in doSetNotification()
|
D | JobConcurrencyManager.java | 1969 boolean isNotificationAssociatedWithAnyUserInitiatedJobs(int notificationId, int userId, in isNotificationAssociatedWithAnyUserInitiatedJobs() argument 1972 notificationId, userId, packageName); in isNotificationAssociatedWithAnyUserInitiatedJobs()
|
D | JobSchedulerService.java | 4546 public boolean isNotificationAssociatedWithAnyUserInitiatedJobs(int notificationId, 4552 notificationId, userId, packageName);
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobNotificationCoordinatorTest.java | 96 final int notificationId = 23; in testParameterValidation() local 99 coordinator.enqueueNotification(jsc, TEST_PACKAGE, pid, uid, notificationId, null, in testParameterValidation() 109 coordinator.enqueueNotification(jsc, TEST_PACKAGE, pid, uid, notificationId, in testParameterValidation() 119 coordinator.enqueueNotification(jsc, TEST_PACKAGE, pid, uid, notificationId, in testParameterValidation() 128 coordinator.enqueueNotification(jsc, TEST_PACKAGE, pid, uid, notificationId, in testParameterValidation() 144 final int notificationId = 23; in testSingleJob_DetachOnStop() local 146 coordinator.enqueueNotification(jsc, TEST_PACKAGE, pid, uid, notificationId, notification, in testSingleJob_DetachOnStop() 150 eq(notificationId), eq(notification), eq(UserHandle.getUserId(uid))); in testSingleJob_DetachOnStop() 166 final int notificationId = 23; in testSingleJob_RemoveOnStop() local 168 coordinator.enqueueNotification(jsc, TEST_PACKAGE, pid, uid, notificationId, notification, in testSingleJob_RemoveOnStop() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerInternal.java | 38 boolean isNotificationShown(String pkg, String tag, int notificationId, int userId); in isNotificationShown() argument 40 void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, int userId); in removeForegroundServiceFlagFromNotification() argument 42 void removeUserInitiatedJobFlagFromNotification(String pkg, int notificationId, int userId); in removeUserInitiatedJobFlagFromNotification() argument
|
D | NotificationManagerService.java | 7051 public boolean isNotificationShown(String pkg, String tag, int notificationId, int userId) { 7052 return isNotificationShownInternal(pkg, tag, notificationId, userId); 7056 public void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, 7061 removeFlagFromNotificationLocked(pkg, notificationId, userId, 7068 public void removeUserInitiatedJobFlagFromNotification(String pkg, int notificationId, 7073 removeFlagFromNotificationLocked(pkg, notificationId, userId, 7080 private void removeFlagFromNotificationLocked(String pkg, int notificationId, int userId, 7089 NotificationRecord r = findNotificationLocked(pkg, null, notificationId, userId); 7102 mEnqueuedNotifications, pkg, null, notificationId, userId); 7114 mNotificationList, pkg, null, notificationId, userId); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | BiometricNotificationService.java | 217 CharSequence name, int notificationId, boolean isReenrollForced) { in showNotification() argument 218 if (notificationId == FACE_NOTIFICATION_ID) { in showNotification() 220 } else if (notificationId == FINGERPRINT_NOTIFICATION_ID) { in showNotification() 252 mNotificationManager.notifyAsUser(TAG, notificationId, notification, UserHandle.CURRENT); in showNotification()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | JobService.java | 472 public final void setNotification(@NonNull JobParameters params, int notificationId, in setNotification() argument 475 mEngine.setNotification(params, notificationId, notification, jobEndNotificationPolicy); in setNotification()
|
D | IJobCallback.aidl | 119 void setNotification(int jobId, int notificationId, in setNotification() argument
|
D | JobServiceEngine.java | 494 public void setNotification(@NonNull JobParameters params, int notificationId, in setNotification() argument 506 args.argi1 = notificationId; in setNotification()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppFGSTracker.java | 259 int notificationId, boolean canceling) { in handleForegroundServiceNotificationUpdated() argument 267 notificationIDs.put(notificationId, false); in handleForegroundServiceNotificationUpdated() 270 final int indexOfKey = notificationIDs.indexOfKey(notificationId); in handleForegroundServiceNotificationUpdated() 311 private void handleNotificationPosted(String pkgName, int uid, int notificationId) { in handleNotificationPosted() argument 316 || (indexOfKey = notificationIDs.indexOfKey(notificationId)) < 0) { in handleNotificationPosted() 341 private void handleNotificationRemoved(String pkgName, int uid, int notificationId) { in handleNotificationRemoved() argument 346 || (indexOfKey = notificationIDs.indexOfKey(notificationId)) < 0) { in handleNotificationRemoved()
|
D | AppRestrictionController.java | 590 int notificationId) { in setNotificationId() argument 594 mNotificationId[notificationType] = notificationId; in setNotificationId() 2682 int notificationId = settings.getNotificationId(notificationType); 2683 if (notificationId <= 0) { 2684 notificationId = mNotificationIDStepper++; 2685 settings.setNotificationId(notificationType, notificationId); 2690 + ", id=" + notificationId 2694 return notificationId; 2701 int notificationId = getNotificationIdIfNecessary(notificationType, packageName, uid); 2702 if (notificationId <= 0) { [all …]
|
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/job/ |
D | JobSchedulerInternal.java | 69 boolean isNotificationAssociatedWithAnyUserInitiatedJobs(int notificationId, in isNotificationAssociatedWithAnyUserInitiatedJobs() argument
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BackgroundRestrictionTest.java | 634 final int notificationId = 1000; in testBgCurrentDrainMonitor() local 754 testPkgName, testUid, notificationId, false); in testBgCurrentDrainMonitor() 756 testPkgName, null, notificationId, null, testUid, testPid, in testBgCurrentDrainMonitor() 957 testPkgName, testUid, notificationId, true); in testBgCurrentDrainMonitor() 994 testPkgName, testUid, notificationId, false); in testBgCurrentDrainMonitor() 1239 int notificationId = checkNotificationShown( in testLongFGSMonitor() local 1251 checkNotificationGone(testPkgName1, timeout(windowMs), notificationId); in testLongFGSMonitor() 1270 notificationId = checkNotificationShown( in testLongFGSMonitor() 1276 checkNotificationGone(testPkgName2, timeout(windowMs), notificationId); in testLongFGSMonitor() 1343 notificationId = checkNotificationShown( in testLongFGSMonitor() [all …]
|
D | ActivityManagerServiceTest.java | 1368 final int notificationId = 42; in testStartForegroundServiceDelegate() local 1413 optionsBuilder.setClientNotification(notificationId, notification); in testStartForegroundServiceDelegate() 1442 eq(notificationId), eq(notification), anyInt(), eq(true)); in testStartForegroundServiceDelegate() 1453 eq(notificationId), anyInt()); in testStartForegroundServiceDelegate()
|
/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | SensorPrivacyService.java | 326 int notificationId = in SensorPrivacyServiceImpl() 328 if (notificationId != SystemMessage.NOTE_UNKNOWN) { in SensorPrivacyServiceImpl() 329 mNotificationManager.cancel(notificationId); in SensorPrivacyServiceImpl() 666 int notificationId; in showSensorUseReminderNotification() local 681 notificationId = SystemMessage.NOTE_UNBLOCK_MIC_TOGGLE; in showSensorUseReminderNotification() 685 notificationId = SystemMessage.NOTE_UNBLOCK_CAM_TOGGLE; in showSensorUseReminderNotification() 720 .putExtra(EXTRA_NOTIFICATION_ID, notificationId) in showSensorUseReminderNotification() 724 mNotificationManager.notify(notificationId, in showSensorUseReminderNotification()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachine.java | 985 private void hideNotification(int notificationId) { in hideNotification() argument 990 manager.cancelAsUser(TAG, notificationId, UserHandle.ALL); in hideNotification()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1759 final NotificationId notificationId = beforeNotifs.valueAt(i); local 1760 if (!mActiveNotifs.contains(notificationId)) { 1761 cancelNotification(notificationId); 1860 final NotificationId notificationId = new NotificationId(policy, type); in enqueueNotification() local 1963 mContext.getSystemService(NotificationManager.class).notifyAsUser(notificationId.getTag(), in enqueueNotification() 1964 notificationId.getId(), builder.build(), UserHandle.ALL); in enqueueNotification() 1965 mActiveNotifs.add(notificationId); in enqueueNotification() 1979 private void cancelNotification(NotificationId notificationId) { in cancelNotification() argument 1980 mContext.getSystemService(NotificationManager.class).cancel(notificationId.getTag(), in cancelNotification() 1981 notificationId.getId()); in cancelNotification()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ServiceStateTracker.java | 4544 int notificationId = CS_NOTIFICATION; in setNotification() local 4557 notificationId = PS_NOTIFICATION; in setNotification() 4566 notificationId = PS_NOTIFICATION; in setNotification() 4596 notificationId = CS_REJECT_CAUSE_NOTIFICATION; in setNotification() 4638 notificationManager.cancel(Integer.toString(mSubId), notificationId); in setNotification() local 4655 notificationManager.notify(Integer.toString(mSubId), notificationId, mNotification); in setNotification() local
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhone.java | 2296 final int notificationId = 1; 2301 notificationManager.notify(notificationTag, notificationId,
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |