/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 | 372 std::vector<int32_t> PriorityBlocksForFile(const std::string& filepath, borrowed_fd fd, in PriorityBlocksForFile() argument 374 if (!android::base::EndsWithIgnoreCase(filepath, ".apk"sv)) { in PriorityBlocksForFile()
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/codeprovider/src/com/android/tests/codeprovider/storagetest/ |
D | StorageTestSandboxedSdkProvider.java | 76 Path filepath = Paths.get(sharedPath, "dir", "file"); in testSdkSandboxDataAppDirectory_SharedStorageIsUsable() local 77 Files.createFile(filepath); in testSdkSandboxDataAppDirectory_SharedStorageIsUsable() 78 Files.write(filepath, input.getBytes()); in testSdkSandboxDataAppDirectory_SharedStorageIsUsable() 90 Path filepath = Paths.get(sharedPath, "attribution", "file"); in testSdkDataIsAttributedToApp() local 91 Files.createFile(filepath); in testSdkDataIsAttributedToApp() 92 Files.write(filepath, buffer); in testSdkDataIsAttributedToApp()
|
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/ |
D | EthernetConfigStore.java | 57 private static boolean doesConfigFileExist(final String filepath) { in doesConfigFileExist() argument 58 return new File(filepath).exists(); in doesConfigFileExist() 109 private void loadConfigFileLocked(final String filepath) { in loadConfigFileLocked() argument 111 IpConfigStore.readIpConfigurations(filepath); in loadConfigFileLocked() 120 void write(String iface, IpConfiguration config, String filepath) { in write() argument 132 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 | 175 bool ReadClasspathFragment(ExportedClasspathsJars* fragment, const std::string& filepath) { in ReadClasspathFragment() argument 176 LOG(INFO) << "ReadClasspathFragment " << filepath; in ReadClasspathFragment() 178 if (!android::base::ReadFileToString(filepath, &contents)) { in ReadClasspathFragment() 179 PLOG(ERROR) << "Failed to read " << filepath; in ReadClasspathFragment() 183 LOG(ERROR) << "Failed to parse " << filepath; in ReadClasspathFragment()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | IoOveruseConfigsTest.cpp | 103 for (const auto& [filepath, config] : configsByFilePath) { in toString() 107 StringAppendF(&buffer, "{Filepath{\"%s\"}, %s}", filepath.c_str(), in toString() 236 [&](const char* filepath) -> android::base::Result<ResourceOveruseConfiguration> { in IoOveruseConfigsPeer() argument 237 if (const auto it = configsByFilepaths.find(filepath); it != configsByFilepaths.end()) { in IoOveruseConfigsPeer() 240 return Error() << "No configs available for the given filepath '" << filepath << "'"; in IoOveruseConfigsPeer() 245 const char* filepath) -> android::base::Result<void> { in IoOveruseConfigsPeer() argument 246 configsByFilepaths[filepath] = config; in IoOveruseConfigsPeer() 258 [[maybe_unused]] const char* filepath) -> android::base::Result<void> { in injectErrorOnWriteXmlFile() argument
|
/packages/modules/DnsResolver/tests/doh/src/ |
D | dns_https_frontend.rs | 428 let filepath = format!("/proc/self/fd/{}", rd.as_raw_fd()); in create_quiche_config() localVariable 429 quiche_config.load_cert_chain_from_pem_file(&filepath)?; in create_quiche_config() 436 let filepath = format!("/proc/self/fd/{}", rd.as_raw_fd()); in create_quiche_config() localVariable 437 quiche_config.load_priv_key_from_pem_file(&filepath)?; in create_quiche_config()
|
/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/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/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/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/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/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/Gki/build/ |
D | gki.go | 310 return strings.TrimSuffix(pem.String(), filepath.Ext(pem.String()))
|
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/dbus_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()
|