Home
last modified time | relevance | path

Searched refs:names (Results 1 – 25 of 80) sorted by relevance

1234

/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
DNameFileFilter.java50 private final String[] names; field in NameFileFilter
75 this.names = new String[] {name}; in NameFileFilter()
88 public NameFileFilter(String[] names) { in NameFileFilter() argument
89 this(names, null); in NameFileFilter()
102 public NameFileFilter(String[] names, IOCase caseSensitivity) { in NameFileFilter() argument
103 if (names == null) { in NameFileFilter()
106 this.names = names; in NameFileFilter()
117 public NameFileFilter(List<String> names) { in NameFileFilter() argument
118 this(names, null); in NameFileFilter()
129 public NameFileFilter(List<String> names, IOCase caseSensitivity) { in NameFileFilter() argument
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/
DOmtpVvmCarrierConfigHelper.java209 Set<String> names = getCarrierVvmPackageNames(overrideConfig); in getCarrierVvmPackageNamesWithoutValidation() local
210 if (names != null) { in getCarrierVvmPackageNamesWithoutValidation()
211 return names; in getCarrierVvmPackageNamesWithoutValidation()
213 names = getCarrierVvmPackageNames(carrierConfig); in getCarrierVvmPackageNamesWithoutValidation()
214 if (names != null) { in getCarrierVvmPackageNamesWithoutValidation()
215 return names; in getCarrierVvmPackageNamesWithoutValidation()
230 Set<String> names = new ArraySet<>(); in getCarrierVvmPackageNames() local
232 names.add(bundle.getString(KEY_CARRIER_VVM_PACKAGE_NAME_STRING)); in getCarrierVvmPackageNames()
237 Collections.addAll(names, vvmPackages); in getCarrierVvmPackageNames()
240 if (names.isEmpty()) { in getCarrierVvmPackageNames()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DResultActivity.java114 String[] names = new String[columnNames.length]; in addRowsForQuery() local
115 System.arraycopy(columnNames, 0, names, 0, columnNames.length); in addRowsForQuery()
116 Arrays.sort(names); in addRowsForQuery()
117 for (int i = 0; i < names.length; i++) { in addRowsForQuery()
118 int index = cursor.getColumnIndex(names[i]); in addRowsForQuery()
120 addRow(names[i], value); in addRowsForQuery()
122 if (names[i].equals(Contacts.PHOTO_ID) && !TextUtils.isEmpty(value)) { in addRowsForQuery()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsManager.java186 final HashSet<String> names = new HashSet<>(); in getValidNames() local
187 for (int i = 0; i < contacts.size() && names.size() < MAX_CONTACT_NAMES; ++i) { in getValidNames()
188 names.add(contacts.get(i).mName); in getValidNames()
190 return new ArrayList<>(names); in getValidNames()
234 public void updateLocalState(final ArrayList<String> names) { in updateLocalState() argument
236 mHashCodeAtLastRebuild.set(names.hashCode()); in updateLocalState()
DContactsContentObserver.java122 final ArrayList<String> names = mManager.getValidNames(Contacts.CONTENT_URI); in haveContentsChanged() local
123 if (names.hashCode() != mManager.getHashCodeAtLastRebuild()) { in haveContentsChanged()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DDirectoryAddonsAdapterTest.java84 String[] names = {"Trader Joe's", "Alphabeta", "Lucky", "Vons", "Gelson's"}; in testItemCount_allDirs() local
85 for (String name : names) { in testItemCount_allDirs()
94 String[] names = {"123.txt", "234.jpg", "abc.pdf"}; in testItemCount_allFiles() local
95 for (String name : names) { in testItemCount_allFiles()
103 String[] names = {"123.txt", "234.jpg", "abc.pdf"}; in testAddsInfoMessage_WithDirectoryChildren() local
104 for (String name : names) { in testAddsInfoMessage_WithDirectoryChildren()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java137 List<String> names = new ArrayList<>(); in testSort_names_ascending() local
148 names.add(getCursorString(cursor, Document.COLUMN_DISPLAY_NAME)); in testSort_names_ascending()
152 for (int i = 0; i < names.size()-1; ++i) { in testSort_names_ascending()
153 assertTrue(Shared.compareToIgnoreCaseNullable(names.get(i), names.get(i+1)) <= 0); in testSort_names_ascending()
161 List<String> names = new ArrayList<>(); in testSort_names_descending() local
172 names.add(getCursorString(cursor, Document.COLUMN_DISPLAY_NAME)); in testSort_names_descending()
176 for (int i = 0; i < names.size()-1; ++i) { in testSort_names_descending()
177 assertTrue(Shared.compareToIgnoreCaseNullable(names.get(i), names.get(i+1)) >= 0); in testSort_names_descending()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactMultiDeletionInteraction.java203 final HashSet<String> names = Sets.newHashSet(); in onLoadFinished() local
220 names.add(name); in onLoadFinished()
259 final String[] namesArray = names.toArray(new String[names.size()]); in onLoadFinished()
313 protected void doDeleteContact(long[] contactIds, final String[] names) { in doDeleteContact() argument
315 contactIds, names)); in doDeleteContact()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
DQueryFilteringUtil.java80 String[] names = name.toLowerCase().split("\\s"); in nameMatchesT9Query() local
81 for (int i = 0; i < names.length && queryIndex < query.length(); i++) { in nameMatchesT9Query()
82 if (TextUtils.isEmpty(names[i])) { in nameMatchesT9Query()
86 if (getDigit(names[i].charAt(0), context) == query.charAt(queryIndex)) { in nameMatchesT9Query()
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DUnitsBasePreferenceController.java142 String[] names = new String[mSupportedUnits.length]; in getEntriesOfSupportedUnits() local
143 for (int i = 0; i < names.length; i++) { in getEntriesOfSupportedUnits()
145 names[i] = generateEntryStringFromUnit(unit); in getEntriesOfSupportedUnits()
147 return names; in getEntriesOfSupportedUnits()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestJobListener.java68 public void assertFilesFailed(List<String> names) { in assertFilesFailed() argument
73 assertEquals(finished.failedDocs.size(), names.size()); in assertFilesFailed()
74 for (String name : names) { in assertFilesFailed()
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/
DCarrierConfigTest.java254 Set<String> names = new HashSet<>(); in getCarrierConfigXmlNames() local
256 names.addAll(getCarrierConfigXmlNames(CarrierConfigManager.class)); in getCarrierConfigXmlNames()
260 names.addAll(getCarrierConfigXmlNames(nested)); in getCarrierConfigXmlNames()
263 return names; in getCarrierConfigXmlNames()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DEventLogTags.logtags21 # @param enabled_sources A pipe-separated list of source names, ordered by source ranking.
29 # @param A pipe-separated list of suggestion log names.
30 # TODO: define format of suggestion log names
/packages/apps/Settings/src/com/android/settings/security/trustagent/
DTrustAgentsPreferenceController.java164 final String[] names = TextUtils.split(pref.getKey(), "/"); in removeUselessExistingPreferences() local
165 final ComponentName componentName = new ComponentName(names[0], names[1]); in removeUselessExistingPreferences()
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensPickerActivity.java188 String names = ""; in printResolveInfo() local
190 names += " " + LensPickerUtils.getPackageName(info); in printResolveInfo()
192 Log.d(TAG, title + " resolve info name: " + names); in printResolveInfo()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1185 long[] contactIds, final String[] names) { in createDeleteMultipleContactsIntent() argument
1189 serviceIntent.putExtra(ContactSaveService.EXTRA_DISPLAY_NAME_ARRAY, names); in createDeleteMultipleContactsIntent()
1213 final String[] names = intent.getStringArrayExtra( in deleteMultipleContacts() local
1216 if (contactIds.length != names.length || names.length == 0) { in deleteMultipleContacts()
1219 } else if (names.length == 1) { in deleteMultipleContacts()
1221 R.string.contacts_deleted_one_named_toast, (Object[]) names); in deleteMultipleContacts()
1222 } else if (names.length == 2) { in deleteMultipleContacts()
1224 R.string.contacts_deleted_two_named_toast, (Object[]) names); in deleteMultipleContacts()
1227 R.string.contacts_deleted_many_named_toast, (Object[]) names); in deleteMultipleContacts()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DHttpFetcher.java178 final Set<String> names = uri.getQueryParameterNames(); in obfuscateUrl() local
179 for (String name : names) { in obfuscateUrl()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicRendererSurfaceView.java259 String[] names = { in printConfig() local
297 String name = names[i]; in printConfig()
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile139 # (but less readable) file names. This can be useful is your file systems
140 # doesn't support long names like on DOS, Mac, or CD-ROM.
196 # For instance, some of the names that are used will be different. The list
381 # file names in lower-case letters. If set to YES upper-case letters are also
382 # allowed. This is useful if you have classes or files whose names only differ
383 # in case and if your file system supports case sensitive file names. Windows
430 # hierarchy of group names into alphabetical order. If set to NO (the default)
431 # the group names will appear in their defined order.
436 # sorted by fully-qualified names, including namespaces. If set to
583 # documented source files. You may enter file names like "myfile.cpp" or
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile139 # (but less readable) file names. This can be useful is your file systems
140 # doesn't support long names like on DOS, Mac, or CD-ROM.
196 # For instance, some of the names that are used will be different. The list
381 # file names in lower-case letters. If set to YES upper-case letters are also
382 # allowed. This is useful if you have classes or files whose names only differ
383 # in case and if your file system supports case sensitive file names. Windows
430 # hierarchy of group names into alphabetical order. If set to NO (the default)
431 # the group names will appear in their defined order.
436 # sorted by fully-qualified names, including namespaces. If set to
583 # documented source files. You may enter file names like "myfile.cpp" or
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DConnectionServiceFixture.java565 List<ComponentName> names, in sendQueryRemoteConnectionServices()
568 TestCase.assertEquals(names.size(), services.size()); in sendQueryRemoteConnectionServices()
569 mRemoteConnectionServiceNames.addAll(names); in sendQueryRemoteConnectionServices()
/packages/services/Telecomm/proto/
Dtelecom.proto275 // A list of the package names of connection services used.
287 // A map from the names of latency timings to the timings.
/packages/services/Car/car_product/sepolicy/public/
Dfile.te4 # partition names for their devices.
/packages/apps/Settings/tests/robotests/
DREADME.md24 multiple file names, all of them will be executed.
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses156 names, trademarks, service marks, or product names of the Licensor,
338 names, trademarks, service marks, or product names of the Licensor,
544 names, trademarks, service marks, or product names of the Licensor,
750 names, trademarks, service marks, or product names of the Licensor,
956 names, trademarks, service marks, or product names of the Licensor,
1162 names, trademarks, service marks, or product names of the Licensor,
1380 names, trademarks, service marks, or product names of the Licensor,
1574 names, trademarks, service marks, or product names of the Licensor,
1768 names, trademarks, service marks, or product names of the Licensor,
1962 names, trademarks, service marks, or product names of the Licensor,
[all …]

1234