Home
last modified time | relevance | path

Searched refs:LargeParcelable (Results 1 – 17 of 17) sorted by relevance

/packages/services/Car/car-lib/src/com/android/car/internal/
DLargeParcelable.java48 public class LargeParcelable extends LargeParcelableBase { class
59 private static final String TAG = LargeParcelable.class.getSimpleName();
80 public LargeParcelable(Parcel in) { in LargeParcelable() method in LargeParcelable
84 public LargeParcelable(Parcelable parcelable) { in LargeParcelable() method in LargeParcelable
137 public static final @NonNull Parcelable.Creator<LargeParcelable> CREATOR =
138 new Parcelable.Creator<LargeParcelable>() {
140 public LargeParcelable[] newArray(int size) {
141 return new LargeParcelable[size];
145 public LargeParcelable createFromParcel(@NonNull Parcel in) {
146 return new LargeParcelable(in);
DLargeParcelable.aidl19 parcelable LargeParcelable;
DLargeParcelableBase.java55 private static final String TAG = LargeParcelable.class.getSimpleName();
/packages/services/Car/cpp/car_binder_lib/largeParcelable/include/
DLargeParcelable.h37 class LargeParcelable : public LargeParcelableBase {
39 LargeParcelable() {} in LargeParcelable() function
46 explicit LargeParcelable(std::unique_ptr<T> parcelable) : mParcelable(std::move(parcelable)) {} in LargeParcelable() function
76 binder_status_t LargeParcelable<T>::serializeNullablePayload(const T* payload, AParcel* dest) { in serializeNullablePayload()
105 binder_status_t LargeParcelable<T>::serialize(AParcel* dest) const { in serialize()
110 binder_status_t LargeParcelable<T>::serializeNullPayload(AParcel* dest) const { in serializeNullPayload()
115 binder_status_t LargeParcelable<T>::deserialize(const AParcel& src) { in deserialize()
/packages/services/Car/tests/android_car_api_test/src/com/android/car/internal/test/
DIJavaTestBinder.aidl20 import com.android.car.internal.LargeParcelable;
25 LargeParcelable echoLargeParcelable(in LargeParcelable p); in echoLargeParcelable()
27 long echoLongWithLargeParcelable(in LargeParcelable p, long v); in echoLongWithLargeParcelable()
DLargeParcelableTestService.java24 import com.android.car.internal.LargeParcelable;
41 public LargeParcelable echoLargeParcelable(LargeParcelable p) {
59 public long echoLongWithLargeParcelable(LargeParcelable p, long v) {
76 LargeParcelable.setClassLoader(getClassLoader()); in onBind()
DLargeParcelableJavaStableAIDLTest.java35 import com.android.car.internal.LargeParcelable;
73 LargeParcelable.setClassLoader(mContext.getClassLoader()); in setUp()
161 Parcelable sendableParcelable = LargeParcelable.toLargeParcelable(in, () -> { in prepareParcelable()
177 LargeParcelable.reconstructStableAIDLParcelable(r, true); in doTestLEcho()
182 if (payloadSize > LargeParcelable.MAX_DIRECT_PAYLOAD_SIZE) { in doTestLEcho()
204 if (payloadSize > LargeParcelable.MAX_DIRECT_PAYLOAD_SIZE) { in doTestMultipleArgs()
224 LargeParcelable.reconstructStableAIDLParcelable(r, true); in doTestEchoWithCallback()
229 if (payloadSize > LargeParcelable.MAX_DIRECT_PAYLOAD_SIZE) { in doTestEchoWithCallback()
DLargeParcelableJavaStableAIDLCompTest.java28 import com.android.car.internal.LargeParcelable;
82 if (payloadSize > LargeParcelable.MAX_DIRECT_PAYLOAD_SIZE) { in doTestTestLargeParcelableToStableAIDLTestLargeParcelable()
92 LargeParcelable.reconstructStableAIDLParcelable(stableP, true); in doTestTestLargeParcelableToStableAIDLTestLargeParcelable()
103 Parcelable stableP = LargeParcelable.toLargeParcelable(origP, () -> { in doTestStableAIDLTestLargeParcelableToTestLargeParcelable()
DLargeParcelableTest.java32 import com.android.car.internal.LargeParcelable;
57 LargeParcelable.setClassLoader(mContext.getClassLoader()); in setUp()
168 LargeParcelable r = mBinder.echoLargeParcelable(new LargeParcelable(origParcelable)); in doTestLargeParcelable()
DIStableAIDLBinderTestService.java28 import com.android.car.internal.LargeParcelable;
54 (StableAIDLTestLargeParcelable) LargeParcelable.reconstructStableAIDLParcelable( in echoWithLong()
/packages/services/Car/cpp/car_binder_lib/largeParcelable/tests/
DLargeParcelableTest.cpp36 using ::android::automotive::car_binder_lib::LargeParcelable;
80 LargeParcelable sendData(std::move(p)); in testWrapStableAidlWriteReadPayload()
90 LargeParcelable<TestStableParcelable> receiveData; in testWrapStableAidlWriteReadPayload()
114 LargeParcelable sendData(std::move(p)); in TEST()
129 LargeParcelable<TestStableParcelable> receiveData; in TEST()
166 LargeParcelable<TestStableParcelable> receiveData; in testParcelableToStableLargeParcelable()
190 LargeParcelable sendData(std::move(p)); in testStableLargeParcelableToParcelable()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarVendorExtensionManagerTest.java52 import com.android.car.internal.LargeParcelable;
316 requests = (GetValueRequests) LargeParcelable.reconstructStableAIDLParcelable( in getValues()
372 results = (GetValueResults) LargeParcelable.toLargeParcelable(results, () -> { in getValues()
383 requests = (SetValueRequests) LargeParcelable.reconstructStableAIDLParcelable( in setValues()
406 results = (SetValueResults) LargeParcelable.toLargeParcelable(results, () -> { in setValues()
/packages/services/Car/service/src/com/android/car/
DAidlVehicleStub.java60 import com.android.car.internal.LargeParcelable;
269 LargeParcelable.reconstructStableAIDLParcelable( in getAllPropConfigs()
618 LargeParcelable.reconstructStableAIDLParcelable(propValues, in onPropertyEvent()
630 LargeParcelable.reconstructStableAIDLParcelable(errors, in onPropertySetError()
664 LargeParcelable.reconstructStableAIDLParcelable(responses, in onGetValues()
674 LargeParcelable.reconstructStableAIDLParcelable(responses, in onSetValues()
809 largeParcelableRequest = (GetValueRequests) LargeParcelable.toLargeParcelable( in sendRequestsToVhal()
855 largeParcelableRequest = (SetValueRequests) LargeParcelable.toLargeParcelable( in sendRequestsToVhal()
/packages/services/Car/packages/ScriptExecutor/src/com/android/car/scriptexecutor/
DScriptExecutor.java32 import com.android.car.internal.LargeParcelable;
103 (BundleList) LargeParcelable.reconstructStableAIDLParcelable( in invokeScriptForBundleList()
/packages/services/Car/tests/android_car_api_test/src/com/android/car/internal/
DLargeParcelable.aidl21 parcelable LargeParcelable;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAidlVehicleStubUnitTest.java72 import com.android.car.internal.LargeParcelable;
223 aidlConfigs = (VehiclePropConfigs) LargeParcelable.toLargeParcelable(aidlConfigs, () -> { in testGetAllPropConfigsAidlLargeData()
302 LargeParcelable.reconstructStableAIDLParcelable( in testGetAidlLargeData()
308 results = (GetValueResults) LargeParcelable.toLargeParcelable( in testGetAidlLargeData()
920 LargeParcelable.reconstructStableAIDLParcelable( in testSetSyncAidlLargeData()
1286 propValues = (VehiclePropValues) LargeParcelable.toLargeParcelable(propValues, () -> { in testAidlVehicleCallbackOnPropertyEventLargeData()
1333 errors = (VehiclePropErrors) LargeParcelable.toLargeParcelable(errors, () -> { in testAidlVehicleCallbackOnPropertySetErrorLargeData()
/packages/services/Car/service/src/com/android/car/telemetry/databroker/
DDataBrokerImpl.java49 import com.android.car.internal.LargeParcelable;
577 bl = (BundleList) LargeParcelable.toLargeParcelable( in invokeScriptForBundleList()