/packages/apps/Settings/src/com/android/settings/display/ |
ThemePreferenceController.java | 81 String[] pkgs = getAvailableThemes(); local 82 CharSequence[] labels = new CharSequence[pkgs.length]; 83 for (int i = 0; i < pkgs.length; i++) { 85 labels[i] = mPackageManager.getApplicationInfo(pkgs[i], 0) 88 labels[i] = pkgs[i]; 92 pref.setEntryValues(pkgs); 96 for (int i = 0; i < pkgs.length; i++) { 97 if (TextUtils.equals(pkgs[i], theme)) { 167 List<String> pkgs = new ArrayList(infos.size()); local 170 pkgs.add(infos.get(i).packageName) [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
BackgroundDexOptService.java | 167 final PackageManagerService pm, final ArraySet<String> pkgs) { 175 postBootUpdate(jobParams, pm, pkgs); 183 ArraySet<String> pkgs) { 192 for (String pkg : pkgs) { 239 final PackageManagerService pm, final ArraySet<String> pkgs) { 243 int result = idleOptimization(pm, pkgs, BackgroundDexOptService.this); 256 private int idleOptimization(PackageManagerService pm, ArraySet<String> pkgs, 265 int result = optimizePackages(pm, pkgs, lowStorageThreshold, /*is_for_primary_dex*/ true, 278 result = optimizePackages(pm, pkgs, lowStorageThreshold, /*is_for_primary_dex*/ false, 284 private int optimizePackages(PackageManagerService pm, ArraySet<String> pkgs, 432 final ArraySet<String> pkgs = pm.getOptimizablePackages(); local [all...] |
/prebuilts/go/darwin-x86/src/cmd/go/ |
pkg_test.go | 93 pkgs []*Package 100 pkgs: []*Package{}, 105 pkgs: []*Package{}, 110 pkgs: []*Package{&Package{ImportPath: "gopkg.in/somelib"}}, 115 pkgs: []*Package{&Package{ImportPath: "somelib"}}, 121 pkgs: []*Package{&Package{ImportPath: "somelib"}}, 126 pkgs: []*Package{&Package{ImportPath: "gopkg.in/lib1"}, &Package{ImportPath: "gopkg.in/lib2"}}, 131 pkgs: []*Package{ 141 pkgs: []*Package{}, 146 pkgs: []*Package{} [all...] |
main.go | 576 pkgs := matchPackages(pattern) 577 if len(pkgs) == 0 { 580 return pkgs 597 var pkgs []string 641 pkgs = append(pkgs, name) 645 return pkgs 652 pkgs := matchPackagesInFS(pattern) 653 if len(pkgs) == 0 { 656 return pkgs [all...] |
/prebuilts/go/linux-x86/src/cmd/go/ |
pkg_test.go | 93 pkgs []*Package 100 pkgs: []*Package{}, 105 pkgs: []*Package{}, 110 pkgs: []*Package{&Package{ImportPath: "gopkg.in/somelib"}}, 115 pkgs: []*Package{&Package{ImportPath: "somelib"}}, 121 pkgs: []*Package{&Package{ImportPath: "somelib"}}, 126 pkgs: []*Package{&Package{ImportPath: "gopkg.in/lib1"}, &Package{ImportPath: "gopkg.in/lib2"}}, 131 pkgs: []*Package{ 141 pkgs: []*Package{}, 146 pkgs: []*Package{} [all...] |
main.go | 576 pkgs := matchPackages(pattern) 577 if len(pkgs) == 0 { 580 return pkgs 597 var pkgs []string 641 pkgs = append(pkgs, name) 645 return pkgs 652 pkgs := matchPackagesInFS(pattern) 653 if len(pkgs) == 0 { 656 return pkgs [all...] |
/packages/apps/Settings/src/com/android/settings/webview/ |
WebViewUpdateServiceWrapper.java | 63 List<ApplicationInfo> pkgs = new ArrayList<>(); local 66 pkgs.add(context.getPackageManager().getApplicationInfo( 71 return pkgs;
|
WebViewAppPicker.java | 62 List<ApplicationInfo> pkgs = local 64 for (ApplicationInfo ai : pkgs) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
AppPrefLoaderTest.java | 61 final ArraySet<String> pkgs = new ArraySet<>(); local 62 pkgs.add("pkg0"); 63 pkgs.add("pkg1"); 65 new AppPrefLoader(RuntimeEnvironment.application, pkgs, mPackageManager);
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
AppPrefLoader.java | 31 public AppPrefLoader(Context prefContext, ArraySet<String> pkgs, PackageManager pm) { 33 mPackages = pkgs;
|
/frameworks/base/core/java/com/android/internal/util/ |
DumpUtils.java | 121 final String[] pkgs = context.getPackageManager().getPackagesForUid(uid); local 122 if (pkgs != null) { 123 for (String pkg : pkgs) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ForegroundServiceControllerImpl.java | 127 public void setRunningServices(String[] pkgs, long serviceStartTime) { 128 mRunning = pkgs != null ? Arrays.copyOf(pkgs, pkgs.length) : null;
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
AppSetup.java | 215 Set<String> pkgs = getAllAppsToUninstall(device); local 216 if (pkgs.isEmpty()) { 219 for (String pkg : pkgs) { 233 Set<String> pkgs = device.getUninstallablePackageNames(); local 234 pkgs.removeAll(mSkipUninstallPkgs); 235 return pkgs;
|
/external/skia/infra/bots/ |
gen_tasks.go | 439 pkgs := []*specs.CipdPackage{} 444 pkgs = append(pkgs, b.MustGetCipdPackageFromAsset("android_ndk_darwin")) 448 pkgs = append(pkgs, pkg) 450 pkgs = append(pkgs, b.MustGetCipdPackageFromAsset("android_ndk_linux")) 453 pkgs = append(pkgs, b.MustGetCipdPackageFromAsset("cast_toolchain")) 454 pkgs = append(pkgs, b.MustGetCipdPackageFromAsset("chromebook_arm_gles") [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
AppTimeTracker.java | 84 Bundle pkgs = new Bundle(); local 86 pkgs.putLong(mPackageTimes.keyAt(i), mPackageTimes.valueAt(i).value); 88 extras.putBundle(ActivityOptions.EXTRA_USAGE_TIME_REPORT_PACKAGES, pkgs);
|
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
RunMonkeyAction.java | 83 String pkgs[] = packages.split(","); local 85 for (String pkg : pkgs) {
|
/libcore/ojluni/src/main/java/java/lang/ |
Package.java | 553 synchronized (pkgs) { 554 Package pkg = pkgs.get(name); 572 synchronized (pkgs) { 576 return pkgs.values().toArray(new Package[pkgs.size()]); 613 pkgs.put(name, pkg); 633 private static Map<String, Package> pkgs = new HashMap<>(31);
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
PackageManagerBackupAgent.java | 138 List<PackageInfo> pkgs; local 139 pkgs = pm.getInstalledPackages(PackageManager.GET_SIGNATURES); 140 int N = pkgs.size(); 142 PackageInfo pkg = pkgs.get(a); 144 pkgs.remove(a); 147 return pkgs; 582 private void writeStateFile(List<PackageInfo> pkgs, ComponentName preferredHome, 608 for (PackageInfo pkg : pkgs) {
|
/external/lisa/libs/utils/android/ |
system.py | 510 pkgs = target.execute('cmd package list packages {}'\ 512 for pkg in pkgs.splitlines(): 533 pkgs = target.execute('cmd package list packages {}'\ 535 for pkg in pkgs.splitlines():
|
/prebuilts/go/darwin-x86/src/go/doc/ |
headscan.go | 75 pkgs, err := parser.ParseDir(fset, path, isGoFile, parser.ParseComments) 82 for _, pkg := range pkgs {
|
/prebuilts/go/linux-x86/src/go/doc/ |
headscan.go | 75 pkgs, err := parser.ParseDir(fset, path, isGoFile, parser.ParseComments) 82 for _, pkg := range pkgs {
|
/development/apps/Development/src/com/android/development/ |
PackageBrowser.java | 60 List<PackageInfo> pkgs = context.getPackageManager().getInstalledPackages(0); local 61 for (int i=0; i<pkgs.size(); i++) { 63 info.info = pkgs.get(i);
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
RestrictionsManagerService.java | 190 String[] pkgs = AppGlobals.getPackageManager().getPackagesForUid(callingUid); local 191 if (pkgs != null) { 192 if (!ArrayUtils.contains(pkgs, packageName)) {
|
/packages/apps/Settings/src/com/android/settings/development/ |
AppPicker.java | 99 List<ApplicationInfo> pkgs = context.getPackageManager().getInstalledApplications(0); local 100 for (int i=0; i<pkgs.size(); i++) { 101 ApplicationInfo ai = pkgs.get(i);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
dist.py | [all...] |