/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
H A D | JobNotificationCoordinator.java | 88 public final int notificationId; field in JobNotificationCoordinator.NotificationDetails 99 this.notificationId = notificationId; in NotificationDetails() 143 if (oldDetails.notificationId != notificationId) { in enqueueNotification() 159 notificationIds.add(notificationId); in enqueueNotification() 173 appNotifications.add(notificationId, hostingContext); in enqueueNotification() 179 notificationId, notification, userId); in enqueueNotification() 196 final int notificationId = details.notificationId; in removeNotificationAssociation() local 210 notificationId, userId); in removeNotificationAssociation() 219 packageName, notificationId, userId); in removeNotificationAssociation() 253 int notificationId) { in isNotificationUsedForAnyUij() argument [all …]
|
H A D | JobServiceContext.java | 303 public void setNotification(int jobId, int notificationId, in setNotification() argument 305 doSetNotification(this, jobId, notificationId, notification, jobEndNotificationPolicy); in setNotification() 934 private void doSetNotification(JobCallback cb, int jodId, int notificationId, in doSetNotification() argument 950 callingPid, callingUid, notificationId, in doSetNotification()
|
H A D | JobConcurrencyManager.java | 1945 boolean isNotificationAssociatedWithAnyUserInitiatedJobs(int notificationId, int userId, in isNotificationAssociatedWithAnyUserInitiatedJobs() argument 1948 notificationId, userId, packageName); in isNotificationAssociatedWithAnyUserInitiatedJobs()
|
H A D | JobSchedulerService.java | 4081 public boolean isNotificationAssociatedWithAnyUserInitiatedJobs(int notificationId, 4087 notificationId, userId, packageName);
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
H A D | JobNotificationCoordinatorTest.java | 96 final int notificationId = 23; in testParameterValidation() local 144 final int notificationId = 23; in testSingleJob_DetachOnStop() local 166 final int notificationId = 23; in testSingleJob_RemoveOnStop() local 247 final int notificationId = 23; in testSingleJob_EnqueueSameNotificationId() local 322 final int notificationId = 23; in testMultipleJobs_sameApp_EnqueueSameNotificationId() local 365 final int notificationId = 23; in testMultipleJobs_sameApp_DifferentUsers() local 412 final int notificationId = 23; in testMultipleJobs_differentApps() local 455 final int notificationId = 23; in testUserStop_SingleJob_DetachOnStop() local 479 final int notificationId = 23; in testUserStop_MultipleJobs_sameApp_EnqueueSameNotificationId_DetachOnStop() local 521 final int notificationId = 23; in testUserInitiatedJob_hasNotificationFlag() local [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/app/ |
H A D | NetInitiatedActivity.java | 50 private int notificationId = -1; field in NetInitiatedActivity 59 if (notificationId != -1) { 87 notificationId = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_NOTIF_ID, -1); in onCreate() 90 …if (DEBUG) Log.d(TAG, "onCreate() : notificationId: " + notificationId + " timeout: " + timeout + … in onCreate() 121 notificationId = -1; in onClick() 128 lm.sendNiResponse(notificationId, response); in sendUserResponse()
|
/aosp14/frameworks/base/location/java/com/android/internal/location/ |
H A D | GpsNetInitiatedHandler.java | 128 public int notificationId; field in GpsNetInitiatedHandler.GpsNiNotification 297 + " notificationId: " + notif.notificationId in handleNiNotification() 334 mNetInitiatedListener.sendNiResponse(notif.notificationId, in handleNi() 355 mNetInitiatedListener.sendNiResponse(notif.notificationId, in handleNi() 368 + " notificationId: " + notif.notificationId); in handleNiInEs() 384 mNetInitiatedListener.sendNiResponse(notif.notificationId, in handleNiInEs() 407 if (DEBUG) Log.d(TAG, "setNiNotification, notifyId: " + notif.notificationId + in setNiNotification() 433 notificationManager.notifyAsUser(null, notif.notificationId, mNiNotificationBuilder.build(), in setNiNotification() 442 if (DEBUG) Log.d(TAG, "openNiDialog, notifyId: " + notif.notificationId + in openNiDialog() 462 intent.putExtra(NI_INTENT_KEY_NOTIF_ID, notif.notificationId); in getDlgIntent()
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerInternal.java | 37 boolean isNotificationShown(String pkg, String tag, int notificationId, int userId); in isNotificationShown() argument 39 void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, int userId); in removeForegroundServiceFlagFromNotification() argument 41 void removeUserInitiatedJobFlagFromNotification(String pkg, int notificationId, int userId); in removeUserInitiatedJobFlagFromNotification() argument
|
H A D | NotificationManagerService.java | 6502 return isNotificationShownInternal(pkg, tag, notificationId, userId); 6506 public void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, 6511 removeFlagFromNotificationLocked(pkg, notificationId, userId, 6518 public void removeUserInitiatedJobFlagFromNotification(String pkg, int notificationId, 6523 removeFlagFromNotificationLocked(pkg, notificationId, userId, 6530 private void removeFlagFromNotificationLocked(String pkg, int notificationId, int userId, 6539 NotificationRecord r = findNotificationLocked(pkg, null, notificationId, userId); 6552 mEnqueuedNotifications, pkg, null, notificationId, userId); 6564 mNotificationList, pkg, null, notificationId, userId); 6661 boolean isNotificationShownInternal(String pkg, String tag, int notificationId, int userId) { [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
H A D | BiometricNotificationService.java | 212 CharSequence name, int notificationId) { in showNotification() argument 213 if (notificationId == FACE_NOTIFICATION_ID) { in showNotification() 215 } else if (notificationId == FINGERPRINT_NOTIFICATION_ID) { in showNotification() 243 mNotificationManager.notifyAsUser(TAG, notificationId, notification, UserHandle.CURRENT); in showNotification()
|
/aosp14/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
H A D | JobService.java | 456 public final void setNotification(@NonNull JobParameters params, int notificationId, in setNotification() argument 459 mEngine.setNotification(params, notificationId, notification, jobEndNotificationPolicy); in setNotification()
|
H A D | IJobCallback.aidl | 119 void setNotification(int jobId, int notificationId, in setNotification() argument
|
H A D | JobServiceEngine.java | 494 public void setNotification(@NonNull JobParameters params, int notificationId, in setNotification() argument 506 args.argi1 = notificationId; in setNotification()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppFGSTracker.java | 254 int notificationId, boolean canceling) { in handleForegroundServiceNotificationUpdated() argument 262 notificationIDs.put(notificationId, false); in handleForegroundServiceNotificationUpdated() 265 final int indexOfKey = notificationIDs.indexOfKey(notificationId); in handleForegroundServiceNotificationUpdated() 306 private void handleNotificationPosted(String pkgName, int uid, int notificationId) { in handleNotificationPosted() argument 311 || (indexOfKey = notificationIDs.indexOfKey(notificationId)) < 0) { in handleNotificationPosted() 336 private void handleNotificationRemoved(String pkgName, int uid, int notificationId) { in handleNotificationRemoved() argument 341 || (indexOfKey = notificationIDs.indexOfKey(notificationId)) < 0) { in handleNotificationRemoved()
|
H A D | AppRestrictionController.java | 576 int notificationId) { in setNotificationId() argument 580 mNotificationId[notificationType] = notificationId; in setNotificationId() 2570 if (notificationId <= 0) { in getNotificationIdIfNecessary() 2571 notificationId = mNotificationIDStepper++; in getNotificationIdIfNecessary() 2577 + ", id=" + notificationId in getNotificationIdIfNecessary() 2581 return notificationId; in getNotificationIdIfNecessary() 2589 if (notificationId <= 0) { in postNotificationIfNecessary() 2657 final int notificationId = in cancelRequestBgRestrictedIfNecessary() local 2659 if (notificationId > 0) { in cancelRequestBgRestrictedIfNecessary() 2671 final int notificationId = in cancelLongRunningFGSNotificationIfNecessary() local [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/location/gnss/hal/ |
H A D | GnssNative.java | 287 void onReportNiNotification(int notificationId, int niType, int notifyFlags, in onReportNiNotification() argument 938 public void sendNiResponse(int notificationId, int userResponse) { in sendNiResponse() argument 940 mGnssHal.sendNiResponse(notificationId, userResponse); in sendNiResponse() 1247 void reportNiNotification(int notificationId, int niType, int notifyFlags, in reportNiNotification() argument 1251 () -> mNotificationCallbacks.onReportNiNotification(notificationId, niType, in reportNiNotification() 1491 protected void sendNiResponse(int notificationId, int userResponse) { in sendNiResponse() argument 1492 native_send_ni_response(notificationId, userResponse); in sendNiResponse() 1651 private static native void native_send_ni_response(int notificationId, int userResponse); in native_send_ni_response() argument
|
/aosp14/frameworks/base/services/core/java/com/android/server/location/gnss/ |
H A D | GnssLocationProvider.java | 1444 public boolean sendNiResponse(int notificationId, int userResponse) { 1448 Log.d(TAG, "sendNiResponse, notifId: " + notificationId 1451 mGnssNative.sendNiResponse(notificationId, userResponse); 1455 notificationId, 1479 private void reportNiNotification(int notificationId, int niType, int notifyFlags, int timeout, in reportNiNotification() argument 1483 Log.i(TAG, "notificationId: " + notificationId in reportNiNotification() 1496 notification.notificationId = notificationId; in reportNiNotification() 1512 notification.notificationId, in reportNiNotification() 1832 public void onReportNiNotification(int notificationId, int niType, int notifyFlags, in onReportNiNotification() argument 1835 reportNiNotification(notificationId, niType, notifyFlags, timeout, in onReportNiNotification()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
H A D | BackgroundRestrictionTest.java | 635 final int notificationId = 1000; in testBgCurrentDrainMonitor() local 958 testPkgName, testUid, notificationId, true); in testBgCurrentDrainMonitor() 1240 int notificationId = checkNotificationShown( in testLongFGSMonitor() local 1271 notificationId = checkNotificationShown( in testLongFGSMonitor() 1344 notificationId = checkNotificationShown( in testLongFGSMonitor() 1376 notificationId = checkNotificationShown( in testLongFGSMonitor() 1646 final int notificationId = 1000; in runExemptionTestOnce() local 1648 packageName, uid, notificationId, false); in runExemptionTestOnce() 2611 notificationId[i] = id; in checkNotificationShown() 2619 return notificationId; in checkNotificationShown() [all …]
|
/aosp14/frameworks/base/apex/jobscheduler/framework/java/com/android/server/job/ |
H A D | JobSchedulerInternal.java | 69 boolean isNotificationAssociatedWithAnyUserInitiatedJobs(int notificationId, in isNotificationAssociatedWithAnyUserInitiatedJobs() argument
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
H A D | BatterySaverStateMachine.java | 899 private void hideNotification(int notificationId) { in hideNotification() argument 904 manager.cancelAsUser(TAG, notificationId, UserHandle.ALL); in hideNotification()
|
/aosp14/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
H A D | SensorPrivacyService.java | 614 int notificationId; in showSensorUseReminderNotification() local 629 notificationId = SystemMessage.NOTE_UNBLOCK_MIC_TOGGLE; in showSensorUseReminderNotification() 633 notificationId = SystemMessage.NOTE_UNBLOCK_CAM_TOGGLE; in showSensorUseReminderNotification() 668 notificationManager.notify(notificationId, in showSensorUseReminderNotification()
|
/aosp14/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 1531 final NotificationId notificationId = beforeNotifs.valueAt(i); local 1532 if (!mActiveNotifs.contains(notificationId)) { 1533 cancelNotification(notificationId); 1632 final NotificationId notificationId = new NotificationId(policy, type); in enqueueNotification() local 1735 mContext.getSystemService(NotificationManager.class).notifyAsUser(notificationId.getTag(), in enqueueNotification() 1736 notificationId.getId(), builder.build(), UserHandle.ALL); in enqueueNotification() 1737 mActiveNotifs.add(notificationId); in enqueueNotification() 1751 private void cancelNotification(NotificationId notificationId) { in cancelNotification() argument 1752 mContext.getSystemService(NotificationManager.class).cancel(notificationId.getTag(), in cancelNotification() 1753 notificationId.getId()); in cancelNotification()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/hal/ |
H A D | FakeGnssHal.java | 689 protected void sendNiResponse(int notificationId, int userResponse) {} in sendNiResponse() argument
|
/aosp14/frameworks/base/services/core/jni/ |
H A D | com_android_server_location_GnssLocationProvider.cpp | 214 notification.notificationId, notification.niType, in niNotifyCb()
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |