Home
last modified time | relevance | path

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

123

/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/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/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java135 List<String> names = new ArrayList<>(); in testSort_names_ascending() local
146 names.add(getCursorString(cursor, Document.COLUMN_DISPLAY_NAME)); in testSort_names_ascending()
150 for (int i = 0; i < names.size()-1; ++i) { in testSort_names_ascending()
151 assertTrue(Shared.compareToIgnoreCaseNullable(names.get(i), names.get(i+1)) <= 0); in testSort_names_ascending()
159 List<String> names = new ArrayList<>(); in testSort_names_descending() local
170 names.add(getCursorString(cursor, Document.COLUMN_DISPLAY_NAME)); in testSort_names_descending()
174 for (int i = 0; i < names.size()-1; ++i) { in testSort_names_descending()
175 assertTrue(Shared.compareToIgnoreCaseNullable(names.get(i), names.get(i+1)) >= 0); in testSort_names_descending()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DOmtpVvmCarrierConfigHelper.java190 Set<String> names = getCarrierVvmPackageNames(mCarrierConfig); in getCarrierVvmPackageNames() local
191 if (names != null) { in getCarrierVvmPackageNames()
192 return names; in getCarrierVvmPackageNames()
201 Set<String> names = new ArraySet<>(); in getCarrierVvmPackageNames() local
203 names.add(bundle.getString(KEY_CARRIER_VVM_PACKAGE_NAME_STRING)); in getCarrierVvmPackageNames()
208 Collections.addAll(names, vvmPackages); in getCarrierVvmPackageNames()
211 if (names.isEmpty()) { in getCarrierVvmPackageNames()
214 return names; in getCarrierVvmPackageNames()
/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.java71 String[] names = {"Trader Joe's", "Alphabeta", "Lucky", "Vons", "Gelson's"}; in testItemCount_allDirs() local
72 for (String name : names) { in testItemCount_allDirs()
81 String[] names = {"123.txt", "234.jpg", "abc.pdf"}; in testItemCount_allFiles() local
82 for (String name : names) { in testItemCount_allFiles()
90 String[] names = {"123.txt", "234.jpg", "abc.pdf"}; in testAddsInfoMessage_WithDirectoryChildren() local
91 for (String name : names) { in testAddsInfoMessage_WithDirectoryChildren()
/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.java49 String[] names = name.toLowerCase().split("\\s"); in nameMatchesT9Query() local
50 for (int i = 0; i < names.length && queryIndex < query.length(); i++) { in nameMatchesT9Query()
51 if (TextUtils.isEmpty(names[i])) { in nameMatchesT9Query()
55 if (getDigit(names[i].charAt(0)) == query.charAt(queryIndex)) { in nameMatchesT9Query()
/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/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/utils/
DServiceListing.java147 final String[] names = flat.split(":"); in loadEnabledServices() local
148 for (int i = 0; i < names.length; i++) { in loadEnabledServices()
149 final ComponentName cn = ComponentName.unflattenFromString(names[i]); in loadEnabledServices()
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensPickerActivity.java197 String names = ""; in printResolveInfo() local
199 names += " " + LensPickerUtils.getPackageName(info); in printResolveInfo()
201 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, names); in deleteMultipleContacts()
1222 } else if (names.length == 2) { in deleteMultipleContacts()
1224 R.string.contacts_deleted_two_named_toast, names); in deleteMultipleContacts()
1227 R.string.contacts_deleted_many_named_toast, names); in deleteMultipleContacts()
/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/apps/Dialer/java/com/android/incallui/calllocation/impl/
DHttpFetcher.java179 final Set<String> names = uri.getQueryParameterNames(); in obfuscateUrl() local
180 for (String name : names) { in obfuscateUrl()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DConnectionServiceFixture.java537 List<ComponentName> names, in sendQueryRemoteConnectionServices()
540 TestCase.assertEquals(names.size(), services.size()); in sendQueryRemoteConnectionServices()
541 mRemoteConnectionServiceNames.addAll(names); in sendQueryRemoteConnectionServices()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
Dbluetooth.proto169 // Initiator of the scan. Only the first three names will be stored.
208 // Initiator of the scan. Only the first three names will be stored.
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicRendererSurfaceView.java259 String[] names = { in printConfig() local
297 String name = names[i]; in printConfig()
/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,
556 names, trademarks, service marks, or product names of the Licensor,
750 names, trademarks, service marks, or product names of the Licensor,
944 names, trademarks, service marks, or product names of the Licensor,
1138 names, trademarks, service marks, or product names of the Licensor,
1332 names, trademarks, service marks, or product names of the Licensor,
1526 names, trademarks, service marks, or product names of the Licensor,
1718 names, trademarks, service marks, or product names of the Licensor,
1912 names, trademarks, service marks, or product names of the Licensor,
[all …]
/packages/experimental/procstatlog/
Dprocstatlog.c218 static struct data *read_stats(char *names[], int name_count) { in read_stats() argument
260 for (n = 0; n < name_count && !strstr(cmdline, names[n]); ++n); in read_stats()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in74 # characters to appear in the names of generated files. If set to NO, non-ASCII
177 # less readable) file names. This can be useful is your file systems doesn't
178 # support long names like on DOS, Mac, or CD-ROM.
251 # instance, some of the names that are used will be different. The list of all
505 # names in lower-case letters. If set to YES upper-case letters are also
506 # allowed. This is useful if you have classes or files whose names only differ
507 # in case and if your file system supports case sensitive file names. Windows
573 # of group names into alphabetical order. If set to NO the group names will
580 # fully-qualified names, including namespaces. If set to NO, the class list will
693 # search path. Do not use file names with spaces, bibtex cannot handle them. See
[all …]
/packages/apps/TV/res/raw/
Dthird_party_licenses169 names, trademarks, service marks, or product names of the Licensor,
374 names, trademarks, service marks, or product names of the Licensor,
580 names, trademarks, service marks, or product names of the Licensor,
786 names, trademarks, service marks, or product names of the Licensor,
992 names, trademarks, service marks, or product names of the Licensor,
1198 names, trademarks, service marks, or product names of the Licensor,
1404 names, trademarks, service marks, or product names of the Licensor,
1611 names, trademarks, service marks, or product names of the Licensor,
1817 names, trademarks, service marks, or product names of the Licensor,
2023 names, trademarks, service marks, or product names of the Licensor,
[all …]
/packages/services/Telecomm/proto/
Dtelecom.proto259 // A list of the package names of connection services used.
271 // A map from the names of latency timings to the timings.

123