Searched refs:suffix (Results 1 - 15 of 15) sorted by relevance

/packages/apps/Email/src/org/apache/james/mime4j/util/
H A DTempPath.java35 * The prefix will be empty and the suffix will be
45 * The prefix and suffix can be set by the user.
48 * @param suffix the suffix to use. <code>null</code> gives
52 TempFile createTempFile(String prefix, String suffix) throws IOException; argument
59 * The prefix and suffix can be set by the user.
62 * @param suffix the suffix to use. <code>null</code> gives
69 TempFile createTempFile(String prefix, String suffix, argument
H A DSimpleTempStorage.java79 String suffix) throws IOException {
84 if (suffix == null) {
85 suffix = ".tmp";
94 f = new File(parent.getAbsolutePath(), prefix + n + suffix);
142 public TempFile createTempFile(String prefix, String suffix) argument
145 return SimpleTempStorage.this.createTempFile(this, prefix, suffix);
151 public TempFile createTempFile(String prefix, String suffix, argument
155 return SimpleTempStorage.this.createTempFile(this, prefix, suffix);
78 createTempFile(TempPath parent, String prefix, String suffix) argument
/packages/apps/Email/src/org/apache/commons/io/filefilter/
H A DSuffixFileFilter.java26 * Filters files based on the suffix (what the filename ends with).
59 * @param suffix the suffix to allow, must not be null
60 * @throws IllegalArgumentException if the suffix is null
62 public SuffixFileFilter(String suffix) { argument
63 this(suffix, IOCase.SENSITIVE);
70 * @param suffix the suffix to allow, must not be null
72 * @throws IllegalArgumentException if the suffix is null
75 public SuffixFileFilter(String suffix, IOCas argument
[all...]
H A DFileFilterUtils.java59 * @param suffix the filename suffix
60 * @return a suffix checking filter
62 public static IOFileFilter suffixFileFilter(String suffix) { argument
63 return new SuffixFileFilter(suffix);
/packages/apps/Email/src/org/apache/commons/io/output/
H A DDeferredFileOutputStream.java77 * The temporary file suffix.
79 private String suffix; field in class:DeferredFileOutputStream
118 * @param suffix Suffix to use for the temporary file.
123 public DeferredFileOutputStream(int threshold, String prefix, String suffix, File directory) argument
130 this.suffix = suffix;
163 outputFile = File.createTempFile(prefix, suffix, directory);
213 * If constructor specifying a temporary file prefix/suffix is used
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DNameSplitter.java89 public String suffix; field in class:NameSplitter.Name
103 String suffix) {
108 this.suffix = suffix;
130 return suffix;
158 suffix = values.getAsString(StructuredName.SUFFIX);
176 putValueIfPresent(values, StructuredName.SUFFIX, suffix);
195 suffix = null;
207 && TextUtils.isEmpty(suffix)
216 + " family: " + familyName + " suffix
102 Name(String prefix, String givenNames, String middleName, String familyName, String suffix) argument
559 join(String prefix, String part1, String part2, String part3, String suffix, boolean useSpace, boolean useCommaAfterPart1, boolean useCommaAfterPart3) argument
669 normalizedSuffix(String suffix) argument
[all...]
H A DContactsDatabaseHelper.java2760 name.suffix = cursor.getString(StructName205Query.SUFFIX);
4775 // skip the suffix match entirely if we are using strict number comparison
5199 name.suffix = c.getString(RawContactNameQuery.SUFFIX);
/packages/apps/Contacts/tests/src/com/android/contacts/util/
H A DNameConverterTests.java68 * @param suffix Expected suffix (null if not expected).
71 String givenName, String middleName, String familyName, String suffix) {
78 checkNameComponent(StructuredName.SUFFIX, suffix, structuredName);
70 assertStructuredName(String displayName, String prefix, String givenName, String middleName, String familyName, String suffix) argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DNameSplitterTest.java314 String middleName, String familyName, String suffix) {
321 assertEquals(suffix, name.getSuffix());
325 String middleName, String familyName, String suffix) {
327 familyName, suffix, true);
331 String middleName, String familyName, String suffix, boolean givenNameFirst) {
338 name.suffix = suffix;
313 assertSplitName(String fullName, String prefix, String givenNames, String middleName, String familyName, String suffix) argument
324 assertJoinedName(String expected, String prefix, String givenNames, String middleName, String familyName, String suffix) argument
330 assertJoinedName(String expected, int nameStyle, String prefix, String givenNames, String middleName, String familyName, String suffix, boolean givenNameFirst) argument
H A DTestUtils.java92 public static final String dumpToCacheDir(Context context, String prefix, String suffix, argument
95 File file = File.createTempFile(prefix, suffix, context.getCacheDir());
H A DBaseContactsProvider2Test.java613 String middleName, String familyName, String suffix) {
631 assertEquals(suffix, c.getString(4));
612 assertStructuredName(long rawContactId, String prefix, String givenName, String middleName, String familyName, String suffix) argument
H A DContactsProvider2Test.java6536 String suffix = " COLLATE LOCALIZED DESC";
6537 assertEquals(ContactsColumns.PHONEBOOK_BUCKET_ALTERNATIVE + suffix
6538 + ", " + Contacts.SORT_KEY_ALTERNATIVE + suffix,
6540 + suffix));
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DRecognizerLogger.java190 * Delete oldest files with a given suffix, if more than MAX_FILES.
191 * @param suffix delete oldest files with this suffix.
193 private void deleteOldest(final String suffix) { argument
197 return name.startsWith("log_") && name.endsWith(suffix);
/packages/apps/Email/src/com/android/email/service/
H A DAttachmentDownloadService.java981 String suffix = "[none]";
984 suffix = fileName.substring(lastDot);
986 pw.print(" Suffix: " + suffix);
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DContactsSyncAdapter.java434 String suffix = null;
468 suffix = getValue();
661 ops.addName(entity, prefix, firstName, lastName, middleName, suffix, name,
1284 String middleName, String suffix, String displayName, String yomiFirstName,
1294 cvCompareString(cv, StructuredName.SUFFIX, suffix)) {
1300 builder.withValue(StructuredName.SUFFIX, suffix);
1283 addName(Entity entity, String prefix, String givenName, String familyName, String middleName, String suffix, String displayName, String yomiFirstName, String yomiLastName) argument

Completed in 413 milliseconds