/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/ |
D | AndroidPackageUtils.java | 58 PackageImpl pkg = (PackageImpl) aPkg; in getAllCodePathsExcludingResourceOnly() local 78 PackageImpl pkg = (PackageImpl) aPkg; in getAllCodePaths() local 89 public static SharedLibraryInfo createSharedLibraryForStatic(AndroidPackage pkg) { in createSharedLibraryForStatic() 100 public static SharedLibraryInfo createSharedLibraryForDynamic(AndroidPackage pkg, String name) { in createSharedLibraryForDynamic() 115 public static Map<String, String> getPackageDexMetadata(AndroidPackage pkg) { in getPackageDexMetadata() 125 public static void validatePackageDexMetadata(AndroidPackage pkg) in validatePackageDexMetadata() 133 public static NativeLibraryHelper.Handle createNativeLibraryHandle(AndroidPackage pkg) in createNativeLibraryHandle() 143 public static boolean canHaveOatDir(AndroidPackage pkg, boolean isUpdatedSystemApp) { in canHaveOatDir() 156 public static boolean hasComponentClassName(AndroidPackage pkg, String className) { in hasComponentClassName() 200 public static boolean isEncryptionAware(AndroidPackage pkg) { in isEncryptionAware() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | GroupHelperTest.java | 66 private StatusBarNotification getSbn(String pkg, int id, String tag, in getSbn() 78 private StatusBarNotification getSbn(String pkg, int id, String tag, in getSbn() 85 final String pkg = "package"; in testNoGroup_postingUnderLimit() local 99 final String pkg = "package"; in testNoGroup_multiPackage() local 116 final String pkg = "package"; in testNoGroup_multiUser() local 131 final String pkg = "package"; in testNoGroup_someAreGrouped() local 148 final String pkg = "package"; in testPostingOverLimit() local 161 final String pkg = "package"; in testAutoGroupCount_addingNoGroupSBN() local 186 final String pkg = "package"; in testAutoGroupCount_UpdateNotification() local 215 final String pkg = "package"; in testAutoGroupCount_UpdateNotificationAfterChanges() local [all …]
|
/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 | 48 public void addOp(String pkg, int op) { in addOp() 55 public boolean removeOp(String pkg, int op) { in removeOp() 69 public void addImportantNotification(String pkg, String key) { in addImportantNotification() 73 public boolean removeImportantNotification(String pkg, String key) { in removeImportantNotification() 77 public void addStandardLayoutNotification(String pkg, String key) { in addStandardLayoutNotification() 81 public boolean removeStandardLayoutNotification(String pkg, String key) { in removeStandardLayoutNotification() 85 public boolean removeNotification(String pkg, String key) { in removeNotification() 92 public void addNotification(ArrayMap<String, ArraySet<String>> map, String pkg, in addNotification() argument 101 String pkg, String key) { in removeNotification() 135 public ArraySet<Integer> getFeatures(String pkg) { in getFeatures() [all …]
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 46 void cancelAllNotifications(String pkg, int userId); in cancelAllNotifications() 48 void clearData(String pkg, int uid, boolean fromApp); in clearData() 49 …void enqueueTextToast(String pkg, IBinder token, CharSequence text, int duration, int displayId, @… in enqueueTextToast() 50 …void enqueueToast(String pkg, IBinder token, ITransientNotification callback, int duration, int di… in enqueueToast() 51 void cancelToast(String pkg, IBinder token); in cancelToast() 52 void finishToken(String pkg, IBinder token); in finishToken() 54 void enqueueNotificationWithTag(String pkg, String opPkg, String tag, int id, in enqueueNotificationWithTag() 57 void cancelNotificationWithTag(String pkg, String opPkg, String tag, int id, int userId); in cancelNotificationWithTag() 59 void setShowBadge(String pkg, int uid, boolean showBadge); in setShowBadge() 60 boolean canShowBadge(String pkg, int uid); in canShowBadge() [all …]
|
/frameworks/base/core/tests/overlaytests/host/src/com/android/server/om/hosttest/ |
D | InstallOverlayTests.java | 199 private void installPackage(String pkg) throws Exception { in installPackage() 204 private void installInstantPackage(String pkg) throws Exception { in installInstantPackage() 209 private void installConvertExistingInstantPackageToFull(String pkg) throws Exception { in installConvertExistingInstantPackageToFull() 213 private void setPackageEnabled(String pkg, boolean enabled) throws Exception { in setPackageEnabled() 218 private void setOverlayEnabled(String pkg, boolean enabled) throws Exception { in setOverlayEnabled() 223 private boolean overlayManagerContainsPackage(String pkg) throws Exception { in overlayManagerContainsPackage() 227 private boolean isOverlayMutable(String pkg) throws Exception { in isOverlayMutable()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingConfig.java | 38 Collection<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups() 40 void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup() 42 ParceledListSlice<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups() 44 boolean createNotificationChannel(String pkg, int uid, NotificationChannel channel, in createNotificationChannel() 46 void updateNotificationChannel(String pkg, int uid, NotificationChannel channel, in updateNotificationChannel() 48 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() 50 NotificationChannel getConversationNotificationChannel(String pkg, int uid, String channelId, in getConversationNotificationChannel() 53 void deleteNotificationChannel(String pkg, int uid, String channelId); in deleteNotificationChannel() 54 void permanentlyDeleteNotificationChannel(String pkg, int uid, String channelId); in permanentlyDeleteNotificationChannel() 55 void permanentlyDeleteNotificationChannels(String pkg, int uid); in permanentlyDeleteNotificationChannels() [all …]
|
D | NotificationChannelLogger.java | 45 String pkg) { in logNotificationChannelCreated() 48 channel, uid, pkg, 0, getLoggingImportance(channel)); in logNotificationChannelCreated() local 58 String pkg) { in logNotificationChannelDeleted() 61 channel, uid, pkg, getLoggingImportance(channel), 0); in logNotificationChannelDeleted() local 73 String pkg, int oldLoggingImportance, boolean byUser) { in logNotificationChannelModified() 75 channel, uid, pkg, oldLoggingImportance, getLoggingImportance(channel)); in logNotificationChannelModified() local 87 int uid, String pkg, boolean isNew, boolean wasBlocked) { in logNotificationChannelGroup() 89 channelGroup, uid, pkg, wasBlocked); in logNotificationChannelGroup() local 99 int uid, String pkg) { in logNotificationChannelGroupDeleted() 110 default void logAppNotificationsAllowed(int uid, String pkg, boolean enabled) { in logAppNotificationsAllowed() [all …]
|
D | SnoozeHelper.java | 122 private String getPkgKey(@UserIdInt int userId, String pkg) { in getPkgKey() 129 String pkg = mPackages.get(key); in cleanupPersistedContext() local 135 protected Long getSnoozeTimeForUnpostedNotification(int userId, String pkg, String key) { in getSnoozeTimeForUnpostedNotification() 150 protected String getSnoozeContextForUnpostedNotification(int userId, String pkg, String key) { in getSnoozeContextForUnpostedNotification() 161 protected boolean isSnoozed(int userId, String pkg, String key) { in isSnoozed() 168 protected Collection<NotificationRecord> getSnoozed(int userId, String pkg) { in getSnoozed() 178 ArrayList<NotificationRecord> getNotifications(String pkg, in getNotifications() 204 String pkg = mPackages.get(key); in getNotification() local 232 String pkg = record.getSbn().getPackageName(); in snooze() local 269 private <T> void storeRecordLocked(String pkg, String key, Integer userId, in storeRecordLocked() [all …]
|
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() 26 void cancelNotification(String pkg, String basePkg, int callingUid, int callingPid, in cancelNotification() 29 void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, int userId); in removeForegroundServiceFlagFromNotification() 31 void onConversationRemoved(String pkg, int uid, String conversationId); in onConversationRemoved()
|
D | NotificationChannelLoggerImpl.java | 36 NotificationChannel channel, int uid, String pkg, in logNotificationChannel() 49 NotificationChannelGroup channelGroup, int uid, String pkg, boolean wasBlocked) { in logNotificationChannelGroup() 60 public void logAppEvent(NotificationChannelEvent event, int uid, String pkg) { in logAppEvent()
|
/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/core/java/android/content/pm/parsing/ |
D | PackageInfoWithoutStateUtils.java | 67 public static PackageInfo generate(ParsingPackageRead pkg, int[] gids, in generate() 75 public static PackageInfo generate(ParsingPackageRead pkg, ApexInfo apexInfo, int flags) { in generate() 81 private static PackageInfo generateWithComponents(ParsingPackageRead pkg, int[] gids, in generateWithComponents() 180 public static PackageInfo generateWithoutComponents(ParsingPackageRead pkg, int[] gids, in generateWithoutComponents() 200 public static PackageInfo generateWithoutComponentsUnchecked(ParsingPackageRead pkg, int[] gids, in generateWithoutComponentsUnchecked() 325 public static ApplicationInfo generateApplicationInfo(ParsingPackageRead pkg, in generateApplicationInfo() 345 public static ApplicationInfo generateApplicationInfoUnchecked(@NonNull ParsingPackageRead pkg, in generateApplicationInfoUnchecked() 395 public static ActivityInfo generateActivityInfo(ParsingPackageRead pkg, ParsedActivity a, in generateActivityInfo() 459 public static ActivityInfo generateActivityInfo(ParsingPackageRead pkg, ParsedActivity a, in generateActivityInfo() 465 public static ServiceInfo generateServiceInfo(ParsingPackageRead pkg, ParsedService s, in generateServiceInfo() [all …]
|
/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() 194 public boolean hasSliceAccess(String pkg) throws RemoteException { in hasSliceAccess() 200 public SliceSpec[] getPinnedSpecs(Uri uri, String pkg) throws RemoteException { in getPinnedSpecs() 208 public void grantSlicePermission(String pkg, String toPkg, Uri uri) throws RemoteException { in grantSlicePermission() 216 public void revokeSlicePermission(String pkg, String toPkg, Uri uri) throws RemoteException { in revokeSlicePermission() 224 public int checkSlicePermission(Uri uri, String callingPkg, String pkg, int pid, int uid, in checkSlicePermission() 263 public void grantPermissionFromUser(Uri uri, String pkg, String callingPkg, boolean allSlices) { in grantPermissionFromUser() 344 private void enforceOwner(String pkg, Uri uri, int user) { in enforceOwner() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageAbiHelper.java | 37 NativeLibraryPaths getNativeLibraryPaths(AndroidPackage pkg, PackageSetting pkgSetting, in getNativeLibraryPaths() 45 Abis getBundledAppAbis(AndroidPackage pkg); in getBundledAppAbis() 53 Pair<Abis, NativeLibraryPaths> derivePackageAbi(AndroidPackage pkg, boolean isUpdatedSystemApp, in derivePackageAbi() 96 public void applyTo(ParsedPackage pkg) { in applyTo() 117 Abis(AndroidPackage pkg, PackageSetting pkgSetting) { in Abis() 122 public void applyTo(ParsedPackage 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/servicestests/src/com/android/server/pm/ |
D | SELinuxMMACTest.java | 54 AndroidPackage pkg = makePackage(Build.VERSION_CODES.P); in getSeInfoOptInToLatest() local 64 AndroidPackage pkg = makePackage(Build.VERSION_CODES.P); in getSeInfoNoOptIn() local 74 AndroidPackage pkg = makePackage(OPT_IN_VERSION); in getSeInfoNoOptInButAlreadyR() local
|
D | PackageParserTest.java | 112 ParsedPackage pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_noCache() local 136 ParsedPackage pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_withCache() local 158 ParsedPackage pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in test_serializePackage() local 175 ParsingPackage pkg = PackageImpl.forTesting("foo"); in test_roundTripKnownFields() local 188 ParsingPackage pkg = PackageImpl.forTesting("foo"); in test_stringInterning() local 238 final ParsedPackage pkg = new TestPackageParser2().parsePackage(testFile, 0, false); in testParseIsolatedSplitsDefault() local 252 final ParsedPackage pkg = new TestPackageParser2().parsePackage(testFile, 0, false); in testParseIsolatedSplitsConstant() local 266 final ParsedPackage pkg = new TestPackageParser2().parsePackage(testFile, 0, false); in testParseIsolatedSplitsResource() local 313 private static PackageSetting mockPkgSetting(AndroidPackage pkg) { in mockPkgSetting() 576 public static void setKnownFields(ParsingPackage pkg) { in setKnownFields() [all …]
|
/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 257 PkgUser pkg = new PkgUser("com.android.pkg", 2); in createClient() local
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 82 public static PackageInfo generate(AndroidPackage pkg, int[] gids, in generate() 94 public static PackageInfo generate(AndroidPackage pkg, ApexInfo apexInfo, int flags, in generate() 103 private static PackageInfo generateWithComponents(AndroidPackage pkg, int[] gids, in generateWithComponents() 207 public static ApplicationInfo generateApplicationInfo(AndroidPackage pkg, in generateApplicationInfo() 248 public static ActivityInfo generateActivityInfo(AndroidPackage pkg, ParsedActivity a, in generateActivityInfo() 258 private static ActivityInfo generateActivityInfo(AndroidPackage pkg, ParsedActivity a, in generateActivityInfo() 284 public static ServiceInfo generateServiceInfo(AndroidPackage pkg, ParsedService s, in generateServiceInfo() 294 private static ServiceInfo generateServiceInfo(AndroidPackage pkg, ParsedService s, in generateServiceInfo() 319 public static ProviderInfo generateProviderInfo(AndroidPackage pkg, ParsedProvider p, in generateProviderInfo() 347 AndroidPackage pkg, @PackageManager.ComponentInfoFlags int flags, int userId, in generateInstrumentationInfo() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexMetadataHelperTest.java | 105 ParsedPackage pkg = new TestPackageParser2().parsePackage(mTmpDir, 0 /* flags */, false); in testParsePackageWithDmFileValid() local 121 ParsedPackage pkg = new TestPackageParser2().parsePackage(mTmpDir, 0 /* flags */, false); in testParsePackageSplitsWithDmFileValid() local 140 ParsedPackage pkg = new TestPackageParser2().parsePackage(mTmpDir, 0 /* flags */, false); in testParsePackageSplitsNoBaseWithDmFileValid() local 156 ParsedPackage pkg = new TestPackageParser2() in testParsePackageWithDmFileInvalid() local 174 ParsedPackage pkg = new TestPackageParser2() in testParsePackageSplitsWithDmFileInvalid() local 221 PackageParser.PackageLite pkg = result.getResult(); in testPackageSizeWithDmFile() local
|
/frameworks/base/core/java/android/os/ |
D | IIncidentManager.aidl | 78 List<String> getIncidentReportList(String pkg, String cls); in getIncidentReportList() 83 IncidentManager.IncidentReport getIncidentReport(String pkg, String cls, String id); in getIncidentReport() 90 void deleteIncidentReports(String pkg, String cls, String id); in deleteIncidentReports() 95 void deleteAllIncidentReports(String pkg); in deleteAllIncidentReports()
|
/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()
|