/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | TestDeviceOptions.java | 54 @Option(name = "enable-root", description = "enable adb root on boot.") 57 @Option(name = "disable-keyguard", 61 @Option(name = "enable-logcat", description = 65 @Option(name = "max-tmp-logcat-file", description = 70 @Option(name = "logcat-options", description = 75 @Option(name = "fastboot-timeout", description = 79 @Option(name = "adb-recovery-timeout", description = 83 @Option(name = "reboot-timeout", description = 87 @Option(name = "use-fastboot-erase", description = 91 @Option(name = "unencrypt-reboot-timeout", description = "time in ms to wait for the device to " [all …]
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | ShortName.java | 49 private final char[] name; field in ShortName 67 this.name = toCharArray(nameString, extString); in ShortName() 68 checkValidChars(this.name); in ShortName() 71 ShortName(String name, String ext) { in ShortName() argument 72 this.name = toCharArray(name, ext); in ShortName() 75 ShortName(char[] name) { in ShortName() argument 76 this.name = name; in ShortName() 83 this.name = result; in ShortName() 86 private static char[] toCharArray(String name, String ext) { in toCharArray() argument 87 checkValidName(name); in toCharArray() [all …]
|
D | FatLfnDirectory.java | 129 public FatLfnDirectoryEntry addFile(String name) throws IOException { in addFile() argument 131 checkUniqueName(name); in addFile() 133 name = name.trim(); in addFile() 134 final ShortName sn = makeShortName(name, false); in addFile() 137 new FatLfnDirectoryEntry(name, sn, this, false); in addFile() 142 longNameIndex.put(name.toLowerCase(), entry); in addFile() 150 boolean isFreeName(String name) { in isFreeName() argument 154 private void checkUniqueName(String name) throws IOException { in checkUniqueName() argument 157 private void freeUniqueName(String name) { in freeUniqueName() argument 160 private ShortName makeShortName(String name, boolean isDirectory) throws IOException { in makeShortName() argument [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/ |
D | apollo_qa_pb2.py | 21 name='apollo_qa.proto', 29 name='ApolloQAMessageType', 35 name='TRACE', index=0, number=1, 39 name='GET_VER_RESPONSE', index=1, number=2, 43 name='GET_CODEC_RESPONSE', index=2, number=3, 47 name='GET_DSP_STATUS_RESPONSE', index=3, number=4, 51 name='FACTORY_PLAY_SOUND', index=4, number=5, 55 name='FACTORY_INFO_REQUEST', index=5, number=6, 59 name='FACTORY_INFO_RESPONSE', index=6, number=7, 72 name='TraceId', [all …]
|
D | audiowear_pb2.py | 20 name='audiowear.proto', 27 name='MessageGroup', 33 name='UNKNOWN_MESSAGE_GROUP', index=0, number=0, 37 name='DEVICE_INPUT', index=1, number=1, 41 name='OTA', index=2, number=2, 45 name='DEVICE_CAPABILITY', index=3, number=3, 49 name='DEVICE_STATUS', index=4, number=4, 53 name='LOGGING', index=5, number=5, 57 name='SENSORS', index=6, number=6, 61 name='COMPANION_STATUS', index=7, number=7, [all …]
|
D | nanopb_pb2.py | 21 name='nanopb.proto', 29 name='FieldType', 35 name='FT_DEFAULT', index=0, number=0, 39 name='FT_CALLBACK', index=1, number=1, 43 name='FT_POINTER', index=2, number=4, 47 name='FT_STATIC', index=3, number=2, 51 name='FT_IGNORE', index=4, number=3, 64 name='IntSize', 70 name='IS_DEFAULT', index=0, number=0, 74 name='IS_8', index=1, number=8, [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandOptions.java | 36 @Option(name = "help", description = 41 @Option(name = "help-all", description = "display the full help text for all options.", 49 name = DRY_RUN_OPTION, 58 name = NOISY_DRY_RUN_OPTION, 66 @Option(name = "min-loop-time", description = 72 @Option(name = TEST_TAG_OPTION, description = "Identifier for the invocation during reporting.") 75 @Option(name = "test-tag-suffix", description = "suffix for test-tag. appended to test-tag to " 79 @Option(name = "loop", description = "keep running continuously.", 83 @Option(name = "all-devices", description = 87 @Option(name = "bugreport-on-invocation-ended", description = [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_datastore_utils.py | 46 def add_device(name, ap_label, lab_label): argument 60 data=json.dumps({"hostname":name, 64 logging.info("Added device %s to datastore" % name) 68 def remove_device(name): argument 80 data=json.dumps({"hostname":name})) 81 result_str = "%s deleted." % name 83 logging.info("Removed device %s from datastore" % name) 87 def lock_device(name, admin): argument 100 data=json.dumps({"hostname":name, "locked_by":admin})) 102 logging.info("Locked device %s in datastore" % name) [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | FakeTestTest.java | 148 final String name = "com.moo.cow"; in testRun_empty() local 149 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(0)); in testRun_empty() 153 mOption.setOptionValue("run", name, ""); in testRun_empty() 160 final String name = "com.moo.cow"; in testRun_simplePass() local 161 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(1)); in testRun_simplePass() 162 testPassExpectations(mListener, name, 1); in testRun_simplePass() 166 mOption.setOptionValue("run", name, "P"); in testRun_simplePass() 173 final String name = "com.moo.cow"; in testRun_simpleFail() local 174 mListener.testRunStarted(EasyMock.eq(name), EasyMock.eq(1)); in testRun_simpleFail() 175 testFailExpectations(mListener, name, 1); in testRun_simpleFail() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/google/protobuf/ |
D | descriptor_pb2.py | 18 name='google/protobuf/descriptor.proto', 27 name='Type', 33 name='TYPE_DOUBLE', index=0, number=1, 37 name='TYPE_FLOAT', index=1, number=2, 41 name='TYPE_INT64', index=2, number=3, 45 name='TYPE_UINT64', index=3, number=4, 49 name='TYPE_INT32', index=4, number=5, 53 name='TYPE_FIXED64', index=5, number=6, 57 name='TYPE_FIXED32', index=6, number=7, 61 name='TYPE_BOOL', index=7, number=8, [all …]
|
/tools/tradefederation/core/atest/ |
D | TEST_MAPPING | 6 "name": "HelloWorldTests" 9 "name": "hello_world_test", 13 "name": "CtsApacheHttpLegacy27ApiSignatureTestCases" 16 "name": "ziparchive-tests" 19 "name": "CtsDpiTestCases", 27 "name": "CtsSampleHostTestCases" 33 "name": "atest_unittests", 38 "name": "asuite_metrics_lib_tests", 43 "name": "asuite_metrics_lib_py3_tests", 48 "name": "asuite_cc_lib_tests", [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/loggers/protos/ |
D | bluetooth_metric_pb2.py | 19 name='bluetooth_metric.proto', 29 name='BluetoothA2dpCodec', 35 name='SBC', index=0, number=0, 39 name='AAC', index=1, number=1, 43 name='APTX', index=2, number=2, 47 name='APTX_HD', index=3, number=3, 51 name='LDAC', index=4, number=4, 63 name='AudioProfile', 69 name='A2DP', index=0, number=0, 73 name='HFP', index=1, number=1, [all …]
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/ |
D | ProcessModelFragment.kt | 22 class ProcessModelFragment(id: Int, var name: String? = null, in <lambda>() variable 48 fun threadFor(pid: Int, name: String? = null): ThreadModelFragment { in <lambda>() 51 thread = ThreadModelFragment(pid, this, name) in <lambda>() 54 thread.hint(name = name) in <lambda>() 59 fun addCounterSample(name: String, timestamp: Double, value: Long) { in <lambda>() 60 _counters.getOrPut(name, { CounterFragment(name) }).events.add(timestamp hasCount value) in <lambda>() 68 hint(name = other.name) in <lambda>() 83 fun hint(id: Int = InvalidId, name: String? = null) { in <lambda>() 85 if (this.name == null) this.name = name in <lambda>()
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/loggers/protos/ |
D | telephony_metric_pb2.py | 19 name='telephony_metric.proto', 28 name='CallResult', 34 name='UNAVAILABLE_NETWORK_TYPE', index=0, number=-2, 38 name='CALL_SETUP_FAILURE', index=1, number=-1, 42 name='SUCCESS', index=2, number=0, 46 name='INITIATE_FAILED', index=3, number=1, 50 name='NO_RING_EVENT_OR_ANSWER_FAILED', index=4, number=2, 54 name='NO_CALL_ID_FOUND', index=5, number=3, 58 name='CALL_STATE_NOT_ACTIVE_DURING_ESTABLISHMENT', index=6, number=4, 62 name='AUDIO_STATE_NOT_INCALL_DURING_ESTABLISHMENT', index=7, number=5, [all …]
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_proto_utils_test_data.txt | 2 name: 'TestName1' 5 name: "NestedA" 9 name: "NestedB" 13 name: "NestedA" 19 name: 'TestName2' 22 name: "NestedB" 26 name: "NestedA" 30 name: "NestedB"
|
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
D | ArgsOptionParser.java | 225 String name = arg.replaceFirst("^" + OPTION_NAME_PREFIX, ""); in parseLongOption() local 230 final int equalsIndex = name.indexOf('='); in parseLongOption() 232 value = name.substring(equalsIndex + 1); in parseLongOption() 233 name = name.substring(0, equalsIndex); in parseLongOption() 237 if (isBooleanOption(name)) { in parseLongOption() 238 int idx = name.indexOf(NAMESPACE_SEPARATOR); in parseLongOption() 239 value = name.startsWith(BOOL_FALSE_PREFIX, idx + 1) ? "false" : "true"; in parseLongOption() 240 } else if (isMapOption(name)) { in parseLongOption() 241 key = grabNextValue(args, name, "for its key"); in parseLongOption() 242 value = grabNextValue(args, name, "for its value"); in parseLongOption() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterOptions.java | 46 @Option(name = "service-url", description = "the base url of the tradefed cluster REST API") 51 name = "service-account-keyfile", 60 @Option(name = "cluster", description = "the cluster id for this TF instance", mandatory = true) 64 name = "next-cluster", 72 @Option(name = "run-target-format", description = "the format for labelling run targets.") 75 @Option(name = "disable-device-monitor", description = "disable Cluster device reporting") 79 name = "device-monitor-interval", 85 name = "device-group", 92 name = "device-tag", 99 name = "check-flashing-permits-on-lease", [all …]
|
/tools/tradefederation/core/tests/res/testdata/ |
D | test_mapping_golden2 | 4 "name": "test1", 8 "name": "suite/stub1" 11 "name": "suite/stub2", 17 "name": "test2", 25 "name": "instrument", 28 "run-name": "some-name" 35 "name": "test3",
|
D | test_mapping_1 | 4 "name": "test1", 8 "name": "suite/stub1", 16 "name": "suite/stub2", 22 "name": "test2", 30 "name": "instrument", 33 "run-name": "some-name" 40 "name": "test3",
|
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/hostmetric/ |
D | IHostMonitor.java | 43 public String name; field in IHostMonitor.HostDataPoint 47 public HostDataPoint(String name, int value) { in HostDataPoint() argument 48 this.name = name; in HostDataPoint() 52 public HostDataPoint(String name, int value, String additionalInfo) { in HostDataPoint() argument 53 this.name = name; in HostDataPoint() 60 return "dataPoint [name=" + name + ", value=" + value + "]"; in toString()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | ZipField.java | 61 private final String name; field in ZipField 93 ZipField(int offset, int size, @Nonnull String name, ZipFieldInvariant... invariants) { in ZipField() argument 97 this.name = name; in ZipField() 112 ZipField(int offset, int size, long expected, @Nonnull String name) { in ZipField() argument 116 this.name = name; in ZipField() 133 throw new IOException("Value " + value + " of field " + name + " is invalid " in checkVerifiesInvariants() 148 throw new IOException("Cannot skip field " + name + " because only " in skip() 165 throw new IOException("Cannot skip field " + name + " because only " in read() 243 name, in verify() 322 F2(int offset, @Nonnull String name, ZipFieldInvariant... invariants) { in F2() argument [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DumpsysPackageReceiver.java | 71 String name = matcher.group(1); in parse() local 72 return new PackageParserState(name); in parse() 93 public PackageParserState(String name) { in PackageParserState() argument 94 mPkgInfo = new PackageInfo(name); in PackageParserState() 95 addPackage(name, mPkgInfo); in PackageParserState() 106 String name = matcher.group(1); in parse() local 107 return new PackageParserState(name); in parse() 149 String name = matcher.group(1); in parse() local 150 return new HiddenPackageParserState(name); in parse() 167 public HiddenPackageParserState(String name) throws ParseException { in HiddenPackageParserState() argument [all …]
|
/tools/test/connectivity/acts/tests/google/net/ |
D | LegacyVpnTest.py | 85 vpn, self.vpn_server_addresses[vpn.name][0], 88 vpn_addr = self.vpn_verify_addresses[vpn.name][0] 99 vpn, self.vpn_server_addresses[vpn.name][2], 102 vpn_addr = self.vpn_verify_addresses[vpn.name][2] 113 vpn, self.vpn_server_addresses[vpn.name][2], 116 vpn_addr = self.vpn_verify_addresses[vpn.name][2] 127 vpn, self.vpn_server_addresses[vpn.name][2], 130 vpn_addr = self.vpn_verify_addresses[vpn.name][2] 141 vpn, self.vpn_server_addresses[vpn.name][2], 144 vpn_addr = self.vpn_verify_addresses[vpn.name][2] [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiClass.java | 49 public ApiClass(String name, int version, boolean deprecated) { in ApiClass() argument 50 super(name, version, deprecated); in ApiClass() 53 public void addField(String name, int version, boolean deprecated) { in addField() argument 54 addToMap(mFields, name, version, deprecated); in addField() 57 public void addMethod(String name, int version, boolean deprecated) { in addMethod() argument 59 if (name.endsWith(")Ljava/lang/AbstractStringBuilder;")) { in addMethod() 60 …name = name.substring(0, name.length() - ")Ljava/lang/AbstractStringBuilder;".length()) + ")L" + g… in addMethod() 62 addToMap(mMethods, name, version, deprecated); in addMethod() 110 …private void addToMap(Map<String, ApiElement> elements, String name, int version, boolean deprecat… in addToMap() argument 111 ApiElement element = elements.get(name); in addToMap() [all …]
|
/tools/tradefederation/contrib/src/com/android/regression/tests/ |
D | Metrics.java | 76 public void addRunMetric(String name, String value) { in addRunMetric() argument 78 mRunMetrics.put(name, Double.parseDouble(value)); in addRunMetric() 81 CLog.w(String.format("Run metric \"%s\" is not a number: \"%s\"", name, value)); in addRunMetric() 92 public void addTestMetric(TestDescription testId, String name, String value) { in addTestMetric() argument 93 Pair<TestDescription, String> metricId = new Pair<>(testId, name); in addTestMetric() 100 "Test %s metric \"%s\" is not a number: \"%s\"", testId, name, value)); in addTestMetric() 112 for (String name : mRunMetrics.keySet()) { in validate() 113 if (mRunMetrics.get(name).size() < mNumRuns) { in validate() 117 name, mNumRuns, mRunMetrics.get(name).size())); in validate() 145 for (String name : mRunMetrics.keySet()) { in crossValidate() [all …]
|