Home
last modified time | relevance | path

Searched refs:parcelable (Results 1 – 25 of 99) sorted by relevance

1234

/system/tools/aidl/tests/
Daidl_test_client_parcelables.cpp151 StructuredParcelable parcelable; in ConfirmStructuredParcelables() local
152 parcelable.f = kDesiredValue; in ConfirmStructuredParcelables()
154 if (parcelable.stringDefaultsToFoo != String16("foo")) { in ConfirmStructuredParcelables()
155 cout << "stringDefaultsToFoo should be 'foo' but is " << parcelable.stringDefaultsToFoo << endl; in ConfirmStructuredParcelables()
158 if (parcelable.byteDefaultsToFour != 4) { in ConfirmStructuredParcelables()
159 cout << "byteDefaultsToFour should be 4 but is " << parcelable.byteDefaultsToFour << endl; in ConfirmStructuredParcelables()
162 if (parcelable.intDefaultsToFive != 5) { in ConfirmStructuredParcelables()
163 cout << "intDefaultsToFive should be 5 but is " << parcelable.intDefaultsToFive << endl; in ConfirmStructuredParcelables()
166 if (parcelable.longDefaultsToNegativeSeven != -7) { in ConfirmStructuredParcelables()
168 << parcelable.longDefaultsToNegativeSeven << endl; in ConfirmStructuredParcelables()
[all …]
/system/tools/aidl/
Dtype_cpp.cpp196 NullableParcelableType(const AidlParcelable& parcelable, const std::string& cpp_header, in NullableParcelableType() argument
198 : Type(ValidatableType::KIND_PARCELABLE, parcelable.GetPackage(), parcelable.GetName(), in NullableParcelableType()
199 {cpp_header}, GetCppName(parcelable), "readParcelable", "writeNullableParcelable", in NullableParcelableType()
204 static string GetCppName(const AidlParcelable& parcelable) { in GetCppName() argument
205 return "::std::unique_ptr<::" + Join(parcelable.GetSplitPackage(), "::") + in GetCppName()
206 "::" + parcelable.GetCppName() + ">"; in GetCppName()
212 ParcelableType(const AidlParcelable& parcelable, const std::string& cpp_header, in ParcelableType() argument
214 : Type(ValidatableType::KIND_PARCELABLE, parcelable.GetPackage(), parcelable.GetName(), in ParcelableType()
215 {cpp_header}, GetCppName(parcelable), "readParcelable", "writeParcelable", in ParcelableType()
216 new CppArrayType(ValidatableType::KIND_PARCELABLE, parcelable.GetPackage(),
[all …]
Dtype_cpp_unittest.cpp63 unique_ptr<AidlParcelable> parcelable(new AidlParcelable( in TEST_F() local
66 EXPECT_EQ(parcelable->GetCppName(), kParcelableColonName); in TEST_F()
Dtype_java_unittest.cpp48 unique_ptr<AidlParcelable> parcelable(new AidlParcelable( in TEST_F() local
51 EXPECT_TRUE(types_.AddParcelableType(*parcelable.get(), __FILE__)); in TEST_F()
Dtype_namespace.cpp112 const AidlParcelable* parcelable = type->AsParcelable(); in AddDefinedTypes() local
113 if (parcelable != nullptr) { in AddDefinedTypes()
114 success &= AddParcelableType(*parcelable, filename); in AddDefinedTypes()
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DTestServiceClient.java742 StructuredParcelable parcelable = new StructuredParcelable(); in checkStructuredParcelable() local
743 parcelable.shouldContainThreeFs = new int[0]; in checkStructuredParcelable()
744 parcelable.f = kDesiredFValue; in checkStructuredParcelable()
745 parcelable.shouldBeJerry = ""; in checkStructuredParcelable()
747 if (!parcelable.stringDefaultsToFoo.equals("foo")) { in checkStructuredParcelable()
749 "stringDefaultsToFoo should be 'foo' but is " + parcelable.stringDefaultsToFoo); in checkStructuredParcelable()
751 if (parcelable.byteDefaultsToFour != 4) { in checkStructuredParcelable()
752 mLog.logAndThrow("byteDefaultsToFour should be 4 but is " + parcelable.byteDefaultsToFour); in checkStructuredParcelable()
754 if (parcelable.intDefaultsToFive != 5) { in checkStructuredParcelable()
755 mLog.logAndThrow("intDefaultsToFive should be 5 but is " + parcelable.intDefaultsToFive); in checkStructuredParcelable()
[all …]
/system/bt/binder/android/bluetooth/
DBluetoothHidDeviceAppSdpSettings.aidl19 parcelable BluetoothHidDeviceAppSdpSettings;
DBluetoothAudioConfig.aidl19 parcelable BluetoothAudioConfig;
DBluetoothGattDescriptor.aidl19 parcelable BluetoothGattDescriptor;
DBluetoothGattService.aidl19 parcelable BluetoothGattService;
DBluetoothGattCharacteristic.aidl19 parcelable BluetoothGattCharacteristic;
DOobData.aidl19 parcelable OobData;
DBluetoothHeadsetClientCall.aidl18 parcelable BluetoothHeadsetClientCall;
DBluetoothCodecStatus.aidl19 parcelable BluetoothCodecStatus;
DBluetoothAvrcpPlayerSettings.aidl19 parcelable BluetoothAvrcpPlayerSettings;
DBluetoothClass.aidl19 parcelable BluetoothClass;
DBluetoothHidDeviceAppQosSettings.aidl19 parcelable BluetoothHidDeviceAppQosSettings;
DBluetoothCodecConfig.aidl19 parcelable BluetoothCodecConfig;
DBluetoothActivityEnergyInfo.aidl19 parcelable BluetoothActivityEnergyInfo;
DBluetoothGattIncludedService.aidl19 parcelable BluetoothGattIncludedService;
DBluetoothDevice.aidl19 parcelable BluetoothDevice cpp_header "android/bluetooth/bluetooth_device.h";
/system/bt/binder/android/bluetooth/le/
DPeriodicAdvertisingParameters.aidl19 parcelable PeriodicAdvertisingParameters;
/system/bt/service/common/android/bluetooth/
DScanSettings.aidl19 parcelable ScanSettings cpp_header "android/bluetooth/scan_settings.h";
DBluetoothRemoteDeviceProps.aidl19 parcelable BluetoothRemoteDeviceProps cpp_header "android/bluetooth/bluetooth_remote_device_props.h…
DBluetoothGattDescriptor.aidl19 parcelable BluetoothGattDescriptor cpp_header "android/bluetooth/bluetooth_gatt_descriptor.h";

1234