Home
last modified time | relevance | path

Searched refs:_aidl_parcelable_size (Results 1 – 19 of 19) sorted by relevance

/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk_platform-source/gen/android/aidl/tests/
DStructuredParcelable.cpp12 int32_t _aidl_parcelable_size; in readFromParcel() local
14 binder_status_t _aidl_ret_status = AParcel_readInt32(parcel, &_aidl_parcelable_size); in readFromParcel()
15 if (_aidl_start_pos > INT32_MAX - _aidl_parcelable_size) return STATUS_BAD_VALUE; in readFromParcel()
16 if (_aidl_parcelable_size < 0) return STATUS_BAD_VALUE; in readFromParcel()
19 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
20 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
26 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
27 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
33 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
34 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
[all …]
DParcelableForToString.cpp12 int32_t _aidl_parcelable_size; in readFromParcel() local
14 binder_status_t _aidl_ret_status = AParcel_readInt32(parcel, &_aidl_parcelable_size); in readFromParcel()
15 if (_aidl_start_pos > INT32_MAX - _aidl_parcelable_size) return STATUS_BAD_VALUE; in readFromParcel()
16 if (_aidl_parcelable_size < 0) return STATUS_BAD_VALUE; in readFromParcel()
19 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
20 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
26 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
27 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
33 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
34 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
[all …]
DOtherParcelableForToString.cpp12 int32_t _aidl_parcelable_size; in readFromParcel() local
14 binder_status_t _aidl_ret_status = AParcel_readInt32(parcel, &_aidl_parcelable_size); in readFromParcel()
15 if (_aidl_start_pos > INT32_MAX - _aidl_parcelable_size) return STATUS_BAD_VALUE; in readFromParcel()
16 if (_aidl_parcelable_size < 0) return STATUS_BAD_VALUE; in readFromParcel()
19 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
20 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
26 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
DDeprecatedParcelable.cpp12 int32_t _aidl_parcelable_size; in readFromParcel() local
14 binder_status_t _aidl_ret_status = AParcel_readInt32(parcel, &_aidl_parcelable_size); in readFromParcel()
15 if (_aidl_start_pos > INT32_MAX - _aidl_parcelable_size) return STATUS_BAD_VALUE; in readFromParcel()
16 if (_aidl_parcelable_size < 0) return STATUS_BAD_VALUE; in readFromParcel()
19 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/
DStructuredParcelable.cpp14 [[maybe_unused]] size_t _aidl_parcelable_size = static_cast<size_t>(_aidl_parcelable_raw_size); in readFromParcel() local
15 if (_aidl_start_pos > SIZE_MAX - _aidl_parcelable_size) return ::android::BAD_VALUE; in readFromParcel()
16 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
17 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
24 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
25 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
32 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
33 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
40 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
41 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
[all …]
DParcelableForToString.cpp14 [[maybe_unused]] size_t _aidl_parcelable_size = static_cast<size_t>(_aidl_parcelable_raw_size); in readFromParcel() local
15 if (_aidl_start_pos > SIZE_MAX - _aidl_parcelable_size) return ::android::BAD_VALUE; in readFromParcel()
16 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
17 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
24 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
25 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
32 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
33 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
40 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
41 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
[all …]
DOtherParcelableForToString.cpp14 [[maybe_unused]] size_t _aidl_parcelable_size = static_cast<size_t>(_aidl_parcelable_raw_size); in readFromParcel() local
15 if (_aidl_start_pos > SIZE_MAX - _aidl_parcelable_size) return ::android::BAD_VALUE; in readFromParcel()
16 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
17 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
24 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
DDeprecatedParcelable.cpp14 [[maybe_unused]] size_t _aidl_parcelable_size = static_cast<size_t>(_aidl_parcelable_raw_size); in readFromParcel() local
15 if (_aidl_start_pos > SIZE_MAX - _aidl_parcelable_size) return ::android::BAD_VALUE; in readFromParcel()
16 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk_platform-source/gen/android/aidl/loggable/
DData.cpp12 int32_t _aidl_parcelable_size; in readFromParcel() local
14 binder_status_t _aidl_ret_status = AParcel_readInt32(parcel, &_aidl_parcelable_size); in readFromParcel()
15 if (_aidl_start_pos > INT32_MAX - _aidl_parcelable_size) return STATUS_BAD_VALUE; in readFromParcel()
16 if (_aidl_parcelable_size < 0) return STATUS_BAD_VALUE; in readFromParcel()
19 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
20 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
26 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
27 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
33 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
34 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
[all …]
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk-source/gen/android/aidl/loggable/
DData.cpp12 int32_t _aidl_parcelable_size; in readFromParcel() local
14 binder_status_t _aidl_ret_status = AParcel_readInt32(parcel, &_aidl_parcelable_size); in readFromParcel()
15 if (_aidl_start_pos > INT32_MAX - _aidl_parcelable_size) return STATUS_BAD_VALUE; in readFromParcel()
16 if (_aidl_parcelable_size < 0) return STATUS_BAD_VALUE; in readFromParcel()
19 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
20 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
26 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
27 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
33 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
34 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
[all …]
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/android/aidl/loggable/
DData.cpp14 [[maybe_unused]] size_t _aidl_parcelable_size = static_cast<size_t>(_aidl_parcelable_raw_size); in readFromParcel() local
15 if (_aidl_start_pos > SIZE_MAX - _aidl_parcelable_size) return ::android::BAD_VALUE; in readFromParcel()
16 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
17 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
24 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
25 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
32 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
33 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
40 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
41 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/
DParcelableForToString.java95 int _aidl_parcelable_size = _aidl_parcel.readInt(); in readFromParcel() local
97 if (_aidl_parcelable_size < 0) return; in readFromParcel()
98 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
100 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
102 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
104 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
106 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
108 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
110 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
112 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
[all …]
DStructuredParcelable.java153 int _aidl_parcelable_size = _aidl_parcel.readInt(); in readFromParcel() local
155 if (_aidl_parcelable_size < 0) return; in readFromParcel()
156 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
158 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
160 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
162 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
164 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
166 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
168 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
170 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
[all …]
DGenericStructuredParcelable.java35 int _aidl_parcelable_size = _aidl_parcel.readInt(); in readFromParcel() local
37 if (_aidl_parcelable_size < 0) return; in readFromParcel()
38 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
40 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
43 if (_aidl_start_pos > (Integer.MAX_VALUE - _aidl_parcelable_size)) { in readFromParcel()
46 _aidl_parcel.setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
DOtherParcelableForToString.java33 int _aidl_parcelable_size = _aidl_parcel.readInt(); in readFromParcel() local
35 if (_aidl_parcelable_size < 0) return; in readFromParcel()
36 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
39 if (_aidl_start_pos > (Integer.MAX_VALUE - _aidl_parcelable_size)) { in readFromParcel()
42 _aidl_parcel.setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
DDeprecatedParcelable.java33 int _aidl_parcelable_size = _aidl_parcel.readInt(); in readFromParcel() local
35 if (_aidl_parcelable_size < 0) return; in readFromParcel()
37 if (_aidl_start_pos > (Integer.MAX_VALUE - _aidl_parcelable_size)) { in readFromParcel()
40 _aidl_parcel.setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-java-source/gen/android/aidl/loggable/
DData.java45 int _aidl_parcelable_size = _aidl_parcel.readInt(); in readFromParcel() local
47 if (_aidl_parcelable_size < 0) return; in readFromParcel()
48 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
50 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
52 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
59 if (_aidl_parcel.dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) return; in readFromParcel()
62 if (_aidl_start_pos > (Integer.MAX_VALUE - _aidl_parcelable_size)) { in readFromParcel()
65 _aidl_parcel.setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk_platform-source/gen/include/aidl/android/aidl/tests/
DGenericStructuredParcelable.h75 int32_t _aidl_parcelable_size; in readFromParcel() local
77 binder_status_t _aidl_ret_status = AParcel_readInt32(parcel, &_aidl_parcelable_size); in readFromParcel()
78 if (_aidl_start_pos > INT32_MAX - _aidl_parcelable_size) return STATUS_BAD_VALUE; in readFromParcel()
79 if (_aidl_parcelable_size < 0) return STATUS_BAD_VALUE; in readFromParcel()
82 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
83 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
89 if (AParcel_getDataPosition(parcel) - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
90 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
96 AParcel_setDataPosition(parcel, _aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/
DGenericStructuredParcelable.h75 [[maybe_unused]] size_t _aidl_parcelable_size = static_cast<size_t>(_aidl_parcelable_raw_size); in readFromParcel() local
76 if (_aidl_start_pos > SIZE_MAX - _aidl_parcelable_size) return ::android::BAD_VALUE; in readFromParcel()
77 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
78 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
85 if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { in readFromParcel()
86 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()
93 _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); in readFromParcel()