Lines Matching refs:ISafeInterfaceTest

217 class ISafeInterfaceTest : public IInterface {  class
276 class BpSafeInterfaceTest : public SafeBpInterface<ISafeInterfaceTest> {
279 : SafeBpInterface<ISafeInterfaceTest>(impl, getLogTag()) {} in BpSafeInterfaceTest()
283 return callRemote<decltype(&ISafeInterfaceTest::setDeathToken)>(Tag::SetDeathToken, token); in setDeathToken()
287 return callRemote<decltype(&ISafeInterfaceTest::returnsNoMemory)>(Tag::ReturnsNoMemory); in returnsNoMemory()
291 return callRemote<decltype(&ISafeInterfaceTest::logicalNot)>(Tag::LogicalNot, a, notA); in logicalNot()
295 return callRemote<decltype(&ISafeInterfaceTest::modifyEnum)>(Tag::ModifyEnum, a, b); in modifyEnum()
299 status_t (ISafeInterfaceTest::*)(const TestFlattenable&, TestFlattenable*) const; in increment()
305 using Signature = status_t (ISafeInterfaceTest::*)(const TestLightFlattenable&, in increment()
312 using Signature = status_t (ISafeInterfaceTest::*)(const sp<TestLightRefBaseFlattenable>&, in increment()
319 status_t (ISafeInterfaceTest::*)(const sp<NativeHandle>&, sp<NativeHandle>*) const; in increment()
324 using Signature = status_t (ISafeInterfaceTest::*)(const NoCopyNoMove& a, in increment()
331 using Signature = status_t (ISafeInterfaceTest::*)(const std::vector<TestParcelable>&, in increment()
337 return callRemote<decltype(&ISafeInterfaceTest::doubleString)>(Tag::DoubleString, str, in doubleString()
342 return callRemoteAsync<decltype(&ISafeInterfaceTest::callMeBack)>(Tag::CallMeBack, callback, in callMeBack()
347 using Signature = status_t (ISafeInterfaceTest::*)(int32_t, int32_t*) const; in increment()
352 using Signature = status_t (ISafeInterfaceTest::*)(uint32_t, uint32_t*) const; in increment()
357 using Signature = status_t (ISafeInterfaceTest::*)(int64_t, int64_t*) const; in increment()
362 using Signature = status_t (ISafeInterfaceTest::*)(uint64_t, uint64_t*) const; in increment()
367 using Signature = status_t (ISafeInterfaceTest::*)(float, float*) const; in increment()
373 status_t (ISafeInterfaceTest::*)(int32_t, int32_t*, int32_t, int32_t*) const; in increment()
391 class BnSafeInterfaceTest : public SafeBnInterface<ISafeInterfaceTest> {
507 ISafeInterfaceTest::Tag tag = static_cast<ISafeInterfaceTest::Tag>(code); in onTransact()
509 case ISafeInterfaceTest::Tag::SetDeathToken: { in onTransact()
510 return callLocal(data, reply, &ISafeInterfaceTest::setDeathToken); in onTransact()
512 case ISafeInterfaceTest::Tag::ReturnsNoMemory: { in onTransact()
513 return callLocal(data, reply, &ISafeInterfaceTest::returnsNoMemory); in onTransact()
515 case ISafeInterfaceTest::Tag::LogicalNot: { in onTransact()
516 return callLocal(data, reply, &ISafeInterfaceTest::logicalNot); in onTransact()
518 case ISafeInterfaceTest::Tag::ModifyEnum: { in onTransact()
519 return callLocal(data, reply, &ISafeInterfaceTest::modifyEnum); in onTransact()
521 case ISafeInterfaceTest::Tag::IncrementFlattenable: { in onTransact()
522 using Signature = status_t (ISafeInterfaceTest::*)(const TestFlattenable& a, in onTransact()
524 return callLocal<Signature>(data, reply, &ISafeInterfaceTest::increment); in onTransact()
526 case ISafeInterfaceTest::Tag::IncrementLightFlattenable: { in onTransact()
528 status_t (ISafeInterfaceTest::*)(const TestLightFlattenable& a, in onTransact()
530 return callLocal<Signature>(data, reply, &ISafeInterfaceTest::increment); in onTransact()
532 case ISafeInterfaceTest::Tag::IncrementLightRefBaseFlattenable: { in onTransact()
534 status_t (ISafeInterfaceTest::*)(const sp<TestLightRefBaseFlattenable>&, in onTransact()
536 return callLocal<Signature>(data, reply, &ISafeInterfaceTest::increment); in onTransact()
538 case ISafeInterfaceTest::Tag::IncrementNativeHandle: { in onTransact()
539 using Signature = status_t (ISafeInterfaceTest::*)(const sp<NativeHandle>&, in onTransact()
541 return callLocal<Signature>(data, reply, &ISafeInterfaceTest::increment); in onTransact()
543 case ISafeInterfaceTest::Tag::IncrementNoCopyNoMove: { in onTransact()
544 using Signature = status_t (ISafeInterfaceTest::*)(const NoCopyNoMove& a, in onTransact()
546 return callLocal<Signature>(data, reply, &ISafeInterfaceTest::increment); in onTransact()
548 case ISafeInterfaceTest::Tag::IncrementParcelableVector: { in onTransact()
550 status_t (ISafeInterfaceTest::*)(const std::vector<TestParcelable>&, in onTransact()
552 return callLocal<Signature>(data, reply, &ISafeInterfaceTest::increment); in onTransact()
554 case ISafeInterfaceTest::Tag::DoubleString: { in onTransact()
555 return callLocal(data, reply, &ISafeInterfaceTest::doubleString); in onTransact()
557 case ISafeInterfaceTest::Tag::CallMeBack: { in onTransact()
558 return callLocalAsync(data, reply, &ISafeInterfaceTest::callMeBack); in onTransact()
560 case ISafeInterfaceTest::Tag::IncrementInt32: { in onTransact()
561 using Signature = status_t (ISafeInterfaceTest::*)(int32_t, int32_t*) const; in onTransact()
562 return callLocal<Signature>(data, reply, &ISafeInterfaceTest::increment); in onTransact()
564 case ISafeInterfaceTest::Tag::IncrementUint32: { in onTransact()
565 using Signature = status_t (ISafeInterfaceTest::*)(uint32_t, uint32_t*) const; in onTransact()
566 return callLocal<Signature>(data, reply, &ISafeInterfaceTest::increment); in onTransact()
568 case ISafeInterfaceTest::Tag::IncrementInt64: { in onTransact()
569 using Signature = status_t (ISafeInterfaceTest::*)(int64_t, int64_t*) const; in onTransact()
570 return callLocal<Signature>(data, reply, &ISafeInterfaceTest::increment); in onTransact()
572 case ISafeInterfaceTest::Tag::IncrementUint64: { in onTransact()
573 using Signature = status_t (ISafeInterfaceTest::*)(uint64_t, uint64_t*) const; in onTransact()
574 return callLocal<Signature>(data, reply, &ISafeInterfaceTest::increment); in onTransact()
576 case ISafeInterfaceTest::Tag::IncrementFloat: { in onTransact()
577 using Signature = status_t (ISafeInterfaceTest::*)(float, float*) const; in onTransact()
578 return callLocal<Signature>(data, reply, &ISafeInterfaceTest::increment); in onTransact()
580 case ISafeInterfaceTest::Tag::IncrementTwo: { in onTransact()
581 using Signature = status_t (ISafeInterfaceTest::*)(int32_t, int32_t*, int32_t, in onTransact()
583 return callLocal<Signature>(data, reply, &ISafeInterfaceTest::increment); in onTransact()
585 case ISafeInterfaceTest::Tag::Last: in onTransact()
604 sp<ISafeInterfaceTest> mSafeInterfaceTest;
609 sp<ISafeInterfaceTest> getRemoteService() { in getRemoteService()
614 sp<ISafeInterfaceTest> iface = interface_cast<ISafeInterfaceTest>(binder); in getRemoteService()