Lines Matching full:encrypted
22 // If the filesystem is using an encrypted block device, it will also
133 static const char* find_block_device(const char* path, bool* encryptable, bool* encrypted) {
135 // return its block device. Set encrypted if it's currently
136 // encrypted.
145 *encrypted = false;
151 strcmp(buffer, "encrypted") == 0) {
152 *encrypted = true;
177 bool encrypted, int status_fd) {
212 if (encrypted) {
228 if (encrypted) {
254 if (encrypted) {
265 if (encrypted) {
295 if (encrypted) {
316 if (encrypted) {
382 bool encrypted;
383 const char* blk_dev = find_block_device(path, &encryptable, &encrypted);
389 // If the filesystem it's on isn't encrypted, we only produce the
393 ALOGI(" encrypted: %s\n", encrypted ? "yes" : "no");
404 if (produce_block_map(path, map_file, blk_dev, encrypted, status_fd) != 0) {