Home
last modified time | relevance | path

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

123

/packages/services/Car/tests/carservice_unit_test/src/android/car/occupantconnection/
DPayloadUnitTest.java78 Payload origPayload = new Payload(origBinder); in testLocalSerializeBinder()
83 Payload newPayload = Payload.CREATOR.createFromParcel(dest); in testLocalSerializeBinder()
91 Payload origPayload = new Payload(origBinder); in testRemoteSerializeBinder()
92 Payload newPayload = mBinder.echoPayload(origPayload); in testRemoteSerializeBinder()
99 Payload origPayload = new Payload(origArray); in doTestLocalSerializationDeserializationByteArray()
104 Payload newPayload = Payload.CREATOR.createFromParcel(dest); in doTestLocalSerializationDeserializationByteArray()
112 Payload origPayload = new Payload(origArray); in doTestRemoteSerializationDeserializationByteArray()
113 Payload newPayload = mBinder.echoPayload(origPayload); in doTestRemoteSerializationDeserializationByteArray()
DIPayloadTestBinder.aidl19 import android.car.occupantconnection.Payload;
23 Payload echoPayload(in Payload payload); in echoPayload()
DPayloadTestBinderService.java28 public Payload echoPayload(Payload payload) {
DTestReceiverService.java32 public final List<Pair<OccupantZoneInfo, Payload>> onPayloadReceivedInvokedRecords =
43 public void onPayloadReceived(OccupantZoneInfo senderZone, Payload payload) { in onPayloadReceived()
/packages/services/Car/car-lib/src/android/car/occupantconnection/
DPayload.java52 public final class Payload extends LargeParcelableBase { class
60 public Payload(@NonNull byte[] bytes) { in Payload() method in Payload
65 private Payload(@NonNull Parcel in) { in Payload() method in Payload
73 public Payload(@NonNull IBinder binder) { in Payload() method in Payload
97 if (o instanceof Payload) { in equals()
98 Payload other = (Payload) o; in equals()
121 public static final Creator<Payload> CREATOR = new Creator<>() {
126 public Payload createFromParcel(Parcel in) {
127 return new Payload(in);
134 public Payload[] newArray(int size) {
[all …]
DIPayloadCallback.aidl20 import android.car.occupantconnection.Payload;
26 in Payload payload); in onPayloadReceived()
DIBackendReceiver.aidl22 import android.car.occupantconnection.Payload;
39 in Payload payload); in onPayloadReceived()
DICarOccupantConnection.aidl22 import android.car.occupantconnection.Payload;
39 in Payload payload); in sendPayload()
DAbstractReceiverService.java133 public void onPayloadReceived(OccupantZoneInfo senderZone, Payload payload) {
252 @NonNull Payload payload); in onPayloadReceived()
382 @NonNull Payload payload) { in forwardPayload()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/occupantconnection/
DPayloadUtils.java19 import android.car.occupantconnection.Payload;
30 static Payload createPayload(String receiverEndpointId, String text) { in createPayload()
35 return new Payload(data.toByteArray()); in createPayload()
38 static Payload createPayload(String receiverEndpointId, int progress) { in createPayload()
43 return new Payload(data.toByteArray()); in createPayload()
46 static Data parseData(Payload payload) { in parseData()
DReceiverService.java31 import android.car.occupantconnection.Payload;
55 private Payload mCachedPayload;
100 @NonNull Payload payload) { in onPayloadReceived()
DSenderFragment.java28 import android.car.occupantconnection.Payload;
195 Payload payload = PayloadUtils.createPayload(TEXT_RECEIVER_ID, textToSend); in onCreateView()
222 Payload payload = PayloadUtils.createPayload(SEEK_BAR_RECEIVER_ID, progress); in onCreateView()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacketListener.java36 abstract class DhcpPacketListener extends FdEventsReader<DhcpPacketListener.Payload> {
37 static final class Payload { class in DhcpPacketListener
44 super(handler, new Payload()); in DhcpPacketListener()
48 protected int recvBufSize(@NonNull Payload buffer) { in recvBufSize()
53 protected final void handlePacket(@NonNull Payload recvbuf, int length) { in handlePacket()
70 protected int readPacket(@NonNull FileDescriptor fd, @NonNull Payload packetBuffer) in readPacket()
/packages/modules/Virtualization/microdroid/payload/
DREADME.md1 # Microdroid Payload
3 Payload disk is a composite disk image referencing host APEXes and an APK so that microdroid
6 Payload disk is created by [VirtualizationService](../../virtualizationservice) Service when
11 Payload disk has 1 + N(number of APEX/APK payloads) partitions.
36 ### Payload partitions
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DPacketUtils.java68 public interface Payload { interface in PacketUtils
83 public final Payload payload;
85 public IpHeader(int proto, InetAddress src, InetAddress dst, Payload payload) { in IpHeader()
100 public Ip4Header(int proto, Inet4Address src, Inet4Address dst, Payload payload) { in Ip4Header()
169 public Ip6Header(int nextHeader, Inet6Address src, Inet6Address dst, Payload payload) { in Ip6Header()
208 public static class BytePayload implements Payload {
235 public static class UdpHeader implements Payload {
239 public final Payload payload;
241 public UdpHeader(int srcPort, int dstPort, Payload payload) { in UdpHeader()
315 public static class EspHeader implements Payload {
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacketUtils.java108 public interface Payload { interface in PacketUtils
123 public final Payload payload;
125 public IpHeader(int proto, InetAddress src, InetAddress dst, Payload payload) { in IpHeader()
140 public Ip4Header(int proto, Inet4Address src, Inet4Address dst, Payload payload) { in Ip4Header()
209 public Ip6Header(int nextHeader, Inet6Address src, Inet6Address dst, Payload payload) { in Ip6Header()
248 public static class BytePayload implements Payload {
275 public static class UdpHeader implements Payload {
279 public final Payload payload;
281 public UdpHeader(int srcPort, int dstPort, Payload payload) { in UdpHeader()
355 public static class EspHeader implements Payload {
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantConnectionManagerUnitTest.java47 import android.car.occupantconnection.Payload;
272 Payload payload = mock(Payload.class); in testRegisterReceiverCallbackInvoked()
314 .sendPayload(/* receiverZone= */ null, mock(Payload.class))); in testSendPayloadNullParameters_throwsException()
326 () -> mOccupantConnectionManager.sendPayload(mReceiverZone, mock(Payload.class))); in testSendPayloadWithoutConnection_throwsException()
331 Payload payload = mock(Payload.class); in testSendPayload()
/packages/modules/Virtualization/pvmfw/avb/src/
Dops.rs24 pub(crate) struct Payload<'a> { struct
30 impl<'a> Payload<'a> { argument
51 payload: &'a Payload<'a>,
55 pub(crate) fn new(payload: &'a Payload<'a>) -> Self { in new()
/packages/modules/Virtualization/virtualizationmanager/src/
Datom.rs24 VirtualMachineAppConfig::{Payload::Payload, VirtualMachineAppConfig},
46 Payload::PayloadConfig(_) => String::new(), in get_apex_list()
47 Payload::ConfigPath(config_path) => { in get_apex_list()
/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualizationservice/
DVirtualMachineAppConfig.aidl48 union Payload {
63 Payload payload;
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/option/ui/viewmodel/
DOptionItemViewModel.kt25 data class OptionItemViewModel<Payload>(
35 val payload: Payload? = null,
/packages/modules/Bluetooth/floss/hcidoc/src/
Dparser.rs385 AclChild::Payload(bytes) => match BasicFrame::parse(bytes.as_ref()) { in get_acl_content()
388 ControlFrameChild::Payload(p) => match Control::parse(p.as_ref()) { in get_acl_content()
395 LeControlFrameChild::Payload(p) => match LeControl::parse(p.as_ref()) { in get_acl_content()
402 GroupFrameChild::Payload(p) => { in get_acl_content()
407 BasicFrameChild::Payload(p) => AclContent::StandardData(p.to_vec()), in get_acl_content()
/packages/modules/Virtualization/compos/common/
Dcompos_client.rs28 CustomConfig::CustomConfig, DebugLevel::DebugLevel, Payload::Payload,
136 payload: Payload::ConfigPath(config_path),
/packages/modules/Virtualization/vm_payload/
DREADME.md1 # VM Payload API
3 This directory contains the definition of the VM Payload API. This is a native
47 In addition to the VM Payload APIs, a small subset of the [Android
/packages/modules/Virtualization/vm/src/
Drun.rs23 CustomConfig::CustomConfig, DebugLevel::DebugLevel, Payload::Payload,
130 Payload::ConfigPath(config_path) in command_run_app()
135 Payload::PayloadConfig(VirtualMachinePayloadConfig { in command_run_app()

123