Home
last modified time | relevance | path

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

/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.java30 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags)
37 return super.onTransact(code, data, reply, flags);
/cts/tests/tests/security/src/android/security/cts/
DEffectBundleTest.java90 byte reply[] = new byte[Equalizer.PARAM_STRING_SIZE_MAX]; in testParamPresetName()
91 Arrays.fill(reply, testValue); in testParamPresetName()
92 if (!eqGetParam(media, command, invalidBand, reply)) { in testParamPresetName()
99 while (reply[length] != 0) length++; in testParamPresetName()
101 final String presetName = new String(reply, 0, length, in testParamPresetName()
109 for (int i = 0; i < reply.length; i++) { in testParamPresetName()
111 testValue, reply[i]); in testParamPresetName()
183 byte reply[] = new byte[ 4 /*command.length*/]; in eqSetParamProperties()
187 byte[].class).invoke(af, cmdCode, command, reply); in eqSetParamProperties()
189 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/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.java57 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) in setUp()
119 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/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java142 byte[] reply = new byte[echo.length]; in checkPing()
143 int read = Os.read(socket, reply, 0, echo.length); in checkPing()
148 assertEquals(reply[0], ICMP_ECHO_REPLY); in checkPing()
150 reply[0] = 0; in checkPing()
160 reply[2] = reply[3] = 0; in checkPing()
164 + "\nReply packet: " + Arrays.toString(reply), Arrays.equals(echo, reply)); in checkPing()
/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/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/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.java829 byte[] reply = new byte[4]; in test5_0Command()
831 int status = mEffect.command(3, cmd, reply); in test5_0Command()
/cts/tests/app/src/android/app/cts/
DServiceTest.java425 protected boolean onTransact(int code, Parcel data, Parcel reply, in onTransact() argument
486 return super.onTransact(code, data, reply, flags); in onTransact()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...