Home
last modified time | relevance | path

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

/aosp12/bionic/tests/
H A Dmalloc_iterate_test.cpp52 test_data->allocs.resize(test_data->allocs.size() + 1); in AllocPtr()
86 test_data->allocs[i].size_reported = test_data->allocs[i].size; in SavePointers()
120 EXPECT_EQ(test_data->allocs[i].size, test_data->allocs[i].size_reported); in VerifyPtrs()
139 AllocPtr(test_data, size); in AllocateSizes()
149 TestDataType test_data; in TEST() local
161 VerifyPtrs(&test_data); in TEST()
163 FreePtrs(&test_data); in TEST()
173 TestDataType test_data; in TEST() local
180 VerifyPtrs(&test_data); in TEST()
182 FreePtrs(&test_data); in TEST()
[all …]
/aosp12/system/bt/gd/dumpsys/
H A DAndroid.bp36 "test_data/root.fbs",
37 "test_data/bar.fbs",
38 "test_data/baz.fbs",
39 "test_data/foo.fbs",
40 "test_data/qux.fbs",
58 "test_data/root.fbs",
59 "test_data/bar.fbs",
60 "test_data/baz.fbs",
61 "test_data/foo.fbs",
62 "test_data/qux.fbs",
/aosp12/system/core/storaged/tests/
H A Dstoraged_test.cpp144 std::deque<uint32_t> test_data; in TEST() local
147 test_data.push_back(i); in TEST()
151 EXPECT_EQ((int)mean(test_data), (int)sstats.get_mean()); in TEST()
155 test_data.pop_front(); in TEST()
159 EXPECT_EQ((int)mean(test_data), (int)sstats.get_mean()); in TEST()
164 test_data.clear(); in TEST()
169 test_data.push_back(another_data[idx]); in TEST()
173 EXPECT_EQ((int)mean(test_data), (int)sstats1.get_mean()); in TEST()
175 test_data.pop_front(); in TEST()
177 test_data.push_back(another_data[idx]); in TEST()
[all …]
/aosp12/hardware/libhardware/modules/camera/3_4/metadata/
H A Dcontrol_test.cpp325 std::vector<uint8_t> test_data = {1, 2, 3}; in TEST_F() local
326 ASSERT_EQ(UpdateMetadata(&metadata, delegate_tag_, test_data), 0); in TEST_F()
335 std::vector<uint8_t> test_data = {1, 2, 3}; in TEST_F() local
336 ASSERT_EQ(UpdateMetadata(&metadata, delegate_tag_, test_data), 0); in TEST_F()
430 std::vector<uint8_t> test_data = {1, 2, 3}; in TEST_F() local
431 ASSERT_EQ(UpdateMetadata(&metadata, delegate_tag_, test_data), 0); in TEST_F()
441 std::vector<uint8_t> test_data = {1, 2, 3}; in TEST_F() local
442 ASSERT_EQ(UpdateMetadata(&metadata, delegate_tag_, test_data), 0); in TEST_F()
/aosp12/system/bt/gd/common/
H A Dcircular_buffer_test.cc88 std::vector<std::string> test_data; in TEST() local
92 test_data.push_back(std::string(buf)); in TEST()
101 ASSERT_EQ(test_data[i], v.entry.c_str()); in TEST()
H A Dbyte_array_test.cc26 static uint8_t test_data[16] = { variable
44 ASSERT_EQ(test_data[i], byte_array->bytes[i]); in TEST()
/aosp12/system/bt/gd/
H A Dmodule_unittest.cc303 auto test_data = data->module_unittest_data(); in TEST_F() local
304 EXPECT_STREQ("Initial Test String", test_data->title()->c_str()); in TEST_F()
313 test_data = data->module_unittest_data(); in TEST_F()
314 EXPECT_STREQ("A Second Test String", test_data->title()->c_str()); in TEST_F()
/aosp12/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/
H A Dgeometry_utils_test.cpp40 const float test_data[] = { 0.0f, 1.0f, 123.456f, -1.0f, -9876.54321f }; in TEST() local
41 for (const float value : test_data) { in TEST()
/aosp12/hardware/nxp/nfc/pn8x/halimpl/self-test/
H A DphNxpNciHal_SelfTest.cc891 nci_test_data_t* test_data = (nci_test_data_t*)p_cb_data->pContext; in hal_read_cb() local
893 if (test_data->exp_rsp.len == 0) { in hal_read_cb()
895 if (test_data->ntf_validator(&(test_data->exp_ntf), pInfo) == 1) { in hal_read_cb()
903 else if (test_data->rsp_validator(&(test_data->exp_rsp), pInfo) == 1) { in hal_read_cb()
909 test_data->exp_rsp.len = 0; in hal_read_cb()
/aosp12/hardware/nxp/nfc/snxxx/halimpl/self-test/
H A DphNxpNciHal_SelfTest.cc891 nci_test_data_t* test_data = (nci_test_data_t*)p_cb_data->pContext; in hal_read_cb() local
893 if (test_data->exp_rsp.len == 0) { in hal_read_cb()
895 if (test_data->ntf_validator(&(test_data->exp_ntf), pInfo) == 1) { in hal_read_cb()
903 else if (test_data->rsp_validator(&(test_data->exp_rsp), pInfo) == 1) { in hal_read_cb()
909 test_data->exp_rsp.len = 0; in hal_read_cb()
/aosp12/art/tools/checker/file_format/checker/
H A Dparser.py233 for case_name, case_lines, start_line_no, test_data in split_stream(stream, fn_process_line,
235 test_arch = test_data[0]
236 for_debuggable = test_data[1]
/aosp12/system/core/init/parser/
H A Dtokenizer_test.cpp24 #define SETUP_TEST(test_data) \ argument
25 std::string data(test_data); \
/aosp12/packages/modules/Virtualization/authfs/src/fsverity/
H A Dbuilder.rs247 fn generate_fsverity_digest_sequentially(test_data: &[u8]) -> Result<Sha256Hash> { in generate_fsverity_digest_sequentially()
249 for (index, chunk) in test_data.chunks(CHUNK_SIZE as usize).enumerate() { in generate_fsverity_digest_sequentially()
/aosp12/frameworks/rs/tests/java_api/RsBLAS_Benchmark/libsgemm/
H A DAndroid.bp26 srcs: ["test_data.cpp"],
/aosp12/packages/modules/ExtServices/native/tests/
H A DAndroid.bp53 "test_data/*.raw",
/aosp12/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/caruirecyclerview/
H A DCarUiRecyclerViewActivity.java60 mData.add(getString(R.string.test_data) + i); in generateSampleData()
/aosp12/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/widescreenime/
H A DWideScreenTestView.java87 data.add(getString(R.string.test_data) + i); in generateSampleData()
/aosp12/system/update_engine/common/
H A Dprefs_unittest.cc219 const string test_data = "test data"; in TEST_F() local
220 ASSERT_TRUE(SetValue(kKey, test_data)); in TEST_F()
223 EXPECT_EQ(test_data, value); in TEST_F()