Home
last modified time | relevance | path

Searched refs:mAppList (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppWithAdminGrantedPermissionsListerTest.java85 private List<UserAppInfo> mAppList = Collections.emptyList(); field in AppWithAdminGrantedPermissionsListerTest
189 assertThat(mAppList.size()).isEqualTo(3); in verifyListInstalledApps()
190 InstalledAppListerTest.verifyListUniqueness(mAppList); in verifyListInstalledApps()
192 assertThat(InstalledAppListerTest.checkAppFound(mAppList, APP_1, MAIN_USER_ID)).isTrue(); in verifyListInstalledApps()
193 assertThat(InstalledAppListerTest.checkAppFound(mAppList, APP_2, MAIN_USER_ID)).isFalse(); in verifyListInstalledApps()
194 assertThat(InstalledAppListerTest.checkAppFound(mAppList, APP_3, MAIN_USER_ID)).isTrue(); in verifyListInstalledApps()
195 assertThat(InstalledAppListerTest.checkAppFound(mAppList, APP_4, MAIN_USER_ID)).isFalse(); in verifyListInstalledApps()
196 assertThat(InstalledAppListerTest.checkAppFound(mAppList, APP_5, MAIN_USER_ID)).isFalse(); in verifyListInstalledApps()
197 assertThat(InstalledAppListerTest.checkAppFound(mAppList, APP_6, MANAGED_PROFILE_ID)). in verifyListInstalledApps()
219 mAppList = list; in onAppListBuilt()
DApplicationFeatureProviderImplTest.java94 private List<UserAppInfo> mAppList = null; field in ApplicationFeatureProviderImplTest
133 mAppList = null; in testListPolicyInstalledApps()
134 mProvider.listPolicyInstalledApps((list) -> mAppList = list); in testListPolicyInstalledApps()
135 assertThat(mAppList).isNotNull(); in testListPolicyInstalledApps()
136 assertThat(mAppList.size()).isEqualTo(1); in testListPolicyInstalledApps()
137 assertThat(mAppList.get(0).appInfo.packageName).isEqualTo(APP_2); in testListPolicyInstalledApps()
204 mAppList = null; in testListAppsWithAdminGrantedPermissions()
206 (list) -> mAppList = list); in testListAppsWithAdminGrantedPermissions()
207 assertThat(mAppList).isNotNull(); in testListAppsWithAdminGrantedPermissions()
208 assertThat(mAppList.size()).isEqualTo(2); in testListAppsWithAdminGrantedPermissions()
[all …]
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java88 private PreferenceGroup mAppList; field in AppRestrictionsFragment
241 mAppList = getAppPreferenceGroup(); in init()
242 mAppList.setOrderingAsAdded(false); in init()
357 mAppList.removeAll(); in populateApps()
414 p.setOrder(MAX_APP_RESTRICTIONS * (mAppList.getPreferenceCount() + 2)); in populateApps()
416 mAppList.addPreference(p); in populateApps()
465 mAppList.addPreference(p); in addLocationAppRestrictionsPreference()
482 for (int i = 0; i < mAppList.getPreferenceCount(); i++) { in updateAllEntries()
483 Preference pref = mAppList.getPreference(i); in updateAllEntries()
531 mAppList.findPreference(PKG_PREFIX+packageName); in onPreferenceChange()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DAppRestrictionsFragment.java88 private PreferenceGroup mAppList; field in AppRestrictionsFragment
241 mAppList = getAppPreferenceGroup(); in init()
242 mAppList.setOrderingAsAdded(false); in init()
357 mAppList.removeAll(); in populateApps()
414 p.setOrder(MAX_APP_RESTRICTIONS * (mAppList.getPreferenceCount() + 2)); in populateApps()
416 mAppList.addPreference(p); in populateApps()
465 mAppList.addPreference(p); in addLocationAppRestrictionsPreference()
482 for (int i = 0; i < mAppList.getPreferenceCount(); i++) { in updateAllEntries()
483 Preference pref = mAppList.getPreference(i); in updateAllEntries()
531 mAppList.findPreference(PKG_PREFIX+packageName); in onPreferenceChange()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java100 private PreferenceGroup mAppList; field in AppRestrictionsFragment
288 mAppList = getAppPreferenceGroup(); in onCreate()
289 mAppList.setOrderingAsAdded(false); in onCreate()
412 mAppList.removeAll(); in populateApps()
464 p.setOrder(MAX_APP_RESTRICTIONS * (mAppList.getPreferenceCount() + 2)); in populateApps()
466 mAppList.addPreference(p); in populateApps()
515 mAppList.addPreference(p); in addLocationAppRestrictionsPreference()
546 for (int i = 0; i < mAppList.getPreferenceCount(); i++) { in updateAllEntries()
547 Preference pref = mAppList.getPreference(i); in updateAllEntries()
620 mAppList.findPreference(getKeyForPackage(packageName)); in onPreferenceChange()
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsage.java87 private PreferenceCategory mAppList; field in AppDataUsage
196 mAppList = findPreference(KEY_APP_LIST); in onCreate()
449 if (preferences != null && mAppList != null) {
451 mAppList.addPreference(preference);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DAppDataUsage.java87 private PreferenceCategory mAppList; field in AppDataUsage
196 mAppList = findPreference(KEY_APP_LIST); in onCreate()
449 if (preferences != null && mAppList != null) {
451 mAppList.addPreference(preference);