/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 | 71 public NetworkMisc(NetworkMisc nm) { in NetworkMisc() argument 72 if (nm != null) { in NetworkMisc() 73 allowBypass = nm.allowBypass; in NetworkMisc() 74 explicitlySelected = nm.explicitlySelected; in NetworkMisc() 75 acceptUnvalidated = nm.acceptUnvalidated; in NetworkMisc() 76 subscriberId = nm.subscriberId; in NetworkMisc() 77 provisioningNotificationDisabled = nm.provisioningNotificationDisabled; in NetworkMisc()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | NotificationBackupHelper.java | 47 INotificationManager nm = INotificationManager.Stub.asInterface( in getBackupPayload() local 50 newPayload = nm.getBackupPayload(UserHandle.USER_SYSTEM); in getBackupPayload() 68 INotificationManager nm = INotificationManager.Stub.asInterface( in applyRestoredPayload() local 71 nm.applyRestore(payload, UserHandle.USER_SYSTEM); in applyRestoredPayload()
|
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/ |
D | NotificationsActivity.java | 62 NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onPostDirect() local 63 nm.notify("direct_tag", R.id.direct_notification, builder.getNotification()); in onPostDirect() 77 NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onPostInterstitial() local 78 nm.notify("interstitial_tag", R.id.interstitial_notification, builder.getNotification()); in onPostInterstitial()
|
/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 | 936 final NotificationManager nm = in onReceive() local 938 nm.cancel(SystemMessage.NOTE_GLOBAL_SCREENSHOT); in onReceive() 953 final NotificationManager nm = in onReceive() local 956 nm.cancel(SystemMessage.NOTE_GLOBAL_SCREENSHOT); in onReceive()
|
/frameworks/base/core/java/android/app/ |
D | RecoverableSecurityException.java | 117 final NotificationManager nm = context.getSystemService(NotificationManager.class); in showAsNotification() local 122 nm.createNotificationChannel(new NotificationChannel(channelId, TAG, in showAsNotification() 147 final NotificationManager nm = context.getSystemService(NotificationManager.class); in showAsNotification() local 154 nm.notify(TAG, mUserAction.getActionIntent().getCreatorUid(), builder.build()); in showAsNotification()
|
D | ApplicationPackageManager.java | 1522 ResourceName nm = sIconCache.keyAt(i); in handlePackageBroadcast() local 1523 if (nm.packageName.equals(ssp)) { in handlePackageBroadcast() 1530 ResourceName nm = sStringCache.keyAt(i); in handlePackageBroadcast() local 1531 if (nm.packageName.equals(ssp)) { in handlePackageBroadcast()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NotificationChannels.java | 42 final NotificationManager nm = context.getSystemService(NotificationManager.class); in createAll() local 53 nm.createNotificationChannels(Arrays.asList( in createAll() 79 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/packages/SystemUI/tests/src/com/android/systemui/plugins/ |
D | PluginManagerTest.java | 153 NotificationManager nm = mock(NotificationManager.class); in testDisableIntent() local 155 mContext.addMockSystemService(Context.NOTIFICATION_SERVICE, nm); in testDisableIntent() 163 verify(nm).cancel(eq(testComponent.getClassName()), eq(SystemMessage.NOTE_PLUGIN)); in testDisableIntent()
|
D | PluginInstanceManagerTest.java | 149 NotificationManager nm = mock(NotificationManager.class); in testIncorrectVersion() local 150 mContext.addMockSystemService(Context.NOTIFICATION_SERVICE, nm); in testIncorrectVersion() 161 verify(nm).notifyAsUser(eq(TestPlugin.class.getName()), eq(SystemMessage.NOTE_PLUGIN), in testIncorrectVersion()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 987 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in grantNotificationPolicyAccess() local 988 nm.setNotificationPolicyAccessGranted(pkg, true); in grantNotificationPolicyAccess() 992 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in revokeNotificationPolicyAccess() local 994 nm.removeAutomaticZenRules(pkg); in revokeNotificationPolicyAccess() 996 nm.setNotificationPolicyAccessGranted(pkg, false); in revokeNotificationPolicyAccess() 1000 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in grantNotificationListenerAccess() local 1008 nm.setNotificationListenerAccessGrantedForUser(c, userId, true); in grantNotificationListenerAccess() 1014 NotificationManager nm = mContext.getSystemService(NotificationManager.class); in revokeNotificationListenerAccess() local 1015 List<ComponentName> current = nm.getEnabledNotificationListeners(userId); in revokeNotificationListenerAccess() 1019 nm.setNotificationListenerAccessGrantedForUser(component, userId, false); in revokeNotificationListenerAccess()
|
/frameworks/base/core/java/com/android/internal/notification/ |
D | SystemNotificationChannels.java | 52 final NotificationManager nm = context.getSystemService(NotificationManager.class); in createAll() local 142 nm.createNotificationChannels(channelsList); in createAll()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 96 String nm = charSeq.toString(); in convertValueToInt() 104 int len = nm.length(); in convertValueToInt() 107 if ('-' == nm.charAt(0)) { in convertValueToInt() 112 if ('0' == nm.charAt(index)) { in convertValueToInt() 117 char c = nm.charAt(index + 1); in convertValueToInt() 127 else if ('#' == nm.charAt(index)) in convertValueToInt() 133 return Integer.parseInt(nm.substring(index), base) * sign; in convertValueToInt()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ServiceRecord.java | 459 NotificationManagerInternal nm = LocalServices.getService( in postNotification() 461 if (nm == null) { in postNotification() 522 if (nm.getNotificationChannel(localPackageName, appUid, in postNotification() 546 nm.enqueueNotification(localPackageName, localPackageName, in postNotification()
|
D | ActiveServices.java | 846 final NotificationManager nm = (NotificationManager) mAm.mContext.getSystemService( in updateForegroundApps() local 913 nm.notifyAsUser(null, SystemMessageProto.SystemMessage.NOTE_FOREGROUND_SERVICES, in updateForegroundApps() 916 nm.cancelAsUser(null, SystemMessageProto.SystemMessage.NOTE_FOREGROUND_SERVICES, in updateForegroundApps()
|
/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/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 | 258 NotificationManager nm = NotificationManager.from(mContext); in onCreate() local 259 nm.createNotificationChannel( in onCreate()
|