Searched refs:appNames (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceController.java | 161 final CharSequence[] appNames = new String[apps.size()]; in buildSummaryString() local 163 appNames[i] = apps.get(i).loadLabel(mPm); in buildSummaryString() 166 return appNames[0]; in buildSummaryString() 168 return context.getString(R.string.app_names_concatenation_template_2, appNames[0], in buildSummaryString() 169 appNames[1]); in buildSummaryString() 171 return context.getString(R.string.app_names_concatenation_template_3, appNames[0], in buildSummaryString() 172 appNames[1], appNames[2]); in buildSummaryString()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceController.java | 161 final CharSequence[] appNames = new String[apps.size()]; in buildSummaryString() local 163 appNames[i] = apps.get(i).loadLabel(mPm); in buildSummaryString() 166 return appNames[0]; in buildSummaryString() 168 return context.getString(R.string.app_names_concatenation_template_2, appNames[0], in buildSummaryString() 169 appNames[1]); in buildSummaryString() 171 return context.getString(R.string.app_names_concatenation_template_3, appNames[0], in buildSummaryString() 172 appNames[1], appNames[2]); in buildSummaryString()
|
/packages/apps/OnDeviceAppPrediction/src/com/android/apppredictionservice/ |
D | PredictionService.java | 65 private final List<String> appNames = new ArrayList<>(5); field in PredictionService 119 appNames.add(appName); in onCreate() 174 for (String packageName:appNames) { in onAppTargetEvent() 182 appNames.remove(appNames.size() - 1); in onAppTargetEvent() 183 appNames.add(0, mostRecentComponent); in onAppTargetEvent() 186 editor.putString(appNameKeys[i], appNames.get(i)); in onAppTargetEvent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/ |
D | ManageApplicationsTest.java | 432 final String[] appNames = {"Apricot", "Banana", "Cantaloupe", "Fig", "Mango"}; in applicationsAdapter_filterSearch_emptyQuery_shouldShowFullList() local 433 ReflectionHelpers.setField(adapter, "mOriginalEntries", getTestAppList(appNames)); in applicationsAdapter_filterSearch_emptyQuery_shouldShowFullList() 445 final String[] appNames = {"Apricot", "Banana", "Cantaloupe", "Fig", "Mango"}; in applicationsAdapter_filterSearch_noMatch_shouldShowEmptyList() local 446 ReflectionHelpers.setField(adapter, "mOriginalEntries", getTestAppList(appNames)); in applicationsAdapter_filterSearch_noMatch_shouldShowEmptyList() 458 final String[] appNames = {"Apricot", "Banana", "Cantaloupe", "Fig", "Mango"}; in applicationsAdapter_filterSearch_shouldShowMatchedItemsOnly() local 459 ReflectionHelpers.setField(adapter, "mOriginalEntries", getTestAppList(appNames)); in applicationsAdapter_filterSearch_shouldShowMatchedItemsOnly() 637 private ArrayList<AppEntry> getTestAppList(String[] appNames) { in getTestAppList() argument 639 for (String name : appNames) { in getTestAppList()
|