Home
last modified time | relevance | path

Searched refs:is_valid (Results 1 – 11 of 11) sorted by relevance

/system/keymaster/
Dauthorization_set_test.cpp60 EXPECT_EQ(AuthorizationSet::OK, set1.is_valid()); in TEST()
64 EXPECT_EQ(AuthorizationSet::OK, set2.is_valid()); in TEST()
169 EXPECT_EQ(AuthorizationSet::OK, deserialized.is_valid()); in TEST()
200 EXPECT_EQ(AuthorizationSet::OK, deserialized.is_valid()); in TEST()
217 EXPECT_EQ(AuthorizationSet::MALFORMED_DATA, deserialized.is_valid()); in TEST()
221 EXPECT_EQ(AuthorizationSet::MALFORMED_DATA, deserialized.is_valid()); in TEST()
243 EXPECT_EQ(AuthorizationSet::MALFORMED_DATA, deserialized.is_valid()); in TEST()
247 EXPECT_EQ(AuthorizationSet::MALFORMED_DATA, deserialized.is_valid()); in TEST()
305 EXPECT_EQ(AuthorizationSet::OK, deserialized1.is_valid()); in TEST()
309 EXPECT_EQ(AuthorizationSet::OK, deserialized1.is_valid()); in TEST()
[all …]
Dkey.cpp33 if (authorizations_.is_valid() != AuthorizationSet::OK) in Key()
Dauthorization_set.cpp65 if (is_valid() != OK) in reserve_elems()
83 if (is_valid() != OK) in reserve_indirect()
181 if (is_valid() != OK) in find()
195 if (is_valid() == OK && at < (int)elems_size_) { in operator []()
203 if (is_valid() != OK) in push_back()
220 if (is_valid() != OK) in push_back()
Dsoft_keymaster_context.cpp117 return TranslateAuthorizationSetError(hidden->is_valid()); in BuildHiddenAuthorizations()
155 return TranslateAuthorizationSetError(sw_enforced->is_valid()); in SetAuthorizations()
/system/bt/stack/avrc/
Davrc_utils.c226 BOOLEAN is_valid = FALSE; in avrc_is_valid_opcode() local
232 is_valid = TRUE; in avrc_is_valid_opcode()
235 return is_valid; in avrc_is_valid_opcode()
/system/core/libnetutils/
Dpacket.c160 int is_valid; in receive_packet() local
180 is_valid = 0; in receive_packet()
202 is_valid = 1; in receive_packet()
205 if (!is_valid) { in receive_packet()
/system/bt/test/suite/
Dmain.c93 static bool is_valid(const char *test_name) { in is_valid() function
122 if (!is_valid(argv[i])) { in main()
/system/media/alsa_utils/include/
Dalsa_device_profile.h49 bool is_valid; member
/system/media/alsa_utils/
Dalsa_device_profile.c73 profile->is_valid = false; in profile_reset()
88 return profile->is_valid; in profile_is_valid()
379 profile->is_valid = true; in profile_read_device_info()
/system/bt/bta/hl/
Dbta_hl_utils.c467 BOOLEAN is_valid =FALSE; in bta_hl_validate_cfg() local
474 return is_valid; in bta_hl_validate_cfg()
483 is_valid = TRUE; in bta_hl_validate_cfg()
490 is_valid = TRUE; in bta_hl_validate_cfg()
498 if (!is_valid) in bta_hl_validate_cfg()
500 APPL_TRACE_DEBUG("bta_hl_validate_dch_open_cfg is_valid=%d, cfg=%d", is_valid, cfg ); in bta_hl_validate_cfg()
503 return is_valid; in bta_hl_validate_cfg()
/system/keymaster/include/keymaster/
Dauthorization_set.h113 Error is_valid() const { return error_; } in is_valid() function