Home
last modified time | relevance | path

Searched refs:packageName (Results 1 – 25 of 1033) sorted by relevance

12345678910>>...42

/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DPermissions.java78 public static boolean grant(@NonNull String packageName, @NonNull List<String> permissions, in grant() argument
87 PackageInfo packageInfo = getPackageInfo(packageName, context); in grant()
124 PackageInfo disabledSystemPackageInfo = getFactoryPackageInfo(packageName, context); in grant()
160 packageManager.getWhitelistedRestrictedPermissions(packageName, in grant()
173 packageManager.addWhitelistedRestrictedPermission(packageName, permission, in grant()
177 permissionOrAppOpChanged |= grantSingle(packageName, permission, in grant()
185 private static boolean grantSingle(@NonNull String packageName, @NonNull String permission, in grantSingle() argument
188 boolean wasPermissionOrAppOpGranted = isPermissionAndAppOpGranted(packageName, permission, in grantSingle()
190 if (isPermissionFixed(packageName, permission, false, overrideUserSetAndFixed, context) in grantSingle()
203 if (isPermissionAndAppOpGranted(packageName, foregroundPermission, context)) { in grantSingle()
[all …]
DRole.java425 public CharSequence getConfirmationMessage(@NonNull String packageName, in getConfirmationMessage() argument
428 return mBehavior.getConfirmationMessage(this, packageName, context); in getConfirmationMessage()
442 public boolean isPackageQualified(@NonNull String packageName, @NonNull Context context) { in isPackageQualified() argument
443 if (!isPackageMinimallyQualifiedAsUser(packageName, Process.myUserHandle(), context)) { in isPackageQualified()
448 Boolean isPackageQualified = mBehavior.isPackageQualified(this, packageName, context); in isPackageQualified()
457 if (requiredComponent.getQualifyingComponentForPackage(packageName, context) == null) { in isPackageQualified()
458 Log.w(LOG_TAG, packageName + " not qualified for " + mName in isPackageQualified()
503 String packageName = componentName.getPackageName(); in getQualifyingPackagesAsUser() local
504 Integer componentCount = packageComponentCountMap.get(packageName); in getQualifyingPackagesAsUser()
505 packageComponentCountMap.put(packageName, componentCount == null ? 1 in getQualifyingPackagesAsUser()
[all …]
DUserDeniedManager.java70 public boolean isDeniedOnce(@NonNull String roleName, @NonNull String packageName) { in isDeniedOnce() argument
71 return isDenied(roleName, packageName, false); in isDeniedOnce()
80 public void setDeniedOnce(@NonNull String roleName, @NonNull String packageName) { in setDeniedOnce() argument
81 setDenied(roleName, packageName, false, true); in setDeniedOnce()
92 public boolean isDeniedAlways(@NonNull String roleName, @NonNull String packageName) { in isDeniedAlways() argument
93 return isDenied(roleName, packageName, true); in isDeniedAlways()
102 public void setDeniedAlways(@NonNull String roleName, @NonNull String packageName) { in setDeniedAlways() argument
103 setDenied(roleName, packageName, true, true); in setDeniedAlways()
112 public void clearDenied(@NonNull String roleName, @NonNull String packageName) { in clearDenied() argument
113 setDenied(roleName, packageName, false, false); in clearDenied()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/role/service/
DRoleControllerServiceImpl.java114 String packageName = currentPackageNames.get(currentPackageNamesIndex); in onGrantDefaultRoles() local
116 if (role.isPackageQualified(packageName, this)) { in onGrantDefaultRoles()
120 addRoleHolderInternal(role, packageName, false, false, true); in onGrantDefaultRoles()
123 + " package: " + packageName + ", role: " + roleName); in onGrantDefaultRoles()
124 removeRoleHolderInternal(role, packageName, false); in onGrantDefaultRoles()
145 String packageName = packageNamesToAdd.get(packageNamesToAddIndex); in onGrantDefaultRoles() local
147 if (!role.isPackageQualified(packageName, this)) { in onGrantDefaultRoles()
149 + " the role, package: " + packageName + ", role: " + roleName); in onGrantDefaultRoles()
153 + packageName + ", role: " + roleName); in onGrantDefaultRoles()
158 addRoleHolderInternal(role, packageName, true); in onGrantDefaultRoles()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultPackageStatusNotifier.java74 private boolean isValidPackage(String packageName) { in isValidPackage() argument
75 mIntentFilter.setPackage(packageName); in isValidPackage()
83 public void onPackageRemoved(String packageName, UserHandle userHandle) { in onPackageRemoved() argument
86 mListener.onPackageChanged(packageName, PackageStatus.REMOVED); in onPackageRemoved()
90 public void onPackageAdded(String packageName, UserHandle userHandle) { in onPackageAdded() argument
91 if (isValidPackage(packageName)) { in onPackageAdded()
92 mListener.onPackageChanged(packageName, PackageStatus.ADDED); in onPackageAdded()
97 public void onPackageChanged(String packageName, UserHandle userHandle) { in onPackageChanged() argument
98 if (isValidPackage(packageName)) { in onPackageChanged()
99 mListener.onPackageChanged(packageName, PackageStatus.CHANGED); in onPackageChanged()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceController.java126 Lifecycle lifecycle, String packageName, ApplicationsState state, in AppButtonsPreferenceController() argument
143 mPackageName = packageName; in AppButtonsPreferenceController()
151 if (packageName != null) { in AppButtonsPreferenceController()
152 mAppEntry = mState.getEntry(packageName, mUserId); in AppButtonsPreferenceController()
213 final String packageName = mAppEntry.info.packageName; in onClick() local
215 if (mDpm.packageHasActiveAdmins(mPackageInfo.packageName)) { in onClick()
219 packageName); in onClick()
227 packageName, mUserId); in onClick()
229 RestrictedLockUtilsInternal.hasBaseUserRestriction(mActivity, packageName, in onClick()
249 AsyncTask.execute(new DisableChangerRunnable(mPm, mAppEntry.info.packageName, in onClick()
[all …]
DAppInfoDashboardFragment.java139 final String packageName = getPackageName(); in onAttach() local
140 use(TimeSpentInAppPreferenceController.class).setPackageName(packageName); in onAttach()
145 installer.setPackageName(packageName); in onAttach()
151 use(AppPermissionPreferenceController.class).setPackageName(packageName); in onAttach()
153 .setPackageName(packageName) in onAttach()
169 pip.setPackageName(packageName); in onAttach()
173 externalSource.setPackageName(packageName); in onAttach()
248 final String packageName = getPackageName(); in createPreferenceControllers() local
255 new AppHeaderViewPreferenceController(context, this, packageName, lifecycle)); in createPreferenceControllers()
264 new InstantAppButtonsPreferenceController(context, this, packageName, lifecycle); in createPreferenceControllers()
[all …]
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java293 String packageName = intent.getData().getSchemeSpecificPart(); in onPackageChanged() local
296 findPreference(getKeyForPackage(packageName)); in onPackageChanged()
310 public void onDisableUiForPackage(String packageName) { in onDisableUiForPackage() argument
312 getKeyForPackage(packageName)); in onDisableUiForPackage()
361 String packageName = app.packageName; in populateApps() local
362 if (packageName == null) continue; in populateApps()
363 final boolean isSettingsApp = packageName.equals(context.getPackageName()); in populateApps()
365 final boolean hasSettings = resolveInfoListHasPackage(receivers, packageName); in populateApps()
369 mHelper.setPackageSelected(packageName, true); in populateApps()
374 pi = ipm.getPackageInfo(packageName, in populateApps()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DAppRestrictionsFragment.java293 String packageName = intent.getData().getSchemeSpecificPart(); in onPackageChanged() local
296 findPreference(getKeyForPackage(packageName)); in onPackageChanged()
310 public void onDisableUiForPackage(String packageName) { in onDisableUiForPackage() argument
312 getKeyForPackage(packageName)); in onDisableUiForPackage()
361 String packageName = app.packageName; in populateApps() local
362 if (packageName == null) continue; in populateApps()
363 final boolean isSettingsApp = packageName.equals(context.getPackageName()); in populateApps()
365 final boolean hasSettings = resolveInfoListHasPackage(receivers, packageName); in populateApps()
369 mHelper.setPackageSelected(packageName, true); in populateApps()
374 pi = ipm.getPackageInfo(packageName, in populateApps()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppButtonsPreferenceController.java126 Lifecycle lifecycle, String packageName, ApplicationsState state, in AppButtonsPreferenceController() argument
143 mPackageName = packageName; in AppButtonsPreferenceController()
151 if (packageName != null) { in AppButtonsPreferenceController()
152 mAppEntry = mState.getEntry(packageName, mUserId); in AppButtonsPreferenceController()
214 final String packageName = mAppEntry.info.packageName; in onClick() local
216 if (mDpm.packageHasActiveAdmins(mPackageInfo.packageName)) { in onClick()
220 packageName); in onClick()
228 packageName, mUserId); in onClick()
230 RestrictedLockUtilsInternal.hasBaseUserRestriction(mActivity, packageName, in onClick()
250 AsyncTask.execute(new DisableChangerRunnable(mPm, mAppEntry.info.packageName, in onClick()
[all …]
DAppInfoDashboardFragment.java139 final String packageName = getPackageName(); in onAttach() local
140 use(TimeSpentInAppPreferenceController.class).setPackageName(packageName); in onAttach()
145 installer.setPackageName(packageName); in onAttach()
151 use(AppPermissionPreferenceController.class).setPackageName(packageName); in onAttach()
153 .setPackageName(packageName) in onAttach()
169 pip.setPackageName(packageName); in onAttach()
173 externalSource.setPackageName(packageName); in onAttach()
248 final String packageName = getPackageName(); in createPreferenceControllers() local
255 new AppHeaderViewPreferenceController(context, this, packageName, lifecycle)); in createPreferenceControllers()
264 new InstantAppButtonsPreferenceController(context, this, packageName, lifecycle); in createPreferenceControllers()
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProvider.java91 String packageName = uri.getPathSegments().get(0); in openFile() local
92 File cachedFile = getCachedHtmlFile(context, packageName); in openFile()
93 if (isCachedHtmlFileOutdated(context, packageName)) { in openFile()
95 getPackageAssetManager(context.getPackageManager(), packageName) in openFile()
97 File directory = getCachedFileDirectory(context, packageName); in openFile()
106 packageName, in openFile()
107 getPackageInfo(context, packageName).getLongVersionCode()) in openFile()
127 static boolean isCachedHtmlFileOutdated(Context context, String packageName) in isCachedHtmlFileOutdated() argument
130 File file = getCachedHtmlFile(context, packageName); in isCachedHtmlFileOutdated()
131 return !prefs.contains(packageName) in isCachedHtmlFileOutdated()
[all …]
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensPickerUtils.java51 public static String getPackageKey(String packageName) { in getPackageKey() argument
52 return PACKAGE_KEY_PREFIX + packageName; in getPackageKey()
65 String packageName, Intent launchIntent) { in launch() argument
67 editor.putString(LensPickerUtils.getFacetKey(facetId), packageName); in launch() local
71 editor.putString(LAST_LAUNCHED_PACKAGE_NAME, packageName); in launch()
85 String packageName, Intent launchIntent) { in saveLastLaunchedAppInfo() argument
90 editor.putString(LAST_LAUNCHED_PACKAGE_NAME, packageName); in saveLastLaunchedAppInfo()
105 String packageName = sharedPrefs.getString(LAST_LAUNCHED_PACKAGE_NAME, null); in getLastLaunchedAppInfo() local
108 if (facetId == null || packageName == null || intentString == null) { in getLastLaunchedAppInfo()
112 return new AppLaunchInformation(facetId, packageName, intentString); in getLastLaunchedAppInfo()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridgeTest.java97 String packageName = "android"; in androidPackagesIgnored() local
99 PackageInfo packageInfo = createPackageInfo(packageName, uid); in androidPackagesIgnored()
110 String packageName = mContext.getPackageName(); in selfPackageIgnored() local
112 PackageInfo packageInfo = createPackageInfo(packageName, uid); in selfPackageIgnored()
123 String packageName = "test.package"; in packagesNotRequestingPermissionIgnored() local
125 PackageInfo packageInfo = createPackageInfo(packageName, uid); in packagesNotRequestingPermissionIgnored()
128 when(mIPackageManager.isPackageAvailable(packageInfo.packageName, in packagesNotRequestingPermissionIgnored()
139 String packageName = "test.package"; in unavailablePackageIgnored() local
141 PackageInfo packageInfo = createPackageInfo(packageName, uid); in unavailablePackageIgnored()
143 when(mIPackageManager.isPackageAvailable(packageInfo.packageName, in unavailablePackageIgnored()
[all …]
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java212 public void setAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, int flags) { in setAppBlockingPolicy() argument
214 Log.i(CarLog.TAG_PACKAGE, "policy setting from binder call, client:" + packageName); in setAppBlockingPolicy()
216 doSetAppBlockingPolicy(packageName, policy, flags); in setAppBlockingPolicy()
227 private void doSetAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, in doSetAppBlockingPolicy() argument
234 CarServiceUtils.assertPackageName(mContext, packageName); in doSetAppBlockingPolicy()
248 mHandler.requestUpdatingPolicy(packageName, policy, flags); in doSetAppBlockingPolicy()
265 public boolean isActivityDistractionOptimized(String packageName, String className) { in isActivityDistractionOptimized() argument
266 assertPackageAndClassName(packageName, className); in isActivityDistractionOptimized()
272 AppBlockingPackageInfo info = searchFromBlacklistsLocked(packageName); in isActivityDistractionOptimized()
276 return isActivityInWhitelistsLocked(packageName, className); in isActivityDistractionOptimized()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java349 String packageName = intent.getData().getSchemeSpecificPart(); in onPackageChanged() local
352 findPreference(getKeyForPackage(packageName)); in onPackageChanged()
366 public void onDisableUiForPackage(String packageName) { in onDisableUiForPackage() argument
368 getKeyForPackage(packageName)); in onDisableUiForPackage()
417 String packageName = app.packageName; in populateApps() local
418 if (packageName == null) continue; in populateApps()
419 final boolean isSettingsApp = packageName.equals(context.getPackageName()); in populateApps()
422 final boolean hasSettings = resolveInfoListHasPackage(receivers, packageName); in populateApps()
425 mHelper.setPackageSelected(packageName, true); in populateApps()
430 pi = mIPm.getPackageInfo(packageName, in populateApps()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryUtils.java312 public int getTargetSdkVersion(final String packageName) { in getTargetSdkVersion() argument
314 ApplicationInfo info = mPackageManager.getApplicationInfo(packageName, in getTargetSdkVersion()
319 Log.e(TAG, "Cannot find package: " + packageName, e); in getTargetSdkVersion()
329 final String packageName) { in isBackgroundRestrictionEnabled() argument
334 .checkOpNoThrow(AppOpsManager.OP_RUN_IN_BACKGROUND, uid, packageName); in isBackgroundRestrictionEnabled()
386 public int getPackageUid(String packageName) { in getPackageUid() argument
388 return packageName == null ? UID_NULL : mPackageManager.getPackageUid(packageName, in getPackageUid()
395 public void setForceAppStandby(int uid, String packageName, in setForceAppStandby() argument
397 final boolean isPreOApp = isPreOApp(packageName); in setForceAppStandby()
400 mAppOpsManager.setMode(AppOpsManager.OP_RUN_IN_BACKGROUND, uid, packageName, mode); in setForceAppStandby()
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DPreIndexDataCollector.java91 final String packageName = info.providerInfo.packageName; in collectIndexableData() local
94 addIndexablesFromRemoteProvider(packageName, authority); in collectIndexableData()
98 addNonIndexablesKeysFromRemoteProvider(packageName, authority); in collectIndexableData()
101 Log.d(TAG, "performIndexing update non-indexable for package " + packageName in collectIndexableData()
109 private void addIndexablesFromRemoteProvider(String packageName, String authority) { in addIndexablesFromRemoteProvider() argument
111 final Context context = mContext.createPackageContext(packageName, 0); in addIndexablesFromRemoteProvider()
115 context, packageName, uriForResources, in addIndexablesFromRemoteProvider()
120 context, packageName, uriForRawData, in addIndexablesFromRemoteProvider()
126 Log.w(TAG, "Could not create context for " + packageName + ": " in addIndexablesFromRemoteProvider()
133 String packageName, Uri uri, String[] projection) { in getIndexablesForXmlResourceUri() argument
[all …]
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DOverlayThemeExtractor.java100 for (String packageName : mShapePreviewIconPackages) { in addShapePreviewIcons()
104 packageName)); in addShapePreviewIcons()
106 Log.d(TAG, "Couldn't find app " + packageName in addShapePreviewIcons()
135 void addIconOverlay(Builder builder, String packageName, String... previewIcons) in addIconOverlay() argument
137 builder.addOverlayPackage(getOverlayCategory(packageName), packageName); in addIconOverlay() local
139 builder.addIcon(loadIconPreviewDrawable(iconName, packageName, false)); in addIconOverlay()
159 void addSystemDefaultIcons(Builder builder, String packageName, in addSystemDefaultIcons() argument
163 builder.addIcon(loadIconPreviewDrawable(iconName, packageName, true)); in addSystemDefaultIcons()
229 String loadString(String stringName, String packageName) in loadString() argument
234 packageName); in loadString()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailPermissions.java107 public boolean packageHasOwnVoicemailAccess(String packageName) { in packageHasOwnVoicemailAccess() argument
108 return packageHasPermission(packageName, in packageHasOwnVoicemailAccess()
110 || packageHasCarrierPrivileges(packageName); in packageHasOwnVoicemailAccess()
114 public boolean packageHasReadAccess(String packageName) { in packageHasReadAccess() argument
115 return packageHasPermission(packageName, android.Manifest.permission.READ_VOICEMAIL); in packageHasReadAccess()
119 public boolean packageHasWriteAccess(String packageName) { in packageHasWriteAccess() argument
120 return packageHasPermission(packageName, android.Manifest.permission.WRITE_VOICEMAIL); in packageHasWriteAccess()
124 private boolean packageHasPermission(String packageName, String permission) { in packageHasPermission() argument
125 return ContactsPermissions.hasPackagePermission(mContext, permission, packageName); in packageHasPermission()
138 for (String packageName : packages) { in callerHasCarrierPrivileges()
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java339 public int getTargetSdkVersion(final String packageName) { in getTargetSdkVersion() argument
341 ApplicationInfo info = mPackageManager.getApplicationInfo(packageName, in getTargetSdkVersion()
346 Log.e(TAG, "Cannot find package: " + packageName, e); in getTargetSdkVersion()
356 final String packageName) { in isBackgroundRestrictionEnabled() argument
361 .checkOpNoThrow(AppOpsManager.OP_RUN_IN_BACKGROUND, uid, packageName); in isBackgroundRestrictionEnabled()
413 public int getPackageUid(String packageName) { in getPackageUid() argument
415 return packageName == null ? UID_NULL : mPackageManager.getPackageUid(packageName, in getPackageUid()
422 public void setForceAppStandby(int uid, String packageName, in setForceAppStandby() argument
424 final boolean isPreOApp = isPreOApp(packageName); in setForceAppStandby()
427 mAppOpsManager.setMode(AppOpsManager.OP_RUN_IN_BACKGROUND, uid, packageName, mode); in setForceAppStandby()
[all …]
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/shortcuts/
DDeepShortcutManager.java66 public QueryResult queryForFullDetails(String packageName, in queryForFullDetails() argument
68 return query(FLAG_GET_ALL, packageName, null, shortcutIds, user); in queryForFullDetails()
87 String packageName = key.componentName.getPackageName(); in unpinShortcut() local
90 List<String> pinnedIds = extractIds(queryForPinnedShortcuts(packageName, user)); in unpinShortcut()
93 mLauncherApps.pinShortcuts(packageName, pinnedIds, user); in unpinShortcut()
104 String packageName = key.componentName.getPackageName(); in pinShortcut() local
107 List<String> pinnedIds = extractIds(queryForPinnedShortcuts(packageName, user)); in pinShortcut()
110 mLauncherApps.pinShortcuts(packageName, pinnedIds, user); in pinShortcut()
116 public void startShortcut(String packageName, String id, Rect sourceBounds, in startShortcut() argument
119 mLauncherApps.startShortcut(packageName, id, sourceBounds, in startShortcut()
[all …]
/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() argument
95 protected void deleteApplicationCacheFiles(String packageName, IPackageDataObserver observer) { in deleteApplicationCacheFiles() argument
96 sPackageManager.deleteApplicationCacheFiles(packageName, observer); in deleteApplicationCacheFiles()
111 protected ApplicationInfo getApplicationInfoAsUser(String packageName, int flags, int userId) in getApplicationInfoAsUser() argument
113 return getApplicationInfo(packageName, flags); in getApplicationInfoAsUser()
125 protected void clearPackagePreferredActivities(String packageName) { in clearPackagePreferredActivities() argument
132 List<ComponentName> outActivities, String packageName) { in getPreferredActivities() argument
136 if (packageName == null) { in getPreferredActivities()
139 } else if (name.getPackageName().equals(packageName)) { in getPreferredActivities()
162 protected boolean setDefaultBrowserPackageNameAsUser(String packageName, int userId) { in setDefaultBrowserPackageNameAsUser() argument
[all …]
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourcesLiveDataTest.java87 packageInfo.packageName = info.activityInfo.packageName; in setUp()
97 packageInfo.packageName = info.serviceInfo.packageName; in setUp()
192 intent.setPackage(info.serviceInfo.packageName); in setPackageManagerResolveInfos()
199 private ResolveInfo newActivityResolveInfo(String packageName) { in newActivityResolveInfo() argument
202 activityInfo.packageName = packageName; in newActivityResolveInfo()
204 activityInfo.nonLocalizedLabel = "Activity Label " + packageName; in newActivityResolveInfo()
206 applicationInfo.packageName = packageName; in newActivityResolveInfo()
207 applicationInfo.nonLocalizedLabel = "Activity Label " + packageName; in newActivityResolveInfo()
213 private ResolveInfo newServiceResolveInfo(String packageName) { in newServiceResolveInfo() argument
216 serviceInfo.packageName = packageName; in newServiceResolveInfo()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockPackageManager.java54 public void addPackage(int packageUid, String packageName) { in addPackage() argument
55 mForward.put(packageUid, packageName); in addPackage()
56 mReverse.put(packageName, packageUid); in addPackage()
60 final String packageName = mForward.remove(packageUid); in removePackage() local
61 if (packageName != null) { in removePackage()
62 mReverse.remove(packageName); in removePackage()
73 final String packageName = mForward.get(uid); in getPackagesForUid() local
74 if (packageName != null) { in getPackagesForUid()
75 return new String[] {packageName}; in getPackagesForUid()
77 return new String[] { mPackages.get(0).packageName }; in getPackagesForUid()
[all …]

12345678910>>...42