Home
last modified time | relevance | path

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

12345678910>>...27

/packages/apps/PermissionController/src/com/android/packageinstaller/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 …]
/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()
/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/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensPickerUtils.java51 public static String getPackageKey(String packageName) { in getPackageKey()
65 String packageName, Intent launchIntent) { in launch()
67 editor.putString(LensPickerUtils.getFacetKey(facetId), packageName); in launch() local
85 String packageName, Intent launchIntent) { in saveLastLaunchedAppInfo()
105 String packageName = sharedPrefs.getString(LAST_LAUNCHED_PACKAGE_NAME, null); in getLastLaunchedAppInfo() local
115 public static Intent getMediaLaunchIntent(PackageManager pm, String packageName, in getMediaLaunchIntent()
139 public static Intent getLaunchIntent(String packageName, ResolveInfo rInfo, PackageManager pm) { in getLaunchIntent()
157 public AppLaunchInformation(String facetId, String packageName, String intentString) { in AppLaunchInformation()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/service/
DRoleControllerServiceImpl.java114 String packageName = currentPackageNames.get(currentPackageNamesIndex); in onGrantDefaultRoles() local
145 String packageName = packageNamesToAdd.get(packageNamesToAddIndex); in onGrantDefaultRoles() local
172 String packageName = currentPackageNames.get(currentPackageNamesIndex); in onGrantDefaultRoles() local
189 public boolean onAddRoleHolder(@NonNull String roleName, @NonNull String packageName, in onAddRoleHolder()
247 public boolean onRemoveRoleHolder(@NonNull String roleName, @NonNull String packageName, in onRemoveRoleHolder()
315 private boolean addRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in addRoleHolderInternal()
322 private boolean addRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in addRoleHolderInternal()
338 private boolean removeRoleHolderInternal(@NonNull Role role, @NonNull String packageName, in removeRoleHolderInternal()
366 String packageName = packageNames.get(i); in clearRoleHoldersInternal() local
409 @NonNull String packageName) { in onIsApplicationQualifiedForRole()
/packages/apps/PermissionController/src/com/android/packageinstaller/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/services/Car/car-lib/src/android/car/content/pm/
DICarPackageManager.aidl24 void setAppBlockingPolicy(in String packageName, in CarAppBlockingPolicy policy, int flags) = 0; in setAppBlockingPolicy()
25 boolean isActivityDistractionOptimized(in String packageName, in String className) = 1; in isActivityDistractionOptimized()
26 boolean isServiceDistractionOptimized(in String packageName, in String className) = 2; in isServiceDistractionOptimized()
/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/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/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/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/PermissionController/src/com/android/packageinstaller/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/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/shortcuts/
DDeepShortcutManager.java66 public QueryResult queryForFullDetails(String packageName, in queryForFullDetails()
87 String packageName = key.componentName.getPackageName(); in unpinShortcut() local
104 String packageName = key.componentName.getPackageName(); in pinShortcut() local
116 public void startShortcut(String packageName, String id, Rect sourceBounds, in startShortcut()
140 public QueryResult queryForPinnedShortcuts(String packageName, UserHandle user) { in queryForPinnedShortcuts()
144 public QueryResult queryForPinnedShortcuts(String packageName, List<String> shortcutIds, in queryForPinnedShortcuts()
167 private QueryResult query(int flags, String packageName, ComponentName activity, in query()
/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/apps/Launcher3/src/com/android/launcher3/model/
DPackageItemInfo.java30 public String packageName; field in PackageItemInfo
32 public PackageItemInfo(String packageName) { in PackageItemInfo()
/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>>...27