Home
last modified time | relevance | path

Searched refs:reply (Results 1 – 25 of 37) sorted by relevance

12

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/
Dpoc.cpp53 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/tests/security/src/android/security/cts/
DEffectBundleTest.java130 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 …]
DAudioSecurityTest.java45 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 …]
DIBinderExchange.java55 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/
DSimpleActivityStartService.java46 Intent reply = new Intent(ACTION_SIMPLE_ACTIVITY_START_SERVICE_RESULT); in attemptStartService() local
47 reply.setFlags(Intent.FLAG_RECEIVER_FOREGROUND); in attemptStartService()
52 reply.putExtra("result", Activity.RESULT_CANCELED); in attemptStartService()
53 sendBroadcast(reply); in attemptStartService()
56 reply.putExtra("result", Activity.RESULT_FIRST_USER); in attemptStartService()
57 sendBroadcast(reply); in attemptStartService()
DSimpleService3.java47 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()
DSimpleActivityStartFgService.java74 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()
DSimpleActivityImmediateExit.java48 Intent reply = new Intent(); in onStop() local
49 reply.setAction(ACTIVITY_EXIT_ACTION); in onStop()
50 sendBroadcast(reply); in onStop()
DSimpleActivity.java46 Intent reply = new Intent(); in onStart() local
47 reply.setAction(ACTIVITY_LAUNCHED_ACTION); in onStart()
48 sendBroadcast(reply); in onStart()
DSimpleActivityChainExit.java76 Intent reply = new Intent(); in onStop() local
77 reply.setAction(ACTIVITY_CHAIN_EXIT_ACTION); in onStop()
78 sendBroadcast(reply); in onStop()
/cts/tests/app/app/src/android/app/stubs/
DLocalService.java65 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-2019-2025/
Dpoc.cpp61 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()
DIPCThreadState.h65 Parcel* reply, uint32_t flags);
103 status_t sendReply(const Parcel& reply, uint32_t flags);
104 status_t waitForResponse(Parcel *reply,
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2460/
Dpoc.cpp57 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/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java203 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()
/cts/tests/tests/os/src/android/os/cts/
DMessengerService.java32 Message reply = Message.obtain();
33 reply.copyFrom(msg);
35 msg.replyTo.send(reply);
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2419/
Dpoc.cpp50 Parcel data, reply; in doInforLeakTest() local
53 ->transact(2 /*MAKE_DRM*/, data, &reply); //MAKE_DRM : 2 (N & O branch), 6 (M Branch) in doInforLeakTest()
54 sp<IDrm> iDrm = interface_cast<IDrm>(reply.readStrongBinder()); in doInforLeakTest()
/cts/tests/tests/externalservice/service/src/android/externalservice/service/
DBaseService.java57 Message reply = Message.obtain(null, ServiceMessages.MSG_IDENTIFY_RESPONSE); in handleMessage() local
64 reply.getData().putParcelable(ServiceMessages.IDENTIFY_INFO, in handleMessage()
67 msg.replyTo.send(reply); in handleMessage()
DServiceCreator.java65 Message reply = Message.obtain();
66 reply.what = ServiceMessages.MSG_CREATE_EXTERNAL_SERVICE_RESPONSE;
68 msg.replyTo.send(reply);
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/
Dpoc.cpp29 status_t onTransact(uint32_t code, const Parcel &data, Parcel *reply, in onTransact() argument
102 status_t getParameter(int key, Parcel *reply) { return OK; } in getParameter() argument
126 status_t invoke(const Parcel &request, Parcel *reply) { return OK; } in invoke() argument
130 status_t getMetadata(bool update_only, bool apply_filter, Parcel *reply) { in getMetadata() argument
/cts/tests/tests/shortcutmanager/common/src/android.content.pm.cts.shortcutmanager.common/
DReplyUtil.java60 final Intent reply = new Intent(replyAction).setPackage(MAIN_CTS_PACKAGE); in sendReply() local
61 reply.putExtras(ret); in sendReply()
63 context.sendBroadcast(reply); in sendReply()
/cts/tests/app/src/android/app/cts/
DServiceTest.java316 Parcel reply = Parcel.obtain(); in zygotePreloadCalled() local
319 mService.transact(LocalService.GET_ZYGOTE_PRELOAD_CALLED, data, reply, 0); in zygotePreloadCalled()
323 boolean value = reply.readBoolean(); in zygotePreloadCalled()
324 reply.recycle(); in zygotePreloadCalled()
343 Parcel reply = Parcel.obtain(); in getValue() local
346 mService.transact(LocalService.GET_VALUE_CODE, data, reply, 0); in getValue()
350 int value = reply.readInt(); in getValue()
351 reply.recycle(); in getValue()
358 Parcel reply = Parcel.obtain(); in getPidIpc() local
361 mService.transact(LocalService.GET_PID_CODE, data, reply, 0); in getPidIpc()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java302 void receiveReply(Bundle reply) {
303 final long incomingToken = reply.getLong(KEY_REQUEST_TOKEN);
305 mPendingResponse.setResult(reply);
542 void reply(String command, Bundle data) {
673 protected final void reply(String command) {
674 reply(command, null /* data */);
678 protected final void reply(String command, Bundle data) {
690 mReceiver.reply(command, data);
746 reply(COMMAND_GET_CONFIG, replyData);
759 reply(command, replyData);
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13232/
Dpoc.cpp77 Parcel data, reply; in getOutputForAttr() local
85 binder->transact(GET_OUTPUT_FOR_ATTR, data, &reply, 0); in getOutputForAttr()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-0811/
Dpoc.cpp26 Parcel data, reply; in mediaPoc() local
48 reply.read(out, wsize); in mediaPoc()

12