Lines Matching refs:aPlusOne

175     virtual void onCallback(int32_t aPlusOne) = 0;
182 void onCallback(int32_t aPlusOne) override { in onCallback() argument
184 return callRemoteAsync<decltype(&ICallback::onCallback)>(Tag::OnCallback, aPlusOne); in onCallback()
253 virtual status_t increment(const TestFlattenable& a, TestFlattenable* aPlusOne) const = 0;
255 TestLightFlattenable* aPlusOne) const = 0;
257 sp<TestLightRefBaseFlattenable>* aPlusOne) const = 0;
258 virtual status_t increment(const sp<NativeHandle>& a, sp<NativeHandle>* aPlusOne) const = 0;
259 virtual status_t increment(const NoCopyNoMove& a, NoCopyNoMove* aPlusOne) const = 0;
261 std::vector<TestParcelable>* aPlusOne) const = 0;
265 virtual status_t increment(int32_t a, int32_t* aPlusOne) const = 0;
266 virtual status_t increment(uint32_t a, uint32_t* aPlusOne) const = 0;
267 virtual status_t increment(int64_t a, int64_t* aPlusOne) const = 0;
268 virtual status_t increment(uint64_t a, uint64_t* aPlusOne) const = 0;
269 virtual status_t increment(float a, float* aPlusOne) const = 0;
272 virtual status_t increment(int32_t a, int32_t* aPlusOne, int32_t b,
297 status_t increment(const TestFlattenable& a, TestFlattenable* aPlusOne) const override { in increment()
301 return callRemote<Signature>(Tag::IncrementFlattenable, a, aPlusOne); in increment()
304 TestLightFlattenable* aPlusOne) const override { in increment()
308 return callRemote<Signature>(Tag::IncrementLightFlattenable, a, aPlusOne); in increment()
311 sp<TestLightRefBaseFlattenable>* aPlusOne) const override { in increment()
314 return callRemote<Signature>(Tag::IncrementLightRefBaseFlattenable, a, aPlusOne); in increment()
316 status_t increment(const sp<NativeHandle>& a, sp<NativeHandle>* aPlusOne) const override { in increment()
320 return callRemote<Signature>(Tag::IncrementNativeHandle, a, aPlusOne); in increment()
322 status_t increment(const NoCopyNoMove& a, NoCopyNoMove* aPlusOne) const override { in increment()
325 NoCopyNoMove* aPlusOne) const; in increment()
326 return callRemote<Signature>(Tag::IncrementNoCopyNoMove, a, aPlusOne); in increment()
329 std::vector<TestParcelable>* aPlusOne) const override { in increment()
333 return callRemote<Signature>(Tag::IncrementParcelableVector, a, aPlusOne); in increment()
345 status_t increment(int32_t a, int32_t* aPlusOne) const override { in increment()
348 return callRemote<Signature>(Tag::IncrementInt32, a, aPlusOne); in increment()
350 status_t increment(uint32_t a, uint32_t* aPlusOne) const override { in increment()
353 return callRemote<Signature>(Tag::IncrementUint32, a, aPlusOne); in increment()
355 status_t increment(int64_t a, int64_t* aPlusOne) const override { in increment()
358 return callRemote<Signature>(Tag::IncrementInt64, a, aPlusOne); in increment()
360 status_t increment(uint64_t a, uint64_t* aPlusOne) const override { in increment()
363 return callRemote<Signature>(Tag::IncrementUint64, a, aPlusOne); in increment()
365 status_t increment(float a, float* aPlusOne) const override { in increment()
368 return callRemote<Signature>(Tag::IncrementFloat, a, aPlusOne); in increment()
370 status_t increment(int32_t a, int32_t* aPlusOne, int32_t b, int32_t* bPlusOne) const override { in increment() argument
374 return callRemote<Signature>(Tag::IncrementTwo, a, aPlusOne, b, bPlusOne); in increment()
414 status_t increment(const TestFlattenable& a, TestFlattenable* aPlusOne) const override { in increment()
416 aPlusOne->value = a.value + 1; in increment()
420 TestLightFlattenable* aPlusOne) const override { in increment()
422 aPlusOne->value = a.value + 1; in increment()
426 sp<TestLightRefBaseFlattenable>* aPlusOne) const override { in increment()
428 *aPlusOne = new TestLightRefBaseFlattenable(a->value + 1); in increment()
431 status_t increment(const sp<NativeHandle>& a, sp<NativeHandle>* aPlusOne) const override { in increment()
444 *aPlusOne = NativeHandle::create(rawHandle, true); in increment()
447 status_t increment(const NoCopyNoMove& a, NoCopyNoMove* aPlusOne) const override { in increment()
449 aPlusOne->setValue(a.getValue() + 1); in increment()
453 std::vector<TestParcelable>* aPlusOne) const override { in increment()
455 aPlusOne->resize(a.size()); in increment()
457 (*aPlusOne)[i].setValue(a[i].getValue() + 1); in increment()
470 status_t increment(int32_t a, int32_t* aPlusOne) const override { in increment()
472 *aPlusOne = a + 1; in increment()
475 status_t increment(uint32_t a, uint32_t* aPlusOne) const override { in increment()
477 *aPlusOne = a + 1; in increment()
480 status_t increment(int64_t a, int64_t* aPlusOne) const override { in increment()
482 *aPlusOne = a + 1; in increment()
485 status_t increment(uint64_t a, uint64_t* aPlusOne) const override { in increment()
487 *aPlusOne = a + 1; in increment()
490 status_t increment(float a, float* aPlusOne) const override { in increment()
492 *aPlusOne = a + 1.0f; in increment()
495 status_t increment(int32_t a, int32_t* aPlusOne, int32_t b, int32_t* bPlusOne) const override { in increment() argument
497 *aPlusOne = a + 1; in increment()
523 TestFlattenable* aPlusOne) const; in onTransact()
529 TestLightFlattenable* aPlusOne) const; in onTransact()
545 NoCopyNoMove* aPlusOne) const; in onTransact()
652 TestFlattenable aPlusOne{0}; in TEST_F() local
653 status_t result = mSafeInterfaceTest->increment(a, &aPlusOne); in TEST_F()
655 ASSERT_EQ(a.value + 1, aPlusOne.value); in TEST_F()
660 TestLightFlattenable aPlusOne{0}; in TEST_F() local
661 status_t result = mSafeInterfaceTest->increment(a, &aPlusOne); in TEST_F()
663 ASSERT_EQ(a.value + 1, aPlusOne.value); in TEST_F()
668 sp<TestLightRefBaseFlattenable> aPlusOne; in TEST_F() local
669 status_t result = mSafeInterfaceTest->increment(a, &aPlusOne); in TEST_F()
671 ASSERT_NE(nullptr, aPlusOne.get()); in TEST_F()
672 ASSERT_EQ(a->value + 1, aPlusOne->value); in TEST_F()
710 sp<NativeHandle> aPlusOne; in TEST_F() local
711 status_t result = mSafeInterfaceTest->increment(a, &aPlusOne); in TEST_F()
713 ASSERT_TRUE(fdsAreEquivalent(a->handle()->data[0], aPlusOne->handle()->data[0])); in TEST_F()
714 ASSERT_EQ(a->handle()->data[1] + 1, aPlusOne->handle()->data[1]); in TEST_F()
720 NoCopyNoMove aPlusOne{0}; in TEST_F() local
721 status_t result = mSafeInterfaceTest->increment(a, &aPlusOne); in TEST_F()
723 ASSERT_EQ(a.getValue() + 1, aPlusOne.getValue()); in TEST_F()
728 std::vector<TestParcelable> aPlusOne; in TEST_F() local
729 status_t result = mSafeInterfaceTest->increment(a, &aPlusOne); in TEST_F()
731 ASSERT_EQ(a.size(), aPlusOne.size()); in TEST_F()
733 ASSERT_EQ(a[i].getValue() + 1, aPlusOne[i].getValue()); in TEST_F()
748 void onCallback(int32_t aPlusOne) override { in TEST_F() argument
751 mValue = aPlusOne; in TEST_F()
778 int32_t aPlusOne = 0; in TEST_F() local
779 status_t result = mSafeInterfaceTest->increment(a, &aPlusOne); in TEST_F()
781 ASSERT_EQ(a + 1, aPlusOne); in TEST_F()
786 uint32_t aPlusOne = 0; in TEST_F() local
787 status_t result = mSafeInterfaceTest->increment(a, &aPlusOne); in TEST_F()
789 ASSERT_EQ(a + 1, aPlusOne); in TEST_F()
794 int64_t aPlusOne = 0; in TEST_F() local
795 status_t result = mSafeInterfaceTest->increment(a, &aPlusOne); in TEST_F()
797 ASSERT_EQ(a + 1, aPlusOne); in TEST_F()
802 uint64_t aPlusOne = 0; in TEST_F() local
803 status_t result = mSafeInterfaceTest->increment(a, &aPlusOne); in TEST_F()
805 ASSERT_EQ(a + 1, aPlusOne); in TEST_F()
810 float aPlusOne = 0.0f; in TEST_F() local
811 status_t result = mSafeInterfaceTest->increment(a, &aPlusOne); in TEST_F()
813 ASSERT_EQ(a + 1.0f, aPlusOne); in TEST_F()
818 int32_t aPlusOne = 0; in TEST_F() local
821 status_t result = mSafeInterfaceTest->increment(1, &aPlusOne, 2, &bPlusOne); in TEST_F()
823 ASSERT_EQ(a + 1, aPlusOne); in TEST_F()