Home
last modified time | relevance | path

Searched refs:testData (Results 1 – 5 of 5) 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.cpp988 const std::array<int, 6> testData{2, -32, 10, -4329454, 11, 24}; in TEST_F() local
989 native_handle_t* h = native_handle_create(0, testData.size()); in TEST_F()
990 ASSERT_EQ(sizeof(testData), testData.size() * sizeof(int)); in TEST_F()
991 std::memcpy(h->data, testData.data(), sizeof(testData)); in TEST_F()
1040 const std::array<int, 6> testData{2, -32, 10, -4329454, 11, 24}; in TEST_F() local
1041 ASSERT_EQ(sizeof(testData), testData.size() * sizeof(int)); in TEST_F()
1050 native_handle* h = native_handle_create(1 /* numFds */, testData.size() /* numInts */); in TEST_F()
1051 std::memcpy(&(h->data[1]), testData.data(), sizeof(testData)); in TEST_F()
1095 const std::array<int, 6> testData{2, -32, 10, -4329454, 11, 24}; in TEST_F() local
1096 ASSERT_EQ(sizeof(testData), testData.size() * sizeof(int)); in TEST_F()
[all …]
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp2285 const std::array<int, 6> testData{2, -32, 10, -4329454, 11, 24}; in TEST_F() local
2286 native_handle_t* h = native_handle_create(0, testData.size()); in TEST_F()
2287 ASSERT_EQ(sizeof(testData), testData.size() * sizeof(int)); in TEST_F()
2288 std::memcpy(h->data, testData.data(), sizeof(testData)); in TEST_F()
2337 const std::array<int, 6> testData{2, -32, 10, -4329454, 11, 24}; in TEST_F() local
2338 ASSERT_EQ(sizeof(testData), testData.size() * sizeof(int)); in TEST_F()
2347 native_handle* h = native_handle_create(1 /* numFds */, testData.size() /* numInts */); in TEST_F()
2348 std::memcpy(&(h->data[1]), testData.data(), sizeof(testData)); in TEST_F()
2392 const std::array<int, 6> testData{2, -32, 10, -4329454, 11, 24}; in TEST_F() local
2393 ASSERT_EQ(sizeof(testData), testData.size() * sizeof(int)); in TEST_F()
[all …]
/system/tools/aidl/tests/java/src/android/aidl/tests/
DTestServiceClient.java453 String testData = "FrazzleSnazzleFlimFlamFlibbityGumboChops"; in testFileDescriptorPassing() local
454 byte[] output = testData.getBytes(); in testFileDescriptorPassing()
475 String testData = "FrazzleSnazzleFlimFlamFlibbityGumboChops"; in testParcelFileDescriptorPassing() local
476 byte[] output = testData.getBytes(); in testParcelFileDescriptorPassing()
/system/netd/tests/
Dbinder_test.cpp3869 std::vector<TestData> testData; in TEST_F() local
3875 testData.push_back( in TEST_F()
3881 testData.push_back( in TEST_F()
3888 testData.push_back({StringPrintf("networkAddInterface(65123, %s)", sTun.name().c_str()), in TEST_F()
3897 testData.push_back( in TEST_F()
3905 testData.push_back({"networkDestroy(65123)", "networkDestroy.*65123"}); in TEST_F()
3920 for (const TestData& td : testData) { in TEST_F()