/packages/apps/Settings/src/com/android/settings/display/ |
D | ThemePreferenceController.java | 81 String[] pkgs = getAvailableThemes(false /* currentThemeOnly */); in updateState() local 82 CharSequence[] labels = new CharSequence[pkgs.length]; in updateState() 83 for (int i = 0; i < pkgs.length; i++) { in updateState() 85 labels[i] = mPackageManager.getApplicationInfo(pkgs[i], 0) in updateState() 88 labels[i] = pkgs[i]; in updateState() 92 pref.setEntryValues(pkgs); in updateState() 96 for (int i = 0; i < pkgs.length; i++) { in updateState() 97 if (TextUtils.equals(pkgs[i], theme)) { in updateState() 154 List<String> pkgs; in getAvailableThemes() local 157 pkgs = new ArrayList<>(infos.size()); in getAvailableThemes() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | ThemePreferenceController.java | 81 String[] pkgs = getAvailableThemes(false /* currentThemeOnly */); in updateState() local 82 CharSequence[] labels = new CharSequence[pkgs.length]; in updateState() 83 for (int i = 0; i < pkgs.length; i++) { in updateState() 85 labels[i] = mPackageManager.getApplicationInfo(pkgs[i], 0) in updateState() 88 labels[i] = pkgs[i]; in updateState() 92 pref.setEntryValues(pkgs); in updateState() 96 for (int i = 0; i < pkgs.length; i++) { in updateState() 97 if (TextUtils.equals(pkgs[i], theme)) { in updateState() 154 List<String> pkgs; in getAvailableThemes() local 157 pkgs = new ArrayList<>(infos.size()); in getAvailableThemes() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | OverlayCategoryPreferenceController.java | 151 final List<String> pkgs = new ArrayList<>(); in updateState() local 158 pkgs.add(selectedPkg); in updateState() 162 pkgs.add(overlayInfo.packageName); in updateState() 170 selectedPkg = pkgs.get(pkgs.size() - 1); in updateState() 176 mPreference.setEntryValues(pkgs.toArray(new String[pkgs.size()])); in updateState()
|
D | AppPicker.java | 101 List<ApplicationInfo> pkgs = context.getPackageManager().getInstalledApplications(0); in AppListAdapter() local 102 for (int i=0; i<pkgs.size(); i++) { in AppListAdapter() 103 ApplicationInfo ai = pkgs.get(i); in AppListAdapter()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | OverlayCategoryPreferenceController.java | 151 final List<String> pkgs = new ArrayList<>(); in updateState() local 158 pkgs.add(selectedPkg); in updateState() 162 pkgs.add(overlayInfo.packageName); in updateState() 170 selectedPkg = pkgs.get(pkgs.size() - 1); in updateState() 176 mPreference.setEntryValues(pkgs.toArray(new String[pkgs.size()])); in updateState()
|
D | AppPicker.java | 101 List<ApplicationInfo> pkgs = context.getPackageManager().getInstalledApplications(0); in AppListAdapter() local 102 for (int i=0; i<pkgs.size(); i++) { in AppListAdapter() 103 ApplicationInfo ai = pkgs.get(i); in AppListAdapter()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | AppPrefLoaderTest.java | 53 final ArraySet<String> pkgs = new ArraySet<>(2); in setUp() local 54 pkgs.add("pkg0"); in setUp() 55 pkgs.add("pkg1"); in setUp() 56 mLoader = new AppPrefLoader(RuntimeEnvironment.application, pkgs, mPackageManager); in setUp()
|
/packages/apps/Settings/src/com/android/settings/webview/ |
D | WebViewUpdateServiceWrapper.java | 64 List<ApplicationInfo> pkgs = new ArrayList<>(); in getValidWebViewApplicationInfos() local 67 pkgs.add(context.getPackageManager().getApplicationInfo( in getValidWebViewApplicationInfos() 72 return pkgs; in getValidWebViewApplicationInfos()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/data/ |
D | NonSensitivePackagesLiveData.java | 66 ArrayList<ApplicationInfo> pkgs = new ArrayList<>(); in NonSensitivePackagesLiveData() 88 pkgs.add(appInfo); in NonSensitivePackagesLiveData() 97 postValue(pkgs); in NonSensitivePackagesLiveData()
|
D | PerUserUidToSensitivityLiveData.java | 112 List<PackageInfo> pkgs = pm.getInstalledPackages(PackageManager.GET_PERMISSIONS); in loadValueInBackground() local 120 int numPkgs = pkgs.size(); in loadValueInBackground() 122 PackageInfo pkg = pkgs.get(pkgNum); in loadValueInBackground()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/webview/ |
D | WebViewUpdateServiceWrapper.java | 64 List<ApplicationInfo> pkgs = new ArrayList<>(); in getValidWebViewApplicationInfos() local 67 pkgs.add(context.getPackageManager().getApplicationInfo( in getValidWebViewApplicationInfos() 72 return pkgs; in getValidWebViewApplicationInfos()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/ |
D | BackupHelper.java | 252 @NonNull ArrayList<BackupPackageState> pkgs) throws IOException { in writePkgsAsXml() argument 268 int numPkgs = pkgs.size(); in writePkgsAsXml() 270 BackupPackageState packageState = pkgs.get(i); in writePkgsAsXml() 309 List<PackageInfo> pkgs = mContext.getPackageManager().getInstalledPackages( in writeState() local 313 int numPkgs = pkgs.size(); in writeState() 316 pkgs.get(i)); in writeState()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/zenaccess/ |
D | ZenAccessController.java | 70 final List<PackageInfo> pkgs = list.getList(); in getPackagesRequestingNotificationPolicyAccess() local 71 if (pkgs != null) { in getPackagesRequestingNotificationPolicyAccess() 72 for (PackageInfo info : pkgs) { in getPackagesRequestingNotificationPolicyAccess()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/zenaccess/ |
D | ZenAccessController.java | 70 final List<PackageInfo> pkgs = list.getList(); in getPackagesRequestingNotificationPolicyAccess() local 71 if (pkgs != null) { in getPackagesRequestingNotificationPolicyAccess() 72 for (PackageInfo info : pkgs) { in getPackagesRequestingNotificationPolicyAccess()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CdmaServiceCategoryProgramHandler.java | 140 String[] pkgs = mContext.getResources().getStringArray( in handleServiceCategoryProgramData() local 142 mReceiverCount.addAndGet(pkgs.length); in handleServiceCategoryProgramData() 143 for (String pkg : pkgs) { in handleServiceCategoryProgramData()
|
D | CellBroadcastHandler.java | 525 String[] pkgs = mContext.getResources().getStringArray( in broadcastMessage() local 527 if (pkgs != null) { in broadcastMessage() 528 mReceiverCount.addAndGet(pkgs.length); in broadcastMessage() 529 for (String pkg : pkgs) { in broadcastMessage()
|
/packages/apps/Settings/src/com/android/settings/applications/appops/ |
D | AppOpsState.java | 549 List<AppOpsManager.PackageOps> pkgs; in buildState() local 551 pkgs = mAppOps.getOpsForPackage(uid, packageName, tpl.ops); in buildState() 553 pkgs = mAppOps.getPackagesForOps(tpl.ops); in buildState() 556 if (pkgs != null) { in buildState() 557 for (int i=0; i<pkgs.size(); i++) { in buildState() 558 AppOpsManager.PackageOps pkgOps = pkgs.get(i); in buildState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appops/ |
D | AppOpsState.java | 549 List<AppOpsManager.PackageOps> pkgs; in buildState() local 551 pkgs = mAppOps.getOpsForPackage(uid, packageName, tpl.ops); in buildState() 553 pkgs = mAppOps.getPackagesForOps(tpl.ops); in buildState() 556 if (pkgs != null) { in buildState() 557 for (int i=0; i<pkgs.size(); i++) { in buildState() 558 AppOpsManager.PackageOps pkgOps = pkgs.get(i); in buildState()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | AppPrefLoader.java | 33 public AppPrefLoader(Context prefContext, ArraySet<String> pkgs, PackageManager pm) { in AppPrefLoader() argument 35 mPackages = pkgs; in AppPrefLoader()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | AppPrefLoader.java | 33 public AppPrefLoader(Context prefContext, ArraySet<String> pkgs, PackageManager pm) { in AppPrefLoader() argument 35 mPackages = pkgs; in AppPrefLoader()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStateAppOpsBridge.java | 161 String[] pkgs = mIPackageManager.getAppOpPermissionPackages(permission); in getEntries() local 162 if (pkgs != null) { in getEntries() 163 packagesSet.addAll(Arrays.asList(pkgs)); in getEntries()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateAppOpsBridge.java | 161 String[] pkgs = mIPackageManager.getAppOpPermissionPackages(permission); in getEntries() local 162 if (pkgs != null) { in getEntries() 163 packagesSet.addAll(Arrays.asList(pkgs)); in getEntries()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowRestrictedLockUtilsInternal.java | 116 public static void setRestrictedPkgs(String... pkgs) { in setRestrictedPkgs() argument 117 sRestrictedPkgs = pkgs; in setRestrictedPkgs()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | AdjustUserSensitiveFragment.java | 368 ArrayList<ApplicationInfo> pkgs = getNonSensitivePackagesLiveData().getValue(); in setAllowOverrideUserSensitive() local 369 int numPkgs = pkgs.size(); in setAllowOverrideUserSensitive() 371 overrides.add(String.valueOf(pkgs.get(i).uid)); in setAllowOverrideUserSensitive()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | P2pLinkManager.java | 561 String[] pkgs = mPackageManager.getPackagesForUid(foregroundUids.get(0)); in prepareMessageToSend() local 562 if (pkgs != null && pkgs.length >= 1) { in prepareMessageToSend() 563 if (!generatePlayLink || beamDefaultDisabled(pkgs[0])) { in prepareMessageToSend() 568 mMessageToSend = createDefaultNdef(pkgs[0]); in prepareMessageToSend()
|