Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 179) sorted by relevance

12345678

/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItem.kt257 private fun substituteTypeParameters(s: String, context: Item?): String { in markRecent()
259 var end = s.indexOf('[') in markRecent()
261 end = s.length in markRecent()
263 if (s[0].isUpperCase() && s.lastIndexOf('.', end) == -1) { in markRecent()
264 val v = s.substring(0, end) in markRecent()
269 return bounds.first().toTypeString() + s.substring(end) in markRecent()
273 return JAVA_LANG_OBJECT + s.substring(end) in markRecent()
279 return s in markRecent()
282 fun eraseTypeArguments(s: String): String { in markRecent()
283 val index = s.indexOf('<') in markRecent()
[all …]
DTextTypeParameterItem.kt86 val s = typeString ?: return emptyList() in bounds() constant
87 val index = s.indexOf("extends ") in bounds()
93 if (p.simpleName() == s) { in bounds()
103 val length = s.length in bounds()
105 val c = s[i] in bounds()
125 private fun add(list: MutableList<String>, s: String, from: Int, to: Int) { in add()
127 if (!Character.isWhitespace(s[i])) { in add()
129 while (end > i && s[end - 1].isWhitespace()) { in add()
133 while (begin < end && s[begin].isWhitespace()) { in add()
139 val element = s.substring(begin, end) in add()
DTextTypeParameterList.kt62 val s = typeString ?: return emptyList() in typeParameterStrings() constant
67 for (i in s.indices) { in typeParameterStrings()
68 val c = s[i] in typeParameterStrings()
75 add(list, s, start, i + 1) in typeParameterStrings()
78 add(list, s, start, i) in typeParameterStrings()
83 add(list, s, start, i) in typeParameterStrings()
96 private fun add(list: MutableList<String>, s: String, from: Int, to: Int) { in add()
98 if (!Character.isWhitespace(s[i])) { in add()
99 list.add(s.substring(i, to)) in add()
DTextCodebase.kt137 val s = existing ?: JAVA_LANG_OBJECT in resolveSuperclasses() constant
138s // unnecessary variable, works around current compiler believing the expression to be nullable in resolveSuperclasses()
438 private fun implicitJavaLangType(s: String): Boolean { in implicitJavaLangType()
439 if (s.length <= 1) { in implicitJavaLangType()
442 if (s[1] == '[') { in implicitJavaLangType()
446 val dotIndex = s.indexOf('.') in implicitJavaLangType()
447 val array = s.indexOf('[') in implicitJavaLangType()
448 val generics = s.indexOf('<') in implicitJavaLangType()
450 return dotIndex == -1 && !TextTypeItem.isPrimitive(s) in implicitJavaLangType()
464 …return (dotIndex == -1 || dotIndex > typeEnd) && !TextTypeItem.isPrimitive(s.substring(0, typeEnd)… in implicitJavaLangType()
/tools/dexter/testdata/expected/
Dexit_hooks.code_coverage1 1: mi=0 s=0 e=2
2 2: mi=0 s=5 e=5
3 3: mi=1 s=0 e=1
4 4: mi=1 s=3 e=3
5 5: mi=1 s=5 e=5
6 6: mi=1 s=8 e=8
7 7: mi=1 s=11 e=11
8 8: mi=1 s=13 e=13
9 9: mi=1 s=15 e=15
10 10: mi=1 s=18 e=18
[all …]
Dhello_nodebug.code_coverage1 1: mi=0 s=0 e=4
2 2: mi=0 s=6 e=7
3 3: mi=0 s=10 e=10
4 4: mi=1 s=0 e=2
5 5: mi=1 s=5 e=5
6 6: mi=2 s=0 e=2
7 7: mi=2 s=5 e=5
8 8: mi=3 s=0 e=2
9 9: mi=3 s=5 e=5
10 10: mi=3 s=7 e=7
[all …]
Dhello.code_coverage1 1: mi=0 s=0 e=4
2 2: mi=0 s=6 e=7
3 3: mi=0 s=10 e=10
4 4: mi=1 s=0 e=2
5 5: mi=1 s=5 e=5
6 6: mi=2 s=0 e=2
7 7: mi=2 s=5 e=5
8 8: mi=3 s=0 e=2
9 9: mi=3 s=5 e=5
10 10: mi=3 s=7 e=7
[all …]
Dinvoke-polymorphic.code_coverage1 1: mi=0 s=0 e=0
2 2: mi=0 s=3 e=4
3 3: mi=0 s=7 e=8
4 4: mi=1 s=0 e=0
5 5: mi=1 s=3 e=4
6 6: mi=1 s=7 e=8
7 7: mi=2 s=0 e=0
8 8: mi=2 s=2 e=7
9 9: mi=2 s=10 e=10
10 10: mi=2 s=13 e=14
[all …]
Dentry_hooks.code_coverage1 1: mi=0 s=0 e=2
2 2: mi=0 s=5 e=5
3 3: mi=1 s=0 e=3
4 4: mi=1 s=5 e=5
5 5: mi=1 s=7 e=8
6 6: mi=1 s=10 e=15
7 7: mi=1 s=18 e=19
8 8: mi=1 s=21 e=26
9 9: mi=1 s=28 e=28
10 10: mi=1 s=31 e=34
[all …]
Dtry_catch.code_coverage1 1: mi=0 s=0 e=2
2 2: mi=0 s=5 e=5
3 3: mi=1 s=0 e=2
4 4: mi=1 s=5 e=5
5 5: mi=2 s=0 e=2
6 6: mi=2 s=5 e=5
7 7: mi=3 s=0 e=2
8 8: mi=3 s=4 e=5
9 9: mi=3 s=8 e=9
10 10: mi=3 s=10 e=10
[all …]
Dmi.code_coverage1 1: mi=0 s=0 e=0
2 2: mi=0 s=3 e=3
3 3: mi=1 s=0 e=1
4 4: mi=3 s=0 e=0
5 5: mi=3 s=3 e=3
6 6: mi=3 s=5 e=5
7 7: mi=3 s=7 e=7
8 8: mi=4 s=0 e=0
9 9: mi=4 s=2 e=2
10 10: mi=4 s=5 e=6
[all …]
/tools/test/connectivity/acts/framework/tests/
Dacts_records_test.py84 s = signals.TestPass(self.details, self.float_extra)
85 record.test_pass(s)
95 s = signals.TestPass(self.details, self.json_extra)
96 record.test_pass(s)
116 s = signals.TestFailure(self.details, self.float_extra)
117 record.test_fail(s)
127 s = signals.TestFailure(self.details, self.json_extra)
128 record.test_fail(s)
148 s = signals.TestSkip(self.details, self.float_extra)
149 record.test_skip(s)
[all …]
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestation.java149 StringBuilder s = new StringBuilder(); in toString() local
150 s.append("Attestation version: " + attestationVersion); in toString()
151 s.append("\nAttestation security: " + securityLevelToString(attestationSecurityLevel)); in toString()
152 s.append("\nKM version: " + keymasterVersion); in toString()
153 s.append("\nKM security: " + securityLevelToString(keymasterSecurityLevel)); in toString()
155 s.append("\nChallenge"); in toString()
158 s.append(": [" + stringChallenge + "]"); in toString()
160 s.append(" (base64): [" + BaseEncoding.base64().encode(attestationChallenge) + "]"); in toString()
163 s.append("\nUnique ID (base64): [" + BaseEncoding.base64().encode(uniqueId) + "]"); in toString()
166 s.append("\n\n-- SW enforced --"); in toString()
[all …]
DAuthorizationList.java517 StringBuilder s = new StringBuilder(); in toString() local
520 s.append("\nAlgorithm: ").append(algorithmToString(algorithm)); in toString()
524 s.append("\nKeySize: ").append(keySize); in toString()
528 s.append("\nPurposes: ").append(purposesToString(purposes)); in toString()
532 s.append("\nDigests: ").append(digestsToString(digests)); in toString()
536 s.append("\nPadding modes: ").append(paddingModesToString(paddingModes)); in toString()
540 s.append("\nEC Curve: ").append(ecCurveAsString()); in toString()
545 s.append(label).append(rsaPublicExponent); in toString()
549 s.append("\nActive: ").append(formatDate(activeDateTime)); in toString()
553 s.append("\nOrigination expire: ").append(formatDate(originationExpireDateTime)); in toString()
[all …]
/tools/test/connectivity/acts/framework/tests/controllers/data/
Dsample_monsoon_data1 0s 3.67
2 1s 3.69
3 2s 0.95
4 3s 3.06
5 4s 2.17
6 5s 1.62
7 6s 3.95
8 7s 2.47
9 8s 1.11
10 9s 0.47
/tools/treble/hacksaw/bind/
Dremoteserver.go23 var s Server
24 s.priv = binder
25 return &s
40 func (s Server) BindReadOnly(args *BindReadOnlyArgs, reply *BindReadOnlyReply) error {
41 if err := s.priv.BindReadOnly(args.Source, args.Destination); err != nil {
59 func (s Server) BindReadWrite(args *BindReadWriteArgs, reply *BindReadWriteReply) error {
60 if err := s.priv.BindReadWrite(args.Source, args.Destination); err != nil {
77 func (s Server) Unbind(args *UnbindArgs, reply *UnbindReply) error {
78 if err := s.priv.Unbind(args.Destination); err != nil {
95 func (s Server) List(args *ListArgs, reply *ListReply) error {
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/
Dcommand_input.py106 def str_to_bool(self, s): argument
107 if s.lower() == 'true':
109 elif s.lower() == 'false':
235 completions = [s for s in roles if s.startswith(text)]
257 s for s in sig_appearance_constants.keys()
258 if s.startswith(text)
275 completions = [s for s in options if s.startswith(text)]
301 completions = [s for s in options if s.startswith(text)]
495 completions = [s for s in self.le_ids if s.startswith(text)]
1386 s for s in gatt_test_database.GATT_SERVER_DB_MAPPING.keys()
[all …]
/tools/test/connectivity/acts/framework/tests/controllers/rohdeschwarz_lib/
Dcontest_test.py36 with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as s:
37 s.bind(('', 0))
38 s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
39 return s.getsockname()[1]
81 with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
82 s.connect((self.LOCAL_HOST_IP, automation_port))
83 s.sendall(b'AtTestcaseStart')
84 s.settimeout(1.0)
85 data = s.recv(1024)
/tools/test/connectivity/acts_tests/tests/google/bt/pts/
Dcmd_input.py417 s for s in gatt_test_database.GATT_SERVER_DB_MAPPING.keys()
418 if s.startswith(text)
428 s for s in gatt_server_responses.keys() if s.startswith(text)
439 s for s in gatt_server_responses.keys() if s.startswith(text)
450 s for s in gatt_server_responses.keys() if s.startswith(text)
563 completions = [s for s in options if s.startswith(text)]
572 completions = [s for s in options if s.startswith(text)]
580 completions = [s for s in str_adv_list if s.startswith(text)]
693 completions = [s for s in options if s.startswith(text)]
701 completions = [s for s in completions if s.startswith(text)]
/tools/loganalysis/src/com/android/loganalysis/util/
DNumberFormattingUtil.java52 public static long parseLongOrZero(String s) throws NumberFormatException { in parseLongOrZero() argument
53 if (s == null) { in parseLongOrZero()
56 return Long.parseLong(s); in parseLongOrZero()
67 public static int parseIntOrZero(String s) throws NumberFormatException { in parseIntOrZero() argument
68 if (s == null) { in parseIntOrZero()
71 return Integer.parseInt(s); in parseIntOrZero()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt87 var s = toTypeString(context = context) in <lambda>() variable
88 while (s.contains(JAVA_LANG_PREFIX)) { in <lambda>()
89 s = s.replace(JAVA_LANG_PREFIX, "") in <lambda>()
91 if (s.contains("...")) { in <lambda>()
92 s = s.replace("...", "[]") in <lambda>()
95 return s in <lambda>()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_ims_utils.py134 set to %s on sub_id %s", new_state, check_state, sub_id)
152 sub ID %s.", sub_id)
157 ID %s: %s", sub_id, current_state)
159 ID %s: %s", sub_id, new_state)
173 still set to %s on sub_id %s", new_state, check_state, sub_id)
229 still set to %s on sub_id %s", new_state, check_state, sub_id)
281 ID %s.", enabled_by, sub_id)
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_verify.txt12 --print-certs Show information about the APK's signing certificates
14 --print-certs-pem Show information about the APK's signing certificates and prints the PEM
19 --min-sdk-version Lowest API Level on which this APK's signatures will be
23 --max-sdk-version Highest API Level on which this APK's signatures will be
36 1. Check whether the APK's signatures are expected to verify on all Android
40 2. Check whether the APK's signatures are expected to verify on Android
/tools/asuite/aidegen/
DREADME.md5 configure an IntelliJ project, such as all the project dependencies. It's a
14 * Launch IDE for specified folder(s) which contains build targets, i.e. cts.
53 $ aidegen Settings framework -s
65 …e source directory: the relative path which is the directory shown in CLion’s project view. For ex…
74 | `-i` | `--ide` | Launch IDE type, j=IntelliJ s=Android Studio e=Eclipse c=CLion v=VS …
75 | `-p` | `--ide-path` | Specify user's IDE installed path. |
77 | `-r` | `--config-reset` | Reset all AIDEGen's saved configurations. |
78 | `-s` | `--skip-build` | Skip building jars or modules. |
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebase.kt717 … fun createReferenceFromText(s: String, parent: PsiElement? = null): PsiJavaCodeReferenceElement = in <lambda>()
718 getFactory().createReferenceFromText(s, parent) in <lambda>()
720 fun createPsiMethod(s: String, parent: PsiElement? = null): PsiMethod = in <lambda>()
721 getFactory().createMethodFromText(s, parent) in <lambda>()
723 fun createConstructor(s: String, parent: PsiElement? = null): PsiMethod = in <lambda>()
724 getFactory().createConstructor(s, parent) in <lambda>()
726 fun createPsiType(s: String, parent: PsiElement? = null): PsiType = in <lambda>()
727 getFactory().createTypeFromText(s, parent) in <lambda>()
729 fun createPsiAnnotation(s: String, parent: PsiElement? = null): PsiAnnotation = in <lambda>()
730 getFactory().createAnnotationFromText(s, parent) in <lambda>()
[all …]

12345678