Home
last modified time | relevance | path

Searched defs:pkgName (Results 1 – 25 of 120) sorted by relevance

12345

/frameworks/libs/net/common/framework/com/android/net/module/util/
DLocationPermissionChecker.java90 public boolean checkLocationPermission(String pkgName, @Nullable String featureId, in checkLocationPermission()
113 String pkgName, @Nullable String featureId, int uid, @Nullable String message) { in checkLocationPermissionWithDetailInfo()
139 public void enforceLocationPermission(String pkgName, @Nullable String featureId, int uid, in enforceLocationPermission()
151 private int checkLocationPermissionInternal(String pkgName, @Nullable String featureId, in checkLocationPermissionInternal()
189 public boolean checkCallersLocationPermission(String pkgName, @Nullable String featureId, in checkCallersLocationPermission()
250 private boolean noteAppOpAllowed(String op, String pkgName, @Nullable String featureId, in noteAppOpAllowed()
256 private void checkPackage(int uid, String pkgName) in checkPackage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DShowInstallAppNotificationReceiver.java31 public static Intent get(Context context, String pkgName) { in get()
39 String pkgName = intent.getStringExtra(EXTRA_PACKAGE_NAME); in onReceive() local
DInstallCarrierAppUtils.java52 static void showNotification(Context context, String pkgName) { in showNotification()
108 static void hideNotification(Context context, String pkgName) { in hideNotification()
112 static Intent getPlayStoreIntent(String pkgName) { in getPlayStoreIntent()
122 String pkgName, long delayMillis) { in showNotificationIfNotInstalledDelayed()
/frameworks/base/core/java/android/ddm/
DDdmHandleAppName.java85 public static void setAppName(String appName, String pkgName, int userId) { in setAppName()
102 private static void sendAPNM(String appName, String pkgName, int userId) { in sendAPNM()
133 private Names(String appName, String pkgName) { in Names()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java99 private boolean printError(int errCode, String pkgName, int userId, int jobId) { in printError()
172 final String pkgName = getNextArgRequired(); in runJob() local
218 final String pkgName = getNextArg(); in timeout() local
254 final String pkgName = getNextArg(); in cancelJob() local
342 final String pkgName = getNextArgRequired(); in getJobState() local
386 final String pkgName = getNextArgRequired(); in resetExecutionQuota() local
/frameworks/base/core/java/com/android/internal/os/
DAppIdToPackageMap.java66 String pkgName = mAppIdToPackageMap.get(appId); in mapAppId() local
73 final String pkgName = mAppIdToPackageMap.get(appId); in mapUid() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierPrivilegesTracker.java271 String pkgName = (String) msg.obj; in handleMessage() local
276 String pkgName = (String) msg.obj; in handleMessage() local
371 private void handlePackageAddedOrReplaced(String pkgName) { in handlePackageAddedOrReplaced()
403 private void handlePackageRemoved(String pkgName) { in handlePackageRemoved()
496 private boolean isPackagePrivileged(String pkgName, Set<String> certs) { in isPackagePrivileged()
515 private Set<Integer> getUidsForPackage(String pkgName) { in getUidsForPackage()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationSettings.java115 String pkgName = pkgState.getPackageName(); in readSettings() local
159 String pkgName = newState.getPackageName(); in restoreSettings() local
310 public DomainVerificationPkgState removePendingState(@NonNull String pkgName) { in removePendingState()
317 public DomainVerificationPkgState removeRestoredState(@NonNull String pkgName) { in removeRestoredState()
/frameworks/base/core/java/android/content/pm/
DPackageStats.java135 public PackageStats(String pkgName) { in PackageStats()
141 public PackageStats(String pkgName, int userHandle) { in PackageStats()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationPackageTest.kt426 val pkgName = PKG_ONE in <lambda>() constant
487 val pkgName = PKG_ONE in <lambda>() constant
529 val pkgName = PKG_ONE in <lambda>() constant
580 val pkgName = PKG_ONE in <lambda>() constant
761 pkgName -> pkgSettings.find { pkgName == it.getName() } in <lambda>() method
765 makeService { pkgName -> pkgSettings.find { pkgName == it.getName() } } in <lambda>() method
DDomainVerificationPersistenceTest.kt296 val pkgName = pkgName(id) in <lambda>() constant
318 private fun pkgName(id: Int) = "$PKG_PREFIX.pkg$id" in <lambda>() method in com.android.server.pm.test.verify.domain.DomainVerificationPersistenceTest
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DBackupRequest.java27 public BackupRequest(String pkgName) { in BackupRequest()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerServiceImpl.java247 Set<PackageAndUser> onPackageAdded(@NonNull final String pkgName, in onPackageAdded()
257 Set<PackageAndUser> onPackageChanged(@NonNull final String pkgName, in onPackageChanged()
263 Set<PackageAndUser> onPackageReplacing(@NonNull final String pkgName, final int userId) in onPackageReplacing()
269 Set<PackageAndUser> onPackageReplaced(@NonNull final String pkgName, final int userId) in onPackageReplaced()
275 Set<PackageAndUser> onPackageRemoved(@NonNull final String pkgName, final int userId) { in onPackageRemoved()
371 private Set<PackageAndUser> reconcileSettingsForPackage(@NonNull final String pkgName, in reconcileSettingsForPackage()
/frameworks/base/services/core/java/com/android/server/pm/
DUserSystemPackageInstaller.java536 final String pkgName = shouldUseOverlayTargetName(sysPkg) ? in shouldInstallPackage() local
551 final String pkgName = mWhitelistedPackagesForUserTypes.keyAt(i); in getWhitelistedPackagesForUserType() local
602 final String pkgName = whitelist.keyAt(i).intern(); in determineWhitelistedPackagesForUserTypes() local
612 final String pkgName = blacklist.keyAt(i).intern(); in determineWhitelistedPackagesForUserTypes() local
740 final String pkgName = mWhitelistedPackagesForUserTypes.keyAt(pkgIdx); in dump() local
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java148 String pkgName; field in PackageManagerTests.InstallReceiver
150 InstallReceiver(String pkgName) { in InstallReceiver()
429 String pkgName = pkg.getPackageName(); in assertInstall() local
564 private void assertNotInstalled(String pkgName) { in assertNotInstalled()
756 String pkgName; field in PackageManagerTests.ReplaceReceiver
771 ReplaceReceiver(String pkgName) { in ReplaceReceiver()
900 String pkgName; field in PackageManagerTests.DeleteReceiver
902 DeleteReceiver(String pkgName) { in DeleteReceiver()
923 public boolean invokeDeletePackage(final String pkgName, int flags, GenericReceiver receiver) in invokeDeletePackage()
1015 private void cleanUpInstall(String pkgName) throws Exception { in cleanUpInstall()
[all …]
/frameworks/base/core/java/com/android/internal/backup/
DIObbBackupService.aidl42 void restoreObbFile(in String pkgName, in ParcelFileDescriptor data, in restoreObbFile()
/frameworks/native/cmds/installd/
Dotapreopt_parameters.h37 const char* pkgName; variable
/frameworks/base/core/java/android/service/notification/
DINotificationListener.aidl46 …void onNotificationChannelModification(String pkgName, in UserHandle user, in NotificationChannel … in onNotificationChannelModification()
47 …void onNotificationChannelGroupModification(String pkgName, in UserHandle user, in NotificationCha… in onNotificationChannelGroupModification()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierPrivilegesTrackerTest.java604 private void sendPackageChangedIntent(String action, String pkgName) { in sendPackageChangedIntent()
616 public final String pkgName; field in CarrierPrivilegesTrackerTest.PackageCertInfo
621 PackageCertInfo(String pkgName, String cert, UserInfo userInfo, int uid) { in PackageCertInfo()
/frameworks/base/services/core/java/com/android/server/wm/
DHighRefreshRateDenylist.java68 String pkgName = pkg.trim(); in updateDenylist() local
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
DCountQuotaTrackerTest.java204 private void logEvents(int userId, String pkgName, String tag, int count) { in logEvents()
214 private void logEventAt(int userId, String pkgName, String tag, long timeElapsed) { in logEventAt()
221 private void logEventsAt(int userId, String pkgName, String tag, long timeElapsed, int count) { in logEventsAt()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationListener.java165 String pkgName, UserHandle user, NotificationChannel channel, int modificationType) { in onNotificationChannelModified()
249 String pkgName, in onNotificationChannelModified()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DNotificationListenerController.java57 String pkgName, UserHandle user, NotificationChannel channel, int modificationType) { in onNotificationChannelModified()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupObbConnection.java111 public void restoreObbFile(String pkgName, ParcelFileDescriptor data, in restoreObbFile()
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DStagedRollbackTest.java272 String pkgName = getModuleMetadataPackageName(); in testRollbackAllowlistedApp_Phase1_Install() local
558 String pkgName = getModuleMetadataPackageName(); in hasMainlineModule() local

12345