/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
BitmapWorkerTask.java | 16 package com.android.car.apps.common;
|
DrawableDownloader.java | 16 package com.android.car.apps.common;
|
DrawableLoader.java | 16 package com.android.car.apps.common;
|
LetterTileDrawable.java | 16 package com.android.car.apps.common;
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
WidgetsFullSheet.java | 56 LauncherAppState apps = LauncherAppState.getInstance(context); local 58 LayoutInflater.from(context), apps.getWidgetCache(), apps.getIconCache(),
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppStateAppOpsBridge.java | 142 List<AppEntry> apps = mAppSession.getAllApps(); local 143 final int N = apps.size(); 145 AppEntry app = apps.get(i); 329 // permission (this means pre-M gets approval during install time; M apps gets approval
|
ManageDomainUrls.java | 93 public void onRebuildComplete(ArrayList<AppEntry> apps) { 111 // toggle to enable / disable Web Actions [aka Instant Apps] 120 // Determine whether we should show the instant apps account chooser setting 146 rebuildAppList(mDomainAppList, apps); 162 final ArrayList<AppEntry> apps = mSession.rebuild( local 164 if (apps != null) { 165 onRebuildComplete(apps); 169 private void rebuildAppList(PreferenceGroup group, ArrayList<AppEntry> apps) { 171 final int N = apps.size(); 173 AppEntry entry = apps.get(i) [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenAccessSettings.java | 120 final ArrayList<ApplicationInfo> apps = new ArrayList<>(); local 127 apps.add(app); 135 Collections.sort(apps, new PackageItemInfo.DisplayNameComparator(mPkgMan)); 136 for (ApplicationInfo app : apps) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
StorageItemPreferenceControllerTest.java | 288 final StorageItemPreference apps = new StorageItemPreference(mContext); local 305 .thenReturn(apps); 330 assertThat(apps.getSummary().toString()).isEqualTo("0.09 GB"); 344 final StorageItemPreference apps = spy(new StorageItemPreference(mContext)); local 345 apps.setIcon(R.drawable.ic_storage_apps); 364 .thenReturn(apps); 373 verify(apps, times(2)).setIcon(nullable(Drawable.class)); 383 final StorageItemPreference apps = new StorageItemPreference(mContext); local 398 .thenReturn(apps); 413 final StorageItemPreference apps = new StorageItemPreference(mContext) local 443 final StorageItemPreference apps = new StorageItemPreference(mContext); local 472 final StorageItemPreference apps = new StorageItemPreference(mContext); local 505 final StorageItemPreference apps = new StorageItemPreference(mContext); local [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
RecentAppsPreferenceController.java | 17 package com.android.tv.settings.device.apps; 51 * This controller displays a list of recently used apps and a "See all" button. 155 // Bind recent apps to existing prefs if possible, or create a new pref.
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderCustom.java | 180 * Helper class to look for interesting changes to the installed apps 232 List<ApplicationInfo> apps = mPm.getInstalledApplications( local 235 if (apps == null) { 236 apps = new ArrayList<ApplicationInfo>(); 242 List<AppEntry> entries = new ArrayList<AppEntry>(apps.size()); 243 for (int i=0; i<apps.size(); i++) { 244 AppEntry entry = new AppEntry(this, apps.get(i)); 261 @Override public void deliverResult(List<AppEntry> apps) { 265 if (apps != null) { 266 onReleaseResources(apps); [all...] |
/device/google/contexthub/contexthubhal/ |
system_comms.cpp | 46 #define CHRE_APP_SETTINGS CHRE_APP_DIR "/apps.json" 1066 Json::Value::Members apps = appsObject->getMemberNames(); local 1067 for (auto &it : apps) { [all...] |
/device/google/contexthub/util/nanoapp_cmd/ |
nanoapp_cmd.c | 192 struct App apps[32]; variable in typeref:struct:App 227 struct App *currApp = &apps[appCount++]; 242 if (apps[i].id == appId) { 243 return &apps[i]; 588 LOGE("Download failed after %d retries; erasing all apps " 602 LOGE("Failed to download all apps!");
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
WatchlistLoggingHandler.java | 302 final List<ApplicationInfo> apps = mContext.getPackageManager().getInstalledApplications( local 304 final HashSet<String> result = new HashSet<>(apps.size() + record.appDigestCNCList.size()); 305 final int size = apps.size(); 307 byte[] digest = getDigestFromUid(apps.get(i).uid); 311 Slog.e(TAG, "Cannot get digest from uid: " + apps.get(i).uid 312 + ",pkg: " + apps.get(i).packageName);
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
MemoryUsageTest.java | 48 * apps - A list of applications to start and their corresponding result keys 50 * -e apps <app name>^<result key>|<app name>^<result key> 61 private static final String KEY_APPS = "apps"; 123 Log.e(TAG, "The apps key is incorectly formatted"); 161 Log.i(TAG, "Could not find any apps"); 286 List<RunningAppProcessInfo> apps = am.getRunningAppProcesses(); local 288 for (RunningAppProcessInfo proc : apps) {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
RootsFragment.java | 250 * @param handlerAppIntent When not null, apps capable of handling the original intent will 289 // Include apps that can handle this intent too. 298 * Adds apps capable of handling the original intent will be included in list of roots (in 303 if (VERBOSE) Log.v(TAG, "Adding handler apps for intent: " + handlerAppIntent); 309 final List<AppItem> apps = new ArrayList<>(); local 317 apps.add(app); 321 if (apps.size() > 0) { 323 result.addAll(apps);
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
GalleryUtils.java | 57 private static final String MAPS_PACKAGE_NAME = "com.google.android.apps.maps"; 240 List<ResolveInfo> apps = pm.queryIntentActivities(cameraIntent, 0); local 242 sCameraAvailable = !apps.isEmpty();
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
Utils.java | 89 * Returns the system apps currently available to a given user. 91 * <p>Calls the {@link IPackageManager} to retrieve all system apps available to a user and 95 * @param userId the id of the user to check the apps for 98 Set<String> apps = new HashSet<>(); local 108 apps.add(aInfo.packageName); 111 return apps;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
PermissionApps.java | 116 // We default to not showing system apps, so hide them from count. 133 // We default to not showing system apps, so hide them from count. 173 List<PackageInfo> apps = mCache != null ? mCache.getPackages(user.getIdentifier()) local 177 final int N = apps.size(); 179 PackageInfo app = apps.get(i);
|
/packages/apps/Settings/src/com/android/settings/applications/appops/ |
AppOpsState.java | 571 List<PackageInfo> apps; local 573 apps = new ArrayList<PackageInfo>(); 576 apps.add(pi); 582 apps = mPm.getPackagesHoldingPermissions(permsArray, 0); 584 for (int i=0; i<apps.size(); i++) { 585 PackageInfo appInfo = apps.get(i);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
AppStateNotificationBridgeTest.java | 208 ArrayList<AppEntry> apps = new ArrayList<>(); local 209 apps.add(getMockAppEntry(PKG1)); 210 when(mSession.getAllApps()).thenReturn(apps); 213 assertThat(apps.get(0).extraInfo).isNull(); 231 ArrayList<AppEntry> apps = new ArrayList<>(); local 232 apps.add(getMockAppEntry(PKG1)); 233 when(mSession.getAllApps()).thenReturn(apps); 236 assertThat(((NotificationsSentState) apps.get(0).extraInfo).sentCount).isEqualTo(7); 237 assertThat(((NotificationsSentState) apps.get(0).extraInfo).lastSent).isEqualTo(6); 238 assertThat(((NotificationsSentState) apps.get(0).extraInfo).avgSentDaily).isEqualTo(1) 265 ArrayList<AppEntry> apps = new ArrayList<>(); local 315 ArrayList<AppEntry> apps = new ArrayList<>(); local [all...] |
/system/extras/ANRdaemon/ |
ANRdaemon.cpp | 92 static const char *apps = ""; variable 426 dfs_set_property(tag, apps, true); 544 apps = optarg;
|
/frameworks/base/services/core/java/com/android/server/stats/ |
StatsCompanionService.java | 182 Slog.e(TAG, "Failed to inform statsd latest update of all apps", e); 282 List<String> apps = new ArrayList<>(); local 284 // Add in all the apps for every user/profile. 292 apps.add(pi.get(j).packageName); 296 sStatsd.informAllUidData(toIntArray(uids), toLongArray(versions), apps.toArray(new 297 String[apps.size()])); 299 Slog.d(TAG, "Sent data for " + uids.size() + " apps"); [all...] |
/development/samples/Home/src/com/example/android/home/ |
Home.java | 255 * Refreshes the favorite applications stacked over the all apps button. 489 final List<ResolveInfo> apps = manager.queryIntentActivities(mainIntent, 0); local 490 Collections.sort(apps, new ResolveInfo.DisplayNameComparator(manager)); 492 if (apps != null) { 493 final int count = apps.size(); 502 ResolveInfo info = apps.get(i); 610 public ApplicationsAdapter(Context context, ArrayList<ApplicationInfo> apps) { 611 super(context, 0, apps);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationData.java | 732 final String[] apps = sbn.getNotification().extras.getStringArray( local 734 if (apps != null && apps.length >= 1) { 735 if (!mFsc.isSystemAlertWarningNeeded(sbn.getUserId(), apps[0])) {
|