Home
last modified time | relevance | path

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

/system/extras/boottime_tools/bootanalyze/stressfs/src/com/android/car/test/stressfs/
DWritingService.java84 byte[] testData) { in WriteToDisk() argument
88 mTestData = testData; in WriteToDisk()
150 byte[] testData = new String(builder).getBytes(); in onBind()
154 new WriteToDisk("data", dataPartitionFile, fileSize, testData).start(); in onBind()
155 new WriteToDisk("external", externalPartitionFile, fileSize, testData).start(); in onBind()
/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp999 const std::array<int, 6> testData{2, -32, 10, -4329454, 11, 24}; in TEST_F() local
1000 native_handle_t* h = native_handle_create(0, testData.size()); in TEST_F()
1001 ASSERT_EQ(sizeof(testData), testData.size() * sizeof(int)); in TEST_F()
1002 std::memcpy(h->data, testData.data(), sizeof(testData)); in TEST_F()
1051 const std::array<int, 6> testData{2, -32, 10, -4329454, 11, 24}; in TEST_F() local
1052 ASSERT_EQ(sizeof(testData), testData.size() * sizeof(int)); in TEST_F()
1061 native_handle* h = native_handle_create(1 /* numFds */, testData.size() /* numInts */); in TEST_F()
1062 std::memcpy(&(h->data[1]), testData.data(), sizeof(testData)); in TEST_F()
1106 const std::array<int, 6> testData{2, -32, 10, -4329454, 11, 24}; in TEST_F() local
1107 ASSERT_EQ(sizeof(testData), testData.size() * sizeof(int)); in TEST_F()
[all …]
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp2305 const std::array<int, 6> testData{2, -32, 10, -4329454, 11, 24}; in TEST_F() local
2306 native_handle_t* h = native_handle_create(0, testData.size()); in TEST_F()
2307 ASSERT_EQ(sizeof(testData), testData.size() * sizeof(int)); in TEST_F()
2308 std::memcpy(h->data, testData.data(), sizeof(testData)); in TEST_F()
2357 const std::array<int, 6> testData{2, -32, 10, -4329454, 11, 24}; in TEST_F() local
2358 ASSERT_EQ(sizeof(testData), testData.size() * sizeof(int)); in TEST_F()
2367 native_handle* h = native_handle_create(1 /* numFds */, testData.size() /* numInts */); in TEST_F()
2368 std::memcpy(&(h->data[1]), testData.data(), sizeof(testData)); in TEST_F()
2412 const std::array<int, 6> testData{2, -32, 10, -4329454, 11, 24}; in TEST_F() local
2413 ASSERT_EQ(sizeof(testData), testData.size() * sizeof(int)); in TEST_F()
[all …]
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DTestServiceClient.java410 String testData = "FrazzleSnazzleFlimFlamFlibbityGumboChops"; in testFileDescriptorPassing() local
411 byte[] output = testData.getBytes(); in testFileDescriptorPassing()
432 String testData = "FrazzleSnazzleFlimFlamFlibbityGumboChops"; in testParcelFileDescriptorPassing() local
433 byte[] output = testData.getBytes(); in testParcelFileDescriptorPassing()