Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DRestrictAppPreferenceController.java45 List<AppInfo> mAppInfos; field in RestrictAppPreferenceController
54 mAppInfos = BatteryTipUtils.getRestrictedAppsList(mAppOpsManager, mUserManager); in RestrictAppPreferenceController()
64 return mAppInfos.size() > 0 ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
70 mAppInfos = BatteryTipUtils.getRestrictedAppsList(mAppOpsManager, mUserManager); in updateState()
71 final int num = mAppInfos.size(); in updateState()
84 mAppInfos); in handlePreferenceTreeClick()
DRestrictedAppDetails.java69 List<AppInfo> mAppInfos; field in RestrictedAppDetails
102 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/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/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DModelMultiCallbacksTest.java184 AppInfo[] mAppInfos; field in ModelMultiCallbacksTest.MyCallbacks
205 mAppInfos = apps; in bindAllApplications()
217 mAppInfos = null; in reset()
233 assertEquals(apps.length, mAppInfos.length); in verifyApps()
234 assertEquals(Arrays.stream(mAppInfos) in verifyApps()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DNetworkSuggestionNominator.java402 private SparseArray<PerAppMatchMetaInfo> mAppInfos = new SparseArray<>(); field in NetworkSuggestionNominator.MatchMetaInfo
414 PerAppMatchMetaInfo appInfo = mAppInfos.get(key, new PerAppMatchMetaInfo()); in put()
416 mAppInfos.put(key, appInfo); in put()
423 return mAppInfos.size() == 0; in isEmpty()
432 for (int i = 0; i < mAppInfos.size(); i++) { in findConnectableNetworksAndHighestPriority()
434 mAppInfos.valueAt(i).getHighestPriorityNetworks(); in findConnectableNetworksAndHighestPriority()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DPaymentSettingsTest.java151 private ArrayList<PaymentBackend.PaymentAppInfo> mAppInfos; field in PaymentSettingsTest.ShadowPaymentBackend
154 mAppInfos = new ArrayList<>(); in __constructor__()
155 mAppInfos.add(new PaymentBackend.PaymentAppInfo()); in __constructor__()
160 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/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/apps/Settings/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverAppPreferenceController.java73 private final List<AppInfo> mAppInfos; field in GraphicsDriverAppPreferenceController
101 mAppInfos = getAppInfos(context); in GraphicsDriverAppPreferenceController()
129 for (AppInfo appInfo : mAppInfos) { in displayPreference()