/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/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 | 47 final NotificationManager nm = context.getSystemService(NotificationManager.class); in createAll() local 82 nm.createNotificationChannels(Arrays.asList( in createAll() 88 nm.getNotificationChannel(SCREENSHOTS_LEGACY)), in createAll() 96 nm.deleteNotificationChannel(SCREENSHOTS_LEGACY); in createAll() 103 nm.createNotificationChannel(new NotificationChannel( in createAll()
|
/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 | 64 final NotificationManager nm = context.getSystemService(NotificationManager.class); in createAll() local 209 nm.createNotificationChannels(channelsList); in createAll() 214 final NotificationManager nm = context.getSystemService(NotificationManager.class); in removeDeprecated() local 215 nm.deleteNotificationChannel(DEVICE_ADMIN_DEPRECATED); in removeDeprecated()
|
/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/ |
D | SimpleFgService.java | 71 final NotificationManager nm = getSystemService(NotificationManager.class); in onCreate() local 72 nm.createNotificationChannel(new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate()
|
/frameworks/av/media/libmedia/ |
D | IMediaExtractor.cpp | 141 String8 nm; in name() local 143 nm = reply.readString8(); in name() 145 return nm; in name() 247 String8 nm = name(); in onTransact() local 248 reply->writeString8(nm); in onTransact()
|
/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 | 1940 ResourceName nm = sIconCache.keyAt(i); in handlePackageBroadcast() local 1941 if (nm.packageName.equals(ssp)) { in handlePackageBroadcast() 1948 ResourceName nm = sStringCache.keyAt(i); in handlePackageBroadcast() local 1949 if (nm.packageName.equals(ssp)) { in handlePackageBroadcast()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 1031 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in grantNotificationPolicyAccess() local 1032 nm.setNotificationPolicyAccessGranted(pkg, true); in grantNotificationPolicyAccess() 1036 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in revokeNotificationPolicyAccess() local 1038 nm.removeAutomaticZenRules(pkg); in revokeNotificationPolicyAccess() 1040 nm.setNotificationPolicyAccessGranted(pkg, false); in revokeNotificationPolicyAccess() 1044 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in grantNotificationListenerAccess() local 1052 nm.setNotificationListenerAccessGrantedForUser(c, userId, true); in grantNotificationListenerAccess() 1058 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in revokeNotificationListenerAccess() local 1059 List<ComponentName> current = nm.getEnabledNotificationListeners(userId); in revokeNotificationListenerAccess() 1063 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 | 158 NotificationManager nm = mock(NotificationManager.class); in testIncorrectVersion() local 159 mContext.addMockSystemService(Context.NOTIFICATION_SERVICE, nm); in testIncorrectVersion() 170 verify(nm).notify(eq(SystemMessage.NOTE_PLUGIN), any()); in testIncorrectVersion()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | HeapDumpReceiver.java | 146 NotificationManager nm = NotificationManager.from(context); in showDumpNotification() local 147 nm.createNotificationChannel( in showDumpNotification()
|
D | BugreportProgressService.java | 285 NotificationManager nm = NotificationManager.from(mContext); in onCreate() local 286 nm.createNotificationChannel( in onCreate()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportReceiverTest.java | 555 NotificationManager nm = NotificationManager.from(mContext); in cancelExistingNotifications() local 556 StatusBarNotification[] activeNotifications = nm.getActiveNotifications(); in cancelExistingNotifications() 563 nm.cancelAll(); in cancelExistingNotifications() 567 int total = nm.getActiveNotifications().length; in cancelExistingNotifications() 572 nm.cancelAll(); in cancelExistingNotifications() 575 assertEquals("old notifications were not cancelled", 0, nm.getActiveNotifications().length); in cancelExistingNotifications()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ServiceRecord.java | 945 NotificationManagerInternal nm = LocalServices.getService( in postNotification() 947 if (nm == null) { in postNotification() 1008 if (nm.getNotificationChannel(localPackageName, appUid, in postNotification() 1032 nm.enqueueNotification(localPackageName, localPackageName, in postNotification() 1058 NotificationManagerInternal nm = LocalServices.getService( in cancelNotification() 1060 if (nm == null) { in cancelNotification() 1064 nm.cancelNotification(localPackageName, localPackageName, appUid, appPid, in cancelNotification()
|
D | ActiveServices.java | 1487 final NotificationManager nm = (NotificationManager) mAm.mContext.getSystemService( in updateForegroundApps() local 1554 nm.notifyAsUser(null, SystemMessageProto.SystemMessage.NOTE_FOREGROUND_SERVICES, in updateForegroundApps() 1557 nm.cancelAsUser(null, SystemMessageProto.SystemMessage.NOTE_FOREGROUND_SERVICES, in updateForegroundApps()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ServiceStateTrackerTest.java | 1629 final NotificationManager nm = (NotificationManager) in testSetPsNotifications() local 1642 verify(nm).notify(anyString(), anyInt(), notificationArgumentCaptor.capture()); in testSetPsNotifications() 1649 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.PS_NOTIFICATION); in testSetPsNotifications() 1661 final NotificationManager nm = (NotificationManager) in testSetCsNotifications() local 1675 verify(nm).notify(anyString(), anyInt(), notificationArgumentCaptor.capture()); in testSetCsNotifications() 1682 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.CS_NOTIFICATION); in testSetCsNotifications() 1694 final NotificationManager nm = (NotificationManager) in testSetCsNormalNotifications() local 1707 verify(nm).notify(anyString(), anyInt(), notificationArgumentCaptor.capture()); in testSetCsNormalNotifications() 1714 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.CS_NOTIFICATION); in testSetCsNormalNotifications() 1726 final NotificationManager nm = (NotificationManager) in testSetCsEmergencyNotifications() local [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 310 String nm = charSeq.toString(); in convertValueToInt() local 318 int len = nm.length(); in convertValueToInt() 321 if ('-' == nm.charAt(0)) { in convertValueToInt() 326 if ('0' == nm.charAt(index)) { in convertValueToInt() 331 char c = nm.charAt(index + 1); in convertValueToInt() 341 else if ('#' == nm.charAt(index)) in convertValueToInt() 347 return Integer.parseInt(nm.substring(index), base) * sign; in convertValueToInt()
|
/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/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 3530 NotificationManager nm = getNotificationService(); in interceptKeyBeforeQueueing() local 3531 if (nm != null && !mHandleVolumeKeysInWM) { in interceptKeyBeforeQueueing() 3532 nm.silenceNotificationSound(); in interceptKeyBeforeQueueing()
|