summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorShubham Ajmera <shubhamajmera@google.com>2016-11-17 18:41:22 +0000
committerShubham Ajmera <shubhamajmera@google.com>2016-11-22 15:59:11 +0000
commit34999397fa4e3a660add5b46821160eabb626098 (patch)
tree45242ab96e05cbefe899a0090e9c74936b931f66 /annotations/generate_annotated_java_files.py
parent1f9933397eb3374355bc3e4c6c041a949d40050a (diff)
Add StrictMode checks to BlockGuardOs
Add StrictMode checks to BlockGuardOs A test is also added to make sure that when a new method is added in libcore.io.Posix, then an informed decision should be taken whether to include it in the BlockGuardOs. The test maintains a list of methods which don't need any BlockGuard checks. If any new method is added to libcore.io.Os class, then the test will fail if it is not overridden in libcore.io.BlockGuardOs. To overcome this, one should either add the test into the list of methods not require blockguard checks, or else override the method. Bug: 30977855 Test: `make` Change-Id: I220707f20562f5b013ba3483d62ed72664743f1c
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions