Searched refs:outDoubleV (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | test_persistable_bundle.cpp | 141 double* outDoubleV = nullptr; in TEST_F() local 183 sizeBytes = APersistableBundle_getDoubleVector(bundle, "doublev", outDoubleV, 0); in TEST_F() 185 outDoubleV = (double*)malloc(sizeBytes); in TEST_F() 186 sizeBytes = APersistableBundle_getDoubleVector(bundle, "doublev", outDoubleV, sizeBytes); in TEST_F() 188 EXPECT_EQ(outDoubleV[i], kDoubleVVal[i]); in TEST_F() 190 free(outDoubleV); in TEST_F() 192 sizeBytes = APersistableBundle_getDoubleVector(bundle, "doublev", outDoubleV, 0); in TEST_F() 194 outDoubleV = (double*)malloc(sizeBytes); in TEST_F() 195 sizeBytes = APersistableBundle_getDoubleVector(bundle, "doublev", outDoubleV, sizeBytes); in TEST_F() 197 EXPECT_EQ(outDoubleV[i], kDoubleVVal[i]); in TEST_F() [all …]
|
D | test_native_aidl_client.cpp | 594 std::vector<double> outDoubleV = std::vector<double>(); in TEST_P() local 613 EXPECT_TRUE(inPBundle.getDoubleVector("doublev", &outDoubleV)); in TEST_P() 614 EXPECT_EQ(outDoubleV, kDoubleVVal); in TEST_P() 631 outDoubleV.clear(); in TEST_P() 656 EXPECT_TRUE(outPBundle.getDoubleVector("doublev", &outDoubleV)); in TEST_P() 657 EXPECT_EQ(outDoubleV, kDoubleVVal); in TEST_P()
|