DescriptionAdd access to read-only properties
This CL adds efficient access to read-only properties of a device.
The properties thus accessible are:
- build_description
- build_fingerprint
- build_id
- build_product
- build_type
- build_version_sdk (returns a number)
- product_cpu_abi
- product_model
- product_name
These properties are required to eliminate the need of some accesses to
android_commands through device.old_interface.
Other properties can still be accessed (and cached if requested), using
DeviceUtils.GetProp.
BUG=267773
Committed: https://crrev.com/d8240c07691d81093653da6d406039aa6d741439
Cr-Commit-Position: refs/heads/master@{#308164}
Patch Set 1 #Patch Set 2 : migrate clients to use properties #
Total comments: 4
Patch Set 3 : example strings from a user device #
Total comments: 1
Patch Set 4 : add missing timeout/retry defaults #Patch Set 5 : use instance defaults for timeout/retry #Patch Set 6 : rebase against master #
Messages
Total messages: 13 (4 generated)
|