Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 957) sorted by relevance

12345678910>>...39

/tools/metalava/src/main/java/com/android/tools/metalava/
DApiLint.kt414 val name = if (method.isKotlin() && method.name().contains("-")) { in <lambda>() constant
418 method.name().substringBefore("-") in <lambda>()
420 method.name() in <lambda>()
422 val first = name[0] in <lambda>()
425 …n 'a'..'z' -> report(START_WITH_LOWER, method, "Method name must start with lowercase char: $name") in <lambda>()
426 hasAcronyms(name) -> { in <lambda>()
429 …"Acronyms should not be capitalized in method names: was `$name`, should this be `${decapitalizeAc… in <lambda>()
463 val name = cls.simpleName() in <lambda>() constant
464 val first = name[0] in <lambda>()
469 "Class must start with uppercase char: $name" in <lambda>()
[all …]
DAnnotationsMerger.kt192 if (entry.name.endsWith(".xml")) { in mergeFromJar()
539 val name = existing.qualifiedName() ?: continue in hasNullnessConflicts() constant
540 if (isNonNull(name)) { in hasNullnessConflicts()
543 if (isNullable(name)) { in hasNullnessConflicts()
546 if (name == qualifiedName) { in hasNullnessConflicts()
565 val name = annotationElement.getAttribute(ATTR_NAME) in createAnnotation() constant
566 assert(name != null && name.isNotEmpty()) in createAnnotation()
568 name == "org.jetbrains.annotations.Range" -> { in createAnnotation()
595 name == IDEA_MAGIC -> { in createAnnotation()
629 … val fieldItem = codebase.findClass(clsName)?.findField(field.name) in createAnnotation()
[all …]
DApiAnalyzer.kt343 val name = method.name() in <lambda>() constant
344 val list = interfaceNames[name] ?: run { in <lambda>()
346 interfaceNames[name] = list in <lambda>()
360 val name = method.name() in <lambda>() constant
361 val list = interfaceNames[name] ?: run { in <lambda>()
363 interfaceNames[name] = list in <lambda>()
399 val name = method.name() in <lambda>() constant
400 val list = interfaceNames[name] ?: run { in <lambda>()
402 interfaceNames[name] = list in <lambda>()
419 val name = method.name() in <lambda>() constant
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/google/protobuf/
Ddescriptor_pb2.py18 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/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/
Dapollo_qa_pb2.py21 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 …]
Dnanopb_pb2.py21 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/test/connectivity/acts/framework/acts/test_utils/bt/loggers/protos/
Dbluetooth_metric_pb2.py19 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/test/openhst/
Dstress_test.py172 def __init__(self, name, process_name, regexes): argument
182 self.name = name
196 logging.info("Event '%s' detected on %s", self.name,
199 def __init__(self, name, command, output, events, argument
217 self.name = name
228 self.events.append(ProcessLogger.EventScanner(event.name, self.name,
243 event_map[event.name] = event.count
358 self.name = None
367 self.worker.name = self.name
379 self.name = "%s_%s" % (self.device_type, self.serial_number)
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DFakeTestTest.java148 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/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java55 @Option(name = "airplane-mode",
63 @Option(name = "data", description = "Turn mobile data on or off")
70 @Option(name = "cell", description = "Turn cellular radio on or off")
75 @Option(name = "cell-auto-setting", description = "Turn wear cellular mediator on or off")
80 @Option(name = "wifi", description = "Turn wifi on or off")
87 @Option(name = "wifi-network",
92 @Option(name = "wifi-psk",
96 @Option(name = "wifi-ssid-to-psk", description = "A map of wifi SSIDs to passwords.")
99 @Option(name = "wifi-watchdog",
105 @Option(name = "disable-cw-wifi-mediator", description = "Turn wifi mediator on or off")
[all …]
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationFactory.java81 public String name = null; field in ConfigurationFactory.ConfigId
94 public ConfigId(String name) { in ConfigId() argument
95 this(name, null); in ConfigId()
101 public ConfigId(String name, Map<String, String> templateMap) { in ConfigId() argument
102 this.name = name; in ConfigId()
113 return 2 * ((name == null) ? 0 : name.hashCode()) + 3 * templateMap.hashCode(); in hashCode()
135 return matches(name, otherConf.name) && matches(templateMap, otherConf.templateMap); in equals()
226 File getTestCaseConfigPath(String name) { in getTestCaseConfigPath() argument
227 String[] possibleConfigFileNames = {name}; in getTestCaseConfigPath()
228 if (Strings.isNullOrEmpty(FileUtil.getExtension(name))) { in getTestCaseConfigPath()
[all …]
DOptionSetter.java259 void addField(String name, Object source, Field field) throws ConfigurationException { in addField() argument
268 name, source.getClass().getName(), in addField()
275 name, source.getClass().getName())); in addField()
330 private OptionFieldsForName fieldsForArg(String name) throws ConfigurationException { in fieldsForArg() argument
331 OptionFieldsForName fields = fieldsForArgNoThrow(name); in fieldsForArg()
334 String.format("Could not find option with name '%s'", name)); in fieldsForArg()
339 OptionFieldsForName fieldsForArgNoThrow(String name) throws ConfigurationException { in fieldsForArgNoThrow() argument
340 OptionFieldsForName fields = mOptionMap.get(name); in fieldsForArgNoThrow()
354 public String getTypeForOption(String name) throws ConfigurationException { in getTypeForOption() argument
355 return fieldsForArg(name).getFirstField().getType().getSimpleName().toLowerCase(); in getTypeForOption()
[all …]
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DTestDeviceOptions.java54 @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/asuite/atest/tools/tradefederation/core/proto/
Dtest_record_pb2.py23 name='tools/tradefederation/core/proto/test_record.proto',
32 name='TestStatus',
38 name='UNKNOWN', index=0, number=0,
42 name='PASS', index=1, number=1,
46 name='FAIL', index=2, number=2,
50 name='IGNORED', index=3, number=3,
54 name='ASSUMPTION_FAILURE', index=4, number=4,
67 name='FailureStatus',
73 name='UNSET', index=0, number=0,
77 name='TEST_FAILURE', index=1, number=1,
[all …]
/tools/tradefederation/core/atest/proto/
Dinternal_user_log_pb2.py21 name='proto/internal_user_log.proto',
33 name='AtestStartEvent',
40 name='command_line', full_name='AtestLogEventInternal.AtestStartEvent.command_line', index=0,
47name='test_references', full_name='AtestLogEventInternal.AtestStartEvent.test_references', index=1,
54 name='cwd', full_name='AtestLogEventInternal.AtestStartEvent.cwd', index=2,
61 name='os', full_name='AtestLogEventInternal.AtestStartEvent.os', index=3,
84 name='AtestExitEvent',
91 name='duration', full_name='AtestLogEventInternal.AtestExitEvent.duration', index=0,
98 name='exit_code', full_name='AtestLogEventInternal.AtestExitEvent.exit_code', index=1,
105 name='stacktrace', full_name='AtestLogEventInternal.AtestExitEvent.stacktrace', index=2,
[all …]
Dexternal_user_log_pb2.py21 name='proto/external_user_log.proto',
33 name='AtestStartEvent',
56 name='AtestExitEvent',
63 name='duration', full_name='AtestLogEventExternal.AtestExitEvent.duration', index=0,
70 name='exit_code', full_name='AtestLogEventExternal.AtestExitEvent.exit_code', index=1,
93 name='FindTestFinishEvent',
100 name='duration', full_name='AtestLogEventExternal.FindTestFinishEvent.duration', index=0,
107 name='success', full_name='AtestLogEventExternal.FindTestFinishEvent.success', index=1,
130 name='BuildFinishEvent',
137 name='duration', full_name='AtestLogEventExternal.BuildFinishEvent.duration', index=0,
[all …]
/tools/asuite/atest/proto/
Dinternal_user_log_pb2.py21 name='proto/internal_user_log.proto',
33 name='AtestStartEvent',
40 name='command_line', full_name='AtestLogEventInternal.AtestStartEvent.command_line', index=0,
47name='test_references', full_name='AtestLogEventInternal.AtestStartEvent.test_references', index=1,
54 name='cwd', full_name='AtestLogEventInternal.AtestStartEvent.cwd', index=2,
61 name='os', full_name='AtestLogEventInternal.AtestStartEvent.os', index=3,
84 name='AtestExitEvent',
91 name='duration', full_name='AtestLogEventInternal.AtestExitEvent.duration', index=0,
98 name='exit_code', full_name='AtestLogEventInternal.AtestExitEvent.exit_code', index=1,
105 name='stacktrace', full_name='AtestLogEventInternal.AtestExitEvent.stacktrace', index=2,
[all …]
Dexternal_user_log_pb2.py21 name='proto/external_user_log.proto',
33 name='AtestStartEvent',
56 name='AtestExitEvent',
63 name='duration', full_name='AtestLogEventExternal.AtestExitEvent.duration', index=0,
70 name='exit_code', full_name='AtestLogEventExternal.AtestExitEvent.exit_code', index=1,
93 name='FindTestFinishEvent',
100 name='duration', full_name='AtestLogEventExternal.FindTestFinishEvent.duration', index=0,
107 name='success', full_name='AtestLogEventExternal.FindTestFinishEvent.success', index=1,
130 name='BuildFinishEvent',
137 name='duration', full_name='AtestLogEventExternal.BuildFinishEvent.duration', index=0,
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DOptionSetterTest.java48 @Option(name = "my_option", shortName = 'o')
55 @Option(name = "my_option", shortName = 'o')
64 @Option(name = "my_option", shortName = 'o')
70 @Option(name = "string", shortName = 's')
73 @Option(name = "string", shortName = 's')
79 @Option(name = "string", shortName = 's')
82 @Option(name = "string", shortName = 's')
89 @Option(name = "string", shortName = 's')
92 @Option(name = "enum")
95 @Option(name = "string_collection")
[all …]
/tools/loganalysis/tests/src/com/android/loganalysis/util/config/
DOptionSetterTest.java36 @Option(name = "my_option", shortName = 'o')
43 @Option(name = "my_option", shortName = 'o')
52 @Option(name = "my_option", shortName = 'o')
58 @Option(name = "string", shortName = 's')
61 @Option(name = "string", shortName = 's')
68 @Option(name = "string", shortName = 's')
71 @Option(name = "enum")
74 @Option(name = "string_collection")
77 @Option(name = "enumMap")
81 @Option(name = "enumCollection")
[all …]
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatLfnDirectory.java129 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 …]
DShortName.java49 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 …]
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandOptions.java36 @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_tests/tests/google/net/
DLegacyVpnTest.py85 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/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstalledInstrumentationsTest.java62 @Option(name = "shell-timeout",
69 @Option(name = "test-timeout",
75 @Option(name = "size",
81 @Option(name = "runner",
86 @Option(name = "rerun",
91 @Option(name = "resume",
98 @Option(name = "send-coverage", description = "Send coverage target info to test listeners.")
101 @Option(name = "bugreport-on-failure", description = "Sets which failed testcase events " +
108 name = "bugreport-on-run-failure",
113 @Option(name = "screenshot-on-failure", description = "Take a screenshot on every test failure")
[all …]

12345678910>>...39