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.cpp141 EXPECT_OK(AIBinder_ping(binder)); in TEST_F()
148 EXPECT_OK(SampleData::transact(binder, kCode)); in TEST_F()
155 EXPECT_OK(SampleData::transact(binder, kCode, WriteNothingToParcel, in TEST_F()
167 EXPECT_OK(SampleData::transact(binder, kCode)); in TEST_F()
173 EXPECT_OK(SampleData::transact(binder, FIRST_CALL_TRANSACTION)); in TEST_F()
174 EXPECT_OK(SampleData::transact(binder, FIRST_CALL_TRANSACTION + 1)); in TEST_F()
175 EXPECT_OK(SampleData::transact(binder, LAST_CALL_TRANSACTION - 1)); in TEST_F()
176 EXPECT_OK(SampleData::transact(binder, LAST_CALL_TRANSACTION)); in TEST_F()
259 EXPECT_OK(AIBinder_prepareTransaction(binder, &parcel)); in TEST_F()
Dtest_native_aidl_client.cpp99 EXPECT_OK(itest->dump(fd[0], args.data(), args.size())); in dumpToString()
111 EXPECT_OK(iface->GetName(&name)); in TEST_P()
135 EXPECT_OK(iface->CacheCallingInfoFromOneway()); in TEST_P()
138 EXPECT_OK(iface->GiveMeMyCallingPid(&res)); in TEST_P()
141 EXPECT_OK(iface->GiveMeMyCallingUid(&res)); in TEST_P()
144 EXPECT_OK(iface->GiveMeMyCallingPidFromOneway(&res)); in TEST_P()
152 EXPECT_OK(iface->GiveMeMyCallingUidFromOneway(&res)); in TEST_P()
288 EXPECT_OK(iface->RepeatString("", &res)); in TEST_P()
291 EXPECT_OK(iface->RepeatString("a", &res)); in TEST_P()
294 EXPECT_OK(iface->RepeatString("say what?", &res)); in TEST_P()
[all …]
Dutilities.h51 #define EXPECT_OK(THING) EXPECT_TRUE(isOk(THING)) macro