Home
last modified time | relevance | path

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

/hardware/libhardware/tests/keymaster/
Dkeymaster_test.cpp344 ASSERT_EQ(0, keymaster0_open(mod, &sDevice)) in SetUpTestCase()
350 ASSERT_TRUE(sDevice->generate_keypair != NULL) in SetUpTestCase()
353 ASSERT_TRUE(sDevice->import_keypair != NULL) in SetUpTestCase()
356 ASSERT_TRUE(sDevice->get_keypair_public != NULL) in SetUpTestCase()
359 ASSERT_TRUE(sDevice->sign_data != NULL) in SetUpTestCase()
362 ASSERT_TRUE(sDevice->verify_data != NULL) in SetUpTestCase()
367 ASSERT_EQ(0, keymaster0_close(sDevice)); in TearDownTestCase()
371 static keymaster0_device_t* sDevice; member in android::KeymasterBaseTest
374 keymaster0_device_t* KeymasterBaseTest::sDevice = NULL; member in android::KeymasterBaseTest
406 sDevice->generate_keypair(sDevice, key_type, &params, &key_blob, &key_blob_length)) in TEST_P()
[all …]