Home
last modified time | relevance | path

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

/system/tools/aidl/
Dtype_cpp.cpp224 NullableParcelableType(const AidlParcelable& parcelable, in NullableParcelableType() argument
227 parcelable.GetPackage(), parcelable.GetName(), in NullableParcelableType()
228 {parcelable.GetCppHeader()}, GetCppName(parcelable), in NullableParcelableType()
231 src_file_name, parcelable.GetLine()) {}
236 static string GetCppName(const AidlParcelable& parcelable) { in GetCppName() argument
237 return "::std::unique_ptr<::" + Join(parcelable.GetSplitPackage(), "::") + in GetCppName()
238 "::" + parcelable.GetCppName() + ">"; in GetCppName()
244 ParcelableType(const AidlParcelable& parcelable, in ParcelableType() argument
247 parcelable.GetPackage(), parcelable.GetName(), in ParcelableType()
248 {parcelable.GetCppHeader()}, GetCppName(parcelable), in ParcelableType()
[all …]
Dtype_java_unittest.cpp48 unique_ptr<AidlParcelable> parcelable( in TEST_F() local
51 EXPECT_TRUE(types_.AddParcelableType(*parcelable.get(), __FILE__)); in TEST_F()
Dtype_cpp_unittest.cpp63 unique_ptr<AidlParcelable> parcelable( in TEST_F() local
67 EXPECT_EQ(parcelable->GetCppName(), kParcelableColonName); in TEST_F()
Daidl_language_y.yy36 AidlParcelable* parcelable;
48 %type<parcelable> parcelable_decl
132 fprintf(stderr, "%s:%d syntax error in parcelable declaration. Expected type name.\n",
137 … fprintf(stderr, "%s:%d syntax error in parcelable declaration. Expected type name, saw \"%s\".\n",
Daidl_language_l.ll67 parcelable { return yy::parser::token::PARCELABLE; }
Daidl_language.h262 void AddParcelable(AidlParcelable* parcelable) { in AddParcelable() argument
263 parcelables_.push_back(std::unique_ptr<AidlParcelable>(parcelable)); in AddParcelable()
Daidl.cpp768 for (const auto& parcelable : doc->GetParcelables()) { in preprocess_aidl() local
770 parcelable->GetCanonicalName().c_str())) { in preprocess_aidl()
/system/bt/service/common/android/bluetooth/
DBluetoothGattCharacteristic.aidl19 parcelable BluetoothGattCharacteristic cpp_header "android/bluetooth/bluetooth_gatt_characteristic.…
DBluetoothGattDescriptor.aidl19 parcelable BluetoothGattDescriptor cpp_header "android/bluetooth/bluetooth_gatt_descriptor.h";
DScanResult.aidl19 parcelable ScanResult cpp_header "android/bluetooth/scan_result.h";
DScanSettings.aidl19 parcelable ScanSettings cpp_header "android/bluetooth/scan_settings.h";
DUUID.aidl19 parcelable UUID cpp_header "android/bluetooth/uuid.h";
DScanFilter.aidl19 parcelable ScanFilter cpp_header "android/bluetooth/scan_filter.h";
DBluetoothGattIncludedService.aidl19 parcelable BluetoothGattIncludedService cpp_header "android/bluetooth/bluetooth_gatt_included_servi…
DAdvertiseSettings.aidl19 parcelable AdvertiseSettings cpp_header "android/bluetooth/advertise_settings.h";
DAdvertiseData.aidl19 parcelable AdvertiseData cpp_header "android/bluetooth/advertise_data.h";
DBluetoothGattService.aidl19 parcelable BluetoothGattService cpp_header "android/bluetooth/bluetooth_gatt_service.h";
/system/update_engine/binder_bindings/android/brillo/
DParcelableUpdateEngineStatus.aidl19 parcelable ParcelableUpdateEngineStatus cpp_header
/system/netd/server/binder/android/net/
DUidRange.aidl24 parcelable UidRange cpp_header "binder/android/net/UidRange.h";
/system/tools/aidl/tests/android/aidl/tests/
DSimpleParcelable.aidl19 parcelable SimpleParcelable cpp_header "tests/simple_parcelable.h";
/system/connectivity/wificond/aidl/com/android/server/wifi/wificond/
DNativeScanResult.aidl19 parcelable NativeScanResult cpp_header "wificond/scanning/scan_result.h";
DPnoSettings.aidl19 parcelable PnoSettings cpp_header "wificond/scanning/pno_settings.h";
DPnoNetwork.aidl19 parcelable PnoNetwork cpp_header "wificond/scanning/pno_network.h";
DSingleScanSettings.aidl19 parcelable SingleScanSettings cpp_header "wificond/scanning/single_scan_settings.h";
/system/tools/aidl/docs/
Daidl-cpp.md185 In Java, a parcelable should extend android.os.Parcelable and provide a static
187 instances of the parcelable. In addition, in order to be used as an out
188 parameter, a parcelable class must define a readFromParcel method.
192 In order to be used in arrays, a parcelable must implement a copy or move
195 The C++ generator needs to know what header defines the C++ parcelable. It
199 with parcelable implementations, and export appropriate header paths. This
208 // file. This allows multiple interfaces to use a parcelable and its C++
212 parcelable ExampleParcelable cpp_header "bar/foo.h";