Searched refs:block_device (Results 1 - 3 of 3) sorted by relevance

/system/extras/verity/
H A Dbuild_verity_metadata.py40 def build_verity_table(block_device, data_blocks, root_hash, salt):
42 table %= ( block_device,
43 block_device,
53 salt, block_device, signer_path, signing_key):
55 verity_table = build_verity_table(block_device, data_blocks, root_hash, salt)
72 block_device = sys.argv[5] variable
76 salt, block_device, signer_path, signing_key)
/system/core/adb/
H A Dset_verity_enable_state_service.cpp79 static int set_verity_enabled_state(int fd, const char *block_device, argument
89 if (!make_block_device_writable(block_device)) {
91 block_device, strerror(errno));
95 device = adb_open(block_device, O_RDWR | O_CLOEXEC);
97 WriteFdFmt(fd, "Could not open block device %s (%s).\n", block_device, strerror(errno));
103 if (get_target_device_size(fd, (char*)block_device, &device_length) < 0) {
143 block_device, strerror(errno));
/system/core/fs_mgr/
H A Dfs_mgr_verity.c207 static int read_verity_metadata(uint64_t device_size, char *block_device, char **signature, argument
222 device = TEMP_FAILURE_RETRY(open(block_device, O_RDONLY | O_CLOEXEC));
224 ERROR("Could not open block device %s (%s).\n", block_device, strerror(errno));

Completed in 43 milliseconds