/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Driver.kt | 111 options = Options(modifiedArgs, stdout, stderr) in run() 117 if (options.allReporters.any { it.hasErrors() } && !options.passBaselineUpdates) { in run() 119 if (options.repeatErrorsMax > 0) { in run() 120 repeatErrors(stderr, options.allReporters, options.repeatErrorsMax) in run() 125 if (options.strictInputFiles.shouldFail) { in run() 151 options.allBaselines.forEach { baseline -> in run() 152 if (options.verbose) { in run() 153 baseline.dumpStats(options.stdout) in run() 156 if (!options.quiet) { in run() 162 options.reportEvenIfSuppressedWriter?.close() in run() [all …]
|
D | Progress.kt | 27 if (!options.verbose) { in progress() 31 options.stdout.println() in progress() 36 options.stdout.print(now) in progress() 37 options.stdout.print(" CPU: ") in progress() 38 options.stdout.println(getCpuStats()) in progress() 40 options.stdout.print(now) in progress() 41 options.stdout.print(" MEM: ") in progress() 42 options.stdout.println(getMemoryStats()) in progress() 46 options.stdout.print(now) in progress() 47 options.stdout.print(" ") in progress() [all …]
|
D | AnnotationStatistics.kt | 75 if (options.omitRuntimePackageStats && item is PackageItem) { in <lambda>() 130 options.stdout.println() in <lambda>() 131 options.stdout.println( in <lambda>() 189 options.stdout.println() in <lambda>() 190 options.stdout.println( in <lambda>() 194 … options.stdout.println("API nullness coverage is ${percent(annotatedCount, referenceCount)}%") in <lambda>() 195 options.stdout.println() in <lambda>() 235 printer: PrintWriter = options.stdout in <lambda>() 272 val reportFile = options.annotationCoverageClassReport in <lambda>() 278 options.stdout in <lambda>() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/google/protobuf/ |
D | descriptor_pb2.py | 34 options=None, 38 options=None, 42 options=None, 46 options=None, 50 options=None, 54 options=None, 58 options=None, 62 options=None, 66 options=None, 70 options=None, [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/ |
D | apollo_qa_pb2.py | 36 options=None, 40 options=None, 44 options=None, 48 options=None, 52 options=None, 56 options=None, 60 options=None, 64 options=None, 79 options=None, 83 options=None, [all …]
|
D | nanopb_pb2.py | 36 options=None, 40 options=None, 44 options=None, 48 options=None, 52 options=None, 56 options=None, 71 options=None, 75 options=None, 79 options=None, 83 options=None, [all …]
|
D | audiowear_pb2.py | 34 options=None, 38 options=None, 42 options=None, 46 options=None, 50 options=None, 54 options=None, 58 options=None, 62 options=None, 66 options=None, 70 options=None, [all …]
|
D | plugin_pb2.py | 43 options=None), 50 options=None), 57 options=None), 64 options=None, 88 options=None), 95 options=None), 102 options=None), 109 options=None, 132 options=None), 139 options=None), [all …]
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | AlignmentTest.java | 56 ZFileOptions options = new ZFileOptions(); in addAlignedFile() local 57 options.setAlignmentRule(AlignmentRules.constantForSuffix(".txt", 1024)); in addAlignedFile() 58 try (ZFile zf = new ZFile(newZFile, options)) { in addAlignedFile() argument 72 ZFileOptions options = new ZFileOptions(); in addNonAlignedFile() local 73 options.setAlignmentRule(AlignmentRules.constantForSuffix(".txt", 1024)); in addNonAlignedFile() 74 try (ZFile zf = new ZFile(newZFile, options)) { in addNonAlignedFile() argument 104 ZFileOptions options = new ZFileOptions(); 105 options.setAlignmentRule(AlignmentRules.constantForSuffix(".txt", 1024)); 106 try (ZFile zf = new ZFile(newZFile, options)) { 140 ZFileOptions options = new ZFileOptions(); [all …]
|
D | ZFileSortTest.java | 65 private void setupZFile(@Nullable ZFileOptions options) throws Exception { in setupZFile() argument 74 if (options == null) { in setupZFile() 75 options = new ZFileOptions(); in setupZFile() 78 mZFile = new ZFile(mFile, options); in setupZFile() 145 ZFileOptions options = new ZFileOptions(); in autoSort() local 146 options.setAutoSortFiles(true); in autoSort() 147 setupZFile(options); in autoSort() 190 ZFileOptions options = new ZFileOptions(); in sortFilesWithAlignment() local 191 options.setAlignmentRule(AlignmentRules.constantForSuffix(".xml", 1024)); in sortFilesWithAlignment() 192 mZFile = new ZFile(mFile, options); in sortFilesWithAlignment()
|
/tools/repohooks/rh/ |
D | hooks.py | 337 def check_custom(project, commit, _desc, diff, options=None, **kwargs): argument 339 return _check_cmd(options.name, project, commit, options.args((), diff), 343 def check_bpfmt(project, commit, _desc, diff, options=None): argument 349 bpfmt = options.tool_path('bpfmt') 350 cmd = [bpfmt, '-l'] + options.args((), filtered) 362 def check_checkpatch(project, commit, _desc, diff, options=None): argument 366 options.args(('--ignore=GERRIT_CHANGE_ID',), diff)) 371 def check_clang_format(project, commit, _desc, diff, options=None): argument 374 clang_format = options.tool_path('clang-format') 375 git_clang_format = options.tool_path('git-clang-format') [all …]
|
D | hooks_unittest.py | 222 options = rh.hooks.HookOptions('hook name', args, {}) 223 self.assertEqual(options.args(), args) 224 self.assertEqual(options.args(default_args=['moo']), args) 228 options = rh.hooks.HookOptions('hook name', [], {}) 229 self.assertEqual(options.args(), []) 230 self.assertEqual(options.args(default_args=args), args) 234 options = rh.hooks.HookOptions('hook name', [], { 238 self.assertEqual(options.tool_path('pylint'), 'pylint') 240 self.assertEqual(options.tool_path('cpplint'), 'my cpplint') 242 self.assertRaises(AssertionError, options.tool_path, 'extra_tool') [all …]
|
D | config.py | 52 def options(self, section, default=_UNSET): member in RawConfigParser 60 return configparser.RawConfigParser.options(self, section) 137 return self.config.options(self.CUSTOM_HOOKS_SECTION, []) 168 options = rh.hooks.HookOptions(hook, 171 func = functools.partial(rh.hooks.check_custom, options=options) 175 options = rh.hooks.HookOptions(hook, 179 options=options) 215 hooks = set(config.options(self.BUILTIN_HOOKS_SECTION)) 225 hooks = set(config.options(self.BUILTIN_HOOKS_OPTIONS_SECTION)) 250 tools = set(config.options(self.TOOL_PATHS_SECTION)) [all …]
|
/tools/asuite/atest/proto/ |
D | internal_user_log_pb2.py | 45 options=None), 52 options=None), 59 options=None), 66 options=None), 73 options=None, 96 options=None), 103 options=None), 110 options=None), 117 options=None), 124 options=None, [all …]
|
D | external_user_log_pb2.py | 45 options=None, 68 options=None), 75 options=None), 82 options=None, 105 options=None), 112 options=None), 119 options=None, 142 options=None), 149 options=None), 156 options=None, [all …]
|
D | clientanalytics_pb2.py | 43 options=None), 50 options=None), 57 options=None), 64 options=None), 71 options=None, 95 options=None), 102 options=None, 126 options=None), 133 options=None, 157 options=None), [all …]
|
/tools/asuite/atest-py2/proto/ |
D | internal_user_log_pb2.py | 45 options=None), 52 options=None), 59 options=None), 66 options=None), 73 options=None, 96 options=None), 103 options=None), 110 options=None), 117 options=None), 124 options=None, [all …]
|
D | external_user_log_pb2.py | 45 options=None, 68 options=None), 75 options=None), 82 options=None, 105 options=None), 112 options=None), 119 options=None, 142 options=None), 149 options=None), 156 options=None, [all …]
|
D | clientanalytics_pb2.py | 43 options=None), 50 options=None), 57 options=None), 64 options=None), 71 options=None, 95 options=None), 102 options=None, 126 options=None), 133 options=None, 157 options=None), [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ModifierList.kt | 27 import com.android.tools.metalava.options in <lambda>() 100 if (options.showAnnotations.isEmpty()) { in <lambda>() 104 options.showAnnotations.matches(it) in <lambda>() 114 if (options.showSingleAnnotations.isEmpty()) { in <lambda>() 118 options.showSingleAnnotations.matches(it) in <lambda>() 127 if (options.showForStubPurposesAnnotations.isEmpty()) { in <lambda>() 131 options.showForStubPurposesAnnotations.matches(it) in <lambda>() 133 … options.showAnnotations.matches(it) && !options.showForStubPurposesAnnotations.matches(it) in <lambda>() 145 if (options.hideAnnotations.isEmpty() && options.hideMetaAnnotations.isEmpty()) { in <lambda>() 149 options.hideAnnotations.matches(annotation) || in <lambda>() [all …]
|
/tools/platform-compat/java/com/android/class2nonsdklist/ |
D | Class2NonSdkList.java | 85 Options options = new Options(); in main() local 86 options.addOption(OptionBuilder in main() 92 options.addOption(OptionBuilder in main() 97 options.addOption(OptionBuilder in main() 102 options.addOption(OptionBuilder in main() 108 options.addOption(OptionBuilder in main() 115 options.addOption(OptionBuilder in main() 125 cmd = parser.parse(options, args); in main() 128 help(options); in main() 132 help(options); in main() [all …]
|
/tools/asuite/atest-py2/ |
D | test_mapping.py | 54 self.options = [] 58 options = details.get('options', []) 59 for option in options: 61 self.options.append(copy.deepcopy(option).popitem()) 62 self.options.sort(key=lambda o: o[0]) 69 if not self.options: 71 options = '' 72 for option in self.options: 73 options += '%s: %s, ' % option 75 return '%s (%s)%s' % (self.name, options.strip(', '), host_info)
|
/tools/asuite/atest/ |
D | test_mapping.py | 52 self.options = [] 56 options = details.get('options', []) 57 for option in options: 59 self.options.append(copy.deepcopy(option).popitem()) 60 self.options.sort(key=lambda o: o[0]) 67 if not self.options: 69 options = '' 70 for option in self.options: 71 options += '%s: %s, ' % option 73 return '%s (%s)%s' % (self.name, options.strip(', '), host_info)
|
/tools/test/connectivity/acts_tests/tests/google/net/ |
D | DhcpServerTest.py | 194 self._make_discover(self.hwaddr, options=[params_opt])) 412 options=[ 609 options=[ 638 options=[ 654 options=[ 673 ciaddr=req_ip, ip_src=req_ip, ip_dst=self.server_addr, options=[ 705 options=[ 720 options=[ 741 options=[ 785 options=[ [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/ |
D | descriptor.proto | 75 optional FileOptions options = 8; field 106 optional MessageOptions options = 7; field 180 optional FieldOptions options = 8; field 194 optional EnumOptions options = 3; field 202 optional EnumValueOptions options = 3; field 210 optional ServiceOptions options = 3; field 222 optional MethodOptions options = 4; field 234 // Each of the definitions above may have "options" attached. These are 238 // Clients may define custom options as extensions of the *Options messages. 246 // Extension numbers for custom options may be chosen as follows: [all …]
|