Home
last modified time | relevance | path

Searched refs:tgt (Results 1 – 3 of 3) sorted by relevance

/system/sepolicy/tools/
Dsepolicy-check.c118 type_datum_t *tgt = NULL; in check_rule() local
138 tgt = hashtab_search(policy->p_types.table, t); in check_rule()
139 if (tgt == NULL) { in check_rule()
169 key.target_type = tgt->s.value; in check_rule()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp999 auto tgt = MetadataBuilder::New(*opener_, "super", 1); in TEST_F() local
1000 ASSERT_NE(tgt, nullptr); in TEST_F()
1001 ASSERT_NE(nullptr, tgt->FindPartition("sys_b-cow")); in TEST_F()
1002 ASSERT_NE(nullptr, tgt->FindPartition("vnd_b-cow")); in TEST_F()
1003 ASSERT_EQ(nullptr, tgt->FindPartition("prd_b-cow")); in TEST_F()
1071 auto tgt = MetadataBuilder::New(*opener_, "super", 1); in TEST_F() local
1072 ASSERT_NE(nullptr, tgt); in TEST_F()
1073 auto metadata = tgt->Export(); in TEST_F()
1220 auto tgt = MetadataBuilder::New(*opener_, "super", 0); in TEST_F() local
1221 ASSERT_NE(tgt, nullptr); in TEST_F()
[all …]
/system/libhidl/
Dtest_main.cpp130 std::string tgt; in TEST_F() local
132 tgt = src; in TEST_F()
133 EXPECT_STREQ(tgt.c_str(), "some stuff"); in TEST_F()