Home
last modified time | relevance | path

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

12345678910>>...17

/system/tools/aidl/tests/android/aidl/tests/nested/
DDeeplyNested.aidl19 parcelable DeeplyNested {
20 parcelable A {
24 parcelable B {
25 parcelable C {
26 parcelable D {
/system/tools/aidl/tests/
Daidl_test_client_parcelables.cpp285 StructuredParcelable parcelable; in TEST_F() local
286 parcelable.f = kDesiredValue; in TEST_F()
288 EXPECT_EQ(parcelable.stringDefaultsToFoo, String16("foo")); in TEST_F()
289 EXPECT_EQ(parcelable.byteDefaultsToFour, 4); in TEST_F()
290 EXPECT_EQ(parcelable.intDefaultsToFive, 5); in TEST_F()
291 EXPECT_EQ(parcelable.longDefaultsToNegativeSeven, -7); in TEST_F()
292 EXPECT_EQ(parcelable.booleanDefaultsToTrue, true); in TEST_F()
293 EXPECT_EQ(parcelable.charDefaultsToC, 'C'); in TEST_F()
294 EXPECT_TRUE(parcelable.floatDefaultsToPi == 3.14f) << parcelable.floatDefaultsToPi; in TEST_F()
295 EXPECT_TRUE(parcelable.doubleWithDefault == -3.14e17) << parcelable.doubleWithDefault; in TEST_F()
[all …]
Daidl_test_service_ndk.cpp547 virtual ScopedAStatus FillOutStructuredParcelable(StructuredParcelable* parcelable) { in FillOutStructuredParcelable() argument
548 parcelable->shouldBeJerry = "Jerry"; in FillOutStructuredParcelable()
549 parcelable->shouldContainThreeFs = {parcelable->f, parcelable->f, parcelable->f}; in FillOutStructuredParcelable()
550 parcelable->shouldBeByteBar = ByteEnum::BAR; in FillOutStructuredParcelable()
551 parcelable->shouldBeIntBar = IntEnum::BAR; in FillOutStructuredParcelable()
552 parcelable->shouldBeLongBar = LongEnum::BAR; in FillOutStructuredParcelable()
553 parcelable->shouldContainTwoByteFoos = {ByteEnum::FOO, ByteEnum::FOO}; in FillOutStructuredParcelable()
554 parcelable->shouldContainTwoIntFoos = {IntEnum::FOO, IntEnum::FOO}; in FillOutStructuredParcelable()
555 parcelable->shouldContainTwoLongFoos = {LongEnum::FOO, LongEnum::FOO}; in FillOutStructuredParcelable()
557 parcelable->const_exprs_1 = ConstantExpressionEnum::decInt32_1; in FillOutStructuredParcelable()
[all …]
Daidl_test_service.cpp674 virtual ::android::binder::Status FillOutStructuredParcelable(StructuredParcelable* parcelable) { in FillOutStructuredParcelable() argument
675 parcelable->shouldBeJerry = "Jerry"; in FillOutStructuredParcelable()
676 parcelable->shouldContainThreeFs = {parcelable->f, parcelable->f, parcelable->f}; in FillOutStructuredParcelable()
677 parcelable->shouldBeByteBar = ByteEnum::BAR; in FillOutStructuredParcelable()
678 parcelable->shouldBeIntBar = IntEnum::BAR; in FillOutStructuredParcelable()
679 parcelable->shouldBeLongBar = LongEnum::BAR; in FillOutStructuredParcelable()
680 parcelable->shouldContainTwoByteFoos = {ByteEnum::FOO, ByteEnum::FOO}; in FillOutStructuredParcelable()
681 parcelable->shouldContainTwoIntFoos = {IntEnum::FOO, IntEnum::FOO}; in FillOutStructuredParcelable()
682 parcelable->shouldContainTwoLongFoos = {LongEnum::FOO, LongEnum::FOO}; in FillOutStructuredParcelable()
684 parcelable->const_exprs_1 = ConstantExpressionEnum::decInt32_1; in FillOutStructuredParcelable()
[all …]
/system/tools/aidl/tests/android/aidl/tests/
DFixedSize.aidl21 parcelable FixedSize {
23 parcelable FixedParcelable {
44 parcelable ExplicitPaddingParcelable {
66 parcelable EmptyParcelable {}
DArrayOfInterfaces.aidl20 parcelable ArrayOfInterfaces {
34 parcelable MyParcelable {
/system/hardware/interfaces/media/aidl/android/media/audio/common/
DMicrophoneInfo.aidl32 parcelable MicrophoneInfo {
82 parcelable Sensitivity {
115 parcelable FrequencyResponsePoint {
130 parcelable Coordinate {
DAudioHalVolumeCurve.aidl27 parcelable AudioHalVolumeCurve {
39 parcelable CurvePoint {
DAudioHalEngineConfig.aidl36 parcelable AudioHalEngineConfig {
57 parcelable CapSpecificConfig {
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/2/android/media/audio/common/
DMicrophoneInfo.aidl36 parcelable MicrophoneInfo {
57 parcelable Sensitivity {
72 parcelable FrequencyResponsePoint {
77 parcelable Coordinate {
DAudioHalVolumeCurve.aidl36 parcelable AudioHalVolumeCurve {
48 parcelable CurvePoint {
DAudioHalEngineConfig.aidl36 parcelable AudioHalEngineConfig {
42 parcelable CapSpecificConfig {
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/
DMicrophoneInfo.aidl37 parcelable MicrophoneInfo {
58 parcelable Sensitivity {
73 parcelable FrequencyResponsePoint {
78 parcelable Coordinate {
DAudioHalVolumeCurve.aidl37 parcelable AudioHalVolumeCurve {
49 parcelable CurvePoint {
DAudioHalEngineConfig.aidl37 parcelable AudioHalEngineConfig {
43 parcelable CapSpecificConfig {
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/3/android/media/audio/common/
DMicrophoneInfo.aidl37 parcelable MicrophoneInfo {
58 parcelable Sensitivity {
73 parcelable FrequencyResponsePoint {
78 parcelable Coordinate {
DAudioHalVolumeCurve.aidl37 parcelable AudioHalVolumeCurve {
49 parcelable CurvePoint {
DAudioHalEngineConfig.aidl37 parcelable AudioHalEngineConfig {
43 parcelable CapSpecificConfig {
/system/tools/aidl/tests/rust/
Dtest_client.rs627 let mut parcelable = StructuredParcelable::StructuredParcelable::default(); in test_parcelable() localVariable
630 parcelable.f = DESIRED_VALUE; in test_parcelable()
632 assert_eq!(parcelable.stringDefaultsToFoo, "foo"); in test_parcelable()
633 assert_eq!(parcelable.byteDefaultsToFour, 4); in test_parcelable()
634 assert_eq!(parcelable.intDefaultsToFive, 5); in test_parcelable()
635 assert_eq!(parcelable.longDefaultsToNegativeSeven, -7); in test_parcelable()
636 assert!(parcelable.booleanDefaultsToTrue); in test_parcelable()
637 assert_eq!(parcelable.charDefaultsToC, 'C' as u16); in test_parcelable()
638 assert_eq!(parcelable.floatDefaultsToPi, 3.14f32); in test_parcelable()
639 assert_eq!(parcelable.doubleWithDefault, -3.14e17f64); in test_parcelable()
[all …]
Dtest_service.rs395 parcelable: &mut StructuredParcelable::StructuredParcelable, in FillOutStructuredParcelable()
397 parcelable.shouldBeJerry = "Jerry".into(); in FillOutStructuredParcelable()
398 parcelable.shouldContainThreeFs = vec![parcelable.f, parcelable.f, parcelable.f]; in FillOutStructuredParcelable()
399 parcelable.shouldBeByteBar = ByteEnum::BAR; in FillOutStructuredParcelable()
400 parcelable.shouldBeIntBar = IntEnum::BAR; in FillOutStructuredParcelable()
401 parcelable.shouldBeLongBar = LongEnum::BAR; in FillOutStructuredParcelable()
402 parcelable.shouldContainTwoByteFoos = vec![ByteEnum::FOO, ByteEnum::FOO]; in FillOutStructuredParcelable()
403 parcelable.shouldContainTwoIntFoos = vec![IntEnum::FOO, IntEnum::FOO]; in FillOutStructuredParcelable()
404 parcelable.shouldContainTwoLongFoos = vec![LongEnum::FOO, LongEnum::FOO]; in FillOutStructuredParcelable()
406 parcelable.const_exprs_1 = ConstantExpressionEnum::decInt32_1; in FillOutStructuredParcelable()
[all …]
Dtest_service_async.rs442 parcelable: &mut StructuredParcelable::StructuredParcelable, in FillOutStructuredParcelable()
444 parcelable.shouldBeJerry = "Jerry".into(); in FillOutStructuredParcelable()
445 parcelable.shouldContainThreeFs = vec![parcelable.f, parcelable.f, parcelable.f]; in FillOutStructuredParcelable()
446 parcelable.shouldBeByteBar = ByteEnum::BAR; in FillOutStructuredParcelable()
447 parcelable.shouldBeIntBar = IntEnum::BAR; in FillOutStructuredParcelable()
448 parcelable.shouldBeLongBar = LongEnum::BAR; in FillOutStructuredParcelable()
449 parcelable.shouldContainTwoByteFoos = vec![ByteEnum::FOO, ByteEnum::FOO]; in FillOutStructuredParcelable()
450 parcelable.shouldContainTwoIntFoos = vec![IntEnum::FOO, IntEnum::FOO]; in FillOutStructuredParcelable()
451 parcelable.shouldContainTwoLongFoos = vec![LongEnum::FOO, LongEnum::FOO]; in FillOutStructuredParcelable()
453 parcelable.const_exprs_1 = ConstantExpressionEnum::decInt32_1; in FillOutStructuredParcelable()
[all …]
/system/tools/hidl/hidl2aidl/test/aidl_api/hidl2aidl_test_gen/current/hidl2aidl/test/
DOuter.aidl22 parcelable Outer {
26 parcelable Inner {
/system/tools/aidl/tests/java/src/android/aidl/service/
DTestServiceServer.java540 public void FillOutStructuredParcelable(StructuredParcelable parcelable) throws RemoteException { in FillOutStructuredParcelable() argument
541 parcelable.shouldBeJerry = "Jerry"; in FillOutStructuredParcelable()
542 parcelable.shouldContainThreeFs = new int[] {parcelable.f, parcelable.f, parcelable.f}; in FillOutStructuredParcelable()
543 parcelable.shouldBeByteBar = ByteEnum.BAR; in FillOutStructuredParcelable()
544 parcelable.shouldBeIntBar = IntEnum.BAR; in FillOutStructuredParcelable()
545 parcelable.shouldBeLongBar = LongEnum.BAR; in FillOutStructuredParcelable()
546 parcelable.shouldContainTwoByteFoos = new byte[] {ByteEnum.FOO, ByteEnum.FOO}; in FillOutStructuredParcelable()
547 parcelable.shouldContainTwoIntFoos = new int[] {IntEnum.FOO, IntEnum.FOO}; in FillOutStructuredParcelable()
548 parcelable.shouldContainTwoLongFoos = new long[] {LongEnum.FOO, LongEnum.FOO}; in FillOutStructuredParcelable()
550 parcelable.const_exprs_1 = ConstantExpressionEnum.decInt32_1; in FillOutStructuredParcelable()
[all …]
/system/tools/aidl/
Daidl_to_cpp_common.cpp53 bool HasDeprecatedField(const AidlParcelable& parcelable) { in HasDeprecatedField() argument
54 return std::any_of(parcelable.GetFields().begin(), parcelable.GetFields().end(), in HasDeprecatedField()
349 void GenerateParcelableComparisonOperators(CodeWriter& out, const AidlParcelable& parcelable) { in GenerateParcelableComparisonOperators() argument
352 if (parcelable.AsUnionDeclaration() && parcelable.IsFixedSize()) { in GenerateParcelableComparisonOperators()
353 auto name = parcelable.GetName(); in GenerateParcelableComparisonOperators()
354 auto max_tag = parcelable.GetFields().back()->GetName(); in GenerateParcelableComparisonOperators()
355 auto min_tag = parcelable.GetFields().front()->GetName(); in GenerateParcelableComparisonOperators()
388 if (auto p = parcelable.AsStructuredParcelable(); p != nullptr) { in GenerateParcelableComparisonOperators()
394 } else if (auto p = parcelable.AsUnionDeclaration(); p != nullptr) { in GenerateParcelableComparisonOperators()
397 AIDL_FATAL(parcelable) << "Unknown paracelable type"; in GenerateParcelableComparisonOperators()
[all …]
/system/tools/aidl/tests/trunk_stable_test/android/aidl/test/trunk/
DITrunkStableTest.aidl4 parcelable MyParcelable {
36 parcelable MyOtherParcelable {

12345678910>>...17