Skip to content

Commit

Permalink
Add Android 14 structs
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-f0 authored and sam-f0 committed Apr 15, 2024
1 parent 75ff6f0 commit 0dc31ff
Show file tree
Hide file tree
Showing 3,499 changed files with 241,119 additions and 1 deletion.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 2 additions & 1 deletion binder_trace/binder_trace/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def main():
"--android-version",
const="all",
nargs="?",
choices=["9", "10", "11", "12", "13"],
choices=["9", "10", "11", "12", "13", "14"],
default="13",
help="Android version structs to use",
)
Expand All @@ -63,6 +63,7 @@ def main():
"11": "android11",
"12": "android-12.1.0_r27",
"13": "android13.0.0-r_49",
"14": "android-14.0.0_r28",
}

base_dir = path.dirname(path.abspath(__file__))
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"produced_on": "2024-04-12T08:48:00.310169722Z",
"source_location": "",
"components": [{"ab": "readInt32"}],
"full_name": "a.b.AB",
"name": "AB",
"producer": "java-aidl-generator",
"type": "Parcelable"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"produced_on": "2024-04-12T08:48:00.310927947Z",
"source_location": "",
"components": [{"ab": "readInt32"}],
"full_name": "a.b.AB2",
"name": "AB2",
"producer": "java-aidl-generator",
"type": "Parcelable"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"produced_on": "2024-04-12T08:47:44.267867972Z",
"source_location": "",
"components": [
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"upMessageQueueParcelable": "readParcelable",
"__parcelType": "aaudio.RingBuffer"
}]
},
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"downMessageQueueParcelable": "readParcelable",
"__parcelType": "aaudio.RingBuffer"
}]
},
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"upDataQueueParcelable": "readParcelable",
"__parcelType": "aaudio.RingBuffer"
}]
},
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"downDataQueueParcelable": "readParcelable",
"__parcelType": "aaudio.RingBuffer"
}]
},
{
"sharedMemories": "readParcelableVector",
"__parcelType": "android.media.SharedFileRegion"
}
],
"full_name": "aaudio.Endpoint",
"name": "Endpoint",
"producer": "java-aidl-generator",
"type": "Parcelable"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"produced_on": "2024-04-12T08:47:44.269059015Z",
"source_location": "",
"full_name": "aaudio.IAAudioClient",
"calls": [{
"code": 1,
"in": [
{"handle": "readInt32"},
{"opcode": "readInt32"},
{"value": "readInt32"}
],
"name": "onStreamChange",
"oneWay": true,
"out": [{"__exception": "readException"}]
}],
"name": "IAAudioClient",
"producer": "java-aidl-generator",
"type": "Interface"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
{
"produced_on": "2024-04-12T08:47:44.271356581Z",
"source_location": "",
"full_name": "aaudio.IAAudioService",
"calls": [
{
"code": 1,
"in": [{"client": "readStrongBinder"}],
"name": "registerClient",
"oneWay": false,
"out": [{"__exception": "readException"}]
},
{
"code": 2,
"in": [
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"request": "readParcelable",
"__parcelType": "aaudio.StreamRequest"
}]
}
],
"name": "openStream",
"oneWay": false,
"out": [
{"__exception": "readException"},
{"__return": "readInt32"},
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"paramsOut": "readParcelable",
"__parcelType": "aaudio.StreamParameters"
}]
}
]
},
{
"code": 3,
"in": [{"streamHandle": "readInt32"}],
"name": "closeStream",
"oneWay": false,
"out": [
{"__exception": "readException"},
{"__return": "readInt32"}
]
},
{
"code": 4,
"in": [{"streamHandle": "readInt32"}],
"name": "getStreamDescription",
"oneWay": false,
"out": [
{"__exception": "readException"},
{"__return": "readInt32"},
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"endpoint": "readParcelable",
"__parcelType": "aaudio.Endpoint"
}]
}
]
},
{
"code": 5,
"in": [{"streamHandle": "readInt32"}],
"name": "startStream",
"oneWay": false,
"out": [
{"__exception": "readException"},
{"__return": "readInt32"}
]
},
{
"code": 6,
"in": [{"streamHandle": "readInt32"}],
"name": "pauseStream",
"oneWay": false,
"out": [
{"__exception": "readException"},
{"__return": "readInt32"}
]
},
{
"code": 7,
"in": [{"streamHandle": "readInt32"}],
"name": "stopStream",
"oneWay": false,
"out": [
{"__exception": "readException"},
{"__return": "readInt32"}
]
},
{
"code": 8,
"in": [{"streamHandle": "readInt32"}],
"name": "flushStream",
"oneWay": false,
"out": [
{"__exception": "readException"},
{"__return": "readInt32"}
]
},
{
"code": 9,
"in": [
{"streamHandle": "readInt32"},
{"clientThreadId": "readInt32"},
{"periodNanoseconds": "readInt64"}
],
"name": "registerAudioThread",
"oneWay": false,
"out": [
{"__exception": "readException"},
{"__return": "readInt32"}
]
},
{
"code": 10,
"in": [
{"streamHandle": "readInt32"},
{"clientThreadId": "readInt32"}
],
"name": "unregisterAudioThread",
"oneWay": false,
"out": [
{"__exception": "readException"},
{"__return": "readInt32"}
]
},
{
"code": 11,
"in": [{"streamHandle": "readInt32"}],
"name": "exitStandby",
"oneWay": false,
"out": [
{"__exception": "readException"},
{"__return": "readInt32"},
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"endpoint": "readParcelable",
"__parcelType": "aaudio.Endpoint"
}]
}
]
}
],
"name": "IAAudioService",
"producer": "java-aidl-generator",
"type": "Interface"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"produced_on": "2024-04-12T08:47:44.273392482Z",
"source_location": "",
"components": [
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"readCounterParcelable": "readParcelable",
"__parcelType": "aaudio.SharedRegion"
}]
},
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"writeCounterParcelable": "readParcelable",
"__parcelType": "aaudio.SharedRegion"
}]
},
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"dataParcelable": "readParcelable",
"__parcelType": "aaudio.SharedRegion"
}]
},
{"bytesPerFrame": "readInt32"},
{"framesPerBurst": "readInt32"},
{"capacityInFrames": "readInt32"},
{"flags": "readInt32"}
],
"full_name": "aaudio.RingBuffer",
"name": "RingBuffer",
"producer": "java-aidl-generator",
"type": "Parcelable"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"produced_on": "2024-04-12T08:47:44.274760489Z",
"source_location": "",
"components": [
{"sharedMemoryIndex": "readInt32"},
{"offsetInBytes": "readInt32"},
{"sizeInBytes": "readInt32"}
],
"full_name": "aaudio.SharedRegion",
"name": "SharedRegion",
"producer": "java-aidl-generator",
"type": "Parcelable"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"produced_on": "2024-04-12T08:47:44.277243548Z",
"source_location": "",
"components": [
{"channelMask": "readInt32"},
{"sampleRate": "readInt32"},
{"deviceId": "readInt32"},
{"sharingMode": "readInt32"},
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"audioFormat": "readParcelable",
"__parcelType": "android.media.audio.common.AudioFormatDescription"
}]
},
{"direction": "readInt32"},
{"usage": "readInt32"},
{"contentType": "readInt32"},
{"spatializationBehavior": "readInt32"},
{"isContentSpatialized": "readBool"},
{"inputPreset": "readInt32"},
{"bufferCapacity": "readInt32"},
{"allowedCapturePolicy": "readInt32"},
{"sessionId": "readInt32"},
{"isPrivacySensitive": "readBool"},
{"hardwareSamplesPerFrame": "readInt32"},
{"hardwareSampleRate": "readInt32"},
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"hardwareAudioFormat": "readParcelable",
"__parcelType": "android.media.audio.common.AudioFormatDescription"
}]
}
],
"full_name": "aaudio.StreamParameters",
"name": "StreamParameters",
"producer": "java-aidl-generator",
"type": "Parcelable"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"produced_on": "2024-04-12T08:47:44.278651406Z",
"source_location": "",
"components": [
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"params": "readParcelable",
"__parcelType": "aaudio.StreamParameters"
}]
},
{"nullcheck": "readInt32"},
{
"__backreference": "nullcheck",
"__conditional": [{
"attributionSource": "readParcelable",
"__parcelType": "android.content.AttributionSourceState"
}]
},
{"sharingModeMatchRequired": "readBool"},
{"inService": "readBool"}
],
"full_name": "aaudio.StreamRequest",
"name": "StreamRequest",
"producer": "java-aidl-generator",
"type": "Parcelable"
}
Loading

0 comments on commit 0dc31ff

Please sign in to comment.