/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 …]
|
/packages/inputmethods/LatinIME/native/jni/src/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/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PhonebookEntry.java | 33 public String suffix; field in PhonebookEntry.Name 49 Objects.equals(suffix, n.suffix) || suffix != null && suffix.equals(n.suffix)); in equals() 58 result = 23 * result + (suffix == null ? 0 : suffix.hashCode()); in hashCode() 74 sb.append(suffix); in toString() 133 name.suffix = n.getSuffix(); in PhonebookEntry()
|
/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/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ArchiveFileTestRule.java | 102 public Path generateFile(String suffix) throws IOException { in generateFile() argument 105 Path filePath = Files.createTempFile(mTemporaryPath, mMethodName, suffix, attr); in generateFile() 119 public Path dumpAssetFile(String assetPath, String suffix) throws IOException { in dumpAssetFile() argument 120 Path destinationPath = generateFile(suffix); in dumpAssetFile() 139 public ParcelFileDescriptor openAssetFile(String assetPath, String suffix) throws IOException { in openAssetFile() argument 140 Path destinationPath = dumpAssetFile(assetPath, suffix); in openAssetFile()
|
D | ArchiveHandleTest.java | 52 private ArchiveHandle prepareArchiveHandle(String archivePath, String suffix, in prepareArchiveHandle() argument 55 .openAssetFile(archivePath, suffix); in prepareArchiveHandle()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameSplitterTest.java | 250 name.suffix = "\u540E"; in testGuessFullNameStyleChineseMixed() 333 String middleName, String familyName, String suffix) { in assertSplitName() argument 340 assertEquals(suffix, name.getSuffix()); in assertSplitName() 344 String middleName, String familyName, String suffix) { in assertJoinedName() argument 346 familyName, suffix, true); in assertJoinedName() 350 String middleName, String familyName, String suffix, boolean givenNameFirst) { in assertJoinedName() argument 357 name.suffix = suffix; in assertJoinedName()
|
D | TestUtils.java | 93 public static String getContactsDatabaseFilename(Context context, String suffix) { in getContactsDatabaseFilename() argument 94 return getDatabaseFile(context, "contacts2" + suffix + ".db"); in getContactsDatabaseFilename() 101 public static String getProfileDatabaseFilename(Context context, String suffix) { in getProfileDatabaseFilename() argument 102 return getDatabaseFile(context, "profile.db" + suffix + ".db"); in getProfileDatabaseFilename() 213 public static final String dumpToCacheDir(Context context, String prefix, String suffix, in dumpToCacheDir() argument 216 File file = File.createTempFile(prefix, suffix, context.getCacheDir()); in dumpToCacheDir()
|
/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/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 264 final String suffix; in generateSaveFile() local 271 suffix = ""; in generateSaveFile() 274 suffix = name.substring(dotIndex); in generateSaveFile() 281 suffix = chooseExtensionFromMimeType(mimeType, true); in generateSaveFile() 284 suffix = chooseExtensionFromFilename(mimeType, destination, name, dotIndex); in generateSaveFile() 289 name = generateAvailableFilenameLocked(parentTest, prefix, suffix); in generateSaveFile() 459 File[] parents, String prefix, String suffix) throws IOException { in generateAvailableFilenameLocked() argument 460 String name = prefix + suffix; in generateAvailableFilenameLocked() 482 name = prefix + Constants.FILENAME_SEQUENCE_SEPARATOR + sequence + suffix; in generateAvailableFilenameLocked()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | FileSizeFormatter.java | 54 @Nullable Context context, long sizeBytes, int suffix, long mult) { in formatFileSize() argument 59 formatBytes(context.getResources(), sizeBytes, suffix, mult); in formatFileSize() 80 Resources res, long sizeBytes, int suffix, long mult) { in formatBytes() argument 112 final String units = res.getString(suffix); in formatBytes()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/ |
D | FileSizeFormatter.java | 54 @Nullable Context context, long sizeBytes, int suffix, long mult) { in formatFileSize() argument 59 formatBytes(context.getResources(), sizeBytes, suffix, mult); in formatFileSize() 80 Resources res, long sizeBytes, int suffix, long mult) { in formatBytes() argument 112 final String units = res.getString(suffix); in formatBytes()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | FileSizeFormatter.java | 57 @NonNull Context context, long sizeBytes, int suffix, long mult) { in formatFileSize() argument 59 formatBytes(context.getResources(), sizeBytes, suffix, mult); in formatFileSize() 80 Resources res, long sizeBytes, int suffix, long mult) { in formatBytes() argument 112 String units = res.getString(suffix); in formatBytes()
|
/packages/services/Car/tools/ |
D | update-obd2-sensors.py | 71 def suffix(self, theSensors): member in SensorPolicy 100 s += self.suffix(theSensors) + "\n" 178 def suffix(self, theSensors): member in IntDefSensorPolicy
|
/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/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/ |
D | FileUtils.java | 85 static File getFileWithSuffix(Context context, String timestamp, String suffix) { in getFileWithSuffix() argument 86 return new File(createTempDir(context, timestamp), timestamp + suffix); in getFileWithSuffix()
|
/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/services/Car/tests/BugReportApp/utils/ |
D | bugreport_app_tester.py | 257 tmpdir = tempfile.mkdtemp(prefix='aae-bugreport-', suffix='db') 496 tmpdir = tempfile.mkdtemp(prefix='aae-bugreport-', suffix='zip', dir=".")
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerRecordingSessionWorker.java | 388 int suffix = mRandom.nextInt(); in getStorageKey() local 389 return String.format(Locale.ENGLISH, "%016x_%016x", prefix, suffix); in getStorageKey()
|