Home
last modified time | relevance | path

Searched refs:file_path (Results 1 – 23 of 23) sorted by relevance

/packages/services/Car/tools/scripts/
Dremove-apirequirements.py45 file_path = os.path.join(directory, file_name)
47 if os.path.isfile(file_path):
48 remove_api_requirements(file_path)
49 delete_text_from_files(file_path)
51 if os.path.isdir(file_path):
52 delete_text_from_files(file_path)
54 def remove_api_requirements(file_path): argument
55 with open(file_path, 'r+') as f:
/packages/modules/Bluetooth/system/gd/sysprops/
Dsysprops_module.cc43 std::string file_path = os::ParameterProvider::SyspropsFilePath(); in Start() local
44 if (!file_path.empty()) { in Start()
45 parse_config(file_path); in Start()
47 std::string override_dir = file_path + ".d"; in Start()
66 void SyspropsModule::parse_config(std::string file_path) { in parse_config() argument
111 auto config = storage::LegacyConfigFile::FromPath(file_path).Read(kDefaultCapacity); in parse_config()
Dsysprops_module.h45 void parse_config(std::string file_path);
/packages/modules/Virtualization/microdroid/payload/
Dmk_payload.cc193 Result<bool> ZeroFiller(const std::string& file_path, const std::string& filler_path) { in ZeroFiller() argument
194 auto file_size = GetFileSize(file_path); in ZeroFiller()
217 auto add_partition = [&](auto partition_name, auto file_path) -> Result<void> { in MakePayload() argument
218 std::vector<std::string> image_files{file_path}; in MakePayload()
222 if (auto ret = ZeroFiller(file_path, filler_path); !ret.ok()) { in MakePayload()
/packages/services/Car/tools/telemetry/lua-interpreter/
Dapp.py49 file_path = os.path.join(os.path.dirname(__file__), "data")
51 os.listdir(file_path))
60 json_file_path = os.path.join(file_path, file_name + '.json')
/packages/modules/Bluetooth/system/osi/test/
Dconfig_test.cc256 base::FilePath file_path(filename.string()); in TEST_F() local
258 EXPECT_EQ(base::WriteFile(file_path, checksum.data(), checksum.size()), in TEST_F()
270 base::FilePath file_path(filename.string()); in TEST_F() local
274 EXPECT_TRUE(base::PathExists(file_path)); in TEST_F()
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dasync_subprocess_logger.py85 … log_files = [stack.enter_context(open(file_path, 'w')) for file_path in self.log_file_paths]
/packages/providers/MediaProvider/jni/
Dnode-inl.h82 FdAccessResult(const std::string& file_path, const bool should_redact) in FdAccessResult()
83 : file_path(file_path), should_redact(should_redact) {} in FdAccessResult()
85 const std::string file_path; member
Dnode_test.cpp382 ASSERT_EQ(res->file_path, "/path"); in TEST_F()
396 ASSERT_EQ(res->file_path, "/path"); in TEST_F()
416 ASSERT_EQ(res->file_path, "/path"); in TEST_F()
432 ASSERT_EQ(res->file_path, ""); in TEST_F()
440 ASSERT_EQ(res->file_path, ""); in TEST_F()
Dcom_android_providers_media_FuseDaemon.cpp178 env->NewStringUTF(result->file_path.c_str()), result->should_redact); in com_android_providers_media_FuseDaemon_check_fd_access()
/packages/modules/Bluetooth/system/blueberry/utils/
Dbt_audio_utils.py276 file_path, file_name = os.path.split(audio_file)
283 output_file = os.path.join(file_path, output_file_name)
/packages/modules/Virtualization/microdroid/initrd/src/
Dmain.rs55 fn get_checksum(file_path: &PathBuf) -> Result<u32> { in get_checksum()
56 File::open(file_path)?.bytes().map(|x| Ok(x? as u32)).sum() in get_checksum()
/packages/modules/adb/
Dtest_device.py1396 file_path = 'tmp_large_file'
1398 fh = open(file_path, 'w')
1401 subproc = subprocess.Popen(self.device.adb_cmd + ['push', file_path, '/data/local/tmp'])
1408 os.unlink(file_path)
1425 file_path = 'tmp_large_file'
1432 ['pull','/data/local/tmp/tmp_large_file', file_path])
1439 os.unlink(file_path)
/packages/services/Car/cpp/computepipe/runner/input_manager/
DVideoInputManager.cpp84 !config.video_config().file_path().empty()) { in populateDecoders()
DVideoDecoder.cpp59 mVideoPath = config.video_config().file_path(); in VideoDecoder()
/packages/modules/Bluetooth/system/blueberry/controllers/
Dbt_stub.py138 def delete_song(self, file_path: str = '') -> None:
/packages/services/Car/cpp/computepipe/proto/
DInputConfig.proto23 optional string file_path = 2; field
/packages/modules/Virtualization/authfs/fd_server/src/
Daidl.rs259 fn openFileInDirectory(&self, dir_fd: i32, file_path: &str) -> BinderResult<i32> { in openFileInDirectory()
260 let path_buf = PathBuf::from(file_path); in openFileInDirectory()
/packages/services/Car/cpp/computepipe/runner/client_interface/
DPipeOptionsConverter.cpp151 aidlInputDesc.videoDesc.filePath = inputStreamConfig.video_config().file_path(); in ConvertInputConfigProto()
/packages/services/Car/tools/cpu_perf/
Dperfetto_cpu_analysis.py255 tp = TraceProcessor(file_path=traceFile)
/packages/modules/Bluetooth/system/build/secondary/third_party/libchrome/
DBUILD.gn45 "base/files/file_path.cc",
/packages/modules/Virtualization/microdroid/kernel/arm64/
DSystem.map9061 ffffffc008261b8c T file_path
/packages/modules/Virtualization/microdroid/kernel/x86_64/
DSystem.map11380 ffffffff812e3340 t file_path