Home
last modified time | relevance | path

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

12

/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()
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()
DSimpleService.java42 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags)
49 return super.onTransact(code, data, reply, flags);
/cts/tests/tests/security/src/android/security/cts/
DEffectBundleTest.java122 byte reply[] = new byte[Equalizer.PARAM_STRING_SIZE_MAX]; in testParamPresetName()
123 Arrays.fill(reply, testValue); in testParamPresetName()
124 if (!eqGetParam(media, command, invalidBand, reply)) { in testParamPresetName()
131 while (reply[length] != 0) length++; in testParamPresetName()
133 final String presetName = new String(reply, 0, length, in testParamPresetName()
141 for (int i = 0; i < reply.length; i++) { in testParamPresetName()
143 testValue, reply[i]); in testParamPresetName()
278 byte reply[] = new byte[ 4 /*command.length*/]; in eqSetParamProperties()
282 byte[].class).invoke(af, cmdCode, command, reply); in eqSetParamProperties()
284 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()
148 byte reply[] = new byte[4]; // ignored in testAudioEffectGetParameter()
152 audioEffect, EFFECT_CMD_OFFLOAD, command, reply); in testAudioEffectGetParameter()
159 byte reply[] = new byte[30]; in testAudioEffectGetParameter()
163 audioEffect, EFFECT_CMD_GET_PARAM, command, reply); in testAudioEffectGetParameter()
166 verifyZeroReply(reply); in testAudioEffectGetParameter()
191 byte reply[] = new byte[4]; // ignored in testAudioEffectGetParameter2()
195 audioEffect, EFFECT_CMD_OFFLOAD, command, reply); in testAudioEffectGetParameter2()
210 byte reply[] = new byte[parameterSize + SIZEOF_EFFECT_PARAM_T]; in testAudioEffectGetParameter2()
[all …]
/cts/hostsidetests/security/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/tests/tests/os/src/android/os/cts/
DMessengerService.java32 Message reply = Message.obtain();
33 reply.copyFrom(msg);
35 msg.replyTo.send(reply);
DLocalService.java49 protected boolean onTransact(int code, Parcel data, Parcel reply,
56 return super.onTransact(code, data, reply, flags);
DBinderTest.java60 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) in setUp()
122 return super.onTransact(code, data, reply, flags); in setUp()
DMessengerTest.java78 public boolean transact(int code, Parcel data, Parcel reply, int flags)
DLaunchpadActivity.java560 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) {
/cts/hostsidetests/security/securityPatch/CVE-2016-2419/
Dpoc.cpp51 Parcel data, reply; in doInforLeakTest() local
54 ->transact(2 /*MAKE_DRM*/, data, &reply); //MAKE_DRM : 2 (N & O branch), 6 (M Branch) in doInforLeakTest()
55 sp<IDrm> iDrm = interface_cast<IDrm>(reply.readStrongBinder()); in doInforLeakTest()
/cts/tests/tests/externalservice/service/src/android/externalservice/service/
DBaseService.java56 Message reply = Message.obtain(null, ServiceMessages.MSG_IDENTIFY_RESPONSE, in handleMessage() local
58 reply.getData().putString(ServiceMessages.IDENTIFY_PACKAGE, in handleMessage()
61 msg.replyTo.send(reply); in handleMessage()
DServiceCreator.java57 Message reply = Message.obtain();
58 reply.what = ServiceMessages.MSG_CREATE_EXTERNAL_SERVICE_RESPONSE;
60 msg.replyTo.send(reply);
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java164 byte[] reply = new byte[echo.length]; in checkPing()
165 int read = Os.read(socket, reply, 0, echo.length); in checkPing()
170 assertEquals(reply[0], ICMP_ECHO_REPLY); in checkPing()
172 reply[0] = 0; in checkPing()
182 reply[2] = reply[3] = 0; in checkPing()
186 + "\nReply packet: " + Arrays.toString(reply), Arrays.equals(echo, reply)); in checkPing()
/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/hostsidetests/security/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/tests/app/app/src/android/app/stubs/
DLocalService.java49 protected boolean onTransact(int code, Parcel data, Parcel reply,
56 return super.onTransact(code, data, reply, flags);
DLaunchpadActivity.java560 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) {
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java319 byte[] reply = new byte[LENGTH]; in checkPing()
320 int read = Os.read(s, reply, 0, LENGTH); in checkPing()
336 reply[2] = reply[3] = 0; in checkPing()
337 MoreAsserts.assertEquals(packet, reply); in checkPing()
/cts/tests/tests/media/src/android/media/cts/
DRemoteVirtualDisplayService.java56 protected boolean onTransact(int code, Parcel data, Parcel reply, in onCreate()
DAudioEffectTest.java831 byte[] reply = new byte[4]; in test5_0Command()
833 int status = mEffect.command(3, cmd, reply); in test5_0Command()
/cts/tests/app/src/android/app/cts/
DServiceTest.java462 protected boolean onTransact(int code, Parcel data, Parcel reply, in onTransact() argument
523 return super.onTransact(code, data, reply, flags); in onTransact()

12