Home
last modified time | relevance | path

Searched defs:pkg (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/frameworks/base/core/java/android/nfc/
DINfcAdapterExtras.aidl27 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/
DForegroundServicesUserState.java46 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/
DINotificationManager.aidl44 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/
DGroupHelperTest.java64 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/core/java/android/app/slice/
DISliceManager.aidl24 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/notification/
DRankingConfig.java36 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()
DPreferencesHelper.java281 private PackagePreferences getPackagePreferencesLocked(String pkg, int uid) { in getPackagePreferencesLocked()
286 private PackagePreferences getOrCreatePackagePreferencesLocked(String pkg, int uid) { in getOrCreatePackagePreferencesLocked()
292 private PackagePreferences getOrCreatePackagePreferencesLocked(String pkg, int uid, in getOrCreatePackagePreferencesLocked()
483 public void setBubblesAllowed(String pkg, int uid, boolean allowed) { in setBubblesAllowed()
504 public boolean areBubblesAllowed(String pkg, int uid) { in areBubblesAllowed()
510 public int getAppLockedFields(String pkg, int uid) { in getAppLockedFields()
568 int getPackagePriority(String pkg, int uid) { in getPackagePriority()
574 int getPackageVisibility(String pkg, int uid) { in getPackageVisibility()
581 public void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup()
595 MetricsLogger.action(getChannelGroupLog(group.getId(), pkg)); in createNotificationChannelGroup() local
[all …]
DNotificationManagerInternal.java23 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()
DSnoozeHelper.java93 protected boolean isSnoozed(int userId, String pkg, String key) { in isSnoozed()
99 protected Collection<NotificationRecord> getSnoozed(int userId, String pkg) { in getSnoozed()
161 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 protected void clearData(int userId, String pkg) { in clearData()
332 private PendingIntent createPendingIntent(String pkg, String key, int userId) { in createPendingIntent()
343 private void scheduleRepost(String pkg, String key, int userId, long duration) { in scheduleRepost()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java141 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 …]
DPinnedSliceState.java60 public PinnedSliceState(SliceManagerService service, Uri uri, String pkg) { in PinnedSliceState()
122 public void pin(String pkg, SliceSpec[] specs, IBinder token) { in pin()
135 public boolean unpin(String pkg, IBinder token) { in unpin()
213 private String pkg; field in PinnedSliceState.ListenerInfo
218 public ListenerInfo(IBinder token, String pkg, boolean hasPermission, in ListenerInfo()
/frameworks/base/core/tests/overlaytests/host/src/com/android/server/om/hosttest/
DInstallOverlayTests.java204 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/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DPowerWhitelistBackend.java69 public boolean isSysWhitelisted(String pkg) { in isSysWhitelisted()
73 public boolean isWhitelisted(String pkg) { in isWhitelisted()
88 public boolean isDefaultActiveApp(String pkg) { in isDefaultActiveApp()
129 public boolean isSysWhitelistedExceptIdle(String pkg) { in isSysWhitelistedExceptIdle()
146 public void addApp(String pkg) { in addApp()
155 public void removeApp(String pkg) { in removeApp()
/frameworks/native/libs/incidentcompanion/binder/android/os/
DIIncidentCompanion.aidl63 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/
DSliceClientPermissionsTest.java58 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/os/
DIIncidentManager.aidl55 List<String> getIncidentReportList(String pkg, String cls); in getIncidentReportList()
60 IncidentManager.IncidentReport getIncidentReport(String pkg, String cls, String id); in getIncidentReport()
67 void deleteIncidentReports(String pkg, String cls, String id); in deleteIncidentReports()
72 void deleteAllIncidentReports(String pkg); in deleteAllIncidentReports()
/frameworks/base/core/java/android/content/pm/
DPackageBackwardCompatibility.java132 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()
DPackageSharedLibraryUpdater.java39 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()
DAndroidTestBaseUpdater.java41 private static boolean apkTargetsApiLevelLessThanOrEqualToP(Package pkg) { in apkTargetsApiLevelLessThanOrEqualToP()
47 public void updatePackage(Package pkg) { in updatePackage()
DOrgApacheHttpLegacyUpdater.java34 private static boolean apkTargetsApiLevelLessThanOrEqualToOMR1(Package pkg) { in apkTargetsApiLevelLessThanOrEqualToOMR1()
40 public void updatePackage(Package pkg) { in updatePackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java77 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_noCache() local
101 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_withCache() local
125 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in test_serializePackage() local
141 PackageParser.Package pkg = new PackageParser.Package("foo"); in test_roundTripKnownFields() local
154 PackageParser.Package pkg = new PackageParser.Package("foo"); in test_stringInterning() local
188 public byte[] toCacheEntry(Package pkg) { in toCacheEntry()
437 public static void setKnownFields(PackageParser.Package pkg) { in setKnownFields()
558 private static void assertAllFieldsExist(PackageParser.Package pkg) throws Exception { in assertAllFieldsExist()
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/
DDexMetadataHelperTest.java105 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageWithDmFileValid() local
121 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsWithDmFileValid() local
140 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsNoBaseWithDmFileValid() local
156 PackageParser.Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageWithDmFileInvalid() local
173 PackageParser.Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsWithDmFileInvalid() local
214 PackageParser.PackageLite pkg = new PackageParser().parsePackageLite(mTmpDir, in testPackageSizeWithDmFile() local
/frameworks/base/core/java/android/content/
DComponentName.java58 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
377 String pkg = in.readString(); in readFromParcel() local
411 private ComponentName(String pkg, Parcel in) { in ComponentName()
/frameworks/base/services/core/java/com/android/server/incident/
DIncidentCompanionService.java124 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/core/java/android/content/pm/dex/
DDexMetadataHelper.java60 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()

12345678910>>...13