Searched refs:appItem (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | AppDataUsageTest.java | 119 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/ |
D | DataUsageListAppsController.kt | 59 ) { 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>()
|
D | AppDataUsageActivity.java | 59 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/ |
D | AppSpecificDataUsageFragment.java | 54 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/ |
D | AppItem.java | 82 AppItem appItem = (AppItem) launcherItem; in areContentsTheSame() local 84 return appItem.mAppMetaData == null; in areContentsTheSame() 86 return mAppMetaData.equals(appItem.mAppMetaData); in areContentsTheSame()
|
D | AppGridViewModel.kt | 99 fun saveAppOrder(newPosition: Int, appItem: AppItem) { in saveAppOrder() 103 remove(appItem) in saveAppOrder() 105 add(newPosition, appItem) in saveAppOrder()
|
D | AppGridActivity.java | 532 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/ |
D | AppGridAdapter.java | 367 void onAppPositionChanged(int newPosition, AppItem appItem); in onAppPositionChanged() argument
|