/frameworks/base/core/java/android/nfc/ |
D | INfcAdapterExtras.aidl | 27 Bundle open(in String pkg, IBinder b); in open() 29 Bundle close(in String pkg, IBinder b); in close() 31 Bundle transceive(in String pkg, in byte[] data_in); in transceive() 33 int getCardEmulationRoute(in String pkg); in getCardEmulationRoute() 35 void setCardEmulationRoute(in String pkg, int route); in setCardEmulationRoute() 37 void authenticate(in String pkg, in byte[] token); in authenticate() 39 String getDriverName(in String pkg); in getDriverName()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ForegroundServicesUserState.java | 46 public void addOp(String pkg, int op) { in addOp() 53 public boolean removeOp(String pkg, int op) { in removeOp() 67 public void addImportantNotification(String pkg, String key) { in addImportantNotification() 71 public boolean removeImportantNotification(String pkg, String key) { in removeImportantNotification() 75 public void addStandardLayoutNotification(String pkg, String key) { in addStandardLayoutNotification() 79 public boolean removeStandardLayoutNotification(String pkg, String key) { in removeStandardLayoutNotification() 83 public boolean removeNotification(String pkg, String key) { in removeNotification() 90 public void addNotification(ArrayMap<String, ArraySet<String>> map, String pkg, in addNotification() argument 99 String pkg, String key) { in removeNotification() 128 public ArraySet<Integer> getFeatures(String pkg) { in getFeatures() [all …]
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 44 void cancelAllNotifications(String pkg, int userId); in cancelAllNotifications() 46 void clearData(String pkg, int uid, boolean fromApp); in clearData() 48 void enqueueToast(String pkg, ITransientNotification callback, int duration, int displayId); in enqueueToast() 50 void cancelToast(String pkg, ITransientNotification callback); in cancelToast() 51 void finishToken(String pkg, ITransientNotification callback); in finishToken() 53 void enqueueNotificationWithTag(String pkg, String opPkg, String tag, int id, in enqueueNotificationWithTag() 56 void cancelNotificationWithTag(String pkg, String tag, int id, int userId); in cancelNotificationWithTag() 58 void setShowBadge(String pkg, int uid, boolean showBadge); in setShowBadge() 59 boolean canShowBadge(String pkg, int uid); in canShowBadge() 60 void setNotificationsEnabledForPackage(String pkg, int uid, boolean enabled); in setNotificationsEnabledForPackage() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | GroupHelperTest.java | 64 private StatusBarNotification getSbn(String pkg, int id, String tag, in getSbn() 76 private StatusBarNotification getSbn(String pkg, int id, String tag, in getSbn() 83 final String pkg = "package"; in testNoGroup_postingUnderLimit() local 97 final String pkg = "package"; in testNoGroup_multiPackage() local 114 final String pkg = "package"; in testNoGroup_multiUser() local 129 final String pkg = "package"; in testNoGroup_someAreGrouped() local 146 final String pkg = "package"; in testPostingOverLimit() local 159 final String pkg = "package"; in testDropToZeroRemoveGroup() local 186 final String pkg = "package"; in testAppStartsGrouping() local 221 final String pkg = "package"; in testNewNotificationsAddedToAutogroup_ifOriginalNotificationsCanceled() local
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingConfig.java | 36 Collection<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups() 38 void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup() 40 ParceledListSlice<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups() 42 boolean createNotificationChannel(String pkg, int uid, NotificationChannel channel, in createNotificationChannel() 44 …void updateNotificationChannel(String pkg, int uid, NotificationChannel channel, boolean fromUser); in updateNotificationChannel() 45 …NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, boolean includeD… in getNotificationChannel() 46 void deleteNotificationChannel(String pkg, int uid, String channelId); in deleteNotificationChannel() 47 void permanentlyDeleteNotificationChannel(String pkg, int uid, String channelId); in permanentlyDeleteNotificationChannel() 48 void permanentlyDeleteNotificationChannels(String pkg, int uid); in permanentlyDeleteNotificationChannels() 49 …ParceledListSlice<NotificationChannel> getNotificationChannels(String pkg, int uid, boolean includ… in getNotificationChannels()
|
D | NotificationManagerInternal.java | 23 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId); in getNotificationChannel() 24 void enqueueNotification(String pkg, String basePkg, int callingUid, int callingPid, in enqueueNotification() 27 void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, int userId); in removeForegroundServiceFlagFromNotification()
|
D | PreferencesHelper.java | 293 private PackagePreferences getPackagePreferencesLocked(String pkg, int uid) { in getPackagePreferencesLocked() 298 private PackagePreferences getOrCreatePackagePreferencesLocked(String pkg, int uid) { in getOrCreatePackagePreferencesLocked() 304 private PackagePreferences getOrCreatePackagePreferencesLocked(String pkg, int uid, in getOrCreatePackagePreferencesLocked() 495 public void setBubblesAllowed(String pkg, int uid, boolean allowed) { in setBubblesAllowed() 516 public boolean areBubblesAllowed(String pkg, int uid) { in areBubblesAllowed() 522 public int getAppLockedFields(String pkg, int uid) { in getAppLockedFields() 580 int getPackagePriority(String pkg, int uid) { in getPackagePriority() 586 int getPackageVisibility(String pkg, int uid) { in getPackageVisibility() 593 public void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup() 607 MetricsLogger.action(getChannelGroupLog(group.getId(), pkg)); in createNotificationChannelGroup() local [all …]
|
/frameworks/base/core/java/android/app/slice/ |
D | ISliceManager.aidl | 24 void pinSlice(String pkg, in Uri uri, in SliceSpec[] specs, in IBinder token); in pinSlice() 25 void unpinSlice(String pkg, in Uri uri, in IBinder token); in unpinSlice() 26 boolean hasSliceAccess(String pkg); in hasSliceAccess() 27 SliceSpec[] getPinnedSpecs(in Uri uri, String pkg); in getPinnedSpecs() 28 Uri[] getPinnedSlices(String pkg); in getPinnedSlices() 36 int checkSlicePermission(in Uri uri, String callingPkg, String pkg, int pid, int uid, in checkSlicePermission() 38 void grantPermissionFromUser(in Uri uri, String pkg, String callingPkg, boolean allSlices); in grantPermissionFromUser()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 141 public Uri[] getPinnedSlices(String pkg) { in getPinnedSlices() 160 public void pinSlice(String pkg, Uri uri, SliceSpec[] specs, IBinder token) in pinSlice() 179 public void unpinSlice(String pkg, Uri uri, IBinder token) throws RemoteException { in unpinSlice() 189 public boolean hasSliceAccess(String pkg) throws RemoteException { in hasSliceAccess() 195 public SliceSpec[] getPinnedSpecs(Uri uri, String pkg) throws RemoteException { in getPinnedSpecs() 203 public void grantSlicePermission(String pkg, String toPkg, Uri uri) throws RemoteException { in grantSlicePermission() 211 public void revokeSlicePermission(String pkg, String toPkg, Uri uri) throws RemoteException { in revokeSlicePermission() 219 public int checkSlicePermission(Uri uri, String callingPkg, String pkg, int pid, int uid, in checkSlicePermission() 258 public void grantPermissionFromUser(Uri uri, String pkg, String callingPkg, boolean allSlices) { in grantPermissionFromUser() 339 private void enforceOwner(String pkg, Uri uri, int user) { in enforceOwner() [all …]
|
/frameworks/base/core/tests/overlaytests/host/src/com/android/server/om/hosttest/ |
D | InstallOverlayTests.java | 204 private void installPackage(String pkg) throws Exception { in installPackage() 209 private void installInstantPackage(String pkg) throws Exception { in installInstantPackage() 214 private void installConvertExistingInstantPackageToFull(String pkg) throws Exception { in installConvertExistingInstantPackageToFull() 218 private void setPackageEnabled(String pkg, boolean enabled) throws Exception { in setPackageEnabled() 223 private void setOverlayEnabled(String pkg, boolean enabled) throws Exception { in setOverlayEnabled() 228 private boolean overlayManagerContainsPackage(String pkg) throws Exception { in overlayManagerContainsPackage()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageAbiHelper.java | 35 PackageParser.Package pkg, File appLib32InstallDir); in getNativeLibraryPaths() 42 Abis getBundledAppAbis(PackageParser.Package pkg); in getBundledAppAbis() 51 PackageParser.Package pkg, String cpuAbiOverride, boolean extractLibs) in derivePackageAbi() 94 public void applyTo(PackageParser.Package pkg) { in applyTo() 115 Abis(PackageParser.Package pkg) { in Abis() 119 public void applyTo(PackageParser.Package pkg) { in applyTo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | PowerWhitelistBackend.java | 70 public boolean isSysWhitelisted(String pkg) { in isSysWhitelisted() 74 public boolean isWhitelisted(String pkg) { in isWhitelisted() 89 public boolean isDefaultActiveApp(String pkg) { in isDefaultActiveApp() 120 public boolean isSysWhitelistedExceptIdle(String pkg) { in isSysWhitelistedExceptIdle() 137 public void addApp(String pkg) { in addApp() 146 public void removeApp(String pkg) { in removeApp()
|
/frameworks/native/libs/incidentcompanion/binder/android/os/ |
D | IIncidentCompanion.aidl | 63 oneway void sendReportReadyBroadcast(String pkg, String cls); in sendReportReadyBroadcast() 88 List<String> getIncidentReportList(String pkg, String cls); in getIncidentReportList() 93 IncidentManager.IncidentReport getIncidentReport(String pkg, String cls, String id); in getIncidentReport() 98 void deleteIncidentReports(String pkg, String cls, String id); in deleteIncidentReports() 104 void deleteAllIncidentReports(String pkg); in deleteAllIncidentReports()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SliceClientPermissionsTest.java | 58 PkgUser pkg = new PkgUser("com.android.pkg", 0); in testRemoveBasic() local 84 PkgUser pkg = new PkgUser("com.android.pkg", 0); in testRemoveSubtrees() local 115 PkgUser pkg = new PkgUser("com.android.pkg", 0); in testAddConsolidate_addFirst() local 142 PkgUser pkg = new PkgUser("com.android.pkg", 0); in testAddConsolidate_addSecond() local 169 PkgUser pkg = new PkgUser("com.android.pkg", 0); in testDirty_addAuthority() local 180 PkgUser pkg = new PkgUser("com.android.pkg", 0); in testDirty_addPkg() local 240 PkgUser pkg = new PkgUser("com.android.pkg", 2); in createClient() local
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageBackwardCompatibility.java | 132 public static void modifySharedLibraries(Package pkg) { in modifySharedLibraries() 137 public void updatePackage(Package pkg) { in updatePackage() 164 public void updatePackage(Package pkg) { in updatePackage() 180 public void updatePackage(Package pkg) { in updatePackage() 195 public void updatePackage(Package pkg) { in updatePackage()
|
D | PackageSharedLibraryUpdater.java | 39 public abstract void updatePackage(PackageParser.Package pkg); in updatePackage() 41 static void removeLibrary(PackageParser.Package pkg, String libraryName) { in removeLibrary() 72 void prefixImplicitDependency(PackageParser.Package pkg, String existingLibrary, in prefixImplicitDependency() 89 void prefixRequiredLibrary(PackageParser.Package pkg, String libraryName) { in prefixRequiredLibrary()
|
D | OrgApacheHttpLegacyUpdater.java | 34 private static boolean apkTargetsApiLevelLessThanOrEqualToOMR1(Package pkg) { in apkTargetsApiLevelLessThanOrEqualToOMR1() 40 public void updatePackage(Package pkg) { in updatePackage()
|
D | AndroidTestBaseUpdater.java | 41 private static boolean apkTargetsApiLevelLessThanOrEqualToP(Package pkg) { in apkTargetsApiLevelLessThanOrEqualToP() 47 public void updatePackage(Package pkg) { in updatePackage()
|
/frameworks/base/core/java/android/os/ |
D | IIncidentManager.aidl | 64 List<String> getIncidentReportList(String pkg, String cls); in getIncidentReportList() 69 IncidentManager.IncidentReport getIncidentReport(String pkg, String cls, String id); in getIncidentReport() 76 void deleteIncidentReports(String pkg, String cls, String id); in deleteIncidentReports() 81 void deleteAllIncidentReports(String pkg); in deleteAllIncidentReports()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageParserTest.java | 81 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_noCache() local 105 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_withCache() local 129 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in test_serializePackage() local 145 PackageParser.Package pkg = new PackageParser.Package("foo"); in test_roundTripKnownFields() local 158 PackageParser.Package pkg = new PackageParser.Package("foo"); in test_stringInterning() local 192 public byte[] toCacheEntry(Package pkg) { in toCacheEntry() 441 public static void setKnownFields(PackageParser.Package pkg) { in setKnownFields() 562 private static void assertAllFieldsExist(PackageParser.Package pkg) throws Exception { in assertAllFieldsExist()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/ |
D | DexMetadataHelperTest.java | 98 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageWithDmFileValid() local 114 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsWithDmFileValid() local 133 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsNoBaseWithDmFileValid() local 149 PackageParser.Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageWithDmFileInvalid() local 166 PackageParser.Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsWithDmFileInvalid() local 207 PackageParser.PackageLite pkg = new PackageParser().parsePackageLite(mTmpDir, in testPackageSizeWithDmFile() local
|
/frameworks/base/core/java/android/content/ |
D | ComponentName.java | 58 public static @NonNull ComponentName createRelative(@NonNull String pkg, @NonNull String cls) { in createRelative() 89 public static @NonNull ComponentName createRelative(@NonNull Context pkg, @NonNull String cls) { in createRelative() 101 public ComponentName(@NonNull String pkg, @NonNull String cls) { in ComponentName() 116 public ComponentName(@NonNull Context pkg, @NonNull String cls) { in ComponentName() 130 public ComponentName(@NonNull Context pkg, @NonNull Class<?> cls) { in ComponentName() 279 String pkg = str.substring(0, sep); in unflattenFromString() local 383 String pkg = in.readString(); in readFromParcel() local 417 private ComponentName(String pkg, Parcel in) { in ComponentName()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | IncidentCompanionService.java | 124 public void sendReportReadyBroadcast(String pkg, String cls) { in sendReportReadyBroadcast() 196 public List<String> getIncidentReportList(String pkg, String cls) throws RemoteException { in getIncidentReportList() 211 public void deleteIncidentReports(String pkg, String cls, String id) in deleteIncidentReports() 231 public void deleteAllIncidentReports(String pkg) throws RemoteException { in deleteAllIncidentReports() 249 public IncidentManager.IncidentReport getIncidentReport(String pkg, String cls, String id) in getIncidentReport() 340 private void enforceAccessReportsPermissions(String pkg) { in enforceAccessReportsPermissions() 357 private void enforceCallerIsSameApp(String pkg) throws SecurityException { in enforceCallerIsSameApp()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | PackageChangeReceiver.java | 134 String pkg = getPackageName(intent); in onReceive() local 145 String pkg = getPackageName(intent); in onReceive() local 153 String pkg = getPackageName(intent); in onReceive() local 168 String pkg = uri != null ? uri.getSchemeSpecificPart() : null; in getPackageName() local
|
/frameworks/base/core/java/android/content/pm/dex/ |
D | DexMetadataHelper.java | 60 public static long getPackageDexMetadataSize(PackageLite pkg) { in getPackageDexMetadataSize() 89 public static Map<String, String> getPackageDexMetadata(PackageParser.Package pkg) { in getPackageDexMetadata() 99 private static Map<String, String> getPackageDexMetadata(PackageLite pkg) { in getPackageDexMetadata() 163 public static void validatePackageDexMetadata(PackageParser.Package pkg) in validatePackageDexMetadata()
|