/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | NameSplitter.java | 89 public String suffix; field in NameSplitter.Name 103 String suffix) { in Name() argument 108 this.suffix = suffix; in Name() 130 return suffix; in getSuffix() 158 suffix = values.getAsString(StructuredName.SUFFIX); in fromValues() 176 putValueIfPresent(values, StructuredName.SUFFIX, suffix); in toValues() 195 suffix = null; in clear() 207 && TextUtils.isEmpty(suffix) in isEmpty() 216 + " family: " + familyName + " suffix: " + suffix + " ph/given: " in toString() 294 for (String suffix : mSuffixesSet) { in NameSplitter() [all …]
|
D | ContactsDatabaseHelper.java | 3048 name.suffix = cursor.getString(StructName205Query.SUFFIX); in upgradeStructuredNamesToVersion205() 5434 name.suffix = c.getString(RawContactNameQuery.SUFFIX); in updateRawContactDisplayName()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
D | file_utils.cpp | 98 const char *const suffix) { in getFilePathWithSuffixBufSize() argument 99 return strlen(filePath) + strlen(suffix) + 1 /* terminator */; in getFilePathWithSuffixBufSize() 103 const char *const suffix, const int filePathBufSize, char *const outFilePath) { in getFilePathWithSuffix() argument 104 snprintf(outFilePath, filePathBufSize, "%s%s", filePath, suffix); in getFilePathWithSuffix() 118 const char *const suffix, const int outDirPathBufSize, char *const outDirPath) { in getFilePathWithoutSuffix() argument 120 const int suffixLength = strlen(suffix); in getFilePathWithoutSuffix() 123 filePath, filePathLength, suffix, suffixLength); in getFilePathWithoutSuffix() 129 filePath, suffix, outDirPathBufSize); in getFilePathWithoutSuffix() 132 if (strncmp(filePath + resultFilePathLength, suffix, suffixLength) != 0) { in getFilePathWithoutSuffix() 133 AKLOGE("File Path %s does not have %s as a suffix", filePath, suffix); in getFilePathWithoutSuffix()
|
D | file_utils.h | 34 static int getFilePathWithSuffixBufSize(const char *const filePath, const char *const suffix); 36 static void getFilePathWithSuffix(const char *const filePath, const char *const suffix, 45 static bool getFilePathWithoutSuffix(const char *const filePath, const char *const suffix,
|
D | dict_file_writing_utils.cpp | 83 const char *const suffix, const BufferWithExtendableBuffer *const buffer) { in flushBufferToFileWithSuffix() argument 84 const int filePathBufSize = FileUtils::getFilePathWithSuffixBufSize(basePath, suffix); in flushBufferToFileWithSuffix() 86 FileUtils::getFilePathWithSuffix(basePath, suffix, filePathBufSize, filePath); in flushBufferToFileWithSuffix()
|
D | dict_file_writing_utils.h | 38 static bool flushBufferToFileWithSuffix(const char *const basePath, const char *const suffix,
|
/packages/apps/Exchange/tests/src/com/android/exchange/eas/ |
D | EasSyncContactsTests.java | 125 final String suffix = "Jr."; in testGenerateFileAsNullEmailValues() local 129 nameValues.put(StructuredName.SUFFIX, suffix); in testGenerateFileAsNullEmailValues() 131 final String generatedName = lastName + " " + suffix + ", " + firstName + " " + middleName; in testGenerateFileAsNullEmailValues() 140 final String suffix = "Jr."; in testGenerateFileAsNullFirstName() local 143 nameValues.put(StructuredName.SUFFIX, suffix); in testGenerateFileAsNullFirstName() 145 final String generatedName = lastName + " " + suffix + ", " + middleName; in testGenerateFileAsNullFirstName() 154 final String suffix = "Jr."; in testGenerateFileAsNullLastName() local 157 nameValues.put(StructuredName.SUFFIX, suffix); in testGenerateFileAsNullLastName() 168 final String suffix = "Jr."; in testGenerateFileAsNullMiddleName() local 171 nameValues.put(StructuredName.SUFFIX, suffix); in testGenerateFileAsNullMiddleName() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
D | SimpleTempStorage.java | 79 String suffix) throws IOException { in createTempFile() argument 84 if (suffix == null) { in createTempFile() 85 suffix = ".tmp"; in createTempFile() 94 f = new File(parent.getAbsolutePath(), prefix + n + suffix); in createTempFile() 142 public TempFile createTempFile(String prefix, String suffix) in createTempFile() argument 145 return SimpleTempStorage.this.createTempFile(this, prefix, suffix); in createTempFile() 151 public TempFile createTempFile(String prefix, String suffix, in createTempFile() argument 155 return SimpleTempStorage.this.createTempFile(this, prefix, suffix); in createTempFile()
|
D | TempPath.java | 52 TempFile createTempFile(String prefix, String suffix) throws IOException; in createTempFile() argument 69 TempFile createTempFile(String prefix, String suffix, in createTempFile() argument
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 108 final String suffix; in generateSaveFile() local 115 suffix = ""; in generateSaveFile() 118 suffix = name.substring(dotIndex); in generateSaveFile() 125 suffix = chooseExtensionFromMimeType(mimeType, true); in generateSaveFile() 128 suffix = chooseExtensionFromFilename(mimeType, destination, name, dotIndex); in generateSaveFile() 133 name = generateAvailableFilenameLocked(parentTest, prefix, suffix); in generateSaveFile() 303 File[] parents, String prefix, String suffix) throws IOException { in generateAvailableFilenameLocked() argument 304 String name = prefix + suffix; in generateAvailableFilenameLocked() 326 name = prefix + Constants.FILENAME_SEQUENCE_SEPARATOR + sequence + suffix; in generateAvailableFilenameLocked()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameSplitterTest.java | 314 String middleName, String familyName, String suffix) { in assertSplitName() argument 321 assertEquals(suffix, name.getSuffix()); in assertSplitName() 325 String middleName, String familyName, String suffix) { in assertJoinedName() argument 327 familyName, suffix, true); in assertJoinedName() 331 String middleName, String familyName, String suffix, boolean givenNameFirst) { in assertJoinedName() argument 338 name.suffix = suffix; in assertJoinedName()
|
D | TestUtils.java | 92 public static final String dumpToCacheDir(Context context, String prefix, String suffix, in dumpToCacheDir() argument 95 File file = File.createTempFile(prefix, suffix, context.getCacheDir()); in dumpToCacheDir()
|
D | BaseContactsProvider2Test.java | 655 String middleName, String familyName, String suffix) { in assertStructuredName() argument 673 assertEquals(suffix, c.getString(4)); in assertStructuredName()
|
D | ContactsProvider2Test.java | 7107 String suffix = " COLLATE LOCALIZED DESC"; in testContactSortOrder() local 7108 assertEquals(ContactsColumns.PHONEBOOK_BUCKET_ALTERNATIVE + suffix in testContactSortOrder() 7109 + ", " + Contacts.SORT_KEY_ALTERNATIVE + suffix, in testContactSortOrder() 7111 + suffix)); in testContactSortOrder()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
D | DeferredFileOutputStream.java | 79 private String suffix; field in DeferredFileOutputStream 123 public DeferredFileOutputStream(int threshold, String prefix, String suffix, File directory) in DeferredFileOutputStream() argument 130 this.suffix = suffix; in DeferredFileOutputStream() 163 outputFile = File.createTempFile(prefix, suffix, directory); in thresholdReached()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
D | SuffixFileFilter.java | 62 public SuffixFileFilter(String suffix) { in SuffixFileFilter() argument 63 this(suffix, IOCase.SENSITIVE); in SuffixFileFilter() 75 public SuffixFileFilter(String suffix, IOCase caseSensitivity) { in SuffixFileFilter() argument 76 if (suffix == null) { in SuffixFileFilter() 79 this.suffixes = new String[] {suffix}; in SuffixFileFilter()
|
D | FileFilterUtils.java | 62 public static IOFileFilter suffixFileFilter(String suffix) { in suffixFileFilter() argument 63 return new SuffixFileFilter(suffix); in suffixFileFilter()
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
D | StringUtil.java | 633 public static String stripSuffix(String str, String suffix) { in stripSuffix() argument 634 return str.endsWith(suffix) in stripSuffix() 635 ? str.substring(0, str.length() - suffix.length()) in stripSuffix() 650 String str, String suffix) { in stripSuffixIgnoreCase() argument 651 return endsWithIgnoreCase(str, suffix) in stripSuffixIgnoreCase() 652 ? str.substring(0, str.length() - suffix.length()) in stripSuffixIgnoreCase() 2773 String suffix = dbSpecComponent.substring( in expandShardNames() local 2783 tmp.append(prefix).append(shard).append(suffix); in expandShardNames() 2854 public static boolean endsWithIgnoreCase(String str, String suffix) { in endsWithIgnoreCase() argument 2855 int len = suffix.length(); in endsWithIgnoreCase() [all …]
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
D | ContactsSyncParser.java | 99 String suffix = null; in addData() local 133 suffix = getValue(); in addData() 315 ops.addName(entity, prefix, firstName, lastName, middleName, suffix, in addData() 1084 String middleName, String suffix, String yomiFirstName, String yomiLastName) { 1093 cvCompareString(cv, StructuredName.SUFFIX, suffix)) { 1099 builder.withValue(StructuredName.SUFFIX, suffix);
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | AttachmentService.java | 1339 final String suffix; in dump() local 1342 suffix = fileName.substring(lastDot); in dump() 1344 suffix = "[none]"; in dump() 1346 pw.print(" Suffix: " + suffix); in dump()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
D | NameConverterTests.java | 73 String givenName, String middleName, String familyName, String suffix) { in assertStructuredName() argument 80 checkNameComponent(StructuredName.SUFFIX, suffix, structuredName); in assertStructuredName()
|
/packages/apps/Browser/src/com/android/browser/ |
D | UploadHandler.java | 155 private Uri createTempFileContentUri(String suffix) { in createTempFileContentUri() argument 162 String.valueOf(System.currentTimeMillis()), suffix, mediaPath); in createTempFileContentUri()
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
D | RecognizerLogger.java | 193 private void deleteOldest(final String suffix) { in deleteOldest() argument 197 return name.startsWith("log_") && name.endsWith(suffix); in deleteOldest()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | fr_wordlist.combined.gz | 1dictionary=main:fr,locale=fr,description=Français,date=1400639634, ... |
D | en_US_wordlist.combined.gz | 1dictionary=main:en_us,locale=en_US,description=English (US),date ... |