Home
last modified time | relevance | path

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

/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/Settings/src/com/android/settings/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.java68 List<AppInfo> mAppInfos; field in RestrictedAppDetails
103 mAppInfos = getArguments().getParcelableArrayList(EXTRA_APP_INFO_LIST); in onCreate()
151 for (int i = 0, size = mAppInfos.size(); i < size; i++) { in refreshUi()
153 final AppInfo appInfo = mAppInfos.get(i); in refreshUi()
/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.java68 List<AppInfo> mAppInfos; field in RestrictedAppDetails
103 mAppInfos = getArguments().getParcelableArrayList(EXTRA_APP_INFO_LIST); in onCreate()
151 for (int i = 0, size = mAppInfos.size(); i < size; i++) { in refreshUi()
153 final AppInfo appInfo = mAppInfos.get(i); in refreshUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DPaymentSettingsTest.java118 private ArrayList<PaymentBackend.PaymentAppInfo> mAppInfos; field in PaymentSettingsTest.ShadowPaymentBackend
121 mAppInfos = new ArrayList<>(); in __constructor__()
122 mAppInfos.add(new PaymentBackend.PaymentAppInfo()); in __constructor__()
127 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.java148 assertThat(mRestrictAppPreferenceController.mAppInfos).containsExactly( in testUpdateState_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/gamedriver/
DGameDriverAppPreferenceController.java72 private final List<AppInfo> mAppInfos; field in GameDriverAppPreferenceController
99 mAppInfos = getAppInfos(context); in GameDriverAppPreferenceController()
125 for (AppInfo appInfo : mAppInfos) { in displayPreference()