Home
last modified time | relevance | path

Searched refs:mApps (Results 1 – 20 of 20) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchAppConsentDao.java61 @Document.StringProperty private List<String> mApps; field in AppSearchAppConsentDao
87 this.mApps = apps; in AppSearchAppConsentDao()
132 return mApps; in getApps()
137 mApps = apps; in setApps()
162 + (mApps == null ? "null" : Arrays.toString(mApps.toArray())); in toString()
167 return Objects.hash(mId, mUserId, mNamespace, mApps, mConsentType); in hashCode()
179 && (Objects.equals(this.mApps, obj.mApps)); in equals()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppDeletionType.java54 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()
DDeletionHelperSettings.java69 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/
DBaseAllAppsAdapter.java166 protected final AlphabeticalAppsList<T> mApps; field in BaseAllAppsAdapter
178 mApps = apps; in BaseAllAppsAdapter()
262 AdapterItem adapterItem = mApps.getAdapterItems().get(position); in onBindViewHolder()
267 PrivateProfileManager privateProfileManager = mApps.getPrivateProfileManager(); in onBindViewHolder()
293 AppInfo info = mApps.getAdapterItems().get(position).itemInfo; in onBindViewHolder()
303 mApps.getPrivateProfileManager().bindPrivateSpaceHeaderViewElements(psHeaderLayout); in onBindViewHolder()
304 AdapterItem adapterItem = mApps.getAdapterItems().get(position); in onBindViewHolder()
306 if (mApps.getPrivateProfileManager().getCurrentState() == STATE_DISABLED) { in onBindViewHolder()
314 adapterItem = mApps.getAdapterItems().get(position); in onBindViewHolder()
315 adapterItem.decorationInfo = mApps.getPrivateProfileManager().getCurrentState() in onBindViewHolder()
[all …]
DAllAppsStore.java65 private @NonNull AppInfo[] mApps = EMPTY_ARRAY; field in AllAppsStore
78 return mApps; in getApps()
105 mApps = apps == null ? EMPTY_ARRAY : apps; in setApps()
157 int index = Arrays.binarySearch(mApps, mTempInfo, comparator); in getApp()
158 return index < 0 ? null : mApps[index]; in getApp()
261 writer.println(prefix + "\tAllAppsStore Apps[] size: " + mApps.length); in dump()
262 for (int i = 0; i < mApps.length; i++) { in dump()
264 mApps[i].componentName.getPackageName())); in dump()
DAllAppsRecyclerView.java70 protected AlphabeticalAppsList<?> mApps; field in AllAppsRecyclerView
95 mApps = apps; in setApps()
99 return mApps; in getApps()
184 int rowCount = mApps.getNumAppRows(); in scrollToPositionAtProgress()
191 mApps.getFastScrollerSections(); in scrollToPositionAtProgress()
223 if (mApps == null) { in onUpdateScrollbar()
226 List<AllAppsGridAdapter.AdapterItem> items = mApps.getAdapterItems(); in onUpdateScrollbar()
DAllAppsGridAdapter.java113 record.setItemCount(mApps.getNumFilteredApps()); in onInitializeAccessibilityEvent()
124 getRowsNotForAccessibility(mApps.getAdapterItems().size() - 1); in getRowCountForAccessibility()
152 List<AdapterItem> items = mApps.getAdapterItems(); in getRowsNotForAccessibility()
173 AllAppsGridAdapter.AdapterItem item = mApps.getAdapterItems().get(position); in incrementTotalHeight()
206 List<AdapterItem> items = mApps.getAdapterItems(); in getSpanSize()
DAlphabeticalAppsList.java85 private final List<AppInfo> mApps = new ArrayList<>(); field in AlphabeticalAppsList
224 mApps.clear(); in onAppsUpdated()
256 appSteam.forEachOrdered(mApps::add); in onAppsUpdated()
293 position = addAppsWithSections(mApps, position); in updateAdapterItems()
/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/
DLauncherViewModelTest.java56 private List<AppMetaData> mApps; field in LauncherViewModelTest
70 mApps = new ArrayList<>(); in setUp()
71 mApps.add(app1); in setUp()
72 mApps.add(app2); in setUp()
73 mApps.add(app3); in setUp()
84 when(mLauncherAppsInfo.getLaunchableComponentsList()).thenReturn(mApps); in setUp()
138 mLauncherModel.setAppPosition(0, mApps.get(2)); in loadAppsOrderFromFile_first_existsOrderFile()
144 assertEquals("C", mApps.get(2).getPackageName()); in loadAppsOrderFromFile_first_existsOrderFile()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppDeletionPreferenceGroupTest.java44 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()
DAppStateUsageStatsBridgeTest.java66 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 …]
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/viewmodels/
DAppsViewModel.java51 private final MutableLiveData<ImmutableList<App>> mApps; field in AppsViewModel
69 mApps = new MutableLiveData<>(getAppsFromConsentManager()); in AppsViewModel()
82 mApps = new MutableLiveData<>(getAppsFromConsentManager()); in AppsViewModel()
93 return mApps; in getApps()
121 mApps.postValue(getAppsFromConsentManager()); in refresh()
128 mApps.postValue(getAppsFromConsentManager()); in resetApps()
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsCategory.java119 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/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DContextMap.java186 private List<App> mApps = new ArrayList<App>(); field in ContextMap
235 mApps.add(app); in add()
262 mApps.add(app); in add()
271 Iterator<App> i = mApps.iterator(); in remove()
288 Iterator<App> i = mApps.iterator(); in remove()
308 for (App entry : mApps) { in getAllAppsIds()
353 for (App app : mApps) { in getAppByPredicate()
620 for (App entry : mApps) { in clear()
626 mApps.clear(); in clear()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterpriseSetDefaultAppsListPreferenceController.java64 private List<EnumMap<EnterpriseDefaultApps, List<ApplicationInfo>>> mApps = field in EnterpriseSetDefaultAppsListPreferenceController
84 mApps = new ArrayList<>(); in buildAppList()
100 mApps.add(userMap); in buildAppList()
129 createPreferences(prefContext, screen, mApps.get(0)); in updateUi()
149 createPreferences(prefContext, category, mApps.get(i)); in updateUi()
/packages/apps/Car/Settings/src/com/android/car/settings/notifications/
DRecentNotificationsAppsPreferenceController.java65 private List<NotifyingApp> mApps; field in RecentNotificationsAppsPreferenceController
154 mApps = new ArrayList<>(); in reloadData()
155 mApps.addAll(aggregatedStats.values()); in reloadData()
160 Collections.sort(mApps); in getDisplayableRecentAppList()
163 for (NotifyingApp app : mApps) { in getDisplayableRecentAppList()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/
DEnterpriseSetDefaultAppsListPreferenceController.java68 private List<EnumMap<EnterpriseDefaultApps, List<ApplicationInfo>>> mApps = field in EnterpriseSetDefaultAppsListPreferenceController
88 mApps = new ArrayList<>(); in buildAppList()
104 mApps.add(userMap); in buildAppList()
133 createPreferences(prefContext, screen, mApps.get(0)); in updateUi()
145 createPreferences(prefContext, category, mApps.get(i)); in updateUi()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/allapps/
DTaskbarAllAppsController.java59 private @NonNull AppInfo[] mApps = EMPTY_ARRAY; field in TaskbarAllAppsController
88 mApps = apps == null ? EMPTY_ARRAY : apps; in setApps()
93 mApps, mAppsModelFlags, mPackageUserKeytoUidMap, false); in setApps()
187 mAppsView.getAppsStore().setApps(mApps, mAppsModelFlags, mPackageUserKeytoUidMap, false); in show()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DManageApplicationsController.java55 private List<ApplicationsState.AppEntry> mApps; field in ManageApplicationsController
134 mApps = apps; in updateAppList()
163 return mApps; in getApps()
/packages/apps/Nfc/apex/hiddenapi/
Dhiddenapi-max-target-o.txt464 Landroid/nfc/NfcActivityManager;->mApps:Ljava/util/List;