/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()
|
/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/modules/GeoTZ/s2storage/ |
D | README.md | 71 the "same prefix" property. All ranges with a common prefix can be stored in one "suffix table". 80 applying a fixed offset. The block info and block data for the cell's suffix table can be accessed 86 used to obtain the `{block ID}` of the block used to store the suffix table. The `{block ID}` is 93 (described above) which stores the suffix table's entries. 95 The `{suffix}`, the final `{Y}` bits of the search S2 cell ID, is used to seek for a record 96 containing the s2 range holding that cell ID, if any. The `{suffix}` will match either no records or 99 For more information on suffix table storage, see the Suffix Table Blocks section below. 107 The header contains format information needed to address the suffix table blocks 123 It is important to keep the number of bits used in each suffix table entry to a 159 only a numeric bank ID and a numeric set ID. The bank ID is the same for all entries in suffix [all …]
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/ |
D | ProtocolRequestCreator.java | 103 private String joinBaseUriWithSuffix(String baseUri, String suffix) { in joinBaseUriWithSuffix() argument 104 if (suffix.isEmpty() || !suffix.startsWith("/")) { in joinBaseUriWithSuffix() 111 suffix = suffix.substring(1); in joinBaseUriWithSuffix() 112 return String.join("/", baseUri, suffix); in joinBaseUriWithSuffix()
|
/packages/apps/DocumentsUI/tests/functional/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()
|
/packages/providers/MediaProvider/jni/ |
D | Android.bp | 83 lib32: { suffix: "32", }, 84 lib64: { suffix: "64", }, 120 lib32: { suffix: "32", }, 121 lib64: { suffix: "64", }, 152 lib32: { suffix: "32", }, 153 lib64: { suffix: "64", },
|
/packages/modules/Bluetooth/tools/pdl/src/backends/rust/ |
D | types.rs | 119 let suffix = endianness_suffix(endianness, width); in get_uint() localVariable 122 let get_u = format_ident!("get_u{}{}", value_type.width, suffix); in get_uint() 127 let get_uint = format_ident!("get_uint{}", suffix); in get_uint() 146 let suffix = endianness_suffix(endianness, width); in put_uint() localVariable 149 let put_u = format_ident!("put_u{}{}", width, suffix); in put_uint() 154 let put_uint = format_ident!("put_uint{}", suffix); in put_uint()
|
/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/modules/Virtualization/tests/benchmark_hostside/java/android/avf/test/ |
D | AVFHostTestCase.java | 447 String suffix = ""; in enableDisablePKVMTestHelper() local 449 suffix = "enable"; in enableDisablePKVMTestHelper() 451 suffix = "disable"; in enableDisablePKVMTestHelper() 454 reportMetric(bootDmesgTime, "dmesg_boot_time_with_pkvm_" + suffix, "s"); in enableDisablePKVMTestHelper() 456 "bootloader_time_with_pkvm_" + suffix, "ms"); in enableDisablePKVMTestHelper() 476 String suffix = ""; in composTestHelper() local 478 suffix = "with_compos"; in composTestHelper() 480 suffix = "without_compos"; in composTestHelper() 483 reportMetric(bootDmesgTime, "dmesg_boot_time_" + suffix, "s"); in composTestHelper()
|
/packages/modules/Uwb/service/uci/jni/ |
D | Android.bp | 75 // Support multilib variants (using different suffix per sub-architecture), which is needed on 81 suffix: "32", 84 suffix: "64",
|
/packages/modules/Bluetooth/system/gd/ |
D | Android.bp | 779 suffix: ".cpython-38android-arm-android-bionic", 783 suffix: ".cpython-38android-arm64-android-bionic", 787 suffix: ".cpython-38android-x86-android-bionic", 791 suffix: ".cpython-38android-x86_64-android-bionic", 801 suffix: ".cpython-38android-x86_64-darwin", 808 suffix: ".cpython-38android-x86_64-linux-bionic", 816 // Commenting out the Linux suffix so that cpython-38-x86_64-linux-gnu 820 // suffix: ".cpython-38android-x86_64-linux-gnu", 828 // Commenting out the Linux suffix so that cpython-38-x86_64-linux-gnu 832 // suffix: ".cpython-38android-x86_64-linux-gnu",
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 288 final String suffix; in generateSaveFile() local 295 suffix = ""; in generateSaveFile() 298 suffix = name.substring(dotIndex); in generateSaveFile() 305 suffix = chooseExtensionFromMimeType(mimeType, true); in generateSaveFile() 308 suffix = chooseExtensionFromFilename(mimeType, destination, name, dotIndex); in generateSaveFile() 313 name = generateAvailableFilenameLocked(parentTest, prefix, suffix); in generateSaveFile() 483 File[] parents, String prefix, String suffix) throws IOException { in generateAvailableFilenameLocked() argument 484 String name = prefix + suffix; in generateAvailableFilenameLocked() 507 name = prefix + Constants.FILENAME_SEQUENCE_SEPARATOR + sequence + suffix; in generateAvailableFilenameLocked()
|
/packages/modules/StatsD/statsd/src/storage/ |
D | StorageManager.cpp | 486 void StorageManager::deleteSuffixedFiles(const char* path, const char* suffix) { in deleteSuffixedFiles() argument 500 size_t suffixLen = strlen(suffix); in deleteSuffixedFiles() 501 if (suffixLen <= nameLen && strncmp(name + nameLen - suffixLen, suffix, suffixLen) == 0) { in deleteSuffixedFiles() 535 string suffix = StringPrintf("%d_%lld", key.GetUid(), (long long)key.GetId()); in hasConfigMetricsReport() local 543 size_t suffixLen = suffix.length(); in hasConfigMetricsReport() 545 strncmp(name + nameLen - suffixLen, suffix.c_str(), suffixLen) == 0) { in hasConfigMetricsReport() 665 string suffix = StringPrintf("%d_%lld", key.GetUid(), (long long)key.GetId()); in readConfigFromDisk() local 673 size_t suffixLen = suffix.length(); in readConfigFromDisk() 676 strncmp(name + nameLen - suffixLen, suffix.c_str(), suffixLen) == 0) { in readConfigFromDisk()
|
/packages/modules/Connectivity/tests/cts/net/native/dns/ |
D | Android.bp | 40 suffix: "32", 43 suffix: "64",
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | PerBuyerBiddingRunnerTest.java | 213 private List<DBCustomAudience> createCustomAudienceList(int count, String suffix) { in createCustomAudienceList() argument 216 customAudienceList.add(createDBCustomAudience(mBuyer, String.valueOf(i), suffix)); in createCustomAudienceList() 287 ResponseMatcher(String suffix) { in ResponseMatcher() argument 288 this.mSuffix = suffix; in ResponseMatcher()
|
/packages/modules/Connectivity/tests/cts/net/native/ |
D | Android.bp | 27 suffix: "32", 30 suffix: "64",
|
/packages/modules/Connectivity/service/native/libs/libclat/ |
D | Android.bp | 59 suffix: "32", 62 suffix: "64",
|
/packages/services/Car/cpp/security/vehicle_binding_util/tests/ |
D | Android.bp | 58 suffix: "32", 61 suffix: "64",
|
/packages/modules/Virtualization/compos/src/ |
D | artifact_signer.rs | 48 let suffix = path in add_artifact() localVariable 51 let target_path = Path::new(TARGET_DIRECTORY).join(suffix); in add_artifact()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | FileUtils.java | 106 static File getFileWithSuffix(Context context, String timestamp, String suffix) { in getFileWithSuffix() argument 107 return new File(getTempDir(context, timestamp), timestamp + suffix); in getFileWithSuffix()
|
/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/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/ |
D | TzS2RangeFileFormat.java | 359 int suffix = extractSuffixValueFromCellId(cellId); in cellIdToString() local 361 String suffixBitsString = BitwiseUtils.toUnsignedString(mSuffixBitCount, suffix); in cellIdToString() 363 + ", suffix=" + suffix + " (" + suffixBitsString + ")" in cellIdToString()
|