Home
last modified time | relevance | path

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

12345

/aosp14/frameworks/base/libs/storage/
H A DIMountService.cpp63 Parcel data, reply; in registerListener() local
79 Parcel data, reply; in unregisterListener() local
95 Parcel data, reply; in isUsbMassStorageConnected() local
111 Parcel data, reply; in setUsbMassStorageEnabled() local
127 Parcel data, reply; in isUsbMassStorageEnabled() local
143 Parcel data, reply; in mountVolume() local
160 Parcel data, reply; in unmountVolume() local
179 Parcel data, reply; in formatVolume() local
196 Parcel data, reply; in getStorageUsers() local
225 Parcel data, reply; in getVolumeState() local
[all …]
H A DIMountServiceListener.cpp42 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
46 CHECK_INTERFACE(IMountServiceListener, data, reply);
49 reply->writeNoException();
53 CHECK_INTERFACE(IMountServiceListener, data, reply);
58 reply->writeNoException();
62 return BBinder::onTransact(code, data, reply, flags);
H A DIMountShutdownObserver.cpp37 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
41 CHECK_INTERFACE(IMountShutdownObserver, data, reply);
44 reply->writeNoException();
48 return BBinder::onTransact(code, data, reply, flags);
H A DIObbActionListener.cpp42 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
46 CHECK_INTERFACE(IObbActionListener, data, reply);
51 reply->writeNoException();
55 return BBinder::onTransact(code, data, reply, flags);
/aosp14/frameworks/base/core/java/android/database/
H A DBulkCursorNative.java160 Parcel reply = Parcel.obtain(); in getWindow() local
169 if (reply.readInt() == 1) { in getWindow()
175 reply.recycle(); in getWindow()
181 Parcel reply = Parcel.obtain(); in onMove() local
190 reply.recycle(); in onMove()
197 Parcel reply = Parcel.obtain(); in deactivate() local
205 reply.recycle(); in deactivate()
220 reply.recycle(); in close()
244 reply.recycle(); in requery()
261 reply.recycle(); in getExtras()
[all …]
/aosp14/frameworks/base/core/java/android/content/
H A DContentProviderNative.java514 reply.recycle(); in query()
535 reply.recycle(); in getType()
594 reply.recycle(); in insert()
617 reply.recycle(); in bulkInsert()
643 reply.recycle(); in applyBatch()
666 reply.recycle(); in delete()
690 reply.recycle(); in update()
717 reply.recycle(); in openFile()
744 reply.recycle(); in openAssetFile()
769 reply.recycle(); in call()
[all …]
/aosp14/frameworks/base/core/java/android/content/pm/
H A DBaseParceledListSlice.java92 Parcel reply = Parcel.obtain(); in BaseParceledListSlice() local
95 retriever.transact(IBinder.FIRST_CALL_TRANSACTION, data, reply, 0); in BaseParceledListSlice()
96 reply.readException(); in BaseParceledListSlice()
97 while (i < N && reply.readInt() != 0) { in BaseParceledListSlice()
107 reply.recycle(); in BaseParceledListSlice()
195 return super.onTransact(code, data, reply, flags); in writeToParcel()
208 reply.writeNoException(); in writeToParcel()
209 while (i < N && reply.dataSize() < MAX_IPC_SIZE) { in writeToParcel()
210 reply.writeInt(1); in writeToParcel()
214 writeElement(parcelable, reply, callFlags); in writeToParcel()
[all …]
/aosp14/system/core/init/
H A Dsubcontext.cpp70 SubcontextReply* reply) const;
72 SubcontextReply* reply) const;
80 SubcontextReply* reply) const { in RunCommand()
96 reply->set_success(true); in RunCommand()
98 auto* failure = reply->mutable_failure(); in RunCommand()
105 SubcontextReply* reply) const { in ExpandArgs()
109 auto* failure = reply->mutable_failure(); in ExpandArgs()
149 auto reply = SubcontextReply(); in MainLoop() local
165 reply.set_trigger_shutdown(shutdown_command); in MainLoop()
340 auto& reply = subcontext_reply->expand_args_reply(); in ExpandArgs() local
[all …]
/aosp14/system/core/libnetutils/
H A Ddhcpclient.c351 static int is_valid_reply(dhcp_msg *msg, dhcp_msg *reply, int sz) in is_valid_reply() argument
357 if (reply->op != OP_BOOTREPLY) { in is_valid_reply()
361 if (reply->xid != msg->xid) { in is_valid_reply()
366 if (reply->htype != msg->htype) { in is_valid_reply()
370 if (reply->hlen != msg->hlen) { in is_valid_reply()
374 if (memcmp(msg->chaddr, reply->chaddr, msg->hlen)) { in is_valid_reply()
391 dhcp_msg reply; in dhcp_init_ifc() local
473 r = receive_packet(s, &reply); in dhcp_init_ifc()
485 dump_dhcp_msg(&reply, r); in dhcp_init_ifc()
487 decode_dhcp_msg(&reply, r, &info); in dhcp_init_ifc()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/net/
H A DSntpClientTest.java317 reply[0] |= (byte) 0xc0; in testIgnoreLeapNoSync()
318 mServer.setServerReply(reply); in testIgnoreLeapNoSync()
331 reply[0] &= (byte) 0xf8; in testAcceptOnlyServerAndBroadcastModes()
332 reply[0] |= (byte) i; in testAcceptOnlyServerAndBroadcastModes()
333 mServer.setServerReply(reply); in testAcceptOnlyServerAndBroadcastModes()
360 reply[1] = (byte) i; in testAcceptableStrataOnly()
361 mServer.setServerReply(reply); in testAcceptableStrataOnly()
380 mServer.setServerReply(reply); in testZeroTransmitTime()
391 mServer.setServerReply(reply); in testNonMatchingOriginateTime()
473 public void setServerReply(byte[] reply) { in setServerReply() argument
[all …]
/aosp14/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp91 virtual status_t invoke(const Parcel& request, Parcel *reply);
98 void ping(const Parcel& request, Parcel *reply);
104 status_t Player::invoke(const Parcel& request, Parcel *reply) in invoke() argument
108 ping(request, reply); in invoke()
115 void Player::ping(const Parcel& request, Parcel *reply) in ping() argument
119 reply->setData(static_cast<const uint8_t*>(request.readInplace(len)), len); in ping()
/aosp14/frameworks/base/core/java/android/os/
H A DBinder.java899 if (reply != null) { in onTransact()
900 reply.writeNoException(); in onTransact()
924 if (reply != null) { in onTransact()
925 reply.writeNoException(); in onTransact()
1213 if (reply != null) { in transact()
1214 reply.setDataPosition(0); in transact()
1289 Parcel reply = Parcel.obtain(replyObj); in execTransact() local
1306 reply.recycle(); in execTransact()
1380 reply.setDataSize(0); in execTransactInternal()
1381 reply.setDataPosition(0); in execTransactInternal()
[all …]
H A DBinderProxy.java586 if (reply != null && !warnOnBlocking) { in transact()
635 Parcel reply = Parcel.obtain(); in dump() local
639 transact(DUMP_TRANSACTION, data, reply, 0); in dump()
640 reply.readException(); in dump()
643 reply.recycle(); in dump()
656 Parcel reply = Parcel.obtain(); in dumpAsync() local
663 reply.recycle(); in dumpAsync()
683 Parcel reply = Parcel.obtain(); in shellCommand() local
691 transact(SHELL_COMMAND_TRANSACTION, data, reply, 0); in shellCommand()
692 reply.readException(); in shellCommand()
[all …]
/aosp14/frameworks/base/media/java/android/media/session/
H A DParcelableListBinder.java71 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument
74 return super.onTransact(code, data, reply, flags); in onTransact()
114 Parcel reply = Parcel.obtain(); in send() local
126 binder.transact(FIRST_CALL_TRANSACTION, data, reply, 0); in send()
127 reply.recycle(); in send()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java212 final Parcel reply = Parcel.obtain(); in onServiceConnected() local
215 service.transact(RemoteService.TRANSACTION_GET_PID, data, reply, 0 /* flags */); in onServiceConnected()
216 reply.readException(); in onServiceConnected()
217 mServicePid.complete(reply.readInt()); in onServiceConnected()
222 reply.recycle(); in onServiceConnected()
252 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onBind()
256 reply.writeNoException(); in onBind()
257 reply.writeInt(Process.myPid()); in onBind()
260 return super.onTransact(code, data, reply, flags); in onBind()
/aosp14/frameworks/base/core/java/android/app/
H A DSynchronousUserSwitchObserver.java34 public final void onUserSwitching(int newUserId, IRemoteCallback reply) throws RemoteException { in onUserSwitching() argument
38 if (reply != null) { in onUserSwitching()
39 reply.sendResult(null); in onUserSwitching()
H A DUserSwitchObserver.java36 public void onUserSwitching(int newUserId, IRemoteCallback reply) throws RemoteException { in onUserSwitching() argument
37 if (reply != null) { in onUserSwitching()
38 reply.sendResult(null); in onUserSwitching()
/aosp14/frameworks/base/core/java/android/ddm/
H A DDdmHandleProfiling.java139 byte[] reply = { result }; in handleMPRE()
140 return new Chunk(CHUNK_MPRE, reply, 0, reply.length); in handleMPRE()
192 byte[] reply = { (byte) result }; in handleMPRQ()
193 return new Chunk(CHUNK_MPRQ, reply, 0, reply.length); in handleMPRQ()
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DMessengerService.java26 Message reply = Message.obtain();
27 reply.copyFrom(msg);
29 msg.replyTo.send(reply);
/aosp14/frameworks/base/tests/BatteryStatsPerfTest/src/com/android/internal/os/
H A DBatteryUsageStatsPerfTest.java117 final Parcel reply = Parcel.obtain(); in testBatteryUsageStatsTransferOverBinder() local
118 mService.transact(42, data, reply, 0); in testBatteryUsageStatsTransferOverBinder()
120 BatteryUsageStats.CREATOR.createFromParcel(reply); in testBatteryUsageStatsTransferOverBinder()
121 reply.recycle(); in testBatteryUsageStatsTransferOverBinder()
151 protected boolean onTransact(int code, @NonNull Parcel data, @Nullable Parcel reply, in onBind()
153 mBatteryUsageStats.writeToParcel(reply, 0); in onBind()
/aosp14/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
H A DLoginTest.java77 MyAutofillService.newCannedResponse().reply(); in testFocus_serviceDoesNotAutofill()
105 .reply(); in testFocus_autofillBothFields()
159 .reply(); in testFocus_autofillUsernameOnly()
216 MyAutofillService.newCannedResponse().reply(); in testChange_serviceDoesNotAutofill()
230 .reply(); in testChange_autofillBothFields()
245 .reply(); in testChange_autofillUsernameOnly()
275 .reply(); in testCallbacks()
/aosp14/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/
H A DSimpleIsolatedService.java38 final Parcel reply = Parcel.obtain();
41 callback.transact(Binder.FIRST_CALL_TRANSACTION, data, reply, 0);
46 reply.recycle();
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaPlayerInvokeTest.java64 Parcel reply = Parcel.obtain(); in testPing() local
68 mPlayer.invoke(request, reply); in testPing()
69 assertEquals(val, reply.readInt()); in testPing()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DSmartReplyController.java67 public void smartReplySent(NotificationEntry entry, int replyIndex, CharSequence reply, in smartReplySent() argument
69 mCallback.onSmartReplySent(entry, reply); in smartReplySent()
72 mBarService.onNotificationSmartReplySent(entry.getSbn().getKey(), replyIndex, reply, in smartReplySent() local
135 void onSmartReplySent(NotificationEntry entry, CharSequence reply); in onSmartReplySent() argument
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/os/
H A DParcelObtainPerfTest.java77 final Parcel reply = Parcel.obtain(); in run() local
80 reply.writeInt(32); in run()
82 reply.recycle(); in run()

12345