Home
last modified time | relevance | path

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

123

/packages/services/Car/procfs-inspector/server/
Dserver.cpp44 Parcel data, reply; in readProcessTable() local
45 remote()->transact((uint32_t)IProcfsInspector::Call::READ_PROCESS_TABLE, data, &reply); in readProcessTable()
48 reply.readParcelableVector(&result); in readProcessTable()
57 const Parcel& data, Parcel* reply, uint32_t flags) { in onTransact() argument
60 CHECK_INTERFACE(IProcfsInspector, data, reply); in onTransact()
62 reply->writeNoException(); in onTransact()
63 reply->writeParcelableVector(readProcessTable()); in onTransact()
70 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/packages/modules/Media/apex/framework/java/android/media/
DBaseMediaParceledListSlice.java100 Parcel reply = Parcel.obtain(); in BaseMediaParceledListSlice() local
103 retriever.transact(IBinder.FIRST_CALL_TRANSACTION, data, reply, 0); in BaseMediaParceledListSlice()
108 while (i < N && reply.readInt() != 0) { in BaseMediaParceledListSlice()
109 final T parcelable = readCreator(creator, reply, loader); in BaseMediaParceledListSlice()
121 reply.recycle(); in BaseMediaParceledListSlice()
184 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) in writeToParcel()
187 return super.onTransact(code, data, reply, flags); in writeToParcel()
191 while (i < N && reply.dataSize() < MAX_IPC_SIZE) { in writeToParcel()
192 reply.writeInt(1); in writeToParcel()
196 writeElement(parcelable, reply, callFlags); in writeToParcel()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DMnsObexServerTest.java72 HeaderSet reply = new HeaderSet(); in onConnect_whenUuidIsWrong() local
74 assertThat(mServer.onConnect(request, reply)) in onConnect_whenUuidIsWrong()
82 HeaderSet reply = new HeaderSet(); in onConnect_withCorrectUuid() local
84 assertThat(mServer.onConnect(request, reply)).isEqualTo(ResponseCodes.OBEX_HTTP_OK); in onConnect_withCorrectUuid()
85 assertThat(reply.getHeader(HeaderSet.WHO)).isEqualTo(MnsObexServer.MNS_TARGET); in onConnect_withCorrectUuid()
91 HeaderSet reply = new HeaderSet(); in onDisconnect_callsStateMachineDisconnect() local
93 mServer.onDisconnect(request, reply); in onDisconnect_callsStateMachineDisconnect()
150 HeaderSet reply = new HeaderSet(); in onAbort_returnsNotImplemented() local
152 assertThat(mServer.onAbort(request, reply)) in onAbort_returnsNotImplemented()
159 HeaderSet reply = new HeaderSet(); in onSetPath_returnsBadRequest() local
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServerTest.java125 HeaderSet reply = new HeaderSet(); in testOnConnect_whenIoExceptionIsThrownFromGettingTargetHeader() local
129 assertThat(mServer.onConnect(request, reply)) in testOnConnect_whenIoExceptionIsThrownFromGettingTargetHeader()
137 HeaderSet reply = new HeaderSet(); in testOnConnect_whenUuidIsNull() local
139 assertThat(mServer.onConnect(request, reply)) in testOnConnect_whenUuidIsNull()
147 HeaderSet reply = new HeaderSet(); in testOnConnect_whenUuidLengthIsWrong() local
149 assertThat(mServer.onConnect(request, reply)) in testOnConnect_whenUuidLengthIsWrong()
157 HeaderSet reply = new HeaderSet(); in testOnConnect_whenUuidIsWrong() local
159 assertThat(mServer.onConnect(request, reply)) in testOnConnect_whenUuidIsWrong()
168 HeaderSet reply = new HeaderSet(); in testOnConnect_whenIoExceptionIsThrownFromGettingWhoHeader() local
172 assertThat(mServer.onConnect(request, reply)) in testOnConnect_whenIoExceptionIsThrownFromGettingWhoHeader()
[all …]
/packages/apps/Settings/src/com/android/settings/development/
DHardwareOverlaysPreferenceController.java91 final Parcel reply = Parcel.obtain(); in updateHardwareOverlaysSetting() local
93 mSurfaceFlinger.transact(SURFACE_FLINGER_READ_CODE, data, reply, 0 /* flags */); in updateHardwareOverlaysSetting()
94 @SuppressWarnings("unused") final int showCpu = reply.readInt(); in updateHardwareOverlaysSetting()
95 @SuppressWarnings("unused") final int enableGL = reply.readInt(); in updateHardwareOverlaysSetting()
96 @SuppressWarnings("unused") final int showUpdates = reply.readInt(); in updateHardwareOverlaysSetting()
97 @SuppressWarnings("unused") final int showBackground = reply.readInt(); in updateHardwareOverlaysSetting()
98 final int disableOverlays = reply.readInt(); in updateHardwareOverlaysSetting()
100 reply.recycle(); in updateHardwareOverlaysSetting()
DShowSurfaceUpdatesPreferenceController.java90 final Parcel reply = Parcel.obtain(); in updateShowUpdatesSetting() local
92 mSurfaceFlinger.transact(SURFACE_FLINGER_READ_CODE, data, reply, 0 /* flags */); in updateShowUpdatesSetting()
93 @SuppressWarnings("unused") final int showCpu = reply.readInt(); in updateShowUpdatesSetting()
94 @SuppressWarnings("unused") final int enableGL = reply.readInt(); in updateShowUpdatesSetting()
95 final int showUpdates = reply.readInt(); in updateShowUpdatesSetting()
97 reply.recycle(); in updateShowUpdatesSetting()
DShowRefreshRatePreferenceController.java93 final Parcel reply = Parcel.obtain(); in updateShowRefreshRateSetting() local
96 mSurfaceFlinger.transact(SURFACE_FLINGER_CODE, data, reply, 0 /* flags */); in updateShowRefreshRateSetting()
97 final boolean enabled = reply.readBoolean(); in updateShowRefreshRateSetting()
99 reply.recycle(); in updateShowRefreshRateSetting()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/obex/
DFakeObexServer.java55 public abstract int onSetPathValidator(HeaderSet request, HeaderSet reply, in onSetPathValidator() argument
61 public int onConnect(final HeaderSet request, HeaderSet reply) { in onConnect() argument
66 public void onDisconnect(final HeaderSet request, HeaderSet reply) { in onDisconnect() argument
80 public int onAbort(final HeaderSet request, HeaderSet reply) { in onAbort() argument
85 public int onSetPath(final HeaderSet request, HeaderSet reply, final boolean backup, in onSetPath() argument
87 return onSetPathValidator(request, reply, backup, create); in onSetPath()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java280 public int onConnect(final HeaderSet request, HeaderSet reply) { in onConnect() argument
304 reply.setHeader(HeaderSet.WHO, uuid); in onConnect()
316 reply.setHeader(HeaderSet.TARGET, remote); in onConnect()
356 public int onAbort(HeaderSet request, HeaderSet reply) { in onAbort() argument
375 public int onDelete(final HeaderSet request, final HeaderSet reply) { in onDelete() argument
384 public int onSetPath(final HeaderSet request, final HeaderSet reply, final boolean backup, in onSetPath() argument
448 HeaderSet reply = new HeaderSet(); in onGet() local
593 return pullVcardListing(appParam, appParamValue, reply, op, name); in onGet()
596 return pullVcardEntry(appParam, appParamValue, op, reply, name, mCurrentPath); in onGet()
599 return pullPhonebook(appParam, appParamValue, reply, op, name); in onGet()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DEventHandler.java27 public static <T> EventHandler<T> createStub(boolean reply) { in createStub() argument
28 return new Stub<T>(reply); in createStub()
35 private Stub(boolean reply) { in Stub() argument
36 mReply = reply;} in Stub()
/packages/services/Car/tools/emulator/
Dprop_event_simulator.py73 reply = v.rxMsg()
74 print(reply)
76 value = parseVal(args.value, reply.config[0].value_type)
80 reply = v.rxMsg()
81 print(reply)
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapServer.java407 SapMessage reply = in run() local
409 sendClientMessage(reply); in run()
573 SapMessage reply = new SapMessage(SapMessage.ID_CONNECT_RESP); in onConnectRequest() local
579 reply = null; in onConnectRequest()
585 reply.setConnectionStatus(SapMessage.CON_STATUS_ERROR_CONNECTION); in onConnectRequest()
593 reply.setConnectionStatus(SapMessage.CON_STATUS_OK_ONGOING_CALL); in onConnectRequest()
604 reply = null; in onConnectRequest()
606 reply = new SapMessage(SapMessage.ID_CONNECT_RESP); in onConnectRequest()
607 reply.setConnectionStatus(SapMessage.CON_STATUS_ERROR_CONNECTION); in onConnectRequest()
608 sendClientMessage(reply); in onConnectRequest()
[all …]
/packages/modules/Bluetooth/tools/rootcanal/lmp/src/procedure/
Dsecure_simple_pairing.rs332 let reply = ctx.receive_hci_command::<hci::IoCapabilityRequestReplyPacket>().await; in initiate() localVariable
345 io_capabilities: reply.get_io_capability().to_u8().unwrap(), in initiate()
346 oob_authentication_data: reply.get_oob_present().to_u8().unwrap(), in initiate()
347 authentication_requirement: reply in initiate()
356 io_capability: reply.get_io_capability(), in initiate()
357 oob_data_present: reply.get_oob_present(), in initiate()
358 authentication_requirements: reply.get_authentication_requirements(), in initiate()
537 let reply = ctx.receive_hci_command::<hci::IoCapabilityRequestReplyPacket>().await; in respond() localVariable
550 io_capabilities: reply.get_io_capability().to_u8().unwrap(), in respond()
551 oob_authentication_data: reply.get_oob_present().to_u8().unwrap(), in respond()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMnsObexServer.java71 public int onConnect(final HeaderSet request, HeaderSet reply) { in onConnect() argument
87 reply.setHeader(HeaderSet.WHO, MNS_TARGET); in onConnect()
92 public void onDisconnect(final HeaderSet request, HeaderSet reply) { in onDisconnect() argument
142 public int onAbort(final HeaderSet request, HeaderSet reply) { in onAbort() argument
150 public int onSetPath(final HeaderSet request, HeaderSet reply, final boolean backup, in onSetPath() argument
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.cpp238 std::vector<uint8_t> reply; in handleRequests() local
287 reply.insert(reply.end(), responseHeader, responseHeader + 2); in handleRequests()
288 reply.insert(reply.end(), recv_buffer, recv_buffer + rlen); in handleRequests()
301 const int replyLen = reply.size(); in handleRequests()
303 if (SSL_write(ssl, reply.data(), replyLen) != replyLen) { in handleRequests()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeEventRuleSettings.java159 final int reply = Integer.parseInt((String) newValue); in onCreateInternal()
160 if (reply == mEvent.reply) return false; in onCreateInternal()
161 mEvent.reply = reply; in onCreateInternal()
176 if (!Objects.equals(mReply.getValue(), Integer.toString(mEvent.reply))) { in updateControlsInternal()
177 mReply.setValue(Integer.toString(mEvent.reply)); in updateControlsInternal()
/packages/modules/Connectivity/tests/unit/java/android/net/nsd/
DNsdManagerTest.java157 NsdServiceInfo reply = new NsdServiceInfo("resolved_name", "resolved_type"); in doTestResolveService() local
169 mCallback.onResolveServiceSucceeded(key2, reply); in doTestResolveService()
170 verify(listener, timeout(mTimeoutMs).times(1)).onServiceResolved(reply); in doTestResolveService()
177 NsdServiceInfo reply = new NsdServiceInfo("resolved_name", "resolved_type"); in doTestParallelResolveService() local
189 mCallback.onResolveServiceSucceeded(key2, reply); in doTestParallelResolveService()
190 mCallback.onResolveServiceSucceeded(key1, reply); in doTestParallelResolveService()
192 verify(listener1, timeout(mTimeoutMs).times(1)).onServiceResolved(reply); in doTestParallelResolveService()
193 verify(listener2, timeout(mTimeoutMs).times(1)).onServiceResolved(reply); in doTestParallelResolveService()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkDiagnostics.java543 ByteBuffer reply = ByteBuffer.allocate(PACKET_BUFSIZE); in run() local
544 Os.read(mFileDescriptor, reply); in run()
625 ByteBuffer reply = ByteBuffer.allocate(PACKET_BUFSIZE); in run() local
626 Os.read(mFileDescriptor, reply); in run()
629 final String rcodeStr = (reply.limit() > 3) in run()
630 ? " " + responseCodeStr((int) (reply.get(3)) & 0x0f) in run()
729 final byte[] reply = new byte[replyLength]; in sendDoTProbe()
732 bytesRead += input.read(reply, bytesRead, replyLength - bytesRead); in sendDoTProbe()
736 mMeasurement.recordSuccess("1/1 " + responseCodeStr((int) (reply[3]) & 0x0f)); in sendDoTProbe()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpBipObexServer.java98 public int onConnect(final HeaderSet request, HeaderSet reply) { in onConnect() argument
113 reply.setHeader(HeaderSet.WHO, BLUETOOTH_UUID_AVRCP_COVER_ART); in onConnect()
122 public void onDisconnect(final HeaderSet request, HeaderSet reply) { in onDisconnect() argument
163 public int onAbort(final HeaderSet request, HeaderSet reply) { in onAbort() argument
168 public int onSetPath(final HeaderSet request, HeaderSet reply, final boolean backup, in onSetPath() argument
/packages/services/Car/car-builtin-lib/src/android/car/builtin/os/
DBinderHelper.java101 @Nullable Parcel reply, int flags, @NonNull ShellCommandListener cmdListener) in onTransactForCmd() argument
153 if (reply != null) { in onTransactForCmd()
154 reply.writeNoException(); in onTransactForCmd()
/packages/apps/Settings/src/com/android/settings/development/qstile/
DDevelopmentTiles.java244 Parcel reply = null; in isLayerTraceEnabled() local
248 reply = Parcel.obtain(); in isLayerTraceEnabled()
252 data, reply, 0 /* flags */); in isLayerTraceEnabled()
253 layerTraceEnabled = reply.readBoolean(); in isLayerTraceEnabled()
260 reply.recycle(); in isLayerTraceEnabled()
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DAssistant.java217 public void onSuggestedReplySent(@NonNull String key, @NonNull CharSequence reply, in onSuggestedReplySent() argument
220 Log.d(TAG, "onSuggestedReplySent() called with: key = [" + key + "], reply = [" + reply in onSuggestedReplySent()
224 () -> mSmartSuggestionsHelper.onSuggestedReplySent(key, reply, source)); in onSuggestedReplySent()
/packages/apps/Car/Provision/src/com/android/car/provision/
DUserNoticeUiService.java55 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags)
65 return super.onTransact(code, data, reply, flags);
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiDialogManager.java469 public void replyToSimpleDialog(int dialogId, @WifiManager.DialogReply int reply) { in replyToSimpleDialog() argument
471 Log.i(TAG, "Response received for simple dialog. id=" + dialogId + " reply=" + reply); in replyToSimpleDialog()
486 switch (reply) { in replyToSimpleDialog()
501 Log.w(TAG, "Received invalid reply=" + reply); in replyToSimpleDialog()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcp/
DAvrcpBipObexServerTest.java456 HeaderSet reply = null; in testOnAbort() local
457 int responseCode = mAvrcpBipObexServer.onAbort(request, reply); in testOnAbort()
467 HeaderSet reply = null; in testOnSetPath() local
470 int responseCode = mAvrcpBipObexServer.onSetPath(request, reply, backup, create); in testOnSetPath()

123