Searched defs:suffix (Results 1 - 17 of 17) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DBluetoothPbapCard.java43 public final String suffix; field in class:BluetoothPbapCard
60 suffix = parsedName.length < 5 ? null : parsedName[4];
74 json.put("suffix", suffix);
92 json.put("suffix", name.getSuffix());
H A DPhonebookEntry.java33 public String suffix; field in class:PhonebookEntry.Name
48 (suffix == n.suffix || suffix != null && suffix.equals(n.suffix));
57 result = 23 * result + (suffix == null ? 0 : suffix.hashCode());
72 sb.append(" suffix: ");
73 sb.append(suffix);
[all...]
/packages/apps/UnifiedEmail/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/UnifiedEmail/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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
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 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 DBaseContactsProvider2Test.java666 String middleName, String familyName, String suffix) {
684 assertEquals(suffix, c.getString(4));
665 assertStructuredName(long rawContactId, String prefix, String givenName, String middleName, String familyName, String suffix) argument
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
H A DNameConverterTests.java70 * @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/UnifiedEmail/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/inputmethods/LatinIME/native/jni/src/dictionary/utils/
H A Ddict_file_writing_utils.cpp83 const char *const suffix, const BufferWithExtendableBuffer *const buffer) {
84 const int filePathBufSize = FileUtils::getFilePathWithSuffixBufSize(basePath, suffix);
86 FileUtils::getFilePathWithSuffix(basePath, suffix, filePathBufSize, filePath);
82 flushBufferToFileWithSuffix(const char *const basePath, const char *const suffix, const BufferWithExtendableBuffer *const buffer) argument
H A Dfile_utils.cpp98 const char *const suffix) {
99 return strlen(filePath) + strlen(suffix) + 1 /* terminator */;
103 const char *const suffix, const int filePathBufSize, char *const outFilePath) {
104 snprintf(outFilePath, filePathBufSize, "%s%s", filePath, suffix);
118 const char *const suffix, const int outDirPathBufSize, char *const outDirPath) {
120 const int suffixLength = strlen(suffix);
122 AKLOGE("File path length (%s:%d) is shorter that suffix length (%s:%d).",
123 filePath, filePathLength, suffix, suffixLength);
128 AKLOGE("outDirPathBufSize is too small. filePath: %s, suffix: %s, outDirPathBufSize: %d",
129 filePath, suffix, outDirPathBufSiz
97 getFilePathWithSuffixBufSize(const char *const filePath, const char *const suffix) argument
102 getFilePathWithSuffix(const char *const filePath, const char *const suffix, const int filePathBufSize, char *const outFilePath) argument
117 getFilePathWithoutSuffix(const char *const filePath, const char *const suffix, const int outDirPathBufSize, char *const outDirPath) argument
[all...]
/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...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DHelpers.java234 final String suffix;
241 suffix = "";
244 suffix = name.substring(dotIndex);
251 suffix = chooseExtensionFromMimeType(mimeType, true);
254 suffix = chooseExtensionFromFilename(mimeType, destination, name, dotIndex);
259 name = generateAvailableFilenameLocked(parentTest, prefix, suffix);
429 File[] parents, String prefix, String suffix) throws IOException {
430 String name = prefix + suffix;
452 name = prefix + Constants.FILENAME_SEQUENCE_SEPARATOR + sequence + suffix;
428 generateAvailableFilenameLocked( File[] parents, String prefix, String suffix) argument
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DStringUtil.java624 * 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
2854 endsWithIgnoreCase(String str, String suffix) argument
[all...]
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 1380 milliseconds