/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/ |
D | KeyboardManagementPreferenceControllerTest.java | 144 List<InputMethodInfo> infos = createInputMethodInfoList(ALLOWED_PACKAGE_NAME, in refreshUi_permitAllInputMethods_preferenceCountIs4() local 149 setInputMethodList(infos); in refreshUi_permitAllInputMethods_preferenceCountIs4() 150 setEnabledInputMethodList(infos); in refreshUi_permitAllInputMethods_preferenceCountIs4() 162 List<InputMethodInfo> infos = createInputMethodInfoList(ALLOWED_PACKAGE_NAME, in refreshUi_multiplteAllowedImeByOrganization_allPreferencesVisible() local 167 setInputMethodList(infos); in refreshUi_multiplteAllowedImeByOrganization_allPreferencesVisible() 168 setEnabledInputMethodList(infos); in refreshUi_multiplteAllowedImeByOrganization_allPreferencesVisible() 182 List<InputMethodInfo> infos = createInputMethodInfoList(ALLOWED_PACKAGE_NAME, in refreshUi_multipleEnabledInputMethods_allPreferencesEnabled() local 187 setInputMethodList(infos); in refreshUi_multipleEnabledInputMethods_allPreferencesEnabled() 188 setEnabledInputMethodList(infos); in refreshUi_multipleEnabledInputMethods_allPreferencesEnabled() 202 List<InputMethodInfo> infos = createInputMethodInfoList(ALLOWED_PACKAGE_NAME, in refreshUi_multipleEnabledInputMethods_allPreferencesChecked() local [all …]
|
D | EnabledKeyboardPreferenceControllerTest.java | 115 List<InputMethodInfo> infos = createInputMethodInfoList(PLACEHOLDER_PACKAGE_NAME); in refreshUi_permitAllInputMethods() local 116 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods() 127 List<InputMethodInfo> infos = createInputMethodInfoList(ALLOWED_PACKAGE_NAME); in refreshUi_hasAllowedImeByOrganization() local 128 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_hasAllowedImeByOrganization() 139 List<InputMethodInfo> infos = createInputMethodInfoList(DISALLOWED_PACKAGE_NAME); in refreshUi_disallowedByOrganization() local 140 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_disallowedByOrganization() 151 List<InputMethodInfo> infos = in refreshUi_skipVoiceTyping() local 153 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_skipVoiceTyping() 164 List<InputMethodInfo> infos = createInputMethodInfoList(ALLOWED_PACKAGE_NAME); in refreshUi_verifyPreferenceIcon() local 165 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_verifyPreferenceIcon() [all …]
|
D | KeyboardPreferenceControllerTest.java | 113 List<InputMethodInfo> infos = new ArrayList<>(); in refreshUi_permitAllInputMethods_hasOneInputMethodInfo() local 115 infos.add( in refreshUi_permitAllInputMethods_hasOneInputMethodInfo() 117 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods_hasOneInputMethodInfo() 128 List<InputMethodInfo> infos = new ArrayList<>(); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo() local 130 infos.add(createInputMethodInfo(packageManager, PLACEHOLDER_PACKAGE_NAME, in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo() 132 infos.add(createInputMethodInfo(packageManager, PLACEHOLDER_PACKAGE_NAME, in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo() 134 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo() 146 List<InputMethodInfo> infos = new ArrayList<>(); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo() local 148 infos.add(createInputMethodInfo(packageManager, PLACEHOLDER_PACKAGE_NAME, in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo() 150 infos.add(createInputMethodInfo(packageManager, PLACEHOLDER_PACKAGE_NAME, in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountPreferenceControllerTest.java | 133 final List<UserInfo> infos = new ArrayList<>(); in onResume_oneProfile_shouldAddOneAccountCategory() local 134 infos.add(new UserInfo(1, "user 1", 0)); in onResume_oneProfile_shouldAddOneAccountCategory() 137 when(mUserManager.getProfiles(anyInt())).thenReturn(infos); in onResume_oneProfile_shouldAddOneAccountCategory() 146 final List<UserInfo> infos = new ArrayList<>(); in onResume_twoProfiles_shouldAddTwoAccountCategory() local 147 infos.add(new UserInfo(1, "user 1", 0)); in onResume_twoProfiles_shouldAddTwoAccountCategory() 148 infos.add(new UserInfo(2, "user 2", UserInfo.FLAG_MANAGED_PROFILE)); in onResume_twoProfiles_shouldAddTwoAccountCategory() 151 when(mUserManager.getProfiles(anyInt())).thenReturn(infos); in onResume_twoProfiles_shouldAddTwoAccountCategory() 160 final List<UserInfo> infos = new ArrayList<>(); in onResume_noProfileChange_shouldNotAddOrRemoveAccountCategory() local 161 infos.add(new UserInfo(1, "user 1", 0)); in onResume_noProfileChange_shouldNotAddOrRemoveAccountCategory() 162 infos.add(new UserInfo(2, "user 2", UserInfo.FLAG_MANAGED_PROFILE)); in onResume_noProfileChange_shouldNotAddOrRemoveAccountCategory() [all …]
|
D | EmergencyInfoPreferenceControllerTest.java | 105 final List<ResolveInfo> infos = new ArrayList<>(); in updateRawDataToIndex_prefAvailable_shouldUpdate() local 106 infos.add(new ResolveInfo()); in updateRawDataToIndex_prefAvailable_shouldUpdate() 109 .thenReturn(infos); in updateRawDataToIndex_prefAvailable_shouldUpdate() 130 final List<ResolveInfo> infos = new ArrayList<>(); in displayPref_prefAvailable_shouldDisplay() local 131 infos.add(new ResolveInfo()); in displayPref_prefAvailable_shouldDisplay() 134 .thenReturn(infos); in displayPref_prefAvailable_shouldDisplay() 144 final List<UserInfo> infos = new ArrayList<>(); in updateState_shouldSetSummary() local 145 infos.add(new UserInfo(1, "user 1", UserInfo.FLAG_MANAGED_PROFILE)); in updateState_shouldSetSummary() 147 when(mUserManager.getProfiles(anyInt())).thenReturn(infos); in updateState_shouldSetSummary()
|
D | AccountDashboardFragmentTest.java | 88 final List<UserInfo> infos = new ArrayList<>(); in searchIndexProvider_hasManagedProfile_shouldNotIndex() local 89 infos.add(new UserInfo(PROFILE_ID, PROFILE_NAME, UserInfo.FLAG_MANAGED_PROFILE)); in searchIndexProvider_hasManagedProfile_shouldNotIndex() 90 doReturn(infos).when(mUserManager).getProfiles(anyInt()); in searchIndexProvider_hasManagedProfile_shouldNotIndex() 101 final List<UserInfo> infos = new ArrayList<>(); in searchIndexProvider_hasAccounts_shouldIndex() local 102 infos.add(new UserInfo(PROFILE_ID, PROFILE_NAME, UserInfo.FLAG_PRIMARY)); in searchIndexProvider_hasAccounts_shouldIndex() 103 doReturn(infos).when(mUserManager).getProfiles(anyInt()); in searchIndexProvider_hasAccounts_shouldIndex()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | SuggestedWordsTests.java | 71 final ArrayList<SuggestedWordInfo> infos = new ArrayList<>(); in createCorrectionWordInfos() local 73 infos.add(createCorrectionWordInfo(word)); in createCorrectionWordInfos() 75 return infos; in createCorrectionWordInfos() 93 final ArrayList<SuggestedWordInfo> infos = createCorrectionWordInfos("a", "c"); in testRemoveDupesNoDupes() local 94 assertEquals(-1, SuggestedWordInfo.removeDups("b", infos)); in testRemoveDupesNoDupes() 95 assertEquals(2, infos.size()); in testRemoveDupesNoDupes() 100 final ArrayList<SuggestedWordInfo> infos = createCorrectionWordInfos("a", "a", "c"); in testRemoveDupesTypedWordNotDupe() local 101 assertEquals(-1, SuggestedWordInfo.removeDups("b", infos)); in testRemoveDupesTypedWordNotDupe() 102 assertEquals(2, infos.size()); in testRemoveDupesTypedWordNotDupe() 107 final ArrayList<SuggestedWordInfo> infos = createCorrectionWordInfos("a", "b", "c"); in testRemoveDupesTypedWordOnlyDupe() local [all …]
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | CallForwardInfoUtil.java | 42 public static CallForwardInfo infoForReason(CallForwardInfo[] infos, int reason) { in infoForReason() argument 43 if (infos == null) { in infoForReason() 48 for (int i = 0; i < infos.length; i++) { in infoForReason() 49 if (infos[i].reason == reason) { in infoForReason() 50 return infos[i]; in infoForReason() 95 public static CallForwardInfo getCallForwardInfo(CallForwardInfo[] infos, int reason) { in getCallForwardInfo() argument 97 if (infos != null) { in getCallForwardInfo() 98 for (int i = 0 ; i < infos.length; i++) { in getCallForwardInfo() 99 if (isServiceClassVoice(infos[i])) { in getCallForwardInfo() 100 info = infos[i]; in getCallForwardInfo()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | AutoSyncWorkDataPreferenceControllerTest.java | 84 final List<UserInfo> infos = new ArrayList<>(); in checkIsAvailable_singleUserProfile_shouldNotDisplay() local 85 infos.add(new UserInfo(UserHandle.USER_SYSTEM, "user 1", 0 /* flags */)); in checkIsAvailable_singleUserProfile_shouldNotDisplay() 86 when(mUserManager.getProfiles(eq(UserHandle.USER_SYSTEM))).thenReturn(infos); in checkIsAvailable_singleUserProfile_shouldNotDisplay() 96 final List<UserInfo> infos = new ArrayList<>(); in checkIsAvailable_null_workProfileUserHandle_shouldNotDisplay() local 97 infos.add(new UserInfo(UserHandle.USER_SYSTEM, "user 1", 0 /* flags */)); in checkIsAvailable_null_workProfileUserHandle_shouldNotDisplay() 98 infos.add(new UserInfo(999, "xspace", 800010)); in checkIsAvailable_null_workProfileUserHandle_shouldNotDisplay() 99 when(mUserManager.getProfiles(eq(UserHandle.USER_SYSTEM))).thenReturn(infos); in checkIsAvailable_null_workProfileUserHandle_shouldNotDisplay() 111 final List<UserInfo> infos = new ArrayList<>(); in multipleProfile_shouldInitWithWorkProfileUserHandle() local 112 infos.add(new UserInfo(UserHandle.USER_SYSTEM, "user 1", 0 /* flags */)); in multipleProfile_shouldInitWithWorkProfileUserHandle() 113 infos.add(new UserInfo( in multipleProfile_shouldInitWithWorkProfileUserHandle() [all …]
|
D | AutoSyncPersonalDataPreferenceControllerTest.java | 91 List<UserInfo> infos = new ArrayList<>(); in displayPref_oneProfile_shouldNotDisplay() local 92 infos.add(new UserInfo(1, "user 1", 0)); in displayPref_oneProfile_shouldNotDisplay() 95 when(mUserManager.getProfiles(anyInt())).thenReturn(infos); in displayPref_oneProfile_shouldNotDisplay() 104 List<UserInfo> infos = new ArrayList<>(); in displayPref_prefAvailable_shouldDisplay() local 105 infos.add(new UserInfo(1, "user 1", 0)); in displayPref_prefAvailable_shouldDisplay() 106 infos.add(new UserInfo(2, "user 2", 0)); in displayPref_prefAvailable_shouldDisplay() 109 when(mUserManager.getProfiles(anyInt())).thenReturn(infos); in displayPref_prefAvailable_shouldDisplay()
|
D | AutoSyncDataPreferenceControllerTest.java | 107 List<UserInfo> infos = new ArrayList<>(); in displayPref_oneProfile_shouldDisplay() local 108 infos.add(new UserInfo(1, "user 1", 0)); in displayPref_oneProfile_shouldDisplay() 111 when(mUserManager.getProfiles(anyInt())).thenReturn(infos); in displayPref_oneProfile_shouldDisplay() 120 List<UserInfo> infos = new ArrayList<>(); in displayPref_moreThanOneProfile_shouldNotDisplay() local 121 infos.add(new UserInfo(1, "user 1", 0)); in displayPref_moreThanOneProfile_shouldNotDisplay() 122 infos.add(new UserInfo(2, "user 2", 0)); in displayPref_moreThanOneProfile_shouldNotDisplay() 125 when(mUserManager.getProfiles(anyInt())).thenReturn(infos); in displayPref_moreThanOneProfile_shouldNotDisplay()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyAssistanceHelper.java | 59 List<ResolveInfo> infos = queryAssistActivities(context, assistPackage); in resolveAssistPackageAndQueryActivities() local 60 if (infos == null || infos.isEmpty()) { in resolveAssistPackageAndQueryActivities() 63 infos = packageManager.queryIntentActivities(queryIntent, 0); in resolveAssistPackageAndQueryActivities() 66 for (int i = 0; i < infos.size(); i++) { in resolveAssistPackageAndQueryActivities() 67 if (infos.get(i).activityInfo == null) continue; in resolveAssistPackageAndQueryActivities() 68 String packageName = infos.get(i).activityInfo.packageName; in resolveAssistPackageAndQueryActivities() 89 return infos; in resolveAssistPackageAndQueryActivities() 103 List<ResolveInfo> infos = null; in queryAssistActivities() local 108 infos = context.getPackageManager().queryIntentActivities(queryIntent, 0); in queryAssistActivities() 110 return infos; in queryAssistActivities()
|
D | EmergencyInfoGroup.java | 116 List<ResolveInfo> infos; in setupButtonInfo() local 119 infos = EmergencyAssistanceHelper.resolveAssistPackageAndQueryActivities(getContext()); in setupButtonInfo() 121 infos = null; in setupButtonInfo() 126 if (infos != null && infos.size() > 0) { in setupButtonInfo() 127 final String packageName = infos.get(0).activityInfo.packageName; in setupButtonInfo()
|
/packages/modules/Telephony/libs/TelephonyStatsLib/tests/com/android/telephony/statslib/ |
D | StatsLibStorageTest.java | 96 AtomsPushed[] infos = mStorage.popPushedAtoms(first.getStatsId()); in testPushedAppendAndPop() local 99 assertEquals(first, infos[0]); in testPushedAppendAndPop() 100 assertEquals(second, infos[1]); in testPushedAppendAndPop() 101 assertEquals(third, infos[2]); in testPushedAppendAndPop() 133 AtomsPushed[] infos = mStorage.popPushedAtoms(first.getStatsId()); in testModifyInMiddleForAtomsTestInfo() local 136 assertEquals(first, infos[0]); in testModifyInMiddleForAtomsTestInfo() 137 assertNotEquals(copyFirst, infos[1]); in testModifyInMiddleForAtomsTestInfo() 176 AtomsPulled[] infos = mStorage.popPulledAtoms(statsId); in testPulledAtomsBaseInfo() local 179 for (AtomsPulled info : infos) { in testPulledAtomsBaseInfo() 242 AtomsPulled[] infos = mStorage.popPulledAtoms(statsId); in testSerializableAtoms() local [all …]
|
/packages/modules/adb/libs/adbconnection/ |
D | tests.cc | 72 const AdbConnectionClientInfo infos[] = { in TEST() local 82 const AdbConnectionClientInfo* info_ptrs[] = {&infos[0], &infos[1], &infos[2], &infos[3]}; in TEST() 83 auto ctx = adbconnection_client_new(info_ptrs, std::size(infos)); in TEST() 88 EXPECT_EQ(info.pid, infos[0].data.pid); in TEST()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ThemePreferenceController.java | 153 List<OverlayInfo> infos; in getAvailableThemes() local 156 infos = mOverlayService.getOverlayInfosForTarget("android", UserHandle.myUserId()); in getAvailableThemes() 157 pkgs = new ArrayList<>(infos.size()); in getAvailableThemes() 158 for (int i = 0, size = infos.size(); i < size; i++) { in getAvailableThemes() 159 if (isTheme(infos.get(i))) { in getAvailableThemes() 160 if (infos.get(i).isEnabled() && currentThemeOnly) { in getAvailableThemes() 161 return new String[] {infos.get(i).packageName}; in getAvailableThemes() 163 pkgs.add(infos.get(i).packageName); in getAvailableThemes()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppsAsyncLoaderTest.java | 251 List<AppsAsyncLoader.PackageInfo> infos = mLoader.loadInBackground(); in test_multipleApps_processCorrectly() local 253 assertThat(containsPackage(infos, PACKAGE_CLEARABLE)).isTrue(); in test_multipleApps_processCorrectly() 254 assertThat(containsPackage(infos, PACKAGE_TOO_NEW_TO_DELETE)).isFalse(); in test_multipleApps_processCorrectly() 255 assertThat(containsPackage(infos, PACKAGE_NAME)).isFalse(); in test_multipleApps_processCorrectly() 256 assertThat(containsPackage(infos, PACKAGE_SYSTEM)).isFalse(); in test_multipleApps_processCorrectly() 289 List<AppsAsyncLoader.PackageInfo> infos = mLoader.loadInBackground(); in test_noThresholdFilter_ignoresUsageForFiltering() local 291 assertThat(containsPackage(infos, PACKAGE_CLEARABLE)).isTrue(); in test_noThresholdFilter_ignoresUsageForFiltering() 292 assertThat(containsPackage(infos, PACKAGE_TOO_NEW_TO_DELETE)).isTrue(); in test_noThresholdFilter_ignoresUsageForFiltering() 293 assertThat(containsPackage(infos, PACKAGE_NAME)).isFalse(); in test_noThresholdFilter_ignoresUsageForFiltering() 294 assertThat(containsPackage(infos, PACKAGE_SYSTEM)).isFalse(); in test_noThresholdFilter_ignoresUsageForFiltering() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/ |
D | SubscriptionUtilsTest.java | 54 List<SubscriptionInfo> infos = SubscriptionUtils.getAvailableSubscriptions( in getAvailableSubscriptions_hasSubscriptionsFromSubscriptionManager_valueReturned() local 57 assertThat(infos).contains(info); in getAvailableSubscriptions_hasSubscriptionsFromSubscriptionManager_valueReturned() 75 List<SubscriptionInfo> infos = SubscriptionUtils.getAvailableSubscriptions( in getAvailableSubscriptions_hasSimSlotNotInSubscriptionManager_valueReturned() local 78 assertThat(infos).contains(info); in getAvailableSubscriptions_hasSimSlotNotInSubscriptionManager_valueReturned() 92 List<SubscriptionInfo> infos = SubscriptionUtils.getAvailableSubscriptions( in getAvailableSubscriptions_hasInactiveInsertedPSim_valueRemoved() local 95 assertThat(infos).doesNotContain(info); in getAvailableSubscriptions_hasInactiveInsertedPSim_valueRemoved()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | EmergencyInfoPreferenceController.java | 94 final List<ResolveInfo> infos = mContext.getPackageManager().queryIntentActivities(mIntent, in isEmergencyInfoSupported() local 97 return infos != null && !infos.isEmpty(); in isEmergencyInfoSupported() 107 final List<ResolveInfo> infos = mContext.getPackageManager().queryIntentActivities(mIntent, in isAOSPVersionSupported() local 110 return infos != null && !infos.isEmpty(); in isAOSPVersionSupported()
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | InputMethodInfoCompat.java | 37 public static List<InputMethodInfoCompat> convert(List<InputMethodInfo> infos) { in convert() argument 39 for (InputMethodInfo info : infos) { in convert() 45 public static List<InputMethodInfo> reverse(List<InputMethodInfoCompat> infos) { in reverse() argument 47 for (InputMethodInfoCompat info : infos) { in reverse()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/ |
D | ObserverManager.java | 159 List<ObserverInfo> infos = mObserversLocked.get(targetPackageName); in registerObserverCallback() local 160 if (infos == null) { in registerObserverCallback() 161 infos = new ArrayList<>(); in registerObserverCallback() 162 mObserversLocked.put(targetPackageName, infos); in registerObserverCallback() 164 infos.add(new ObserverInfo(listeningPackageAccess, spec, executor, observerCallback)); in registerObserverCallback() 177 List<ObserverInfo> infos = mObserversLocked.get(targetPackageName); in unregisterObserverCallback() local 178 if (infos == null) { in unregisterObserverCallback() 181 for (int i = 0; i < infos.size(); i++) { in unregisterObserverCallback() 182 if (infos.get(i).mObserverCallback.equals(observer)) { in unregisterObserverCallback() 183 infos.remove(i); in unregisterObserverCallback()
|
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/ |
D | RecentTasksProviderTest.java | 317 ActivityManager.RunningTaskInfo[] infos = createRunningTaskList( in openTopRunningTask_openRunningTaskAfterRecentsActivity() local 321 .thenReturn(infos); in openTopRunningTask_openRunningTaskAfterRecentsActivity() 322 ActivityManager.RunningTaskInfo taskAfterRecents = infos[tasksBeforeRecents + 1]; in openTopRunningTask_openRunningTaskAfterRecentsActivity() 334 ActivityManager.RunningTaskInfo[] infos = createRunningTaskList( in openTopRunningTask_recentsActivityNotFound_noOp() local 338 .thenReturn(infos); in openTopRunningTask_recentsActivityNotFound_noOp() 350 ActivityManager.RunningTaskInfo[] infos = createRunningTaskList( in openTopRunningTask_recentsActivityNotFound_returnsFalse() local 354 .thenReturn(infos); in openTopRunningTask_recentsActivityNotFound_returnsFalse() 407 ActivityManager.RunningTaskInfo[] infos = new ActivityManager.RunningTaskInfo[length]; in createRunningTaskList() local 416 infos[i] = info; in createRunningTaskList() 418 return infos; in createRunningTaskList()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | DebugEstimatesLoader.java | 86 List<BatteryInfo> infos = new ArrayList<>(); in loadInBackground() local 87 infos.add(oldinfo); in loadInBackground() 88 infos.add(newInfo); in loadInBackground() 95 return infos; in loadInBackground()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppLocaleUtil.java | 55 @NonNull List<ResolveInfo> infos) { in canDisplayLocaleUi() argument 57 boolean hasLauncherEntry = hasLauncherEntry(app.packageName, infos); in canDisplayLocaleUi() 83 private static boolean hasLauncherEntry(String packageName, List<ResolveInfo> infos) { in hasLauncherEntry() argument 84 return infos.stream() in hasLauncherEntry()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalDiscoverySession.java | 314 List<RecommendationInfo> infos = mPrintManager.getPrintServiceRecommendations(); in onPrintServiceRecommendationsChanged() local 316 int numInfos = infos.size(); in onPrintServiceRecommendationsChanged() 318 RecommendationInfo info = infos.get(i); in onPrintServiceRecommendationsChanged() 342 List<PrintServiceInfo> infos = mPrintManager.getPrintServices( in onPrintServicesChanged() local 345 int numInfos = infos.size(); in onPrintServicesChanged() 347 PrintServiceInfo info = infos.get(i); in onPrintServicesChanged()
|