Searched refs:test_buf_ (Results 1 – 1 of 1) sorted by relevance
/system/core/trusty/storage/tests/ |
D | main.cpp | 84 test_buf_ = NULL; in SetUp() 91 if (test_buf_) { in TearDown() 92 delete[] test_buf_; in TearDown() 93 test_buf_ = NULL; in TearDown() 116 uint32_t *test_buf_; member in StorageServiceTest 1064 test_buf_ = new uint32_t[wc]; in TEST_P() 1065 fill_pattern32(test_buf_, wc * sizeof(uint32_t), 0); in TEST_P() 1066 rc = storage_write(handle, 0, test_buf_, wc * sizeof(uint32_t), STORAGE_OP_COMPLETE); in TEST_P() 1069 rc = storage_read(handle, 0, test_buf_, wc * sizeof(uint32_t)); in TEST_P() 1071 ASSERT_TRUE(check_pattern32(test_buf_, wc * sizeof(uint32_t), 0)); in TEST_P()
|