Searched refs:block_device (Results 1 - 3 of 3) sorted by relevance
/system/extras/verity/ |
H A D | build_verity_metadata.py | 40 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 D | set_verity_enable_state_service.cpp | 79 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 D | fs_mgr_verity.c | 207 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