/system/sepolicy/tools/sepolicy-analyze/ |
D | typecmp.c | 24 k->target_type < c->key.target_type) in insert_type_rule() 27 k->target_type == c->key.target_type && in insert_type_rule() 34 k->target_type == c->key.target_type && in insert_type_rule() 68 if (k->source_type == k->target_type) { in create_type_rules_helper() 70 key.target_type = 0; in create_type_rules_helper() 75 if (k->source_type == k->target_type) in create_type_rules_helper() 86 key.target_type = 0; in create_type_rules_helper() 87 if (insert_type_rule(&key, d, &type_rules[k->target_type - 1])) in create_type_rules_helper() 130 l1->key.target_type < c->key.target_type) in find_match() 133 l1->key.target_type == c->key.target_type && in find_match() [all …]
|
D | dups.c | 27 if (k->source_type == k->target_type) in find_dups_helper() 34 tattr = &policydb->type_attr_map[k->target_type - 1]; in find_dups_helper() 36 ttype = policydb->type_val_to_struct[k->target_type - 1]; in find_dups_helper() 45 avkey.target_type = j + 1; in find_dups_helper() 47 avkey.target_type == k->target_type) in find_dups_helper() 49 if (avkey.source_type == avkey.target_type) in find_dups_helper() 52 ttype2 = policydb->type_val_to_struct[avkey.target_type - 1]; in find_dups_helper()
|
D | utils.c | 17 key->target_type == key->source_type ? "self" : in display_allow() 18 policydb->p_type_val_to_name[key->target_type in display_allow() 19 ? key->target_type - 1 : idx], in display_allow()
|
/system/sepolicy/tools/ |
D | sepolicy-check.c | 64 int t_op, uint32_t target_type, in expand_and_check() argument 87 match &= check(t_op, target_type, cur->key.target_type); in expand_and_check() 128 key.source_type = key.target_type = key.target_class = 0; in check_rule() 169 key.target_type = tgt->s.value; in check_rule() 175 t_op, key.target_type, in check_rule() 183 t_op, key.target_type, in check_rule()
|
/system/core/fs_mgr/tools/ |
D | dmctl.cpp | 81 std::string target_type = NextArg(); in Next() local 92 if (target_type == "zero") { in Next() 94 } else if (target_type == "linear") { in Next() 108 } else if (target_type == "android-verity") { in Next() 118 } else if (target_type == "bow") { in Next() 126 std::cerr << "Unrecognized target type: " << target_type << std::endl; in Next() 257 << target.spec.target_type; in DmListDevices() 327 << target.spec.target_type; in TableCmdHandler()
|
/system/vold/ |
D | MetadataCrypt.cpp | 186 const std::string& target_type, const KeyBuffer& crypt_params, in create_crypto_blk_dev() argument 225 target_type.copy(tgt->target_type, sizeof(tgt->target_type)); in create_crypto_blk_dev()
|
D | Devmapper.cpp | 127 strlcpy(tgt->target_type, "crypt", sizeof(tgt->target_type)); in create()
|
D | cryptfs.cpp | 999 strlcpy(tgt->target_type, "crypt", DM_MAX_TYPE_NAME); in load_crypto_mapping_table()
|
/system/core/fs_mgr/libdm/ |
D | dm_target.cpp | 45 snprintf(spec->target_type, sizeof(spec->target_type), "%s", name().c_str()); in Serialize()
|
D | dm_test.cpp | 169 EXPECT_EQ(strcmp(targets[0].spec.target_type, "linear"), 0); in TEST() 173 EXPECT_EQ(strcmp(targets[1].spec.target_type, "linear"), 0); in TEST()
|
/system/core/fs_mgr/ |
D | fs_mgr_dm_linear.cpp | 81 switch (extent.target_type) { in CreateDmTable() 97 LOG(ERROR) << "Unknown target type in metadata: " << extent.target_type; in CreateDmTable()
|
D | fs_mgr.cpp | 1738 if (strcmp(target.spec.target_type, "verity") == 0 && in fs_mgr_verity_is_check_at_most_once()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | metadata_format.h | 244 uint32_t target_type; member
|
/system/extras/partition_tools/ |
D | lpunpack.cc | 221 if (extent.target_type != LP_TARGET_TYPE_LINEAR) { in ExtractPartition() 222 std::cerr << "Unsupported target type in extent: " << extent.target_type << "\n"; in ExtractPartition()
|
D | lpdump.cc | 347 if (extent.target_type == LP_TARGET_TYPE_LINEAR) { in LpdumpMain() 351 } else if (extent.target_type == LP_TARGET_TYPE_ZERO) { in LpdumpMain()
|
/system/core/fs_mgr/liblp/ |
D | builder_test.cpp | 220 ASSERT_EQ(extent.target_type, LP_TARGET_TYPE_LINEAR); in TEST_F() 358 EXPECT_EQ(extent.target_type, LP_TARGET_TYPE_LINEAR); in TEST_F() 694 EXPECT_EQ(metadata->extents[0].target_type, LP_TARGET_TYPE_LINEAR); in TEST_F() 698 EXPECT_EQ(metadata->extents[1].target_type, LP_TARGET_TYPE_LINEAR); in TEST_F() 702 EXPECT_EQ(metadata->extents[2].target_type, LP_TARGET_TYPE_LINEAR); in TEST_F() 742 EXPECT_EQ(extent_a.target_type, extent_b.target_type); in TEST_F()
|
D | images.cpp | 285 if (extent.target_type != LP_TARGET_TYPE_LINEAR) { in AddPartitionImage() 394 if (extent.target_type != LP_TARGET_TYPE_LINEAR) { in CheckExtentOrdering()
|
D | io_test.cpp | 196 EXPECT_EQ(exported->extents[0].target_type, imported->extents[0].target_type); in TEST()
|
D | writer.cpp | 153 if (extent.target_type == LP_TARGET_TYPE_LINEAR) { in ValidateAndSerializeMetadata()
|
D | reader.cpp | 281 if (extent.target_type == LP_TARGET_TYPE_LINEAR && in ParseMetadata()
|
D | builder.cpp | 260 if (extent.target_type == LP_TARGET_TYPE_LINEAR) { in ImportExtents() 264 } else if (extent.target_type == LP_TARGET_TYPE_ZERO) { in ImportExtents()
|
/system/sepolicy/tests/ |
D | sepol_wrap.cpp | 282 db->p_type_val_to_name[(avtab_i->cur)->key.target_type - 1], in get_avtab_allow_rule()
|
/system/gsid/ |
D | gsi_service.cpp | 1004 if (extent.target_type != LP_TARGET_TYPE_LINEAR) { in GetPartitionSize()
|