Home
last modified time | relevance | path

Searched refs:apps (Results 1 – 25 of 147) sorted by relevance

123456

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/
DOverlayPackagesProviderTest.java206 private void setRequiredAppsManagedDevice(String... apps) { in setRequiredAppsManagedDevice() argument
208 apps); in setRequiredAppsManagedDevice()
211 private void setVendorRequiredAppsManagedDevice(String... apps) { in setVendorRequiredAppsManagedDevice() argument
213 apps); in setVendorRequiredAppsManagedDevice()
216 private void setDisallowedAppsManagedDevice(String... apps) { in setDisallowedAppsManagedDevice() argument
218 apps); in setDisallowedAppsManagedDevice()
221 private void setVendorDisallowedAppsManagedDevice(String... apps) { in setVendorDisallowedAppsManagedDevice() argument
224 apps); in setVendorDisallowedAppsManagedDevice()
227 private void setRequiredAppsManagedProfile(String... apps) { in setRequiredAppsManagedProfile() argument
229 apps); in setRequiredAppsManagedProfile()
[all …]
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterpriseSetDefaultAppsListPreferenceController.java82 List<UserAppInfo> apps = mApplicationFeatureProvider. in buildAppList() local
85 if (apps.isEmpty()) { in buildAppList()
90 mUsers.add(apps.get(0).userInfo); in buildAppList()
95 for (UserAppInfo userAppInfo : apps) { in buildAppList()
139 EnumMap<EnterpriseDefaultApps, List<ApplicationInfo>> apps) { in createPreferences() argument
144 final List<ApplicationInfo> appsForCategory = apps.get(typeOfDefault); in createPreferences()
157 private CharSequence buildSummaryString(Context context, List<ApplicationInfo> apps) { in buildSummaryString() argument
158 final CharSequence[] appNames = new String[apps.size()]; in buildSummaryString()
159 for (int i = 0; i < apps.size(); i++) { in buildSummaryString()
160 appNames[i] = apps.get(i).loadLabel(mPm); in buildSummaryString()
[all …]
/packages/apps/Tag/src/com/android/apps/tag/message/
DNdefMessageParser.java17 package com.android.apps.tag.message;
19 import com.android.apps.tag.record.ImageRecord;
20 import com.android.apps.tag.record.MimeRecord;
21 import com.android.apps.tag.record.ParsedNdefRecord;
22 import com.android.apps.tag.record.SmartPoster;
23 import com.android.apps.tag.record.TextRecord;
24 import com.android.apps.tag.record.UnknownRecord;
25 import com.android.apps.tag.record.UriRecord;
26 import com.android.apps.tag.record.VCardRecord;
DParsedNdefMessage.java17 package com.android.apps.tag.message;
19 import com.android.apps.tag.R;
20 import com.android.apps.tag.record.ParsedNdefRecord;
21 import com.android.apps.tag.record.SmartPoster;
22 import com.android.apps.tag.record.UriRecord;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DManageApplications.java17 package com.android.tv.settings.device.apps.specialaccess;
56 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) {
57 updateAppList(apps);
116 ArrayList<ApplicationsState.AppEntry> apps = mAppSession.rebuild(filter, getComparator()); in updateAppList() local
117 if (apps != null) { in updateAppList()
118 updateAppList(apps); in updateAppList()
122 private void updateAppList(ArrayList<ApplicationsState.AppEntry> apps) { in updateAppList() argument
126 final List<Preference> newList = new ArrayList<>(apps.size() + 1); in updateAppList()
127 for (final ApplicationsState.AppEntry entry : apps) { in updateAppList()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppsFragment.java17 package com.android.tv.settings.device.apps;
115 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { in onActivityCreated()
116 updateAppList(mSystemPreferenceGroup, apps); in onActivityCreated()
128 public void onRebuildComplete(ArrayList<ApplicationsState.AppEntry> apps) { in onActivityCreated()
129 updateAppList(mDownloadedPreferenceGroup, apps); in onActivityCreated()
186 ArrayList<ApplicationsState.AppEntry> apps = in rebuildSystem() local
188 if (apps != null) { in rebuildSystem()
189 updateAppList(mSystemPreferenceGroup, apps); in rebuildSystem()
194 ArrayList<ApplicationsState.AppEntry> apps = in rebuildDownloaded() local
196 if (apps != null) { in rebuildDownloaded()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java135 public void setPredictedApps(List<ComponentKey> apps) { in setPredictedApps() argument
136 mApps.setPredictedApps(apps); in setPredictedApps()
142 public void setApps(List<AppInfo> apps) { in setApps() argument
143 mApps.setApps(apps); in setApps()
149 public void addApps(List<AppInfo> apps) { in addApps() argument
150 mApps.addApps(apps); in addApps()
157 public void updateApps(List<AppInfo> apps) { in updateApps() argument
158 mApps.updateApps(apps); in updateApps()
165 public void removeApps(List<AppInfo> apps) { in removeApps() argument
166 mApps.removeApps(apps); in removeApps()
[all …]
DAlphabeticalAppsList.java305 public void setPredictedApps(List<ComponentKey> apps) { in setPredictedApps() argument
307 mPredictedAppComponents.addAll(apps); in setPredictedApps()
314 public void setApps(List<AppInfo> apps) { in setApps() argument
316 addApps(apps); in setApps()
322 public void addApps(List<AppInfo> apps) { in addApps() argument
323 updateApps(apps); in addApps()
329 public void updateApps(List<AppInfo> apps) { in updateApps() argument
330 for (AppInfo app : apps) { in updateApps()
339 public void removeApps(List<AppInfo> apps) { in removeApps() argument
340 for (AppInfo app : apps) { in removeApps()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java252 StorageItemPreference apps = new StorageItemPreference(mContext); in testMeasurementCompletedUpdatesPreferences() local
265 eq(StorageItemPreferenceController.OTHER_APPS_KEY))).thenReturn(apps); in testMeasurementCompletedUpdatesPreferences()
293 assertThat(apps.getSummary().toString()).isEqualTo("0.09GB"); in testMeasurementCompletedUpdatesPreferences()
307 StorageItemPreference apps = spy(new StorageItemPreference(mContext)); in settingUserIdAppliesNewIcons() local
308 apps.setIcon(R.drawable.ic_photo_library_vd_theme_24); in settingUserIdAppliesNewIcons()
323 eq(StorageItemPreferenceController.OTHER_APPS_KEY))).thenReturn(apps); in settingUserIdAppliesNewIcons()
336 verify(apps, times(2)).setIcon(any(Drawable.class)); in settingUserIdAppliesNewIcons()
346 StorageItemPreference apps = new StorageItemPreference(mContext); in displayPreference_dontHideFilePreferenceWhenEmulatedInternalStorageUsed() local
356 .thenReturn(apps); in displayPreference_dontHideFilePreferenceWhenEmulatedInternalStorageUsed()
375 StorageItemPreference apps = new StorageItemPreference(mContext); in displayPreference_hideFilePreferenceWhenEmulatedStorageUnreadable() local
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsCategory.java151 @Override public void deliverResult(List<AppOpEntry> apps) { in deliverResult() argument
155 if (apps != null) { in deliverResult()
156 onReleaseResources(apps); in deliverResult()
159 List<AppOpEntry> oldApps = apps; in deliverResult()
160 mApps = apps; in deliverResult()
165 super.deliverResult(apps); in deliverResult()
217 @Override public void onCanceled(List<AppOpEntry> apps) { in onCanceled() argument
218 super.onCanceled(apps); in onCanceled()
222 onReleaseResources(apps); in onCanceled()
252 protected void onReleaseResources(List<AppOpEntry> apps) { in onReleaseResources() argument
DManageDomainUrls.java105 public void onRebuildComplete(ArrayList<AppEntry> apps) { in onRebuildComplete() argument
158 rebuildAppList(mDomainAppList, apps); in onRebuildComplete()
174 final ArrayList<AppEntry> apps = mSession.rebuild( in rebuild() local
176 if (apps != null) { in rebuild()
177 onRebuildComplete(apps); in rebuild()
181 private void rebuildAppList(PreferenceGroup group, ArrayList<AppEntry> apps) { in rebuildAppList() argument
183 final int N = apps.size(); in rebuildAppList()
185 AppEntry entry = apps.get(i); in rebuildAppList()
DPremiumSmsAccess.java115 private void updatePrefs(ArrayList<AppEntry> apps) { in updatePrefs() argument
116 if (apps == null) return; in updatePrefs()
123 for (int i = 0; i < apps.size(); i++) { in updatePrefs()
125 new PremiumSmsPreference(apps.get(i), getPrefContext()); in updatePrefs()
129 if (apps.size() != 0) { in updatePrefs()
151 public void onRebuildComplete(ArrayList<AppEntry> apps) { in onRebuildComplete() argument
152 updatePrefs(apps); in onRebuildComplete()
DAppStateBaseBridge.java84 public void onRebuildComplete(ArrayList<AppEntry> apps) { in onRebuildComplete() argument
140 ArrayList<AppEntry> apps = mAppSession.getAllApps(); in handleMessage() local
141 final int N = apps.size(); in handleMessage()
145 AppEntry app = apps.get(i); in handleMessage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DApplicationListPreferenceControllerTest.java98 ArgumentCaptor<Preference> apps = ArgumentCaptor.forClass(Preference.class); in checkNumberAndTitlesOfApps() local
99 verify(mScreen, times(3)).addPreference(apps.capture()); in checkNumberAndTitlesOfApps()
103 for (Preference p : apps.getAllValues()) { in checkNumberAndTitlesOfApps()
124 final List<UserAppInfo> apps = new ArrayList<>(); in buildApplicationList() local
126 apps.add(new UserAppInfo(user, buildInfo(MAIN_USER_APP_UID, APP_1, 0, 0))); in buildApplicationList()
127 apps.add(new UserAppInfo(user, buildInfo(MAIN_USER_APP_UID, APP_2, 0, 0))); in buildApplicationList()
128 apps.add(new UserAppInfo(user, buildInfo(MANAGED_PROFILE_APP_UID, APP_3, 0, 0))); in buildApplicationList()
129 callback.onListOfAppsResult(apps); in buildApplicationList()
DEnterpriseSetDefaultAppsListPreferenceControllerTest.java132 ArgumentCaptor<Preference> apps = ArgumentCaptor.forClass(Preference.class); in testMultipleAppsForOneTypeOfDefault() local
133 verify(mScreen, times(2)).addPreference(apps.capture()); in testMultipleAppsForOneTypeOfDefault()
135 assertThat(apps.getAllValues().get(0).getTitle()).isEqualTo(BROWSER_TITLE); in testMultipleAppsForOneTypeOfDefault()
136 assertThat(apps.getAllValues().get(0).getSummary()).isEqualTo(APP_1); in testMultipleAppsForOneTypeOfDefault()
138 assertThat(apps.getAllValues().get(1).getTitle()).isEqualTo(PHONE_TITLE); in testMultipleAppsForOneTypeOfDefault()
139 assertThat(apps.getAllValues().get(1).getSummary()).isEqualTo(APP_1 + ", " + APP_2); in testMultipleAppsForOneTypeOfDefault()
/packages/apps/Car/libs/car-apps-common/
Dcar-apps-common.mk47 ifeq (,$(findstring com.android.car.apps.common, $(LOCAL_STATIC_JAVA_LIBRARIES)))
49 packages/apps/Car/libs/car-apps-common/res
50 LOCAL_AAPT_FLAGS += --extra-packages com.android.car.apps.common
51 LOCAL_STATIC_JAVA_LIBRARIES += car-apps-common
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppDeletionTypeTest.java109 List<AppsAsyncLoader.PackageInfo> apps = new ArrayList<>(); in testLoadingState_completeEmptyOnNothingFound() local
110 mDeletion.onLoadFinished(null, apps); in testLoadingState_completeEmptyOnNothingFound()
117 List<AppsAsyncLoader.PackageInfo> apps = new ArrayList<>(); in testLoadingState_completeOnDeletableContentFound() local
118 apps.add( in testLoadingState_completeOnDeletableContentFound()
127 mDeletion.onLoadFinished(null, apps); in testLoadingState_completeOnDeletableContentFound()
/packages/apps/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccess.java142 ArrayList<AppEntry> apps = mSession.rebuild(mFilter, ApplicationsState.ALPHA_COMPARATOR); in rebuild() local
143 if (apps != null) { in rebuild()
144 onRebuildComplete(apps); in rebuild()
159 public void onRebuildComplete(ArrayList<AppEntry> apps) { in onRebuildComplete() argument
162 final int N = apps.size(); in onRebuildComplete()
164 AppEntry entry = apps.get(i); in onRebuildComplete()
/packages/apps/Car/Dialer/
DAndroid.mk23 include packages/apps/Car/libs/car-stream-ui-lib/car-stream-ui-lib.mk
24 include packages/apps/Car/libs/car-apps-common/car-apps-common.mk
/packages/apps/Car/Media/
DAndroid.mk33 include packages/apps/Car/libs/car-stream-ui-lib/car-stream-ui-lib.mk
34 include packages/apps/Car/libs/car-apps-common/car-apps-common.mk
/packages/apps/Launcher2/src/com/android/launcher2/
DAllAppsList.java176 private static boolean findActivity(List<LauncherActivityInfo> apps, ComponentName component, in findActivity() argument
178 for (LauncherActivityInfo info : apps) { in findActivity()
191 private static boolean findActivity(ArrayList<ApplicationInfo> apps, ComponentName component, in findActivity() argument
193 final int N = apps.size(); in findActivity()
195 final ApplicationInfo info = apps.get(i); in findActivity()
/packages/apps/Launcher3/src/com/android/launcher3/
DAllAppsList.java200 private static boolean findActivity(List<LauncherActivityInfo> apps, in findActivity() argument
202 for (LauncherActivityInfo info : apps) { in findActivity()
213 private static boolean findActivity(ArrayList<AppInfo> apps, ComponentName component, in findActivity() argument
215 final int N = apps.size(); in findActivity()
217 final AppInfo info = apps.get(i); in findActivity()
/packages/apps/Car/Stream/
DAndroid.mk22 include packages/apps/Car/libs/car-stream-ui-lib/car-stream-ui-lib.mk
23 include packages/apps/Car/libs/car-apps-common/car-apps-common.mk
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppStateBaseBridge.java84 public void onRebuildComplete(ArrayList<AppEntry> apps) { in onRebuildComplete() argument
140 ArrayList<AppEntry> apps = mAppSession.getAllApps(); in handleMessage() local
141 final int N = apps.size(); in handleMessage()
145 AppEntry app = apps.get(i); in handleMessage()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DManagedProfileHeuristic.java100 public void processUserApps(List<LauncherActivityInfo> apps) { in processUserApps() argument
102 new ManagedProfilePackageHandler().processUserApps(apps, mUser); in processUserApps()
112 List<LauncherActivityInstallInfo> apps, UserHandle user, boolean userAppsExisted) { in onLauncherAppsAdded() argument
116 int count = apps.size(); in onLauncherAppsAdded()
123 LauncherActivityInstallInfo info = apps.get(i); in onLauncherAppsAdded()

123456