Home
last modified time | relevance | path

Searched defs:packageName (Results 1 – 25 of 749) sorted by relevance

12345678910>>...30

/packages/apps/PermissionController/src/com/android/permissioncontroller/role/model/
DUserDeniedManager.java70 public boolean isDeniedOnce(@NonNull String roleName, @NonNull String packageName) { in isDeniedOnce()
80 public void setDeniedOnce(@NonNull String roleName, @NonNull String packageName) { in setDeniedOnce()
92 public boolean isDeniedAlways(@NonNull String roleName, @NonNull String packageName) { in isDeniedAlways()
102 public void setDeniedAlways(@NonNull String roleName, @NonNull String packageName) { in setDeniedAlways()
112 public void clearDenied(@NonNull String roleName, @NonNull String packageName) { in clearDenied()
122 public void clearPackageDenied(@NonNull String packageName) { in clearPackageDenied()
130 private static String getKey(@NonNull String packageName, boolean always) { in getKey()
135 private boolean isDenied(@NonNull String roleName, @NonNull String packageName, in isDenied()
141 private void setDenied(@NonNull String roleName, @NonNull String packageName, boolean always, in setDenied()
DPermissions.java78 public static boolean grant(@NonNull String packageName, @NonNull List<String> permissions, in grant()
185 private static boolean grantSingle(@NonNull String packageName, @NonNull String permission, in grantSingle()
256 private static boolean isPermissionAndAppOpGranted(@NonNull String packageName, in isPermissionAndAppOpGranted()
312 private static boolean grantPermissionAndAppOp(@NonNull String packageName, in grantPermissionAndAppOp()
375 public static boolean revoke(@NonNull String packageName, @NonNull List<String> permissions, in revoke()
437 private static boolean revokeSingle(@NonNull String packageName, @NonNull String permission, in revokeSingle()
481 private static boolean revokePermissionAndAppOp(@NonNull String packageName, in revokePermissionAndAppOp()
540 private static PackageInfo getPackageInfo(@NonNull String packageName, in getPackageInfo()
546 private static PackageInfo getFactoryPackageInfo(@NonNull String packageName, in getFactoryPackageInfo()
552 private static PackageInfo getPackageInfo(@NonNull String packageName, int extraFlags, in getPackageInfo()
[all …]
DAppOpPermissions.java45 public static boolean grant(@NonNull String packageName, @NonNull String appOpPermission, in grant()
68 public static boolean revoke(@NonNull String packageName, @NonNull String appOpPermission, in revoke()
75 private static boolean setAppOpMode(@NonNull String packageName, @NonNull String appOp, in setAppOpMode()
/packages/services/Telecomm/src/com/android/server/telecom/
DRoleManagerAdapter.java52 void setTestDefaultCallRedirectionApp(String packageName); in setTestDefaultCallRedirectionApp()
67 void setTestDefaultCallScreeningApp(String packageName); in setTestDefaultCallScreeningApp()
88 void setTestDefaultDialer(String packageName); in setTestDefaultDialer()
102 void addOrRemoveTestCallCompanionApp(String packageName, boolean isAdded); in addOrRemoveTestCallCompanionApp()
116 String getApplicationLabelForPackageName(String packageName); in getApplicationLabelForPackageName()
DCarModeTracker.java45 public CarModeApp(int priority, @NonNull String packageName) { in CarModeApp()
71 public void setPackageName(String packageName) { in setPackageName()
102 public void handleEnterCarMode(@IntRange(from = 0) int priority, @NonNull String packageName) { in handleEnterCarMode()
126 public void handleExitCarMode(@IntRange(from = 0) int priority, @NonNull String packageName) { in handleExitCarMode()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailPermissions.java107 public boolean packageHasOwnVoicemailAccess(String packageName) { in packageHasOwnVoicemailAccess()
114 public boolean packageHasReadAccess(String packageName) { in packageHasReadAccess()
119 public boolean packageHasWriteAccess(String packageName) { in packageHasWriteAccess()
124 private boolean packageHasPermission(String packageName, String permission) { in packageHasPermission()
147 private boolean packageHasCarrierPrivileges(String packageName) { in packageHasCarrierPrivileges()
153 private static boolean packageHasCarrierPrivileges(TelephonyManager tm, String packageName) { in packageHasCarrierPrivileges()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DPermissionUtils.java78 int uid, @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionManager()
106 @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionWriteStorage()
113 @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionReadStorage()
120 @NonNull Context context, int uid, String packageName) { in checkIsLegacyStorageGranted()
126 @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionReadAudio()
136 @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionWriteAudio()
147 @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionReadVideo()
157 @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionWriteVideo()
168 @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionReadImages()
178 @NonNull String packageName, @Nullable String attributionTag) { in checkPermissionWriteImages()
[all …]
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/service/
DRoleControllerServiceImpl.java112 String packageName = currentPackageNames.get(currentPackageNamesIndex); in onGrantDefaultRoles() local
143 String packageName = packageNamesToAdd.get(packageNamesToAddIndex); in onGrantDefaultRoles() local
170 String packageName = currentPackageNames.get(currentPackageNamesIndex); in onGrantDefaultRoles() local
184 public boolean onAddRoleHolder(@NonNull String roleName, @NonNull String packageName, in onAddRoleHolder()
242 public boolean onRemoveRoleHolder(@NonNull String roleName, @NonNull String packageName, in onRemoveRoleHolder()
310 private boolean addRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in addRoleHolderInternal()
317 private boolean addRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in addRoleHolderInternal()
333 private boolean removeRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in removeRoleHolderInternal()
361 String packageName = packageNames.get(i); in clearRoleHoldersInternal() local
404 @NonNull String packageName) { in onIsApplicationQualifiedForRole()
[all …]
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/utils/
DPackageUtils.java46 public static PackageInfo getPackageInfo(@NonNull String packageName, int extraFlags, in getPackageInfo()
66 public static ApplicationInfo getApplicationInfo(@NonNull String packageName, in getApplicationInfo()
88 public static ApplicationInfo getApplicationInfoAsUser(@NonNull String packageName, in getApplicationInfoAsUser()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowApplicationPackageManager.java89 protected int getPackageUidAsUser(String packageName, int flags, int userId) in getPackageUidAsUser()
95 protected void deleteApplicationCacheFiles(String packageName, IPackageDataObserver observer) { in deleteApplicationCacheFiles()
111 protected ApplicationInfo getApplicationInfoAsUser(String packageName, int flags, int userId) in getApplicationInfoAsUser()
125 protected void clearPackagePreferredActivities(String packageName) { in clearPackagePreferredActivities()
132 List<ComponentName> outActivities, String packageName) { in getPreferredActivities()
162 protected boolean setDefaultBrowserPackageNameAsUser(String packageName, int userId) { in setDefaultBrowserPackageNameAsUser()
169 protected int getIntentVerificationStatusAsUser(String packageName, int userId) { in getIntentVerificationStatusAsUser()
177 protected boolean updateIntentVerificationStatusAsUser(String packageName, int status, in updateIntentVerificationStatusAsUser()
189 public void setPermissionControllerPackageName(String packageName) { in setPermissionControllerPackageName()
DShadowDevicePolicyManager.java54 protected boolean packageHasActiveAdmins(String packageName) { in packageHasActiveAdmins()
58 public void setPackageHasActiveAdmins(String packageName, boolean hasActiveAdmins) { in setPackageHasActiveAdmins()
67 protected boolean isUninstallInQueue(String packageName) { in isUninstallInQueue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DResolveInfoBuilder.java39 public ResolveInfoBuilder(String packageName) { in ResolveInfoBuilder()
43 public ResolveInfoBuilder setActivity(String packageName, String className) { in setActivity()
51 String packageName, String className, String authority, boolean isSystemApp) { in setProvider()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridgeTest.java97 String packageName = "android"; in androidPackagesIgnored() local
110 String packageName = mContext.getPackageName(); in selfPackageIgnored() local
123 String packageName = "test.package"; in packagesNotRequestingPermissionIgnored() local
139 String packageName = "test.package"; in unavailablePackageIgnored() local
154 String packageName = "test.package"; in loadsAppOpsExtraInfo_modeAllowed_isPermissible() local
169 String packageName = "test.package"; in loadsAppOpsExtraInfo_modeDefault_isPermissible() local
184 String packageName = "test.package"; in loadsAppOpsExtraInfo_modeIgnored_isNotPermissible() local
255 String packageName = "test.package"; in appEntryNotIncluded_extraInfoCleared() local
266 private PackageInfo createPackageInfo(String packageName, int uid) { in createPackageInfo()
/packages/services/Car/car-lib/src/android/car/content/pm/
DICarPackageManager.aidl25 void setAppBlockingPolicy(in String packageName, in CarAppBlockingPolicy policy, int flags) = 0; in setAppBlockingPolicy()
26 boolean isActivityDistractionOptimized(in String packageName, in String className) = 1; in isActivityDistractionOptimized()
27 boolean isServiceDistractionOptimized(in String packageName, in String className) = 2; in isServiceDistractionOptimized()
/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/testutils/
DOverlayManagerMocks.java45 final String packageName; field in OverlayManagerMocks.MockOverlay
49 public MockOverlay(String packageName, String targetPackage, String category) { in MockOverlay()
67 private boolean setEnabled(String packageName, boolean enable, int userId) { in setEnabled()
85 public void addOverlay(String packageName, String targetPackage, String category, in addOverlay()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/pictureinpicture/
DPictureInPictureDetails.java94 static void setEnterPipStateForPackage(Context context, int uid, String packageName, in setEnterPipStateForPackage()
105 static boolean getEnterPipStateForPackage(Context context, int uid, String packageName) { in getEnterPipStateForPackage()
114 public static int getPreferenceSummary(Context context, int uid, String packageName) { in getPreferenceSummary()
122 void logSpecialPermissionChange(boolean newState, String packageName) { in logSpecialPermissionChange()
132 packageName, in logSpecialPermissionChange() local
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureDetails.java94 static void setEnterPipStateForPackage(Context context, int uid, String packageName, in setEnterPipStateForPackage()
105 static boolean getEnterPipStateForPackage(Context context, int uid, String packageName) { in getEnterPipStateForPackage()
114 public static int getPreferenceSummary(Context context, int uid, String packageName) { in getPreferenceSummary()
122 void logSpecialPermissionChange(boolean newState, String packageName) { in logSpecialPermissionChange()
132 packageName, in logSpecialPermissionChange() local
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/
DLocationProviderInterceptDialog.java44 String packageName = getIntent().getStringExtra(Intent.EXTRA_PACKAGE_NAME); in onCreate() local
63 private @Nullable PackageInfo getPackageInfo(@NonNull String packageName) { in getPackageInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DTargetPackageInfoGetterTask.java32 public static PackageInfo getCachedPackageInfo(final String packageName) { in getCachedPackageInfo()
37 public static void removeCachedPackageInfo(final String packageName) { in removeCachedPackageInfo()
51 protected PackageInfo doInBackground(final String... packageName) { in doInBackground()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DAppUninstallBroadcastReceiver.java64 String packageName = uri.getSchemeSpecificPart(); in onReceive() local
76 private void handlePackageRemoved(Context context, String packageName) { in handlePackageRemoved()
83 private void handleUninstallOfCallScreeningService(Context context, String packageName) { in handleUninstallOfCallScreeningService()
/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProvider.java91 String packageName = uri.getPathSegments().get(0); in openFile() local
127 static boolean isCachedHtmlFileOutdated(Context context, String packageName) in isCachedHtmlFileOutdated()
137 static AssetManager getPackageAssetManager(PackageManager packageManager, String packageName) in getPackageAssetManager()
145 static Uri getUriForPackage(String packageName) { in getUriForPackage()
178 private static File getCachedFileDirectory(Context context, String packageName) { in getCachedFileDirectory()
182 private static File getCachedHtmlFile(Context context, String packageName) { in getCachedHtmlFile()
186 private static PackageInfo getPackageInfo(Context context, String packageName) in getPackageInfo()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockPackageManager.java54 public void addPackage(int packageUid, String packageName) { in addPackage()
60 final String packageName = mForward.remove(packageUid); in removePackage() local
73 final String packageName = mForward.get(uid); in getPackagesForUid() local
84 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo()
106 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo()
/packages/apps/Dialer/java/com/android/dialer/common/
DPackageUtils.java27 private static boolean isPackageInstalled(@NonNull String packageName, @NonNull Context context) { in isPackageInstalled()
43 public static boolean isPackageEnabled(@NonNull String packageName, @NonNull Context context) { in isPackageEnabled()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStoreUtil.java36 public static String getInstallerPackageName(Context context, String packageName) { in getInstallerPackageName()
49 String packageName) { in getAppStoreLink()
61 public static Intent getAppStoreLink(Context context, String packageName) { in getAppStoreLink()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStoreUtil.java36 public static String getInstallerPackageName(Context context, String packageName) { in getInstallerPackageName()
49 String packageName) { in getAppStoreLink()
61 public static Intent getAppStoreLink(Context context, String packageName) { in getAppStoreLink()

12345678910>>...30