/system/tools/aidl/tests/android/aidl/tests/nested/ |
D | DeeplyNested.aidl | 19 parcelable DeeplyNested { 20 parcelable A { 24 parcelable B { 25 parcelable C { 26 parcelable D {
|
/system/tools/aidl/tests/ |
D | aidl_test_client_parcelables.cpp | 285 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 …]
|
D | aidl_test_service_ndk.cpp | 547 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 …]
|
D | aidl_test_service.cpp | 674 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/ |
D | FixedSize.aidl | 21 parcelable FixedSize { 23 parcelable FixedParcelable { 44 parcelable ExplicitPaddingParcelable { 66 parcelable EmptyParcelable {}
|
D | ArrayOfInterfaces.aidl | 20 parcelable ArrayOfInterfaces { 34 parcelable MyParcelable {
|
/system/hardware/interfaces/media/aidl/android/media/audio/common/ |
D | MicrophoneInfo.aidl | 32 parcelable MicrophoneInfo { 82 parcelable Sensitivity { 115 parcelable FrequencyResponsePoint { 130 parcelable Coordinate {
|
D | AudioHalVolumeCurve.aidl | 27 parcelable AudioHalVolumeCurve { 39 parcelable CurvePoint {
|
D | AudioHalEngineConfig.aidl | 36 parcelable AudioHalEngineConfig { 57 parcelable CapSpecificConfig {
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/2/android/media/audio/common/ |
D | MicrophoneInfo.aidl | 36 parcelable MicrophoneInfo { 57 parcelable Sensitivity { 72 parcelable FrequencyResponsePoint { 77 parcelable Coordinate {
|
D | AudioHalVolumeCurve.aidl | 36 parcelable AudioHalVolumeCurve { 48 parcelable CurvePoint {
|
D | AudioHalEngineConfig.aidl | 36 parcelable AudioHalEngineConfig { 42 parcelable CapSpecificConfig {
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/ |
D | MicrophoneInfo.aidl | 37 parcelable MicrophoneInfo { 58 parcelable Sensitivity { 73 parcelable FrequencyResponsePoint { 78 parcelable Coordinate {
|
D | AudioHalVolumeCurve.aidl | 37 parcelable AudioHalVolumeCurve { 49 parcelable CurvePoint {
|
D | AudioHalEngineConfig.aidl | 37 parcelable AudioHalEngineConfig { 43 parcelable CapSpecificConfig {
|
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/3/android/media/audio/common/ |
D | MicrophoneInfo.aidl | 37 parcelable MicrophoneInfo { 58 parcelable Sensitivity { 73 parcelable FrequencyResponsePoint { 78 parcelable Coordinate {
|
D | AudioHalVolumeCurve.aidl | 37 parcelable AudioHalVolumeCurve { 49 parcelable CurvePoint {
|
D | AudioHalEngineConfig.aidl | 37 parcelable AudioHalEngineConfig { 43 parcelable CapSpecificConfig {
|
/system/tools/aidl/tests/rust/ |
D | test_client.rs | 627 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 …]
|
D | test_service.rs | 395 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 …]
|
D | test_service_async.rs | 442 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/ |
D | Outer.aidl | 22 parcelable Outer { 26 parcelable Inner {
|
/system/tools/aidl/tests/java/src/android/aidl/service/ |
D | TestServiceServer.java | 540 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/ |
D | aidl_to_cpp_common.cpp | 53 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/ |
D | ITrunkStableTest.aidl | 4 parcelable MyParcelable { 36 parcelable MyOtherParcelable {
|