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