diff options
| author | 2020-03-21 03:38:32 +0900 | |
|---|---|---|
| committer | 2020-03-25 11:10:49 +0900 | |
| commit | 628d7ef0c7b29ac3c30c2ca46e7778c57a0b1d67 (patch) | |
| tree | ca733e014fdefdb5a9f559e48c0bb1f1750e7c24 /java/hiddenapi_singleton.go | |
| parent | b358ebb7598dc941213ad3a9445e035c5f768fcc (diff) | |
Implement sysprop type checker
sysprop type checker compares a sysprop_library API file and
property_contexts files, and detects if there are any mismatches of
property types. For example, the following snippets are detected.
// foo.sysprop
prop {
prop_name: "ro.foo.bar"
type: Integer
...
}
// property_contexts
ro.foo.bar u:object_r:foo_prop:s0 exact string
"ro.foo.bar" is an Integer in .sysprop file, but it's a string in
property_contexts file.
Bug: 151879375
Test: sysprop_test
Test: run "m PlatformProperties" and see existing mismatches.
Change-Id: Iad86d0770011e13a6d8f3e9596e730200942e3fd
Diffstat (limited to 'java/hiddenapi_singleton.go')
0 files changed, 0 insertions, 0 deletions