Home
last modified time | relevance | path

Searched refs:appItem (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsageTest.java119 final AppItem appItem = new AppItem(uid); in onCreate_appUid_shouldGetAppLabelFromAppInfo() local
120 appItem.uids.put(uid, true); in onCreate_appUid_shouldGetAppLabelFromAppInfo()
126 args.putParcelable(AppDataUsage.ARG_APP_ITEM, appItem); in onCreate_appUid_shouldGetAppLabelFromAppInfo()
151 final AppItem appItem = new AppItem(uid); in onCreate_notAppUid_shouldGetAppLabelFromUidDetailProvider() local
152 appItem.uids.put(uid, true); in onCreate_notAppUid_shouldGetAppLabelFromUidDetailProvider()
154 args.putParcelable(AppDataUsage.ARG_APP_ITEM, appItem); in onCreate_notAppUid_shouldGetAppLabelFromUidDetailProvider()
185 final AppItem appItem = new AppItem(123456789); in bindAppHeader_workApp_shouldSetWorkAppUid() local
188 ReflectionHelpers.setField(mFragment, "mAppItem", appItem); in bindAppHeader_workApp_shouldSetWorkAppUid()
209 final AppItem appItem = new AppItem(123456789); in changePreference_backgroundData_shouldUpdateUI() local
212 ReflectionHelpers.setField(mFragment, "mAppItem", appItem); in changePreference_backgroundData_shouldUpdateUI()
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageListAppsController.kt59 ) { appItem: AppItem -> uidDetailProvider.getUidDetail(appItem.key, true).packageName } in <lambda>() method
79 repository.getAppPercent(carrierId, startTime, endTime).map { (appItem, percent) -> in <lambda>() method
80 AppDataUsagePreference(mContext, appItem, percent, uidDetailProvider).apply { in <lambda>()
82 startAppDataUsage(appItem, endTime) in <lambda>()
DAppDataUsageActivity.java59 final AppItem appItem = new AppItem(uid); in onCreate() local
60 appItem.addUid(uid); in onCreate()
61 args.putParcelable(AppDataUsage.ARG_APP_ITEM, appItem); in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppSpecificDataUsageFragment.java54 public static AppSpecificDataUsageFragment getInstance(AppItem appItem, in getInstance() argument
59 bundle.putObject(EXTRA_PACKAGE_NAME, appItem); in getInstance()
74 AppItem appItem = (AppItem) getArguments().get(EXTRA_PACKAGE_NAME); in onAttach() local
87 appItem.key); in onAttach()
93 UidDetail uidDetail = uidDetailProvider.getUidDetail(appItem.key, true /* blocking */); in onAttach()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppItem.java82 AppItem appItem = (AppItem) launcherItem; in areContentsTheSame() local
84 return appItem.mAppMetaData == null; in areContentsTheSame()
86 return mAppMetaData.equals(appItem.mAppMetaData); in areContentsTheSame()
DAppGridViewModel.kt99 fun saveAppOrder(newPosition: Int, appItem: AppItem) { in saveAppOrder()
103 remove(appItem) in saveAppOrder()
105 add(newPosition, appItem) in saveAppOrder()
DAppGridActivity.java532 public void onAppPositionChanged(int newPosition, AppItem appItem) { in onAppPositionChanged() argument
533 mAppGridViewModel.saveAppOrder(newPosition, appItem); in onAppPositionChanged()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/recyclerview/
DAppGridAdapter.java367 void onAppPositionChanged(int newPosition, AppItem appItem); in onAppPositionChanged() argument