Home
last modified time | relevance | path

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

/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_persistable_bundle.cpp111 static char* stringAllocator(int32_t bufferSizeBytes, void*) { in stringAllocator() function
152 EXPECT_EQ(APersistableBundle_getString(bundle, "string", &outString, &stringAllocator, nullptr), in TEST_F()
201 sizeBytes = APersistableBundle_getStringVector(bundle, "stringv", outStringV, 0, &stringAllocator, in TEST_F()
206 &stringAllocator, nullptr); in TEST_F()
230 EXPECT_EQ(APersistableBundle_getString(bundle, "not the right key", &outString, &stringAllocator, in TEST_F()
250 EXPECT_EQ(APersistableBundle_getString(bundle, "key", &outString, &stringAllocator, nullptr), 0); in TEST_F()
272 APersistableBundle_getBooleanKeys(bundle, outKeys, sizeBytes, &stringAllocator, nullptr); in TEST_F()
278 APersistableBundle_getBooleanKeys(bundle, outKeys, sizeBytes, &stringAllocator, nullptr); in TEST_F()
322 APersistableBundle_getBooleanKeys(bundle, outKeys, sizeBytes, &stringAllocator, nullptr); in TEST_F()
329 APersistableBundle_getIntKeys(bundle, outKeys, sizeBytes, &stringAllocator, nullptr); in TEST_F()
[all …]