Skip to content

Commit 0dc31ff

Browse files
sam-f0sam-f0
authored andcommitted
Add Android 14 structs
1 parent 75ff6f0 commit 0dc31ff

File tree

3,499 files changed

+241119
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,499 files changed

+241119
-1
lines changed

binder_trace/binder_trace/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def main():
4343
"--android-version",
4444
const="all",
4545
nargs="?",
46-
choices=["9", "10", "11", "12", "13"],
46+
choices=["9", "10", "11", "12", "13", "14"],
4747
default="13",
4848
help="Android version structs to use",
4949
)
@@ -63,6 +63,7 @@ def main():
6363
"11": "android11",
6464
"12": "android-12.1.0_r27",
6565
"13": "android13.0.0-r_49",
66+
"14": "android-14.0.0_r28",
6667
}
6768

6869
base_dir = path.dirname(path.abspath(__file__))
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"produced_on": "2024-04-12T08:48:00.310169722Z",
3+
"source_location": "",
4+
"components": [{"ab": "readInt32"}],
5+
"full_name": "a.b.AB",
6+
"name": "AB",
7+
"producer": "java-aidl-generator",
8+
"type": "Parcelable"
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"produced_on": "2024-04-12T08:48:00.310927947Z",
3+
"source_location": "",
4+
"components": [{"ab": "readInt32"}],
5+
"full_name": "a.b.AB2",
6+
"name": "AB2",
7+
"producer": "java-aidl-generator",
8+
"type": "Parcelable"
9+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"produced_on": "2024-04-12T08:47:44.267867972Z",
3+
"source_location": "",
4+
"components": [
5+
{"nullcheck": "readInt32"},
6+
{
7+
"__backreference": "nullcheck",
8+
"__conditional": [{
9+
"upMessageQueueParcelable": "readParcelable",
10+
"__parcelType": "aaudio.RingBuffer"
11+
}]
12+
},
13+
{"nullcheck": "readInt32"},
14+
{
15+
"__backreference": "nullcheck",
16+
"__conditional": [{
17+
"downMessageQueueParcelable": "readParcelable",
18+
"__parcelType": "aaudio.RingBuffer"
19+
}]
20+
},
21+
{"nullcheck": "readInt32"},
22+
{
23+
"__backreference": "nullcheck",
24+
"__conditional": [{
25+
"upDataQueueParcelable": "readParcelable",
26+
"__parcelType": "aaudio.RingBuffer"
27+
}]
28+
},
29+
{"nullcheck": "readInt32"},
30+
{
31+
"__backreference": "nullcheck",
32+
"__conditional": [{
33+
"downDataQueueParcelable": "readParcelable",
34+
"__parcelType": "aaudio.RingBuffer"
35+
}]
36+
},
37+
{
38+
"sharedMemories": "readParcelableVector",
39+
"__parcelType": "android.media.SharedFileRegion"
40+
}
41+
],
42+
"full_name": "aaudio.Endpoint",
43+
"name": "Endpoint",
44+
"producer": "java-aidl-generator",
45+
"type": "Parcelable"
46+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"produced_on": "2024-04-12T08:47:44.269059015Z",
3+
"source_location": "",
4+
"full_name": "aaudio.IAAudioClient",
5+
"calls": [{
6+
"code": 1,
7+
"in": [
8+
{"handle": "readInt32"},
9+
{"opcode": "readInt32"},
10+
{"value": "readInt32"}
11+
],
12+
"name": "onStreamChange",
13+
"oneWay": true,
14+
"out": [{"__exception": "readException"}]
15+
}],
16+
"name": "IAAudioClient",
17+
"producer": "java-aidl-generator",
18+
"type": "Interface"
19+
}
Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
{
2+
"produced_on": "2024-04-12T08:47:44.271356581Z",
3+
"source_location": "",
4+
"full_name": "aaudio.IAAudioService",
5+
"calls": [
6+
{
7+
"code": 1,
8+
"in": [{"client": "readStrongBinder"}],
9+
"name": "registerClient",
10+
"oneWay": false,
11+
"out": [{"__exception": "readException"}]
12+
},
13+
{
14+
"code": 2,
15+
"in": [
16+
{"nullcheck": "readInt32"},
17+
{
18+
"__backreference": "nullcheck",
19+
"__conditional": [{
20+
"request": "readParcelable",
21+
"__parcelType": "aaudio.StreamRequest"
22+
}]
23+
}
24+
],
25+
"name": "openStream",
26+
"oneWay": false,
27+
"out": [
28+
{"__exception": "readException"},
29+
{"__return": "readInt32"},
30+
{"nullcheck": "readInt32"},
31+
{
32+
"__backreference": "nullcheck",
33+
"__conditional": [{
34+
"paramsOut": "readParcelable",
35+
"__parcelType": "aaudio.StreamParameters"
36+
}]
37+
}
38+
]
39+
},
40+
{
41+
"code": 3,
42+
"in": [{"streamHandle": "readInt32"}],
43+
"name": "closeStream",
44+
"oneWay": false,
45+
"out": [
46+
{"__exception": "readException"},
47+
{"__return": "readInt32"}
48+
]
49+
},
50+
{
51+
"code": 4,
52+
"in": [{"streamHandle": "readInt32"}],
53+
"name": "getStreamDescription",
54+
"oneWay": false,
55+
"out": [
56+
{"__exception": "readException"},
57+
{"__return": "readInt32"},
58+
{"nullcheck": "readInt32"},
59+
{
60+
"__backreference": "nullcheck",
61+
"__conditional": [{
62+
"endpoint": "readParcelable",
63+
"__parcelType": "aaudio.Endpoint"
64+
}]
65+
}
66+
]
67+
},
68+
{
69+
"code": 5,
70+
"in": [{"streamHandle": "readInt32"}],
71+
"name": "startStream",
72+
"oneWay": false,
73+
"out": [
74+
{"__exception": "readException"},
75+
{"__return": "readInt32"}
76+
]
77+
},
78+
{
79+
"code": 6,
80+
"in": [{"streamHandle": "readInt32"}],
81+
"name": "pauseStream",
82+
"oneWay": false,
83+
"out": [
84+
{"__exception": "readException"},
85+
{"__return": "readInt32"}
86+
]
87+
},
88+
{
89+
"code": 7,
90+
"in": [{"streamHandle": "readInt32"}],
91+
"name": "stopStream",
92+
"oneWay": false,
93+
"out": [
94+
{"__exception": "readException"},
95+
{"__return": "readInt32"}
96+
]
97+
},
98+
{
99+
"code": 8,
100+
"in": [{"streamHandle": "readInt32"}],
101+
"name": "flushStream",
102+
"oneWay": false,
103+
"out": [
104+
{"__exception": "readException"},
105+
{"__return": "readInt32"}
106+
]
107+
},
108+
{
109+
"code": 9,
110+
"in": [
111+
{"streamHandle": "readInt32"},
112+
{"clientThreadId": "readInt32"},
113+
{"periodNanoseconds": "readInt64"}
114+
],
115+
"name": "registerAudioThread",
116+
"oneWay": false,
117+
"out": [
118+
{"__exception": "readException"},
119+
{"__return": "readInt32"}
120+
]
121+
},
122+
{
123+
"code": 10,
124+
"in": [
125+
{"streamHandle": "readInt32"},
126+
{"clientThreadId": "readInt32"}
127+
],
128+
"name": "unregisterAudioThread",
129+
"oneWay": false,
130+
"out": [
131+
{"__exception": "readException"},
132+
{"__return": "readInt32"}
133+
]
134+
},
135+
{
136+
"code": 11,
137+
"in": [{"streamHandle": "readInt32"}],
138+
"name": "exitStandby",
139+
"oneWay": false,
140+
"out": [
141+
{"__exception": "readException"},
142+
{"__return": "readInt32"},
143+
{"nullcheck": "readInt32"},
144+
{
145+
"__backreference": "nullcheck",
146+
"__conditional": [{
147+
"endpoint": "readParcelable",
148+
"__parcelType": "aaudio.Endpoint"
149+
}]
150+
}
151+
]
152+
}
153+
],
154+
"name": "IAAudioService",
155+
"producer": "java-aidl-generator",
156+
"type": "Interface"
157+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"produced_on": "2024-04-12T08:47:44.273392482Z",
3+
"source_location": "",
4+
"components": [
5+
{"nullcheck": "readInt32"},
6+
{
7+
"__backreference": "nullcheck",
8+
"__conditional": [{
9+
"readCounterParcelable": "readParcelable",
10+
"__parcelType": "aaudio.SharedRegion"
11+
}]
12+
},
13+
{"nullcheck": "readInt32"},
14+
{
15+
"__backreference": "nullcheck",
16+
"__conditional": [{
17+
"writeCounterParcelable": "readParcelable",
18+
"__parcelType": "aaudio.SharedRegion"
19+
}]
20+
},
21+
{"nullcheck": "readInt32"},
22+
{
23+
"__backreference": "nullcheck",
24+
"__conditional": [{
25+
"dataParcelable": "readParcelable",
26+
"__parcelType": "aaudio.SharedRegion"
27+
}]
28+
},
29+
{"bytesPerFrame": "readInt32"},
30+
{"framesPerBurst": "readInt32"},
31+
{"capacityInFrames": "readInt32"},
32+
{"flags": "readInt32"}
33+
],
34+
"full_name": "aaudio.RingBuffer",
35+
"name": "RingBuffer",
36+
"producer": "java-aidl-generator",
37+
"type": "Parcelable"
38+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"produced_on": "2024-04-12T08:47:44.274760489Z",
3+
"source_location": "",
4+
"components": [
5+
{"sharedMemoryIndex": "readInt32"},
6+
{"offsetInBytes": "readInt32"},
7+
{"sizeInBytes": "readInt32"}
8+
],
9+
"full_name": "aaudio.SharedRegion",
10+
"name": "SharedRegion",
11+
"producer": "java-aidl-generator",
12+
"type": "Parcelable"
13+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"produced_on": "2024-04-12T08:47:44.277243548Z",
3+
"source_location": "",
4+
"components": [
5+
{"channelMask": "readInt32"},
6+
{"sampleRate": "readInt32"},
7+
{"deviceId": "readInt32"},
8+
{"sharingMode": "readInt32"},
9+
{"nullcheck": "readInt32"},
10+
{
11+
"__backreference": "nullcheck",
12+
"__conditional": [{
13+
"audioFormat": "readParcelable",
14+
"__parcelType": "android.media.audio.common.AudioFormatDescription"
15+
}]
16+
},
17+
{"direction": "readInt32"},
18+
{"usage": "readInt32"},
19+
{"contentType": "readInt32"},
20+
{"spatializationBehavior": "readInt32"},
21+
{"isContentSpatialized": "readBool"},
22+
{"inputPreset": "readInt32"},
23+
{"bufferCapacity": "readInt32"},
24+
{"allowedCapturePolicy": "readInt32"},
25+
{"sessionId": "readInt32"},
26+
{"isPrivacySensitive": "readBool"},
27+
{"hardwareSamplesPerFrame": "readInt32"},
28+
{"hardwareSampleRate": "readInt32"},
29+
{"nullcheck": "readInt32"},
30+
{
31+
"__backreference": "nullcheck",
32+
"__conditional": [{
33+
"hardwareAudioFormat": "readParcelable",
34+
"__parcelType": "android.media.audio.common.AudioFormatDescription"
35+
}]
36+
}
37+
],
38+
"full_name": "aaudio.StreamParameters",
39+
"name": "StreamParameters",
40+
"producer": "java-aidl-generator",
41+
"type": "Parcelable"
42+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"produced_on": "2024-04-12T08:47:44.278651406Z",
3+
"source_location": "",
4+
"components": [
5+
{"nullcheck": "readInt32"},
6+
{
7+
"__backreference": "nullcheck",
8+
"__conditional": [{
9+
"params": "readParcelable",
10+
"__parcelType": "aaudio.StreamParameters"
11+
}]
12+
},
13+
{"nullcheck": "readInt32"},
14+
{
15+
"__backreference": "nullcheck",
16+
"__conditional": [{
17+
"attributionSource": "readParcelable",
18+
"__parcelType": "android.content.AttributionSourceState"
19+
}]
20+
},
21+
{"sharingModeMatchRequired": "readBool"},
22+
{"inService": "readBool"}
23+
],
24+
"full_name": "aaudio.StreamRequest",
25+
"name": "StreamRequest",
26+
"producer": "java-aidl-generator",
27+
"type": "Parcelable"
28+
}

0 commit comments

Comments
 (0)