Commit 4ff837c
fix: support generic return types in specgen and avoid Init/Ctor name collision
specgen: Remove the filter that skipped methods with generic return
types (e.g. java.util.List<T>). The javagen code generator already
handles these correctly by stripping the type parameter. This adds
getServices(), getCharacteristics(), getDescriptors() and many other
List-returning methods to the generated specs.
javagen: Rename constructor method ID variables from mid*Init to
mid*Ctor to avoid collision with Java methods literally named "init"
(e.g. DatePicker.init()).1 parent c5ae7d1 commit 4ff837c
2,033 files changed
Lines changed: 294810 additions & 255676 deletions
File tree
- accessibilityservice
- consts
- accounts
- consts
- adservices
- adid
- adselection
- consts
- appsetid
- common
- consts
- customaudience
- exceptions
- measurement
- consts
- ondevicepersonalization
- consts
- signals
- topics
- animation
- consts
- appwidget
- consts
- app
- admin
- consts
- appfunctions
- consts
- appsearch
- consts
- exceptions
- observer
- assist
- backup
- blob
- consts
- jank
- job
- consts
- people
- sdksandbox
- sdkprovider
- slice
- consts
- usage
- consts
- wallpaper
- bluetooth
- consts
- le
- consts
- companion
- consts
- virtual
- content
- clipboard
- consts
- om
- permission
- pm
- consts
- resolver
- res
- consts
- loader
- credentials
- consts
- crypto/hpke
- database
- consts
- sqlite
- consts
- devicelock
- consts
- drm
- consts
- gesture
- consts
- graphics
- consts
- drawable
- consts
- shapes
- fonts
- pdf
- content
- models
- consts
- selection
- text
- consts
- hardware
- biometrics
- camera2
- consts
- params
- consts
- camera
- consts
- display
- consts
- input
- consts
- lights
- usb
- health/connect
- changelog
- datatypes
- consts
- units
- icu
- lang
- consts
- math
- number
- consts
- text
- consts
- util
- consts
- inputmethodservice
- location
- altitude
- consts
- media
- audiofx
- consts
- audiomanager
- audiorecord
- browse
- consts
- effect
- metrics
- consts
- midi
- consts
- player
- projection
- quality
- consts
- recorder
- ringtone
- session
- tv
- ad
- consts
- consts
- interactive
- consts
- mtp
- net
- consts
- http
- consts
- ipsec/ike
- consts
- exceptions
- rtp
- consts
- sip
- consts
- ssl
- vcn
- consts
- vpn
- wifi
- aware
- consts
- consts
- hotspot2
- pps
- p2p
- consts
- nsd
- consts
- rtt
- consts
- nfc
- cardemulation
- consts
- consts
- tech
- consts
- opengl
- consts
- os
- build
- consts
- environment
- flagging
- health
- consts
- storage
- consts
- strictmode
- vibrator
- consts
- preference
- consts
- printservice
- print
- consts
- pdf
- provider
- consts
- contacts
- documents
- media
- settings
- ranging
- ble/cs
- consts
- consts
- oob
- raw
- uwb
- consts
- wifi/rtt
- renderscript
- consts
- sax
- security
- consts
- identity
- keystore
- service
- assist/classification
- autofill
- consts
- carrier
- consts
- chooser
- consts
- controls
- actions
- consts
- templates
- consts
- credentials
- dreams
- notification
- consts
- quickaccesswallet
- consts
- quicksettings
- settings/preferences
- consts
- voice
- consts
- se/omapi
- spec/java
- speech
- consts
- tts
- system
- telecom
- consts
- telephony
- cdma
- consts
- data
- consts
- emergency
- euicc
- gsm
- ims
- consts
- mbms
- consts
- satellite
- templates/java
- text
- consts
- format
- consts
- method
- consts
- style
- consts
- util
- tools/pkg/specgen
- transition
- consts
- util
- consts
- proto
- view
- accessibility
- consts
- animation
- consts
- autofill
- consts
- consts
- contentcapture
- consts
- displayhash
- consts
- display
- consts
- inputmethod
- consts
- inspector
- textclassifier
- consts
- textservice
- translation
- consts
- webkit
- consts
- widget
- consts
- photopicker
- toast
- window
- consts
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.
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