/packages/services/Car/tools/GenericCarApiBuilder/scripts/ |
D | add_assertPlatformVersionAtLeast.py | 43 line_number, filepath = int(tokens[1].strip()), tokens[2].strip() variable 45 if filepath not in apis: 46 apis[filepath] = [] 48 apis[filepath].append(line_number) 51 for filepath, line_numbers in apis.items(): 52 apis[filepath] = sorted(apis[filepath]) 54 for filepath, api_line_numbers in apis.items(): 57 if filepath not in new_lines: 58 new_lines[filepath] = 0 60 new_lines[filepath] += 1 [all …]
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/codeprovider/src/com/android/tests/codeprovider/storagetest_1/ |
D | StorageTestSdk1ApiImpl.java | 43 Path filepath = Paths.get(sharedPath, "dir", "file"); in verifySharedStorageIsUsable() local 44 Files.createFile(filepath); in verifySharedStorageIsUsable() 45 Files.write(filepath, input.getBytes()); in verifySharedStorageIsUsable() 61 Path filepath = Paths.get(sdkDataPath, "dir", "file"); in verifyPerSdkStorageIsUsable() local 62 Files.createFile(filepath); in verifyPerSdkStorageIsUsable() 63 Files.write(filepath, input.getBytes()); in verifyPerSdkStorageIsUsable() 87 final Path filepath = Paths.get(path, "attribution", "file"); in createFilesinStorage() local 88 Files.createFile(filepath); in createFilesinStorage() 89 Files.write(filepath, buffer); in createFilesinStorage()
|
/packages/modules/adb/client/ |
D | incremental_server.cpp | 152 File(const char* filepath, FileId id, int64_t size, unique_fd fd, int64_t tree_offset, in File() argument 154 : File(filepath, id, size, tree_offset) { in File() 157 priority_blocks_ = PriorityBlocksForFile(filepath, fd_.get(), size); in File() 181 const char* const filepath; member in incremental::File 186 File(const char* filepath, FileId id, int64_t size, int64_t tree_offset) in File() argument 187 : filepath(filepath), id(id), size(size), tree_offset_(tree_offset) { in File() 394 fprintf(stderr, "Failed to get data for %s.idsig at blockIdx=%d.\n", file.filepath, in SendTreeBlock() 414 D("Skipped reading file %s at block %" PRId32 " (past end).", file.filepath, blockIdx); in SendDataBlock() 429 fprintf(stderr, "Failed to get data for %s at blockIdx=%d (%d).\n", file.filepath, blockIdx, in SendDataBlock() 658 static std::pair<unique_fd, int64_t> open_fd(const char* filepath) { in open_fd() argument [all …]
|
D | incremental_utils.h | 40 std::vector<int32_t> PriorityBlocksForFile(const std::string& filepath, borrowed_fd fd,
|
D | incremental_utils.cpp | 373 std::vector<int32_t> PriorityBlocksForFile(const std::string& filepath, borrowed_fd fd, in PriorityBlocksForFile() argument 375 if (!android::base::EndsWithIgnoreCase(filepath, ".apk"sv)) { in PriorityBlocksForFile()
|
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/ |
D | EthernetConfigStore.java | 55 private static boolean doesConfigFileExist(final String filepath) { in doesConfigFileExist() argument 56 return new File(filepath).exists(); in doesConfigFileExist() 107 private void loadConfigFileLocked(final String filepath) { in loadConfigFileLocked() argument 110 IpConfigStore.readIpConfigurations(filepath); in loadConfigFileLocked() 127 void write(String iface, IpConfiguration config, String filepath) { in write() argument 139 mStore.writeIpConfigurations(filepath, mIpConfigurations); in write()
|
/packages/services/Car/tools/ |
D | update-obd2-sensors.py | 233 def generateJava(filepath): argument 235 intfile = open(os.path.join(filepath, "IntegerSensorIndex.java"), "w") 236 floatfile = open(os.path.join(filepath, "FloatSensorIndex.java"), "w") 248 def generatePython(filepath): argument 250 destfile = open(filepath, "w") 271 def load(filepath): argument 273 ast = hidl_parser.parser.parse(filepath)
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | FileTsStreamer.java | 153 String filepath = new File(FILE_DIR, channel.filename).getAbsolutePath(); in startStream() local 154 mSource = new StreamProvider(filepath); in startStream() 254 private StreamProvider(String filepath) { in StreamProvider() argument 255 mFilepath = filepath; in StreamProvider() 256 open(filepath); in StreamProvider() 259 private void open(String filepath) { in open() argument 261 mInputStream = new BufferedInputStream(new FileInputStream(filepath)); in open()
|
/packages/modules/SdkExtensions/derive_classpath/ |
D | derive_classpath.cpp | 178 bool ReadClasspathFragment(ExportedClasspathsJars* fragment, const std::string& filepath) { in ReadClasspathFragment() argument 179 LOG(INFO) << "ReadClasspathFragment " << filepath; in ReadClasspathFragment() 181 if (!android::base::ReadFileToString(filepath, &contents)) { in ReadClasspathFragment() 182 PLOG(ERROR) << "Failed to read " << filepath; in ReadClasspathFragment() 186 LOG(ERROR) << "Failed to parse " << filepath; in ReadClasspathFragment()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | IoOveruseConfigsTest.cpp | 106 for (const auto& [filepath, config] : configsByFilePath) { in toString() 110 StringAppendF(&buffer, "{Filepath{\"%s\"}, %s}", filepath.c_str(), in toString() 239 [&](const char* filepath) -> Result<ResourceOveruseConfiguration> { in IoOveruseConfigsPeer() argument 240 if (const auto it = configsByFilepaths.find(filepath); it != configsByFilepaths.end()) { in IoOveruseConfigsPeer() 243 return Error() << "No configs available for the given filepath '" << filepath << "'"; in IoOveruseConfigsPeer() 246 const char* filepath) -> Result<void> { in IoOveruseConfigsPeer() argument 247 configsByFilepaths[filepath] = config; in IoOveruseConfigsPeer() 258 [[maybe_unused]] const char* filepath) -> Result<void> { in injectErrorOnWriteXmlFile() argument
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/btif_macros/src/ |
D | lib.rs | 23 let filepath = std::path::PathBuf::from(std::env::var("OUT_DIR").unwrap()) in debug_output_to_file() localVariable 29 let path = Path::new(&filepath); in debug_output_to_file()
|
/packages/services/Car/car_product/car_ui_portrait/tools/ |
D | export_emulator.py | 118 filepath = os.path.join(outputDir, 'start_emu.sh') 119 with open(os.open(filepath, os.O_CREAT | os.O_WRONLY, 0o750), 'w') as f:
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/ |
D | EthernetConfigStoreTest.java | 94 private void assertConfigFileExist(final String filepath) { in assertConfigFileExist() argument 95 assertTrue(new File(filepath).exists()); in assertConfigFileExist()
|
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/ |
D | dns_https_frontend.rs | 438 let filepath = format!("/proc/self/fd/{}", rd.as_raw_fd()); in create_quiche_config() localVariable 439 quiche_config.load_cert_chain_from_pem_file(&filepath)?; in create_quiche_config() 446 let filepath = format!("/proc/self/fd/{}", rd.as_raw_fd()); in create_quiche_config() localVariable 447 quiche_config.load_priv_key_from_pem_file(&filepath)?; in create_quiche_config()
|
/packages/services/Car/cpp/bugreport/ |
D | main.cpp | 128 for (const auto& filepath : extra_files) { in zipFilesToFd() local 129 const auto name = android::base::Basename(filepath); in zipFilesToFd() 137 TEMP_FAILURE_RETRY(open(filepath.c_str(), O_RDONLY | O_NOFOLLOW))); in zipFilesToFd()
|
/packages/modules/Virtualization/libs/devicemapper/src/ |
D | lib.rs | 263 let filepath = test_dir.join(filename); in prepare_tmpfile() localVariable 264 let f = File::create(&filepath).unwrap(); in prepare_tmpfile() 266 filepath in prepare_tmpfile()
|
/packages/modules/Bluetooth/floss/hcidoc/src/ |
D | parser.rs | 241 pub fn new(filepath: &str) -> std::io::Result<Self> { in new() 243 if filepath.len() == 0 { in new() 246 fd = Box::new(BufReader::new(File::open(filepath)?)); in new()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | TunerChannel.java | 395 public synchronized void setFilepath(String filepath) { in setFilepath() argument 396 mProto = mProto.toBuilder().setFilepath(filepath == null ? "" : filepath).build(); in setFilepath()
|
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/ |
D | migrate.rs | 616 fn merge_and_write_bluez_conf(filepath: String, conf: &mut Ini) { in merge_and_write_bluez_conf() 619 match existing_conf.load(filepath.clone()) { in merge_and_write_bluez_conf() 634 match conf.write(filepath.clone()) { in merge_and_write_bluez_conf() 636 info!("Successfully migrated Floss to BlueZ: {}", filepath); in merge_and_write_bluez_conf() 639 error!("Error writing Floss to BlueZ: {}: {}", filepath, err); in merge_and_write_bluez_conf()
|
/packages/modules/AdServices/adservices/scripts/ |
D | adservices_ui_tests.py | 118 def _write(self, xml, filepath): argument 119 f = open(filepath, "w")
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageManager.java | 249 public static int getExifOrientation(String filepath) { in getExifOrientation() argument 253 exif = new ExifInterface(filepath); in getExifOrientation()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/coex/ |
D | CoexManager.java | 819 final String filepath = mContext.getResources().getString( in readTableFromXml() local 821 if (filepath == null) { in readTableFromXml() 825 final File file = new File(filepath); in readTableFromXml()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoramaActivity.java | 954 String filepath = Storage.generateFilepath(filename); in savePanorama() local 957 ExifInterface exif = new ExifInterface(filepath); in savePanorama() 962 Log.e(TAG, "cannot set exif data: " + filepath); in savePanorama()
|
/packages/apps/TV/tuner/proto/ |
D | channel.proto | 33 optional string filepath = 6; field
|
/packages/modules/Bluetooth/tools/rootcanal/ |
D | CMakeLists.txt | 52 set(${pdl_NAME} "${pdl_OUTPUT_ABSOLUTE}" CACHE STRING "PDL output filepath for ${pdl_NAME}" FORCE)
|