Home
last modified time | relevance | path

Searched refs:names (Results 1 – 25 of 72) 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/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java103 List<String> names = new ArrayList<>(); in testSort_names_ascending() local
114 names.add(getCursorString(cursor, Document.COLUMN_DISPLAY_NAME)); in testSort_names_ascending()
118 for (int i = 0; i < names.size()-1; ++i) { in testSort_names_ascending()
119 assertTrue(Shared.compareToIgnoreCaseNullable(names.get(i), names.get(i+1)) <= 0); in testSort_names_ascending()
127 List<String> names = new ArrayList<>(); in testSort_names_descending() local
138 names.add(getCursorString(cursor, Document.COLUMN_DISPLAY_NAME)); in testSort_names_descending()
142 for (int i = 0; i < names.size()-1; ++i) { in testSort_names_descending()
143 assertTrue(Shared.compareToIgnoreCaseNullable(names.get(i), names.get(i+1)) >= 0); in testSort_names_descending()
/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/Dialer/java/com/android/voicemail/impl/
DOmtpVvmCarrierConfigHelper.java163 Set<String> names = getCarrierVvmPackageNames(mCarrierConfig); in getCarrierVvmPackageNames() local
164 if (names != null) { in getCarrierVvmPackageNames()
165 return names; in getCarrierVvmPackageNames()
174 Set<String> names = new ArraySet<>(); in getCarrierVvmPackageNames() local
176 names.add(bundle.getString(KEY_CARRIER_VVM_PACKAGE_NAME_STRING)); in getCarrierVvmPackageNames()
181 Collections.addAll(names, vvmPackages); in getCarrierVvmPackageNames()
184 if (names.isEmpty()) { in getCarrierVvmPackageNames()
187 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.java70 String[] names = {"Trader Joe's", "Alphabeta", "Lucky", "Vons", "Gelson's"}; in testItemCount_allDirs() local
71 for (String name : names) { in testItemCount_allDirs()
80 String[] names = {"123.txt", "234.jpg", "abc.pdf"}; in testItemCount_allFiles() local
81 for (String name : names) { in testItemCount_allFiles()
89 String[] names = {"123.txt", "234.jpg", "abc.pdf"}; in testAddsInfoMessage_WithDirectoryChildren() local
90 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/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()
DZenServiceListing.java76 final List<String> names = Arrays.asList(flat.split(":")); in reloadApprovedServices() local
80 if (matchesApprovedPackage(names, service.getComponentName())) { in reloadApprovedServices()
/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/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensPickerActivity.java192 String names = ""; in printResolveInfo() local
194 names += " " + LensPickerUtils.getPackageName(info); in printResolveInfo()
196 Log.d(TAG, title + " resolve info name: " + names); in printResolveInfo()
/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.java537 List<ComponentName> names, in sendQueryRemoteConnectionServices()
540 TestCase.assertEquals(names.size(), services.size()); in sendQueryRemoteConnectionServices()
541 mRemoteConnectionServiceNames.addAll(names); in sendQueryRemoteConnectionServices()
/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/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicRendererSurfaceView.java259 String[] names = { in printConfig() local
297 String name = names[i]; in printConfig()
/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/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses156 names, trademarks, service marks, or product names of the Licensor,
350 names, trademarks, service marks, or product names of the Licensor,
544 names, trademarks, service marks, or product names of the Licensor,
738 names, trademarks, service marks, or product names of the Licensor,
930 names, trademarks, service marks, or product names of the Licensor,
1124 names, trademarks, service marks, or product names of the Licensor,
1318 names, trademarks, service marks, or product names of the Licensor,
1512 names, trademarks, service marks, or product names of the Licensor,
1704 names, trademarks, service marks, or product names of the Licensor,
1896 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/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.
/packages/apps/UnifiedEmail/
Dproguard.flags9 # keep names that are used by reflection, or from javascript

123