Commit 0a95cf2
fix: type-aware null markers for opaque fields in JavaWireFormat
java_extractor now emits specific write methods (bundle, typed_object,
byte_array, blob, binder) instead of generic opaque. The codegen uses
these for correct null markers:
- bundle: int32(-1) — writeBundle null protocol
- typed_object: int32(0) — writeTypedObject null protocol
- others: int32(0) with length-based skip on unmarshal
Also fixes primitive fields with unresolvable conditions (e.g., bool
guarded by hasGainmap()) being forced to typed_object to prevent
accessing non-existent struct fields.1 parent 3cbf639 commit 0a95cf2
796 files changed
Lines changed: 6552 additions & 6544 deletions
File tree
- android
- accessibilityservice
- types
- accounts
- appwidget
- app
- admin
- ambientcontext
- assist
- blob
- contentsuggestions
- job
- ondeviceintelligence
- people
- prediction
- search
- servertransaction
- slice
- smartspace
- timedetector
- timezonedetector
- time
- types
- usage
- wallpapereffectsgeneration
- companion
- virtual
- camera
- sensor
- content
- integrity
- om
- pm
- permission
- types
- verify/domain
- res
- rollback
- types
- credentials
- graphics
- drawable
- fonts
- hardware
- biometrics
- camera2
- impl
- params
- utils
- devicestate
- display
- face
- fingerprint
- hdmi
- input
- lights
- location
- radio
- soundtrigger
- usb
- location
- provider
- types
- media
- audiopolicy
- metrics
- midi
- musicrecognition
- projection
- session
- tv
- ad
- interactive
- types
- net
- vcn
- nfc
- cardemulation
- os
- connectivity
- storage
- types
- permission
- printservice
- recommendation
- print
- types
- security
- attestationverification
- keymaster
- keystore
- recovery
- service
- ambientcontext
- assist/classification
- autofill
- carrier
- chooser
- contentcapture
- controls
- actions
- templates
- credentials
- displayhash
- euicc
- games
- notification
- quickaccesswallet
- quicksettings
- settings/suggestions
- timezone
- voice
- types
- speech
- tts
- telecom
- telephony
- data
- emergency
- euicc
- gba
- ims
- feature
- stub
- mbms
- satellite
- text
- util
- view
- accessibility
- autofill
- types
- contentcapture
- displayhash
- inputmethod
- textclassifier
- textservice
- translation
- types
- types
- webkit
- widget
- inline
- window
- com/android
- ims
- internal_/uce
- common
- options
- presence
- internal_
- app/procstats
- compat
- content
- infra
- inputmethod
- net
- os
- statusbar
- telephony
- util
- view
- widget
- specs
- android
- accessibilityservice
- appwidget
- app
- admin
- ambientcontext
- assist
- blob
- contentsuggestions
- job
- ondeviceintelligence
- people
- prediction
- search
- slice
- smartspace
- timedetector
- time
- usage
- wallpapereffectsgeneration
- companion
- virtual
- sensor
- content
- pm
- verify/domain
- res
- credentials
- graphics
- fonts
- hardware
- biometrics
- display
- face
- fingerprint
- location
- radio
- usb
- location
- provider
- media
- audiopolicy
- metrics
- midi
- musicrecognition
- session
- tv
- net
- vcn
- nfc
- os
- storage
- printservice
- print
- security
- attestationverification
- keystore
- recovery
- service
- assist/classification
- autofill
- chooser
- contentcapture
- controls
- actions
- templates
- credentials
- euicc
- games
- notification
- settings/suggestions
- timezone
- voice
- telecom
- telephony
- data
- euicc
- gba
- ims
- mbms
- satellite
- view
- accessibility
- contentcapture
- displayhash
- inputmethod
- textclassifier
- translation
- webkit
- widget/inline
- window
- com/android
- ims
- internal_/uce
- common
- options
- presence
- internal_
- content
- inputmethod
- net
- os
- statusbar
- telephony
- util
- view
- widget
- tools/cmd/spec2go
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments