/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/metalava/src/main/java/com/android/tools/metalava/ |
D | Driver.kt | 115 options = Options(modifiedArgs, stdout, stderr) in run() 121 if (options.allReporters.any { it.hasErrors() } && !options.passBaselineUpdates) { in run() 123 if (options.repeatErrorsMax > 0) { in run() 124 repeatErrors(stderr, options.allReporters, options.repeatErrorsMax) in run() 129 if (options.strictInputFiles.shouldFail) { in run() 155 options.allBaselines.forEach { baseline -> in run() 156 if (options.verbose) { in run() 157 baseline.dumpStats(options.stdout) in run() 160 if (!options.quiet) { in run() 166 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 | 76 if (options.omitRuntimePackageStats && item is PackageItem) { in <lambda>() 131 options.stdout.println() in <lambda>() 132 options.stdout.println( in <lambda>() 190 options.stdout.println() in <lambda>() 191 options.stdout.println( in <lambda>() 195 … options.stdout.println("API nullness coverage is ${percent(annotatedCount, referenceCount)}%") in <lambda>() 196 options.stdout.println() in <lambda>() 236 printer: PrintWriter = options.stdout in <lambda>() 273 val reportFile = options.annotationCoverageClassReport in <lambda>() 279 options.stdout in <lambda>() [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 …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/loggers/protos/ |
D | bluetooth_metric_pb2.py | 36 options=None, 40 options=None, 44 options=None, 48 options=None, 52 options=None, 56 options=None, 70 options=None, 74 options=None, 78 options=None, 82 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 | ZFileTest.java | 761 ZFileOptions options = new ZFileOptions(); in extraDirectoryOffsetNonEmptyFile() local 762 options.setAlignmentRule(AlignmentRules.constant(AlignmentRule.NO_ALIGNMENT)); in extraDirectoryOffsetNonEmptyFile() 764 try (ZFile zipNoOffset = new ZFile(zipNoOffsetFile, options); in extraDirectoryOffsetNonEmptyFile() argument 765 ZFile zipWithOffset = new ZFile(zipWithOffsetFile, options)) { in extraDirectoryOffsetNonEmptyFile() 1007 ZFileOptions options = new ZFileOptions(); in zipMemoryUsageIsZeroAfterClose() local 1009 try (ZFile zip = new ZFile(zipFile, options)) { in zipMemoryUsageIsZeroAfterClose() argument 1011 assertEquals(0, options.getTracker().getBytesUsed()); in zipMemoryUsageIsZeroAfterClose() 1012 assertEquals(0, options.getTracker().getMaxBytesUsed()); in zipMemoryUsageIsZeroAfterClose() 1015 used = options.getTracker().getBytesUsed(); in zipMemoryUsageIsZeroAfterClose() 1017 assertEquals(used, options.getTracker().getMaxBytesUsed()); in zipMemoryUsageIsZeroAfterClose() [all …]
|
/tools/repohooks/rh/ |
D | hooks.py | 299 def check_custom(project, commit, _desc, diff, options=None, **kwargs): argument 301 return _check_cmd(options.name, project, commit, options.args((), diff), 305 def check_bpfmt(project, commit, _desc, diff, options=None): argument 311 bpfmt = options.tool_path('bpfmt') 312 cmd = [bpfmt, '-l'] + options.args((), filtered) 324 def check_checkpatch(project, commit, _desc, diff, options=None): argument 328 options.args(('--ignore=GERRIT_CHANGE_ID',), diff)) 333 def check_clang_format(project, commit, _desc, diff, options=None): argument 336 clang_format = options.tool_path('clang-format') 337 git_clang_format = options.tool_path('git-clang-format') [all …]
|
D | hooks_unittest.py | 204 options = rh.hooks.HookOptions('hook name', args, {}) 205 self.assertEqual(options.args(), args) 206 self.assertEqual(options.args(default_args=['moo']), args) 210 options = rh.hooks.HookOptions('hook name', [], {}) 211 self.assertEqual(options.args(), []) 212 self.assertEqual(options.args(default_args=args), args) 216 options = rh.hooks.HookOptions('hook name', [], { 220 self.assertEqual(options.tool_path('pylint'), 'pylint') 222 self.assertEqual(options.tool_path('cpplint'), 'my cpplint') 224 self.assertRaises(AssertionError, options.tool_path, 'extra_tool') [all …]
|
/tools/tradefederation/core/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 …]
|
/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 …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | RemoteInvocationExecution.java | 132 TestDeviceOptions options = device.getOptions(); in customizeDevicePreInvocation() local 134 options.addGceDriverParams("--num-avds-per-instance"); in customizeDevicePreInvocation() 136 options.addGceDriverParams(count); in customizeDevicePreInvocation() 152 TestDeviceOptions options = device.getOptions(); in runTests() local 153 String mainRemoteDir = getRemoteMainDir(options); in runTests() 154 mRemoteAdbPath = String.format("/home/%s/bin/adb", options.getInstanceUser()); in runTests() 156 File tfToPush = getLocalTradefedPath(listener, options.getRemoteTf()); in runTests() 164 gceInfo, options, runUtil, 120000L, "mkdir", "-p", mRemoteTradefedDir); in runTests() 179 options, in runTests() 198 gceInfo, options, runUtil, 120000L, "ls", "-l", mRemoteTradefedDir); in runTests() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceSelectionOptionsTest.java | 92 DeviceSelectionOptions options = getDeviceSelectionOptionsWithEnvVar(DEVICE_ENV_SERIAL); in testGetSerials() local 94 assertEquals(1, options.getSerials(mMockDevice).size()); in testGetSerials() 95 assertTrue(options.getSerials(mMockDevice).contains(DEVICE_ENV_SERIAL)); in testGetSerials() 96 assertFalse(options.getSerials(mMockDevice).contains(DEVICE_SERIAL)); in testGetSerials() 102 DeviceSelectionOptions options = getDeviceSelectionOptionsWithEnvVar(DEVICE_ENV_SERIAL); in testGetSerials_envVariable_nullDevice() local 103 options.setNullDeviceRequested(true); in testGetSerials_envVariable_nullDevice() 106 assertEquals(0, options.getSerials(device).size()); in testGetSerials_envVariable_nullDevice() 107 assertTrue(options.matches(device)); in testGetSerials_envVariable_nullDevice() 113 DeviceSelectionOptions options = getDeviceSelectionOptionsWithEnvVar(DEVICE_ENV_SERIAL); in testGetSerials_envVariable_FastbootDevice() local 116 assertEquals(1, options.getSerials(device).size()); in testGetSerials_envVariable_FastbootDevice() [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4Test.java | 131 public final void installPackage(String apkFileName, String... options) in installPackage() argument 133 installPackage(getDevice(), apkFileName, options); in installPackage() local 143 public final void installPackage(ITestDevice device, String apkFileName, String... options) in installPackage() argument 152 for (String option : options) { in installPackage() 174 String apkFileName, boolean grantPermission, int userId, String... options) in installPackageAsUser() argument 176 installPackageAsUser(getDevice(), apkFileName, grantPermission, userId, options); in installPackageAsUser() local 193 String... options) in installPackageAsUser() argument 204 for (String option : options) { in installPackageAsUser() 466 public final boolean runDeviceTests(DeviceTestRunOptions options) in runDeviceTests() argument 469 options.getDevice() == null ? getDevice() : options.getDevice(), in runDeviceTests() [all …]
|
/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/test_utils/tel/loggers/protos/ |
D | telephony_metric_pb2.py | 35 options=None, 39 options=None, 43 options=None, 47 options=None, 51 options=None, 55 options=None, 59 options=None, 63 options=None, 67 options=None, 71 options=None, [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 …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 126 CommandOptions options = new CommandOptions(); in testSplitWithShardCount() local 127 OptionSetter setter = new OptionSetter(options); in testSplitWithShardCount() 130 mConfig.setCommandOptions(options); in testSplitWithShardCount() 156 CommandOptions options = new CommandOptions(); in testSplit_noShardCount() local 157 OptionSetter setter = new OptionSetter(options); in testSplit_noShardCount() 158 mConfig.setCommandOptions(options); in testSplit_noShardCount() 185 CommandOptions options = new CommandOptions(); in testSplitWithShardCount_notEnoughTest() local 186 OptionSetter setter = new OptionSetter(options); in testSplitWithShardCount_notEnoughTest() 188 mConfig.setCommandOptions(options); in testSplitWithShardCount_notEnoughTest() 228 CommandOptions options = new CommandOptions(); in testCloneStatusChecker() local [all …]
|
D | StrictShardHelperTest.java | 111 CommandOptions options = new CommandOptions(); in testShardConfig_internal() local 112 OptionSetter setter = new OptionSetter(options); in testShardConfig_internal() 114 mConfig.setCommandOptions(options); in testShardConfig_internal() 141 CommandOptions options = new CommandOptions(); in testShardConfig_internal_shardIndex() local 142 OptionSetter setter = new OptionSetter(options); in testShardConfig_internal_shardIndex() 145 mConfig.setCommandOptions(options); in testShardConfig_internal_shardIndex() 167 CommandOptions options = new CommandOptions(); in testShardConfig_internal_shardIndex_notShardable_shard0() local 168 OptionSetter setter = new OptionSetter(options); in testShardConfig_internal_shardIndex_notShardable_shard0() 171 mConfig.setCommandOptions(options); in testShardConfig_internal_shardIndex_notShardable_shard0() 198 CommandOptions options = new CommandOptions(); in testShardConfig_internal_shardIndex_notShardable_shard1() local [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | GceManager.java | 392 TestDeviceOptions options, IRunUtil runUtil, String instanceName) { in AcloudShutdown() argument 393 List<String> gceArgs = ArrayUtil.list(options.getAvdDriverBinary().getAbsolutePath()); in AcloudShutdown() 399 config = FileUtil.createTempFile(options.getAvdConfigFile().getName(), "config"); in AcloudShutdown() 405 FileUtil.copyFile(options.getAvdConfigFile(), config); in AcloudShutdown() 407 if (options.getServiceAccountJsonKeyFile() != null) { in AcloudShutdown() 409 gceArgs.add(options.getServiceAccountJsonKeyFile().getAbsolutePath()); in AcloudShutdown() 415 if (options.waitForGceTearDown()) { in AcloudShutdown() 418 options.getGceCmdTimeout(), in AcloudShutdown() 457 GceAvdInfo gceAvd, TestDeviceOptions options, IRunUtil runUtil) throws IOException { in getBugreportzWithSsh() argument 458 String output = remoteSshCommandExec(gceAvd, options, runUtil, "bugreportz"); in getBugreportzWithSsh() [all …]
|