Home
last modified time | relevance | path

Searched refs:mAppList (Results 1 – 5 of 5) 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.java95 private List<UserAppInfo> mAppList = null; field in ApplicationFeatureProviderImplTest
134 mAppList = null; in testListPolicyInstalledApps()
135 mProvider.listPolicyInstalledApps((list) -> mAppList = list); in testListPolicyInstalledApps()
136 assertThat(mAppList).isNotNull(); in testListPolicyInstalledApps()
137 assertThat(mAppList.size()).isEqualTo(1); in testListPolicyInstalledApps()
138 assertThat(mAppList.get(0).appInfo.packageName).isEqualTo(APP_2); in testListPolicyInstalledApps()
205 mAppList = null; in testListAppsWithAdminGrantedPermissions()
207 (list) -> mAppList = list); in testListAppsWithAdminGrantedPermissions()
208 assertThat(mAppList).isNotNull(); in testListAppsWithAdminGrantedPermissions()
209 assertThat(mAppList.size()).isEqualTo(2); in testListAppsWithAdminGrantedPermissions()
[all …]
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java88 private PreferenceGroup mAppList; field in AppRestrictionsFragment
247 mAppList = getAppPreferenceGroup(); in init()
248 mAppList.setOrderingAsAdded(false); in init()
363 mAppList.removeAll(); in populateApps()
420 p.setOrder(MAX_APP_RESTRICTIONS * (mAppList.getPreferenceCount() + 2)); in populateApps()
422 mAppList.addPreference(p); in populateApps()
471 mAppList.addPreference(p); in addLocationAppRestrictionsPreference()
488 for (int i = 0; i < mAppList.getPreferenceCount(); i++) { in updateAllEntries()
489 Preference pref = mAppList.getPreference(i); in updateAllEntries()
537 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);