Home
last modified time | relevance | path

Searched refs:mAppInfos (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DRestrictAppPreferenceController.java43 List<AppInfo> mAppInfos; field in RestrictAppPreferenceController
52 mAppInfos = BatteryTipUtils.getRestrictedAppsList(mAppOpsManager, mUserManager); in RestrictAppPreferenceController()
62 return mAppInfos.size() > 0 ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
68 mAppInfos = BatteryTipUtils.getRestrictedAppsList(mAppOpsManager, mUserManager); in updateState()
69 final int num = mAppInfos.size(); in updateState()
82 mAppInfos); in handlePreferenceTreeClick()
DRestrictedAppDetails.java67 List<AppInfo> mAppInfos; field in RestrictedAppDetails
98 mAppInfos = getArguments().getParcelableArrayList(EXTRA_APP_INFO_LIST); in onCreate()
146 for (int i = 0, size = mAppInfos.size(); i < size; i++) { in refreshUi()
148 final AppInfo appInfo = mAppInfos.get(i); in refreshUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/actions/
DOpenRestrictAppFragmentActionTest.java62 private List<AppInfo> mAppInfos; field in OpenRestrictAppFragmentActionTest
69 mAppInfos = new ArrayList<>(); in setUp()
70 mAppInfos.add(new AppInfo.Builder() in setUp()
74 mAppInfos.add(new AppInfo.Builder() in setUp()
82 new RestrictAppTip(BatteryTip.StateType.HANDLED, mAppInfos)); in setUp()
97 verify(mBatteryDatabaseManager).updateAnomalies(mAppInfos, in testHandlePositiveAction()
DRestrictAppActionTest.java63 final List<AppInfo> mAppInfos = new ArrayList<>(); in setUp() local
64 mAppInfos.add(new AppInfo.Builder() in setUp()
68 mAppInfos.add(new AppInfo.Builder() in setUp()
77 new RestrictAppTip(BatteryTip.StateType.NEW, mAppInfos)); in setUp()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderNameProvider.java59 protected List<AppInfo> mAppInfos; field in FolderNameProvider
90 mAppInfos = appInfos; in load()
132 if (mAppInfos == null || mAppInfos.isEmpty()) { in getAppInfoByPackageName()
135 return mAppInfos.stream() in getAppInfoByPackageName()
178 mAppInfos = Arrays.asList(apps.copyData()); in execute()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DRestrictAppPreferenceController.java43 List<AppInfo> mAppInfos; field in RestrictAppPreferenceController
68 mAppInfos = BatteryTipUtils.getRestrictedAppsList(mAppOpsManager, mUserManager); in updateState()
70 final int num = mAppInfos.size(); in updateState()
83 mAppInfos); in handlePreferenceTreeClick()
DRestrictedAppDetails.java67 List<AppInfo> mAppInfos; field in RestrictedAppDetails
98 mAppInfos = getArguments().getParcelableArrayList(EXTRA_APP_INFO_LIST); in onCreate()
146 for (int i = 0, size = mAppInfos.size(); i < size; i++) { in refreshUi()
148 final AppInfo appInfo = mAppInfos.get(i); in refreshUi()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DModelMultiCallbacksTest.java182 AppInfo[] mAppInfos; field in ModelMultiCallbacksTest.MyCallbacks
203 mAppInfos = apps; in bindAllApplications()
215 mAppInfos = null; in reset()
231 assertEquals(apps.length, mAppInfos.length); in verifyApps()
232 assertEquals(Arrays.stream(mAppInfos) in verifyApps()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DPaymentSettingsTest.java149 private ArrayList<PaymentBackend.PaymentAppInfo> mAppInfos; field in PaymentSettingsTest.ShadowPaymentBackend
152 mAppInfos = new ArrayList<>(); in __constructor__()
153 mAppInfos.add(new PaymentBackend.PaymentAppInfo()); in __constructor__()
158 return mAppInfos; in getPaymentAppInfos()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/
DOpenRestrictAppFragmentAction.java57 final List<AppInfo> mAppInfos = mRestrictAppTip.getRestrictAppList(); in handlePositiveAction() local
58 RestrictedAppDetails.startRestrictedAppDetails(mFragment, mAppInfos); in handlePositiveAction()
61 ThreadUtils.postOnBackgroundThread(() -> mBatteryDatabaseManager.updateAnomalies(mAppInfos, in handlePositiveAction()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/actions/
DOpenRestrictAppFragmentAction.java57 final List<AppInfo> mAppInfos = mRestrictAppTip.getRestrictAppList(); in handlePositiveAction() local
58 RestrictedAppDetails.startRestrictedAppDetails(mFragment, mAppInfos); in handlePositiveAction()
61 ThreadUtils.postOnBackgroundThread(() -> mBatteryDatabaseManager.updateAnomalies(mAppInfos, in handlePositiveAction()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DPaymentBackend.java59 private ArrayList<PaymentAppInfo> mAppInfos; field in PaymentBackend
115 mAppInfos = appInfos; in refresh()
129 return mAppInfos; in getPaymentAppInfos()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentBackend.java59 private ArrayList<PaymentAppInfo> mAppInfos; field in PaymentBackend
115 mAppInfos = appInfos; in refresh()
129 return mAppInfos; in getPaymentAppInfos()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictedAppDetailsTest.java111 mRestrictedAppDetails.mAppInfos = new ArrayList<>(); in setUp()
112 mRestrictedAppDetails.mAppInfos.add(mAppInfo); in setUp()
155 mRestrictedAppDetails.mAppInfos); in startRestrictedAppDetails_startWithCorrectData()
DRestrictAppPreferenceControllerTest.java163 assertThat(controller.mAppInfos).containsExactly( in updateState_oneRestrictedAppForTwoUsers_showSummaryAndContainCorrectApp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/gamedriver/
DGameDriverAppPreferenceController.java71 private final List<AppInfo> mAppInfos; field in GameDriverAppPreferenceController
95 mAppInfos = getAppInfos(context); in GameDriverAppPreferenceController()
119 for (AppInfo appInfo : mAppInfos) { in displayPreference()
/packages/apps/Settings/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverAppPreferenceController.java73 private final List<AppInfo> mAppInfos; field in GraphicsDriverAppPreferenceController
101 mAppInfos = getAppInfos(context); in GraphicsDriverAppPreferenceController()
127 for (AppInfo appInfo : mAppInfos) { in displayPreference()