/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ContextMap.java | 172 private List<App> mApps = new ArrayList<App>(); field in ContextMap 190 synchronized (mApps) { in add() 197 mApps.add(app); in add() 207 synchronized (mApps) { in remove() 208 Iterator<App> i = mApps.iterator(); in remove() 225 synchronized (mApps) { in remove() 226 Iterator<App> i = mApps.iterator(); in remove() 242 synchronized (mApps) { in getAllAppsIds() 243 Iterator<App> i = mApps.iterator(); in getAllAppsIds() 297 synchronized (mApps) { in getById() [all …]
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppDeletionType.java | 54 private List<PackageInfo> mApps; field in AppDeletionType 98 if (mApps == null) { in clearFreeableData() 103 for (PackageInfo app : mApps) { in clearFreeableData() 154 if (mApps != null) { in getTotalAppsFreeableSpace() 155 for (int i = 0, size = mApps.size(); i < size; i++) { in getTotalAppsFreeableSpace() 156 final PackageInfo app = mApps.get(i); in getTotalAppsFreeableSpace() 190 mApps.size(), in maybeNotifyListener() 214 return mApps.size(); in getContentCount() 239 mApps = data; in onLoadFinished() 242 mAppListener.onAppRebuild(mApps); in onLoadFinished()
|
D | DeletionHelperSettings.java | 69 private AppDeletionPreferenceGroup mApps; field in DeletionHelperSettings 95 mApps = (AppDeletionPreferenceGroup) findPreference(APPS_KEY); in onCreatePreferences() 111 mAppBackend.registerView(mApps); in onCreatePreferences() 113 mApps.setDeletionType(mAppBackend); in onCreatePreferences() 206 screen.removePreference(mApps); in setupEmptyState()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsGridAdapter.java | 101 record.setItemCount(mApps.getNumFilteredApps()); in onInitializeAccessibilityEvent() 112 getRowsNotForAccessibility(mApps.getAdapterItems().size() - 1); in getRowCountForAccessibility() 140 List<AdapterItem> items = mApps.getAdapterItems(); in getRowsNotForAccessibility() 141 adapterPosition = Math.max(adapterPosition, mApps.getAdapterItems().size() - 1); in getRowsNotForAccessibility() 164 if (isIconViewType(mApps.getAdapterItems().get(position).viewType)) { in getSpanSize() 175 private final AlphabeticalAppsList mApps; field in AllAppsGridAdapter 195 mApps = apps; in AllAppsGridAdapter() 287 AppInfo info = mApps.getAdapterItems().get(position).appInfo; in onBindViewHolder() 295 emptyViewText.setGravity(mApps.hasNoFilteredResults() ? Gravity.CENTER : in onBindViewHolder() 320 return mApps.getAdapterItems().size(); in getItemCount() [all …]
|
D | AllAppsRecyclerView.java | 55 private AlphabeticalAppsList mApps; field in AllAppsRecyclerView 95 mApps = apps; in setApps() 99 return mApps; in getApps() 189 if (mApps.hasNoFilteredResults()) { in onSearchResultsChanged() 219 int rowCount = mApps.getNumAppRows(); in scrollToPositionAtProgress() 226 mApps.getFastScrollerSections(); in scrollToPositionAtProgress() 277 if (mApps == null) { in onUpdateScrollbar() 280 List<AlphabeticalAppsList.AdapterItem> items = mApps.getAdapterItems(); in onUpdateScrollbar() 348 return !mApps.hasFilter(); in supportsFastScrolling() 354 List<AlphabeticalAppsList.AdapterItem> items = mApps.getAdapterItems(); in getCurrentScrollY() [all …]
|
D | AlphabeticalAppsList.java | 122 private final List<AppInfo> mApps = new ArrayList<>(); field in AlphabeticalAppsList 167 return mApps; in getApps() 231 mApps.clear(); in onAppsUpdated() 235 mApps.add(app); in onAppsUpdated() 239 Collections.sort(mApps, mAppNameComparator); in onAppsUpdated() 249 for (AppInfo info : mApps) { in onAppsUpdated() 263 mApps.clear(); in onAppsUpdated() 265 mApps.addAll(entry.getValue()); in onAppsUpdated() 387 return mApps; in getFiltersAppInfos()
|
D | AllAppsStore.java | 51 private AppInfo[] mApps = EMPTY_ARRAY; field in AllAppsStore 61 return mApps; in getApps() 68 mApps = apps; in setApps() 85 int index = Arrays.binarySearch(mApps, mTempInfo, COMPONENT_KEY_COMPARATOR); in getApp() 86 return index < 0 ? null : mApps[index]; in getApp()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | AppGridAdapter.java | 41 private List<AppMetaData> mApps; field in AppGridAdapter 64 mApps = apps; in setAllApps() 105 AppMetaData app = mApps.get(index); in onBindViewHolder() 115 return (mApps == null ? 0 : mApps.size()) + (hasRecentlyUsedApps() ? 1 : 0); in getItemCount() 123 if (mApps != null) { in sortAllApps() 124 Collections.sort(mApps, AppLauncherUtils.ALPHABETICAL_COMPARATOR); in sortAllApps()
|
/packages/apps/Settings/src/com/android/settings/applications/appops/ |
D | AppOpsCategory.java | 119 List<AppOpEntry> mApps; field in AppOpsCategory.AppListLoader 146 mApps = apps; in deliverResult() 170 if (mApps != null) { in onStartLoading() 173 deliverResult(mApps); in onStartLoading() 185 if (takeContentChanged() || mApps == null || configChange) { in onStartLoading() 222 if (mApps != null) { in onReset() 223 onReleaseResources(mApps); in onReset() 224 mApps = null; in onReset()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appops/ |
D | AppOpsCategory.java | 119 List<AppOpEntry> mApps; field in AppOpsCategory.AppListLoader 146 mApps = apps; in deliverResult() 170 if (mApps != null) { in onStartLoading() 173 deliverResult(mApps); in onStartLoading() 185 if (takeContentChanged() || mApps == null || configChange) { in onStartLoading() 222 if (mApps != null) { in onReset() 223 onReleaseResources(mApps); in onReset() 224 mApps = null; in onReset()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppStateUsageStatsBridgeTest.java | 66 private ArrayList<ApplicationsState.AppEntry> mApps; field in AppStateUsageStatsBridgeTest 78 mApps = new ArrayList<>(); in setUp() 79 when(mSession.getAllApps()).thenReturn(mApps); in setUp() 312 mApps.add(clearable); in test_multipleApps_processCorrectly() 316 mApps.add(tooNewtoDelete); in test_multipleApps_processCorrectly() 321 mApps.add(systemApp); in test_multipleApps_processCorrectly() 326 mApps.add(persistentApp); in test_multipleApps_processCorrectly() 341 mApps.add(clearable); in test_noThresholdFilter_ignoresUsageForFiltering() 345 mApps.add(tooNewtoDelete); in test_noThresholdFilter_ignoresUsageForFiltering() 350 mApps.add(systemApp); in test_noThresholdFilter_ignoresUsageForFiltering() [all …]
|
D | AppDeletionPreferenceGroupTest.java | 44 private List<AppsAsyncLoader.PackageInfo> mApps; field in AppDeletionPreferenceGroupTest 50 mApps = new ArrayList<>(); in setUp() 51 mApps.add(mPackage1); in setUp() 61 mGroup.onAppRebuild(mApps); in addsPreferenceToScreen_onNoThreshold() 71 mGroup.onAppRebuild(mApps); in addsPreferenceToScreenWithHighOrder_onNoThreshold()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceController.java | 59 private List<EnumMap<EnterpriseDefaultApps, List<ApplicationInfo>>> mApps = field in EnterpriseSetDefaultAppsListPreferenceController 79 mApps = new ArrayList<>(); in buildAppList() 95 mApps.add(userMap); in buildAppList() 124 createPreferences(prefContext, screen, mApps.get(0)); in updateUi() 136 createPreferences(prefContext, category, mApps.get(i)); in updateUi()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceController.java | 59 private List<EnumMap<EnterpriseDefaultApps, List<ApplicationInfo>>> mApps = field in EnterpriseSetDefaultAppsListPreferenceController 79 mApps = new ArrayList<>(); in buildAppList() 95 mApps.add(userMap); in buildAppList() 124 createPreferences(prefContext, screen, mApps.get(0)); in updateUi() 136 createPreferences(prefContext, category, mApps.get(i)); in updateUi()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/ |
D | AppsSearchContainerLayout.java | 62 private AlphabeticalAppsList mApps; field in AppsSearchContainerLayout 135 mApps = appsView.getApps(); in initialize() 138 new DefaultAppSearchAlgorithm(mApps.getApps()), this, mLauncher, this); in initialize() 173 mApps.setOrderedFilter(apps); in onSearchResult() 181 if (mApps.setOrderedFilter(null)) { in clearSearchResult()
|
D | DefaultAppSearchAlgorithm.java | 32 private final List<AppInfo> mApps; field in DefaultAppSearchAlgorithm 36 mApps = apps; in DefaultAppSearchAlgorithm() 66 for (AppInfo info : mApps) { in getTitleMatchResult()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageList.java | 120 private PreferenceGroup mApps; field in DataUsageList 142 mApps = findPreference(KEY_APPS_GROUP); in onCreate() 346 mApps.removeAll(); in bindStats() 436 mApps.addPreference(preference); in bindStats() 566 if ((mApps.getPreferenceCount() != 0) != 568 if (mApps.getPreferenceCount() != 0) { 570 getPreferenceScreen().addPreference(mApps);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageList.java | 119 private PreferenceGroup mApps; field in DataUsageList 141 mApps = findPreference(KEY_APPS_GROUP); in onCreate() 321 mApps.removeAll(); in bindStats() 411 mApps.addPreference(preference); in bindStats() 539 if ((mApps.getPreferenceCount() != 0) != 541 if (mApps.getPreferenceCount() != 0) { 543 getPreferenceScreen().addPreference(mApps);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RecentNotifyingAppsPreferenceController.java | 84 List<NotifyingApp> mApps; field in RecentNotifyingAppsPreferenceController 162 mApps = new ArrayList<>(); in reloadData() 196 mApps.addAll(aggregatedStats.values()); in reloadData() 294 Collections.sort(mApps); in getDisplayableRecentAppList() 297 for (NotifyingApp app : mApps) { in getDisplayableRecentAppList()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | RecentNotifyingAppsPreferenceControllerTest.java | 321 assertThat(mController.mApps.size()).isEqualTo(2); in reloadData() 324 for (NotifyingApp notifyingApp : mController.mApps) { in reloadData()
|