/frameworks/layoutlib/bridge/src/com/android/internal/util/ |
D | XmlUtils_Delegate.java | 36 String nm = charSeq.toString(); in convertValueToInt() 44 int len = nm.length(); in convertValueToInt() 47 if ('-' == nm.charAt(0)) { in convertValueToInt() 52 if ('0' == nm.charAt(index)) { in convertValueToInt() 57 char c = nm.charAt(index + 1); in convertValueToInt() 67 else if ('#' == nm.charAt(index)) { in convertValueToInt() 72 return ((int)Long.parseLong(nm.substring(index), base)) * sign; in convertValueToInt()
|
/frameworks/base/core/java/android/net/ |
D | NetworkMisc.java | 83 public NetworkMisc(NetworkMisc nm) { in NetworkMisc() argument 84 if (nm != null) { in NetworkMisc() 85 allowBypass = nm.allowBypass; in NetworkMisc() 86 explicitlySelected = nm.explicitlySelected; in NetworkMisc() 87 acceptUnvalidated = nm.acceptUnvalidated; in NetworkMisc() 88 subscriberId = nm.subscriberId; in NetworkMisc() 89 provisioningNotificationDisabled = nm.provisioningNotificationDisabled; in NetworkMisc() 90 skip464xlat = nm.skip464xlat; in NetworkMisc()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | NotificationBackupHelper.java | 47 INotificationManager nm = INotificationManager.Stub.asInterface( in getBackupPayload() local 49 newPayload = nm.getBackupPayload(mUserId); in getBackupPayload() 67 INotificationManager nm = INotificationManager.Stub.asInterface( in applyRestoredPayload() local 69 nm.applyRestore(payload, mUserId); in applyRestoredPayload()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NotificationChannels.java | 42 final NotificationManager nm = context.getSystemService(NotificationManager.class); in createAll() local 77 nm.createNotificationChannels(Arrays.asList( in createAll() 83 nm.getNotificationChannel(SCREENSHOTS_LEGACY)), in createAll() 91 nm.deleteNotificationChannel(SCREENSHOTS_LEGACY); in createAll() 98 nm.createNotificationChannel(new NotificationChannel( in createAll()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotServiceErrorReceiver.java | 35 NotificationManager nm = (NotificationManager) in onReceive() local 37 GlobalScreenshot.notifyScreenshotError(context, nm, in onReceive()
|
D | GlobalScreenshot.java | 972 final NotificationManager nm = in cancelScreenshotNotification() local 974 nm.cancel(SystemMessage.NOTE_GLOBAL_SCREENSHOT); in cancelScreenshotNotification()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | TestAlertActivity.java | 27 NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onPause() local 28 nm.cancel(mId); in onPause()
|
/frameworks/base/core/java/com/android/internal/notification/ |
D | SystemNotificationChannels.java | 61 final NotificationManager nm = context.getSystemService(NotificationManager.class); in createAll() local 185 nm.createNotificationChannels(channelsList); in createAll() 190 final NotificationManager nm = context.getSystemService(NotificationManager.class); in removeDeprecated() local 191 nm.deleteNotificationChannel(DEVICE_ADMIN_DEPRECATED); in removeDeprecated()
|
/frameworks/base/core/java/android/app/ |
D | RecoverableSecurityException.java | 114 final NotificationManager nm = context.getSystemService(NotificationManager.class); in showAsNotification() local 121 nm.notify(TAG, mUserAction.getActionIntent().getCreatorUid(), builder.build()); in showAsNotification()
|
D | ApplicationPackageManager.java | 1742 ResourceName nm = sIconCache.keyAt(i); in handlePackageBroadcast() local 1743 if (nm.packageName.equals(ssp)) { in handlePackageBroadcast() 1750 ResourceName nm = sStringCache.keyAt(i); in handlePackageBroadcast() local 1751 if (nm.packageName.equals(ssp)) { in handlePackageBroadcast()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 1027 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in grantNotificationPolicyAccess() local 1028 nm.setNotificationPolicyAccessGranted(pkg, true); in grantNotificationPolicyAccess() 1032 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in revokeNotificationPolicyAccess() local 1034 nm.removeAutomaticZenRules(pkg); in revokeNotificationPolicyAccess() 1036 nm.setNotificationPolicyAccessGranted(pkg, false); in revokeNotificationPolicyAccess() 1040 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in grantNotificationListenerAccess() local 1048 nm.setNotificationListenerAccessGrantedForUser(c, userId, true); in grantNotificationListenerAccess() 1054 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in revokeNotificationListenerAccess() local 1055 List<ComponentName> current = nm.getEnabledNotificationListeners(userId); in revokeNotificationListenerAccess() 1059 nm.setNotificationListenerAccessGrantedForUser(component, userId, false); in revokeNotificationListenerAccess()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/ |
D | PluginManagerTest.java | 204 NotificationManager nm = mock(NotificationManager.class); in testDisableIntent() local 205 mContext.addMockSystemService(Context.NOTIFICATION_SERVICE, nm); in testDisableIntent() 213 verify(nm).cancel(eq(testComponent.getClassName()), eq(SystemMessage.NOTE_PLUGIN)); in testDisableIntent()
|
D | PluginInstanceManagerTest.java | 159 NotificationManager nm = mock(NotificationManager.class); in testIncorrectVersion() local 160 mContext.addMockSystemService(Context.NOTIFICATION_SERVICE, nm); in testIncorrectVersion() 171 verify(nm).notifyAsUser(eq(TestPlugin.class.getName()), eq(SystemMessage.NOTE_PLUGIN), in testIncorrectVersion()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkAgentInfo.java | 293 final NetworkMonitorManager nm = mNetworkMonitor; in setNetworkCapabilities() local 294 if (nm != null) { in setNetworkCapabilities() 295 nm.notifyNetworkCapabilitiesChanged(nc); in setNetworkCapabilities()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ServiceStateTrackerTest.java | 1395 final NotificationManager nm = (NotificationManager) in testSetPsNotifications() local 1408 verify(nm).notify(anyString(), anyInt(), notificationArgumentCaptor.capture()); in testSetPsNotifications() 1415 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.PS_NOTIFICATION); in testSetPsNotifications() 1427 final NotificationManager nm = (NotificationManager) in testSetCsNotifications() local 1441 verify(nm).notify(anyString(), anyInt(), notificationArgumentCaptor.capture()); in testSetCsNotifications() 1448 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.CS_NOTIFICATION); in testSetCsNotifications() 1460 final NotificationManager nm = (NotificationManager) in testSetCsNormalNotifications() local 1473 verify(nm).notify(anyString(), anyInt(), notificationArgumentCaptor.capture()); in testSetCsNormalNotifications() 1480 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.CS_NOTIFICATION); in testSetCsNormalNotifications() 1492 final NotificationManager nm = (NotificationManager) in testSetCsEmergencyNotifications() local [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 102 String nm = charSeq.toString(); in convertValueToInt() local 110 int len = nm.length(); in convertValueToInt() 113 if ('-' == nm.charAt(0)) { in convertValueToInt() 118 if ('0' == nm.charAt(index)) { in convertValueToInt() 123 char c = nm.charAt(index + 1); in convertValueToInt() 133 else if ('#' == nm.charAt(index)) in convertValueToInt() 139 return Integer.parseInt(nm.substring(index), base) * sign; in convertValueToInt()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportReceiverTest.java | 642 NotificationManager nm = NotificationManager.from(mContext); in cancelExistingNotifications() local 643 StatusBarNotification[] activeNotifications = nm.getActiveNotifications(); in cancelExistingNotifications() 650 nm.cancelAll(); in cancelExistingNotifications() 654 int total = nm.getActiveNotifications().length; in cancelExistingNotifications() 659 nm.cancelAll(); in cancelExistingNotifications() 662 assertEquals("old notifications were not cancelled", 0, nm.getActiveNotifications().length); in cancelExistingNotifications()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ServiceRecord.java | 804 NotificationManagerInternal nm = LocalServices.getService( in postNotification() 806 if (nm == null) { in postNotification() 867 if (nm.getNotificationChannel(localPackageName, appUid, in postNotification() 891 nm.enqueueNotification(localPackageName, localPackageName, in postNotification()
|
D | ActiveServices.java | 1049 final NotificationManager nm = (NotificationManager) mAm.mContext.getSystemService( in updateForegroundApps() local 1116 nm.notifyAsUser(null, SystemMessageProto.SystemMessage.NOTE_FOREGROUND_SERVICES, in updateForegroundApps() 1119 nm.cancelAsUser(null, SystemMessageProto.SystemMessage.NOTE_FOREGROUND_SERVICES, in updateForegroundApps()
|
/frameworks/base/services/core/java/com/android/server/biometrics/face/ |
D | FaceService.java | 182 NotificationManager nm = in onAcquired() local 198 nm.createNotificationChannel(channel); in onAcquired() 199 nm.notifyAsUser(null /* tag */, 0 /* id */, notification, UserHandle.CURRENT); in onAcquired()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | CXADemangle.tcc | 3230 auto& nm = db.names.back().first; in parse_binary_expression() local 3231 nm.clear(); in parse_binary_expression() 3233 nm += '('; in parse_binary_expression() 3234 nm += "(" + op1 + ") " + op + " (" + op2 + ")"; in parse_binary_expression() 3236 nm += ')'; in parse_binary_expression() 4510 const typename C::String& nm = db.names.back().first; in parse_encoding() local 4511 if (nm.empty()) in parse_encoding()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | LaunchpadActivity.java | 59 String nm = in.readString(); in MyBadParcelable() local
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 268 NotificationManager nm = NotificationManager.from(mContext); in onCreate() local 269 nm.createNotificationChannel( in onCreate()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 3530 final NetworkMonitorManager nm = nai.networkMonitor(); in appResponse() 3531 if (nm == null) return; in appResponse() 3532 nm.notifyCaptivePortalAppFinished(response); in appResponse()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 114784 Ljava/util/Collections$CheckedNavigableMap;->nm:Ljava/util/NavigableMap; 114865 Ljava/util/Collections$SynchronizedNavigableMap;->nm:Ljava/util/NavigableMap; 114912 Ljava/util/Collections$UnmodifiableNavigableMap;->nm:Ljava/util/NavigableMap;
|