/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0318/ |
D | poc.cpp | 34 Parcel data, reply; in poc() local 39 err = service->transact(2 /*CREATE_SENSOR_EVENT_CONNECTION*/, data, &reply, 0); in poc() 42 sp<IBinder> binder = reply.readStrongBinder(); in poc() 46 Parcel data, reply; in poc() local 53 err = binder->transact(2 /*ENABLE_DISABLE*/, data, &reply, 0); in poc() 60 Parcel data, reply; in poc() local 63 err = binder->transact(6 /*DESTROY*/, data, &reply, 0); in poc() 68 Parcel data, reply; in poc() local 75 err = binder->transact(2 /*ENABLE_DISABLE*/, data, &reply, 0); in poc() 76 if (reply.readInt32() == OK) { in poc() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/UseProcessSuccess/src/com/android/cts/useprocess/ |
D | BaseNetworkService.java | 79 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) 85 doTest(reply); 87 writeResult(reply, "Unexpected exception: " + e, e); 91 return super.onTransact(code, data, reply, flags); 95 private void doTest(Parcel reply) { 97 writeResult(reply, 107 writeResult(reply, 114 writeResult(reply, 120 writeResult(reply, 130 writeResult(reply, "Should have INTERNET permission, but got: " + hasPerm, [all …]
|
D | AccessNetworkTest.java | 74 Parcel reply = Parcel.obtain(); in onServiceConnected() local 77 service.transact(BaseNetworkService.TRANSACT_TEST, cmd, reply, 0); in onServiceConnected() 85 mMsg = BaseNetworkService.readResult(reply); in onServiceConnected() 87 ? BaseNetworkService.readResultCallstack(reply) : null; in onServiceConnected() 94 reply.recycle(); in onServiceConnected()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/ |
D | poc.cpp | 53 Parcel data, reply; in make_crypto() local 57 drm_binder->transact(MAKE_CRYPTO, data, &reply, 0); in make_crypto() 59 crypto_binder = reply.readStrongBinder(); in make_crypto() 64 Parcel data, reply; in create_plugin() local 74 crypto_binder->transact(CREATE_PLUGIN, data, &reply, 0); in create_plugin() 79 Parcel data, reply; in set_heap() local 86 crypto_binder->transact(SET_HEAP, data, &reply, 0); in set_heap() 88 return reply.readInt32(); in set_heap() 93 Parcel data, reply; in decrypt() local 135 crypto_binder->transact(DECRYPT, data, &reply, 0); in decrypt()
|
/cts/tests/app/AppExitTest/src/android/app/cts/ |
D | MemoryConsumerService.java | 53 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) 57 reply.writeBoolean(fillUpMemoryAndCheck(data.readLong(), mTestFunc)); 75 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument 79 reply.writeBoolean(mTestFunc.getAsBoolean()); in onTransact() 121 Parcel reply = Parcel.obtain(); in fillUpMemoryAndCheck() local 123 testFunc.transact(TestFuncInterface.ACTION_TEST, data, reply, 0); in fillUpMemoryAndCheck() 124 if (reply.readBoolean()) { in fillUpMemoryAndCheck() 131 reply.recycle(); in fillUpMemoryAndCheck() 173 final Parcel reply = Parcel.obtain(); in runOnce() local 177 binder.transact(ACTION_RUN_ONCE, data, reply, 0); in runOnce() [all …]
|
/cts/tests/tests/security/src/android/security/cts/ |
D | EffectBundleTest.java | 130 byte reply[] = new byte[Equalizer.PARAM_STRING_SIZE_MAX]; in testParamPresetName() 131 Arrays.fill(reply, testValue); in testParamPresetName() 132 if (!eqGetParam(media, command, invalidBand, reply)) { in testParamPresetName() 139 while (reply[length] != 0) length++; in testParamPresetName() 141 final String presetName = new String(reply, 0, length, in testParamPresetName() 149 for (int i = 0; i < reply.length; i++) { in testParamPresetName() 151 testValue, reply[i]); in testParamPresetName() 292 byte reply[] = new byte[ 4 /*command.length*/]; in eqSetParamProperties() 296 byte[].class).invoke(af, cmdCode, command, reply); in eqSetParamProperties() 298 int replyValue = byteArrayToInt(reply, 0 /*offset*/); in eqSetParamProperties() [all …]
|
D | AudioSecurityTest.java | 45 private static void verifyZeroReply(byte[] reply) throws Exception { in verifyZeroReply() argument 47 for (byte b : reply) { in verifyZeroReply() 152 byte reply[] = new byte[4]; // ignored in testAudioEffectGetParameter() 156 audioEffect, EFFECT_CMD_OFFLOAD, command, reply); in testAudioEffectGetParameter() 163 byte reply[] = new byte[30]; in testAudioEffectGetParameter() 167 audioEffect, EFFECT_CMD_GET_PARAM, command, reply); in testAudioEffectGetParameter() 170 verifyZeroReply(reply); in testAudioEffectGetParameter() 195 byte reply[] = new byte[4]; // ignored in testAudioEffectGetParameter2() 199 audioEffect, EFFECT_CMD_OFFLOAD, command, reply); in testAudioEffectGetParameter2() 214 byte reply[] = new byte[parameterSize + SIZEOF_EFFECT_PARAM_T]; in testAudioEffectGetParameter2() [all …]
|
D | IBinderExchange.java | 55 int code, android.os.Parcel data, android.os.Parcel reply, int flags) in onTransact() argument 60 reply.writeString(descriptor); in onTransact() 68 reply.writeNoException(); in onTransact() 74 reply.writeNoException(); in onTransact() 75 reply.writeStrongBinder(_result); in onTransact() 79 return super.onTransact(code, data, reply, flags); in onTransact()
|
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/ |
D | SimpleActivityStartService.java | 66 Intent reply = new Intent(ACTION_SIMPLE_ACTIVITY_START_SERVICE_RESULT); in attemptStartService() local 67 reply.setFlags(Intent.FLAG_RECEIVER_FOREGROUND); in attemptStartService() 72 reply.putExtra("result", Activity.RESULT_CANCELED); in attemptStartService() 73 sendBroadcast(reply); in attemptStartService() 76 reply.putExtra("result", Activity.RESULT_FIRST_USER); in attemptStartService() 77 sendBroadcast(reply); in attemptStartService()
|
D | SimpleService3.java | 47 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) 54 return super.onTransact(code, data, reply, flags); 83 Intent reply = new Intent(ACTION_SIMPLE_ACTIVITY_START_FG_SERVICE_RESULT); in onStartCommand() local 84 reply.setFlags(Intent.FLAG_RECEIVER_FOREGROUND); in onStartCommand() 85 reply.putExtra("result", Activity.RESULT_FIRST_USER); in onStartCommand() 86 sendBroadcast(reply); in onStartCommand()
|
D | SimpleActivityStartFgService.java | 74 Intent reply = new Intent(ACTION_SIMPLE_ACTIVITY_START_FG_SERVICE_RESULT); in attemptStartService() local 75 reply.setFlags(Intent.FLAG_RECEIVER_FOREGROUND); in attemptStartService() 91 reply.putExtra("result", Activity.RESULT_CANCELED); in attemptStartService() 92 sendBroadcast(reply); in attemptStartService()
|
D | SimpleActivityImmediateExit.java | 48 Intent reply = new Intent(); in onStop() local 49 reply.setAction(ACTIVITY_EXIT_ACTION); in onStop() 50 sendBroadcast(reply); in onStop()
|
D | SimpleActivity.java | 46 Intent reply = new Intent(); in onStart() local 47 reply.setAction(ACTIVITY_LAUNCHED_ACTION); in onStart() 48 sendBroadcast(reply); in onStart()
|
D | SimpleActivityChainExit.java | 76 Intent reply = new Intent(); in onStop() local 77 reply.setAction(ACTIVITY_CHAIN_EXIT_ACTION); in onStop() 78 sendBroadcast(reply); in onStop()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0243/ |
D | poc.cpp | 33 Parcel data, reply; in thread_getParameter() local 37 err = params->service->transact(/*GET_PARAMETER_ID*/ 31, data, &reply, 0); in thread_getParameter() 57 Parcel data, reply; in main() local 63 err = service->transact(/*CREATE_ID*/ 1, data, &reply, 0); in main() 64 binder = reply.readStrongBinder(); in main() 83 Parcel data, reply; in main() local 86 err = binder->transact(/*SET_DATA_SOURCE_URL_ID*/ 2, data, &reply, 0); in main()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalService.java | 65 protected boolean onTransact(int code, Parcel data, Parcel reply, 74 reply.writeInt(mValue); 82 reply.writeInt(Process.myPid()); 86 reply.writeInt(Process.myUid()); 90 reply.writeInt(Process.myPpid()); 94 reply.writeBoolean(ZygotePreload.preloadCalled()); 103 return super.onTransact(code, data, reply, flags);
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2460/ |
D | poc.cpp | 57 Parcel data, reply; in main() local 61 &reply); in main() 62 int len = reply.dataAvail(); in main() 64 unsigned int *leaked_data = (unsigned int *)reply.data(); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/ |
D | poc.cpp | 61 Parcel data, reply; in bcfree_helper() local 69 Parcel data, reply; in bcfree_helper() local 74 ->transact(4 /*FLUSH_SENSOR*/, data, &reply, 0); in bcfree_helper() 82 Parcel data, reply; in bcfree() local 90 Parcel data, reply; in bcfree() local 95 ->transact(4 /*FLUSH_SENSOR*/, data, &reply, 0); in bcfree() 96 const uint8_t *rmData = reply.data(); in bcfree() 151 Parcel data, reply; in bcfree() local 153 ->transact(0xdeadbfff /*FLUSH_SENSOR*/, data, &reply, 0x2f2f); in bcfree() 156 ->transact(0xdeadbfff /*FLUSH_SENSOR*/, data, &reply, 0x2f2f); in bcfree()
|
/cts/tests/app/ActivityManagerApi29Test/src/android/app/cts/ |
D | SimpleActivity.java | 43 Intent reply = new Intent(ACTION_SIMPLE_ACTIVITY_START_RESULT); in onResume() local 44 reply.setFlags(Intent.FLAG_RECEIVER_FOREGROUND); in onResume() 45 sendBroadcast(reply); in onResume()
|
/cts/tests/tests/gwp-asan/enabled/src/android/gwpasan/ |
D | GwpAsanDefaultService.java | 40 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) { in onTransact() argument 43 reply.writeInt(Utils.isGwpAsanEnabled() ? 1 : 0); in onTransact() 45 reply.writeInt(-1); in onTransact()
|
D | GwpAsanDisabledService.java | 40 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) { in onTransact() argument 43 reply.writeInt(Utils.isGwpAsanEnabled() ? 1 : 0); in onTransact() 45 reply.writeInt(-1); in onTransact()
|
D | GwpAsanEnabledService.java | 40 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) { in onTransact() argument 43 reply.writeInt(Utils.isGwpAsanEnabled() ? 1 : 0); in onTransact() 45 reply.writeInt(-1); in onTransact()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | MessengerService.java | 32 Message reply = Message.obtain(); 33 reply.copyFrom(msg); 35 msg.replyTo.send(reply);
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2419/ |
D | poc.cpp | 49 Parcel data, reply; in doInforLeakTest() local 52 ->transact(2 /*MAKE_DRM*/, data, &reply); //MAKE_DRM : 2 (N & O branch), 6 (M Branch) in doInforLeakTest() 53 sp<IBinder> iDrm(reply.readStrongBinder()); in doInforLeakTest()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/ |
D | VpnTestHelper.java | 203 byte[] reply = new byte[echo.length]; in checkPing() 204 int read = Os.read(socket, reply, 0, echo.length); in checkPing() 209 assertEquals(reply[0], ICMP_ECHO_REPLY); in checkPing() 211 reply[0] = 0; in checkPing() 221 reply[2] = reply[3] = 0; in checkPing() 225 + "\nReply packet: " + Arrays.toString(reply), Arrays.equals(echo, reply)); in checkPing()
|