Home
last modified time | relevance | path

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

/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_parcel.cpp70 EXPECT_OK(read(in, &readTarget)); in ExpectInOut()
71 EXPECT_OK(write(out, readTarget)); in ExpectInOut()
77 EXPECT_OK(SampleData::transact( in ExpectInOut()
80 EXPECT_OK(write(in, value)); in ExpectInOut()
85 EXPECT_OK(read(out, &readTarget)); in ExpectInOut()
244 EXPECT_OK(::ndk::AParcel_readString(in, &readString)); in TEST_F()
248 EXPECT_OK(::ndk::AParcel_readVector(in, &readVector)); in TEST_F()
255 EXPECT_OK(SampleData::transact( in TEST_F()
258 EXPECT_OK(AParcel_writeString(in, kTestcase.c_str(), i)); in TEST_F()
259 EXPECT_OK(writeVector.writeToParcel(in, expectedVector.size())); in TEST_F()
[all …]
Dtest_ibinder.cpp147 EXPECT_OK(AIBinder_ping(binder)); in TEST_F()
154 EXPECT_OK(AIBinder_getExtension(binder, &ext)); in TEST_F()
162 EXPECT_OK(AIBinder_setExtension(binder, ext)); in TEST_F()
165 EXPECT_OK(AIBinder_getExtension(binder, &getExt)); in TEST_F()
177 EXPECT_OK(AIBinder_setExtension(binder, ext1)); in TEST_F()
178 EXPECT_OK(AIBinder_setExtension(binder, ext2)); in TEST_F()
181 EXPECT_OK(AIBinder_getExtension(binder, &getExt)); in TEST_F()
193 EXPECT_OK(SampleData::transact(binder, kCode)); in TEST_F()
200 EXPECT_OK(SampleData::transact(binder, kCode, WriteNothingToParcel, in TEST_F()
212 EXPECT_OK(SampleData::transact(binder, kCode)); in TEST_F()
[all …]
Dtest_native_aidl_client.cpp118 EXPECT_OK(itest->dump(fd[0], args.data(), args.size())); in dumpToString()
130 EXPECT_OK(iface->GetName(&name)); in TEST_P()
154 EXPECT_OK(iface->CacheCallingInfoFromOneway()); in TEST_P()
157 EXPECT_OK(iface->GiveMeMyCallingPid(&res)); in TEST_P()
160 EXPECT_OK(iface->GiveMeMyCallingUid(&res)); in TEST_P()
163 EXPECT_OK(iface->GiveMeMyCallingPidFromOneway(&res)); in TEST_P()
171 EXPECT_OK(iface->GiveMeMyCallingUidFromOneway(&res)); in TEST_P()
367 EXPECT_OK(iface->RepeatString("", &res)); in TEST_P()
370 EXPECT_OK(iface->RepeatString("a", &res)); in TEST_P()
373 EXPECT_OK(iface->RepeatString("say what?", &res)); in TEST_P()
[all …]
Dutilities.h60 #define EXPECT_OK(THING) EXPECT_TRUE(isOk(THING)) macro