/system/core/gatekeeperd/tests/ |
gatekeeper_test.cpp | 67 SizedBuffer provided_password; local 70 provided_password.buffer.reset(new uint8_t[16]); 71 provided_password.length = 16; 72 memset(provided_password.buffer.get(), 0, 16); 77 &provided_password); 96 SizedBuffer provided_password; local 101 provided_password.buffer.reset(new uint8_t[16]); 102 provided_password.length = 16; 103 memset(provided_password.buffer.get(), 0, 16); 115 &provided_password); 151 SizedBuffer provided_password; local 196 SizedBuffer provided_password; local [all...] |
/system/gatekeeper/tests/ |
gatekeeper_messages_test.cpp | 51 SizedBuffer *provided_password = make_buffer(password_size); local 54 EnrollRequest msg(USER_ID, NULL, provided_password, NULL); 65 deserialized_password = &deserialized_msg.provided_password; 68 ASSERT_EQ(0, memcmp(msg.provided_password.buffer.get(), deserialized_password->buffer.get(), password_size)); 73 delete provided_password; 78 SizedBuffer *provided_password = make_buffer(password_size); local 83 EnrollRequest msg(USER_ID, &handle, provided_password, &enrolled); 94 deserialized_password = &deserialized_msg.provided_password; 97 ASSERT_EQ(0, memcmp(msg.provided_password.buffer.get(), deserialized_password->buffer.get(), password_size)); 102 delete provided_password; 107 SizedBuffer *provided_password = make_buffer(password_size); local 166 SizedBuffer *provided_password = make_buffer(password_size), local [all...] |
/system/gatekeeper/include/gatekeeper/ |
gatekeeper_messages.h | 152 SizedBuffer provided_password; member in struct:gatekeeper::VerifyRequest 172 SizedBuffer *provided_password, SizedBuffer *enrolled_password); 192 SizedBuffer provided_password; member in struct:gatekeeper::EnrollRequest
|