/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppLister.java | 35 public abstract class AppLister extends AsyncTask<Void, Void, List<UserAppInfo>> { 45 protected List<UserAppInfo> doInBackground(Void... params) { in doInBackground() 46 final List<UserAppInfo> result = new ArrayList<>(); in doInBackground() 55 result.add(new UserAppInfo(user, info)); in doInBackground() 63 protected void onPostExecute(List<UserAppInfo> list) { in onPostExecute() 67 protected abstract void onAppListBuilt(List<UserAppInfo> list); in onAppListBuilt()
|
D | ApplicationFeatureProviderImpl.java | 100 public List<UserAppInfo> findPersistentPreferredActivities(int userId, Intent[] intents) { in findPersistentPreferredActivities() 101 final List<UserAppInfo> preferredActivities = new ArrayList<>(); in findPersistentPreferredActivities() 102 final Set<UserAppInfo> uniqueApps = new ArraySet<>(); in findPersistentPreferredActivities() 118 UserAppInfo info = new UserAppInfo(userInfo, componentInfo.applicationInfo); in findPersistentPreferredActivities() 212 protected void onAppListBuilt(List<UserAppInfo> list) { in onAppListBuilt() 231 protected void onAppListBuilt(List<UserAppInfo> list) { in onAppListBuilt()
|
D | UserAppInfo.java | 29 public class UserAppInfo { class 33 public UserAppInfo(UserInfo mUserInfo, ApplicationInfo mAppInfo) { in UserAppInfo() method in UserAppInfo 46 final UserAppInfo that = (UserAppInfo) other; in equals()
|
D | ApplicationFeatureProvider.java | 77 List<UserAppInfo> findPersistentPreferredActivities(@UserIdInt int userId, Intent[] intents); in findPersistentPreferredActivities() 95 void onListOfAppsResult(List<UserAppInfo> result); in onListOfAppsResult()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppLister.java | 35 public abstract class AppLister extends AsyncTask<Void, Void, List<UserAppInfo>> { 45 protected List<UserAppInfo> doInBackground(Void... params) { in doInBackground() 46 final List<UserAppInfo> result = new ArrayList<>(); in doInBackground() 55 result.add(new UserAppInfo(user, info)); in doInBackground() 63 protected void onPostExecute(List<UserAppInfo> list) { in onPostExecute() 67 protected abstract void onAppListBuilt(List<UserAppInfo> list); in onAppListBuilt()
|
D | ApplicationFeatureProviderImpl.java | 100 public List<UserAppInfo> findPersistentPreferredActivities(int userId, Intent[] intents) { in findPersistentPreferredActivities() 101 final List<UserAppInfo> preferredActivities = new ArrayList<>(); in findPersistentPreferredActivities() 102 final Set<UserAppInfo> uniqueApps = new ArraySet<>(); in findPersistentPreferredActivities() 118 UserAppInfo info = new UserAppInfo(userInfo, componentInfo.applicationInfo); in findPersistentPreferredActivities() 212 protected void onAppListBuilt(List<UserAppInfo> list) { in onAppListBuilt() 231 protected void onAppListBuilt(List<UserAppInfo> list) { in onAppListBuilt()
|
D | UserAppInfo.java | 29 public class UserAppInfo { class 33 public UserAppInfo(UserInfo mUserInfo, ApplicationInfo mAppInfo) { in UserAppInfo() method in UserAppInfo 46 final UserAppInfo that = (UserAppInfo) other; in equals()
|
D | ApplicationFeatureProvider.java | 77 List<UserAppInfo> findPersistentPreferredActivities(@UserIdInt int userId, Intent[] intents); in findPersistentPreferredActivities() 103 void onListOfAppsResult(List<UserAppInfo> result); in onListOfAppsResult()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ApplicationListPreferenceControllerTest.java | 43 import com.android.settings.applications.UserAppInfo; 129 final List<UserAppInfo> apps = new ArrayList<>(); in buildApplicationList() 131 apps.add(new UserAppInfo(user, buildInfo(MAIN_USER_APP_UID, APP_1, 0, 0))); in buildApplicationList() 132 apps.add(new UserAppInfo(user, buildInfo(MAIN_USER_APP_UID, APP_2, 0, 0))); in buildApplicationList() 133 apps.add(new UserAppInfo(user, buildInfo(MANAGED_PROFILE_APP_UID, APP_3, 0, 0))); in buildApplicationList()
|
D | EnterpriseSetDefaultAppsListPreferenceControllerTest.java | 44 import com.android.settings.applications.UserAppInfo; 120 .thenReturn(Collections.singletonList(new UserAppInfo(user, appInfo1))); in testMultipleAppsForOneTypeOfDefault() 124 Arrays.asList(new UserAppInfo(user, appInfo1), in testMultipleAppsForOneTypeOfDefault() 125 new UserAppInfo(user, appInfo2))); in testMultipleAppsForOneTypeOfDefault()
|
D | ApplicationListFragmentTest.java | 35 import com.android.settings.applications.UserAppInfo; 121 final List<UserAppInfo> apps = new ArrayList<>(); in buildApplicationList() 122 apps.add(new UserAppInfo(user, buildInfo(USER_APP_UID, APP, 0, 0))); in buildApplicationList()
|
D | EnterpriseSetDefaultAppsPreferenceControllerTest.java | 37 import com.android.settings.applications.UserAppInfo; 75 final List<UserAppInfo> apps = new ArrayList<>(number); in setEnterpriseSetDefaultApps() 76 apps.add(new UserAppInfo(new UserInfo(i, "user." + i, UserInfo.FLAG_ADMIN), appInfo)); in setEnterpriseSetDefaultApps()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | InstalledAppListerTest.java | 76 private List<UserAppInfo> mInstalledAppList = Collections.emptyList(); 176 public static boolean checkAppFound(List<UserAppInfo> mInstalledAppList, String appId, in checkAppFound() 178 for (UserAppInfo info : mInstalledAppList) { in checkAppFound() 186 public static void verifyListUniqueness(List<UserAppInfo> list) { in verifyListUniqueness() 196 protected void onAppListBuilt(List<UserAppInfo> list) { in onAppListBuilt()
|
D | ApplicationFeatureProviderImplTest.java | 94 private List<UserAppInfo> mAppList = null; 244 final List<UserAppInfo> expectedMainUserActivities = new ArrayList<>(); in testFindPersistentPreferredActivities() 245 expectedMainUserActivities.add(new UserAppInfo(mainUser, in testFindPersistentPreferredActivities() 247 final List<UserAppInfo> expectedManagedUserActivities = new ArrayList<>(); in testFindPersistentPreferredActivities() 248 expectedManagedUserActivities.add(new UserAppInfo(managedUser, in testFindPersistentPreferredActivities() 250 expectedManagedUserActivities.add(new UserAppInfo(managedUser, in testFindPersistentPreferredActivities()
|
D | AppWithAdminGrantedPermissionsListerTest.java | 85 private List<UserAppInfo> mAppList = Collections.emptyList(); 218 protected void onAppListBuilt(List<UserAppInfo> list) { in onAppListBuilt()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | ApplicationListPreferenceController.java | 28 import com.android.settings.applications.UserAppInfo; 63 public void onListOfAppsResult(List<UserAppInfo> result) { in onListOfAppsResult() 71 final UserAppInfo item = result.get(position); in onListOfAppsResult()
|
D | EnterpriseSetDefaultAppsListPreferenceController.java | 34 import com.android.settings.applications.UserAppInfo; 85 List<UserAppInfo> apps = mApplicationFeatureProvider. in buildAppList() 98 for (UserAppInfo userAppInfo : apps) { in buildAppList()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/ |
D | ApplicationListPreferenceController.java | 28 import com.android.car.developeroptions.applications.UserAppInfo; 63 public void onListOfAppsResult(List<UserAppInfo> result) { in onListOfAppsResult() 71 final UserAppInfo item = result.get(position); in onListOfAppsResult()
|
D | EnterpriseSetDefaultAppsListPreferenceController.java | 34 import com.android.car.developeroptions.applications.UserAppInfo; 85 List<UserAppInfo> apps = mApplicationFeatureProvider. in buildAppList() 98 for (UserAppInfo userAppInfo : apps) { in buildAppList()
|