/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
H A D | TempPath.java | 35 * 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 D | SimpleTempStorage.java | 79 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/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
H A D | SuffixFileFilter.java | 26 * 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 D | FileFilterUtils.java | 59 * @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/UnifiedEmail/src/org/apache/commons/io/output/ |
H A D | DeferredFileOutputStream.java | 77 * 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 D | NameSplitter.java | 89 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 D | ContactsDatabaseHelper.java | 2805 name.suffix = cursor.getString(StructName205Query.SUFFIX); 4840 // skip the suffix match entirely if we are using strict number comparison 5258 name.suffix = c.getString(RawContactNameQuery.SUFFIX);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | NameSplitterTest.java | 314 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 D | TestUtils.java | 92 public static final String dumpToCacheDir(Context context, String prefix, String suffix, argument 95 File file = File.createTempFile(prefix, suffix, context.getCacheDir());
|
H A D | BaseContactsProvider2Test.java | 611 String middleName, String familyName, String suffix) { 629 assertEquals(suffix, c.getString(4)); 610 assertStructuredName(long rawContactId, String prefix, String givenName, String middleName, String familyName, String suffix) argument
|
H A D | ContactsProvider2Test.java | 6594 String suffix = " COLLATE LOCALIZED DESC"; 6595 assertEquals(ContactsColumns.PHONEBOOK_BUCKET_ALTERNATIVE + suffix 6596 + ", " + Contacts.SORT_KEY_ALTERNATIVE + suffix, 6598 + suffix));
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
H A D | NameConverterTests.java | 70 * @param suffix Expected suffix (null if not expected). 73 String givenName, String middleName, String familyName, String suffix) { 80 checkNameComponent(StructuredName.SUFFIX, suffix, structuredName); 72 assertStructuredName(String displayName, String prefix, String givenName, String middleName, String familyName, String suffix) argument
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
H A D | RecognizerLogger.java | 190 * 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/UnifiedEmail/src/com/android/mail/lib/base/ |
H A D | StringUtil.java | 623 * Give me a string and a potential suffix, and I return the string 624 * before the suffix if the suffix matches, else null. 628 * @param suffix the expected suffix 630 * does not end with the suffix 632 public static String stripSuffix(String str, String suffix) { argument 633 return str.endsWith(suffix) 634 ? str.substring(0, str.length() - suffix.length()) 644 * @param suffix th 648 stripSuffixIgnoreCase( String str, String suffix) argument 2846 endsWithIgnoreCase(String str, String suffix) argument [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | StringUtil.java | 624 * Give me a string and a potential suffix, and I return the string 625 * before the suffix if the suffix matches, else null. 629 * @param suffix the expected suffix 631 * does not end with the suffix 633 public static String stripSuffix(String str, String suffix) { argument 634 return str.endsWith(suffix) 635 ? str.substring(0, str.length() - suffix.length()) 645 * @param suffix th 649 stripSuffixIgnoreCase( String str, String suffix) argument 2847 endsWithIgnoreCase(String str, String suffix) argument [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | ContactsSyncParser.java | 97 String suffix = null; 131 suffix = getValue(); 310 ops.addName(entity, prefix, firstName, lastName, middleName, suffix, 1060 String middleName, String suffix, String yomiFirstName, String yomiLastName) { 1069 cvCompareString(cv, StructuredName.SUFFIX, suffix)) { 1075 builder.withValue(StructuredName.SUFFIX, suffix); 1059 addName(Entity entity, String prefix, String givenName, String familyName, String middleName, String suffix, String yomiFirstName, String yomiLastName) argument
|
/packages/apps/Email/src/com/android/email/service/ |
H A D | AttachmentDownloadService.java | 1043 String suffix = "[none]"; 1046 suffix = fileName.substring(lastDot); 1048 pw.print(" Suffix: " + suffix);
|