Home
last modified time | relevance | path

Searched refs:transact (Results 1 – 25 of 50) sorted by relevance

12

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0318/
Dpoc.cpp39 err = service->transact(2 /*CREATE_SENSOR_EVENT_CONNECTION*/, data, &reply, 0); in poc()
53 err = binder->transact(2 /*ENABLE_DISABLE*/, data, &reply, 0); in poc()
63 err = binder->transact(6 /*DESTROY*/, data, &reply, 0); in poc()
75 err = binder->transact(2 /*ENABLE_DISABLE*/, data, &reply, 0); in poc()
98 service->transact(1 /*GET_SENSOR_LIST*/, data, &reply); in get_sensor_list()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/
Dpoc.cpp57 drm_binder->transact(MAKE_CRYPTO, data, &reply, 0); in make_crypto()
74 crypto_binder->transact(CREATE_PLUGIN, data, &reply, 0); in create_plugin()
86 crypto_binder->transact(SET_HEAP, data, &reply, 0); in set_heap()
135 crypto_binder->transact(DECRYPT, data, &reply, 0); in decrypt()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2412/
Dpoc.cpp77 static void transact(sp<IBinder> &service, TRANTYPE type) { in transact() function
85 service->transact(CONVERT_TO_TRANSLUCENT_TRANSACTION, data, &reply); in transact()
94 transact(service, HEAPCORRUPT); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0243/
Dpoc.cpp37 err = params->service->transact(/*GET_PARAMETER_ID*/ 31, data, &reply, 0); in thread_getParameter()
63 err = service->transact(/*CREATE_ID*/ 1, data, &reply, 0); in main()
86 err = binder->transact(/*SET_DATA_SOURCE_URL_ID*/ 2, data, &reply, 0); in main()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_ibinder.cpp294 EXPECT_OK(SampleData::transact(binder, kCode)); in TEST_F()
301 EXPECT_OK(SampleData::transact(binder, kCode, WriteNothingToParcel, in TEST_F()
313 EXPECT_OK(SampleData::transact(binder, kCode)); in TEST_F()
319 EXPECT_OK(SampleData::transact(binder, FIRST_CALL_TRANSACTION)); in TEST_F()
320 EXPECT_OK(SampleData::transact(binder, FIRST_CALL_TRANSACTION + 1)); in TEST_F()
321 EXPECT_OK(SampleData::transact(binder, LAST_CALL_TRANSACTION - 1)); in TEST_F()
322 EXPECT_OK(SampleData::transact(binder, LAST_CALL_TRANSACTION)); in TEST_F()
325 SampleData::transact(binder, FIRST_CALL_TRANSACTION - 1)); in TEST_F()
327 SampleData::transact(binder, LAST_CALL_TRANSACTION + 1)); in TEST_F()
335 SampleData::transact(binder, kCode, WriteNothingToParcel, in TEST_F()
[all …]
Dtest_parcel.cpp87 EXPECT_OK(SampleData::transact( in ExpectInOut()
155 SampleData::transact(binder, kCode, [&](AParcel* in) { in TEST_F()
265 EXPECT_OK(SampleData::transact( in TEST_F()
282 EXPECT_OK(SampleData::transact( in TEST_F()
304 EXPECT_OK(SampleData::transact(binder, kCode, WriteNothingToParcel, in TEST_F()
321 EXPECT_OK(SampleData::transact(binder, kCode, WriteNothingToParcel, in TEST_F()
360 EXPECT_OK(SampleData::transact( in TEST_F()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2419/
Dpoc.cpp52 ->transact(2 /*MAKE_DRM*/, data, &reply); //MAKE_DRM : 2 (N & O branch), 6 (M Branch) in doInforLeakTest()
57 iDrm->transact(7 /*GET_KEY_REQUEST*/, data2, &reply2); in doInforLeakTest()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0226/
Dpoc.cpp39 service->transact(code, data1, &reply1, flags); in main()
52 binder->transact(code, data2, &reply2, flags); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0420/
Dpoc.cpp34 err = service->transact(3 /*SET_UPDATABLE_DRIVER_PATH,*/, data, &reply, 0); in main()
41 err = service->transact(4 /*GET_UPDATABLE_DRIVER_PATH,*/, data1, &reply1, 0); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0484/
Dpoc.cpp45 status_t status = IMediaPlayer::asBinder(iMediaPlayer)->transact(unknownTrxnCode, data, &reply); in main()
52 status = IMediaPlayer::asBinder(iMediaPlayer)->transact(prepareDrm, data, &reply); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0439/
Dpoc.cpp47 binder->transact(6, data, &result); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/
Dpoc.cpp74 ->transact(4 /*FLUSH_SENSOR*/, data, &reply, 0); in bcfree_helper()
95 ->transact(4 /*FLUSH_SENSOR*/, data, &reply, 0); in bcfree()
153 ->transact(0xdeadbfff /*FLUSH_SENSOR*/, data, &reply, 0x2f2f); in bcfree()
156 ->transact(0xdeadbfff /*FLUSH_SENSOR*/, data, &reply, 0x2f2f); in bcfree()
/cts/hostsidetests/gwp_asan/common/android/cts/gwp_asan/
DGwpAsanServiceTest.java57 if (!binder.transact(testNum, Parcel.obtain(), reply, 0)) { in runServiceAndCheckSuccess()
66 binder.transact(testNum, Parcel.obtain(), Parcel.obtain(), IBinder.FLAG_ONEWAY); in runService()
/cts/tests/app/app/src/android/app/stubs/
DRemoteActivity.java57 callback.transact(IBinder.FIRST_CALL_TRANSACTION, data, null, 0); in onCreate()
DSimpleActivity.java60 mCallback.transact(IBinder.FIRST_CALL_TRANSACTION, data, reply, 0); in onTrimMemory()
/cts/hostsidetests/securitybulletin/test-apps/launchanywhere/src/com/android/security/cts/launchanywhere/
DAuthenticator.java67 public boolean transact(int code, Parcel data, Parcel reply, int flags)
76 mOriginRemote.transact(code, data, reply, flags);
/cts/tests/tests/security/src/android/security/cts/
DIBinderExchange.java107 mRemote.transact(Stub.TRANSACTION_putBinder, _data, _reply, 0); in putBinder()
122 mRemote.transact(Stub.TRANSACTION_getBinder, _data, _reply, 0); in getBinder()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0330/
Dpoc.cpp43 service->transact(1, data, &reply, 0); in trigger_onUserStarted()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0921/src/android/security/cts/CVE_2021_0921/
DAuthenticator.java54 … public boolean transact(int code, Parcel data, Parcel reply, int flags) throws RemoteException {
63 mOriginRemote.transact(code, data, reply, flags);
/cts/tests/app/CantSaveState1/src/com/android/test/cantsavestate2/
DCantSave1Activity.java52 mCallback.transact(IBinder.FIRST_CALL_TRANSACTION, data, reply, 0); in onTrimMemory()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13232/
Dpoc.cpp85 binder->transact(GET_OUTPUT_FOR_ATTR, data, &reply, 0); in getOutputForAttr()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2460/
Dpoc.cpp63 IGraphicBufferProducer::asBinder(iGBP)->transact(10 /*CONNECT*/, data, in main()
/cts/tests/app/AppExitTest/src/android/app/cts/
DMemoryConsumerService.java123 testFunc.transact(TestFuncInterface.ACTION_TEST, data, reply, 0); in fillUpMemoryAndCheck()
177 binder.transact(ACTION_RUN_ONCE, data, reply, 0); in runOnce()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40094/src/android/security/cts/CVE_2023_40094/
DDeviceTest.java60 binder.transact(transactMethodCode, data, reply, 0 /* normal RPC */); in testCVE_2023_40094()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21000/src/android/security/cts/CVE_2023_21000/
DDeviceTest.java63 mBinder.transact(TRANSACTION_openContentUri, mParcel, mReply, 0); in testCVE_2023_21000()

12