/system/tools/aidl/tests/ |
D | aidl_test_client_parcelables.cpp | 151 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/ |
D | type_cpp.cpp | 196 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 …]
|
D | type_cpp_unittest.cpp | 63 unique_ptr<AidlParcelable> parcelable(new AidlParcelable( in TEST_F() local 66 EXPECT_EQ(parcelable->GetCppName(), kParcelableColonName); in TEST_F()
|
D | type_java_unittest.cpp | 48 unique_ptr<AidlParcelable> parcelable(new AidlParcelable( in TEST_F() local 51 EXPECT_TRUE(types_.AddParcelableType(*parcelable.get(), __FILE__)); in TEST_F()
|
D | type_namespace.cpp | 112 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/ |
D | TestServiceClient.java | 742 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/ |
D | BluetoothHidDeviceAppSdpSettings.aidl | 19 parcelable BluetoothHidDeviceAppSdpSettings;
|
D | BluetoothAudioConfig.aidl | 19 parcelable BluetoothAudioConfig;
|
D | BluetoothGattDescriptor.aidl | 19 parcelable BluetoothGattDescriptor;
|
D | BluetoothGattService.aidl | 19 parcelable BluetoothGattService;
|
D | BluetoothGattCharacteristic.aidl | 19 parcelable BluetoothGattCharacteristic;
|
D | OobData.aidl | 19 parcelable OobData;
|
D | BluetoothHeadsetClientCall.aidl | 18 parcelable BluetoothHeadsetClientCall;
|
D | BluetoothCodecStatus.aidl | 19 parcelable BluetoothCodecStatus;
|
D | BluetoothAvrcpPlayerSettings.aidl | 19 parcelable BluetoothAvrcpPlayerSettings;
|
D | BluetoothClass.aidl | 19 parcelable BluetoothClass;
|
D | BluetoothHidDeviceAppQosSettings.aidl | 19 parcelable BluetoothHidDeviceAppQosSettings;
|
D | BluetoothCodecConfig.aidl | 19 parcelable BluetoothCodecConfig;
|
D | BluetoothActivityEnergyInfo.aidl | 19 parcelable BluetoothActivityEnergyInfo;
|
D | BluetoothGattIncludedService.aidl | 19 parcelable BluetoothGattIncludedService;
|
D | BluetoothDevice.aidl | 19 parcelable BluetoothDevice cpp_header "android/bluetooth/bluetooth_device.h";
|
/system/bt/binder/android/bluetooth/le/ |
D | PeriodicAdvertisingParameters.aidl | 19 parcelable PeriodicAdvertisingParameters;
|
/system/bt/service/common/android/bluetooth/ |
D | ScanSettings.aidl | 19 parcelable ScanSettings cpp_header "android/bluetooth/scan_settings.h";
|
D | BluetoothRemoteDeviceProps.aidl | 19 parcelable BluetoothRemoteDeviceProps cpp_header "android/bluetooth/bluetooth_remote_device_props.h…
|
D | BluetoothGattDescriptor.aidl | 19 parcelable BluetoothGattDescriptor cpp_header "android/bluetooth/bluetooth_gatt_descriptor.h";
|