/frameworks/base/core/java/android/nfc/ |
D | INfcAdapterExtras.aidl | 26 Bundle open(in String pkg, IBinder b); in open() 27 Bundle close(in String pkg, IBinder b); in close() 28 Bundle transceive(in String pkg, in byte[] data_in); in transceive() 29 int getCardEmulationRoute(in String pkg); in getCardEmulationRoute() 30 void setCardEmulationRoute(in String pkg, int route); in setCardEmulationRoute() 31 void authenticate(in String pkg, in byte[] token); in authenticate() 32 String getDriverName(in String pkg); in getDriverName()
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 43 void cancelAllNotifications(String pkg, int userId); in cancelAllNotifications() 45 void clearData(String pkg, int uid, boolean fromApp); in clearData() 46 void enqueueToast(String pkg, ITransientNotification callback, int duration); in enqueueToast() 47 void cancelToast(String pkg, ITransientNotification callback); in cancelToast() 48 void enqueueNotificationWithTag(String pkg, String opPkg, String tag, int id, in enqueueNotificationWithTag() 50 void cancelNotificationWithTag(String pkg, String tag, int id, int userId); in cancelNotificationWithTag() 52 void setShowBadge(String pkg, int uid, boolean showBadge); in setShowBadge() 53 boolean canShowBadge(String pkg, int uid); in canShowBadge() 54 void setNotificationsEnabledForPackage(String pkg, int uid, boolean enabled); in setNotificationsEnabledForPackage() 55 boolean areNotificationsEnabledForPackage(String pkg, int uid); in areNotificationsEnabledForPackage() [all …]
|
D | IActivityController.aidl | 33 boolean activityStarting(in Intent intent, String pkg); in activityStarting() 39 boolean activityResuming(String pkg); in activityResuming()
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
D | GroupHelperTest.java | 59 private StatusBarNotification getSbn(String pkg, int id, String tag, in getSbn() 71 private StatusBarNotification getSbn(String pkg, int id, String tag, in getSbn() 78 final String pkg = "package"; in testNoGroup_postingUnderLimit() local 91 final String pkg = "package"; in testNoGroup_multiPackage() local 107 final String pkg = "package"; in testNoGroup_multiUser() local 121 final String pkg = "package"; in testNoGroup_someAreGrouped() local 137 final String pkg = "package"; in testPostingOverLimit() local 149 final String pkg = "package"; in testDropToZeroRemoveGroup() local 176 final String pkg = "package"; in testAppStartsGrouping() local
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingConfig.java | 33 Collection<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups() 35 void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup() 37 ParceledListSlice<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups() 39 void createNotificationChannel(String pkg, int uid, NotificationChannel channel, in createNotificationChannel() 41 void updateNotificationChannel(String pkg, int uid, NotificationChannel channel); in updateNotificationChannel() 42 …NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, boolean includeD… in getNotificationChannel() 43 void deleteNotificationChannel(String pkg, int uid, String channelId); in deleteNotificationChannel() 44 void permanentlyDeleteNotificationChannel(String pkg, int uid, String channelId); in permanentlyDeleteNotificationChannel() 45 void permanentlyDeleteNotificationChannels(String pkg, int uid); in permanentlyDeleteNotificationChannels() 46 …ParceledListSlice<NotificationChannel> getNotificationChannels(String pkg, int uid, boolean includ… in getNotificationChannels()
|
D | RankingHelper.java | 240 private static String recordKey(String pkg, int uid) { in recordKey() 244 private Record getRecord(String pkg, int uid) { in getRecord() 251 private Record getOrCreateRecord(String pkg, int uid) { in getOrCreateRecord() 256 private Record getOrCreateRecord(String pkg, int uid, int importance, int priority, in getOrCreateRecord() 509 int getPackagePriority(String pkg, int uid) { in getPackagePriority() 513 int getPackageVisibility(String pkg, int uid) { in getPackageVisibility() 518 public void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup() 531 MetricsLogger.action(getChannelGroupLog(group.getId(), pkg)); in createNotificationChannelGroup() local 538 public void createNotificationChannel(String pkg, int uid, NotificationChannel channel, in createNotificationChannel() 600 public void updateNotificationChannel(String pkg, int uid, NotificationChannel updatedChannel) { in updateNotificationChannel() [all …]
|
D | SnoozeHelper.java | 92 protected boolean isSnoozed(int userId, String pkg, String key) { in isSnoozed() 98 protected Collection<NotificationRecord> getSnoozed(int userId, String pkg) { in getSnoozed() 160 protected boolean cancel(int userId, String pkg, String tag, int id) { in cancel() 205 protected boolean cancel(int userId, String pkg) { in cancel() 248 final String pkg = mPackages.remove(key); in repost() local 270 protected void repostGroupSummary(String pkg, int userId, String groupKey) { in repostGroupSummary() 308 private PendingIntent createPendingIntent(String pkg, String key, int userId) { in createPendingIntent() 319 private void scheduleRepost(String pkg, String key, int userId, long duration) { in scheduleRepost()
|
D | NotificationManagerInternal.java | 22 void enqueueNotification(String pkg, String basePkg, int callingUid, int callingPid, in enqueueNotification() 25 void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, int userId); in removeForegroundServiceFlagFromNotification()
|
D | NotificationManagerService.java | 480 private boolean checkNotificationOp(String pkg, int uid) { in checkNotificationOp() 488 final String pkg; field in NotificationManagerService.ToastRecord 493 ToastRecord(int pid, String pkg, ITransientNotification callback, int duration, in ToastRecord() 1305 private void updateNotificationChannelInt(String pkg, int uid, NotificationChannel channel, in updateNotificationChannelInt() 2807 private void clearAutogroupSummaryLocked(int userId, String pkg) { in clearAutogroupSummaryLocked() 2820 private void createAutoGroupSummary(int userId, String pkg, String triggeringKey) { in createAutoGroupSummary() 3150 void enqueueNotificationInternal(final String pkg, final String opPkg, final int callingUid, in enqueueNotificationInternal() 3271 final String pkg = r.sbn.getPackageName(); in checkDisqualifyingFeatures() local 3347 final String pkg = r.sbn.getPackageName(); in isBlocked() local 3467 final String pkg = n.getPackageName(); in run() local [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageParserTest.java | 69 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_noCache() local 93 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_withCache() local 117 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in test_serializePackage() local 131 PackageParser.Package pkg = new PackageParser.Package("foo"); in test_roundTripKnownFields() local 144 PackageParser.Package pkg = new PackageParser.Package("foo"); in test_stringInterning() local 178 public byte[] toCacheEntry(Package pkg) { in toCacheEntry() 423 public static void setKnownFields(PackageParser.Package pkg) { in setKnownFields() 522 private static void assertAllFieldsExist(PackageParser.Package pkg) throws Exception { in assertAllFieldsExist()
|
/frameworks/base/core/java/android/content/ |
D | ComponentName.java | 57 public static @NonNull ComponentName createRelative(@NonNull String pkg, @NonNull String cls) { in createRelative() 88 public static @NonNull ComponentName createRelative(@NonNull Context pkg, @NonNull String cls) { in createRelative() 100 public ComponentName(@NonNull String pkg, @NonNull String cls) { in ComponentName() 115 public ComponentName(@NonNull Context pkg, @NonNull String cls) { in ComponentName() 129 public ComponentName(@NonNull Context pkg, @NonNull Class<?> cls) { in ComponentName() 265 String pkg = str.substring(0, sep); in unflattenFromString() local 353 String pkg = in.readString(); in readFromParcel() local 387 private ComponentName(String pkg, Parcel in) { in ComponentName()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstantAppRegistry.java | 137 PackageParser.Package pkg = mService.mPackages.get(packageName); in getInstantAppCookieLPw() local 170 PackageParser.Package pkg = mService.mPackages.get(packageName); in setInstantAppCookieLPw() local 261 public void onPackageInstalledLPw(@NonNull PackageParser.Package pkg, @NonNull int[] userIds) { in onPackageInstalledLPw() 307 public void onPackageUninstalledLPw(@NonNull PackageParser.Package pkg, in onPackageUninstalledLPw() 453 private void addUninstalledInstantAppLPw(@NonNull PackageParser.Package pkg, in addUninstalledInstantAppLPw() 477 private void writeInstantApplicationIconLPw(@NonNull PackageParser.Package pkg, in writeInstantApplicationIconLPw() 620 final PackageParser.Package pkg = mService.mPackages.valueAt(i); in pruneInstantApps() local 747 final PackageParser.Package pkg = mService.mPackages.valueAt(i); in getInstalledInstantApplicationsLPr() local 767 InstantAppInfo createInstantAppInfoForPackage( in createInstantAppInfoForPackage() 939 private static @NonNull File computeInstantCookieFile(@NonNull PackageParser.Package pkg, in computeInstantCookieFile() [all …]
|
D | PackageDexOptimizer.java | 103 static boolean canOptimizePackage(PackageParser.Package pkg) { in canOptimizePackage() 114 int performDexOpt(PackageParser.Package pkg, String[] sharedLibraries, in performDexOpt() 136 private int performDexOptLI(PackageParser.Package pkg, String[] sharedLibraries, in performDexOptLI() 198 private int dexOptPath(PackageParser.Package pkg, String path, String isa, in dexOptPath() 352 void dumpDexoptState(IndentingPrintWriter pw, PackageParser.Package pkg) { in dumpDexoptState() 400 private int getDexFlags(PackageParser.Package pkg, String compilerFilter) { in getDexFlags() 456 private String[] getSplitDependencies(PackageParser.Package pkg) { in getSplitDependencies() 523 private boolean isProfileUpdated(PackageParser.Package pkg, int uid, String compilerFilter) { in isProfileUpdated() 550 private String createOatDirIfSupported(PackageParser.Package pkg, String dexInstructionSet) { in createOatDirIfSupported()
|
D | KeySetManagerService.java | 130 PackageSetting pkg = mPackages.get(packageName); in packageIsSignedByLPr() local 156 PackageSetting pkg = mPackages.get(packageName); in packageIsSignedByExactlyLPr() local 183 public void assertScannedPackageValid(PackageParser.Package pkg) in assertScannedPackageValid() 218 public void addScannedPackageLPw(PackageParser.Package pkg) { in addScannedPackageLPw() 236 void addSigningKeySetToPackageLPw(PackageSetting pkg, in addSigningKeySetToPackageLPw() 280 void addDefinedKeySetsToPackageLPw(PackageSetting pkg, in addDefinedKeySetsToPackageLPw() 313 void addUpgradeKeySetsToPackageLPw(PackageSetting pkg, in addUpgradeKeySetsToPackageLPw() 541 PackageSetting pkg = mPackages.get(packageName); in removeAppKeySetDataLPw() local 556 private void clearPackageKeySetDataLPw(PackageSetting pkg) { in clearPackageKeySetDataLPw() 581 PackageSetting pkg = e.getValue(); in dumpLPr() local
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
D | IStatusBarService.aidl | 34 void disable(int what, IBinder token, String pkg); in disable() 35 void disableForUser(int what, IBinder token, String pkg, int userId); in disableForUser() 36 void disable2(int what, IBinder token, String pkg); in disable2() 37 void disable2ForUser(int what, IBinder token, String pkg, int userId); in disable2ForUser() 57 void onNotificationError(String pkg, String tag, int id, in onNotificationError() 60 void onNotificationClear(String pkg, String tag, int id, int userId); in onNotificationClear()
|
/frameworks/base/test-runner/src/android/test/ |
D | ActivityInstrumentationTestCase.java | 47 public ActivityInstrumentationTestCase(String pkg, Class<T> activityClass) { in ActivityInstrumentationTestCase() 59 public ActivityInstrumentationTestCase(String pkg, Class<T> activityClass, in ActivityInstrumentationTestCase()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 304 public ClipData getPrimaryClip(String pkg) { in getPrimaryClip() 310 addActiveOwnerLocked(Binder.getCallingUid(), pkg); in getPrimaryClip() local 469 private final void grantUriLocked(Uri uri, String pkg, int userId) { in grantUriLocked() 482 private final void grantItemLocked(ClipData.Item item, String pkg, int userId) { in grantItemLocked() 484 grantUriLocked(item.getUri(), pkg, userId); in grantItemLocked() local 488 grantUriLocked(intent.getData(), pkg, userId); in grantItemLocked() local 492 private final void addActiveOwnerLocked(int uid, String pkg) { in addActiveOwnerLocked() 514 grantItemLocked(clipboard.primaryClip.getItemAt(i), pkg, UserHandle.getUserId(uid)); in addActiveOwnerLocked() local
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobPackageTracker.java | 123 private PackageEntry getOrCreateEntry(int uid, String pkg) { in getOrCreateEntry() 137 public PackageEntry getEntry(int uid, String pkg) { in getEntry() 152 void incPending(int uid, String pkg, long now) { in incPending() 161 void decPending(int uid, String pkg, long now) { in decPending() 169 void incActive(int uid, String pkg, long now) { in incActive() 178 void decActive(int uid, String pkg, long now) { in decActive() 186 void incActiveTop(int uid, String pkg, long now) { in incActiveTop() 195 void decActiveTop(int uid, String pkg, long now) { in decActiveTop() 393 final String pkg = job.getSourcePackageName(); in getLoadFactor() local
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerService.java | 95 String pkg; field in StatusBarManagerService.DisableRecord 419 public void disable(int what, IBinder token, String pkg) { in disable() 424 public void disableForUser(int what, IBinder token, String pkg, int userId) { in disableForUser() 439 public void disable2(int what, IBinder token, String pkg) { in disable2() 450 public void disable2ForUser(int what, IBinder token, String pkg, int userId) { in disable2ForUser() 458 private void disableLocked(int userId, int what, IBinder token, String pkg, int whichFlag) { in disableLocked() 849 public void onNotificationError(String pkg, String tag, int id, in onNotificationError() 865 public void onNotificationClear(String pkg, String tag, int id, int userId) { in onNotificationClear() 929 void manageDisableListLocked(int userId, int what, IBinder token, String pkg, int which) { in manageDisableListLocked()
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 189 String pkg = nextArg(); in doBackup() local 206 String pkg; in doFullTransportBackup() local 339 String pkg; in doBackupNow() local 457 String pkg = nextArg(); in doWipe() local 632 private void doRestorePackage(String pkg) { in doRestorePackage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
D | PluginManagerImpl.java | 212 String pkg = data.getEncodedSchemeSpecificPart(); in onReceive() local 257 public ClassLoader getClassLoader(String sourceDir, String pkg) { in getClassLoader() 266 private boolean clearClassLoader(String pkg) { in clearClassLoader() 279 public Context getContext(ApplicationInfo info, String pkg) throws NameNotFoundException { in getContext() 309 public ClassLoaderFilter(ClassLoader base, String pkg) { in ClassLoaderFilter()
|
D | PluginInstanceManager.java | 118 public void onPackageRemoved(String pkg) { in onPackageRemoved() 122 public void onPackageChange(String pkg) { in onPackageChange() 237 String pkg = (String) msg.obj; in handleMessage() local 294 String pkg = component.getPackageName(); in handleLoadPlugin() local 412 public PluginInfo(String pkg, String cls, T plugin, Context pluginContext, in PluginInfo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ForegroundServiceControllerTest.java | 263 private StatusBarNotification makeMockSBN(int userid, String pkg, int id, String tag, in makeMockSBN() 269 private StatusBarNotification makeMockSBN(int userid, String pkg, int id, String tag, in makeMockSBN() 281 private StatusBarNotification makeMockFgSBN(int userid, String pkg) { in makeMockFgSBN()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 301 String pkg = uri != null ? uri.getSchemeSpecificPart() : null; in getPackageName() local 321 String pkg = getPackageName(intent); in onReceive() local 347 String pkg = getPackageName(intent); in onReceive() local 373 String pkg = getPackageName(intent); in onReceive() local 387 String pkg = getPackageName(intent); in onReceive() local
|
/frameworks/base/tools/preload2/src/com/android/preload/ui/ |
D | SequenceUI.java | 83 private String pkg; field in SequenceUI.ClientSelector 85 public ClientSelector(String pkg) { in ClientSelector() 103 public SequenceUI client(String pkg) { in client()
|