Home
last modified time | relevance | path

Searched refs:char (Results 1 – 22 of 22) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
D_anritsu_utils.py187 for char in text:
188 if char in table:
189 coded_str += table[char]
191 coded_str += char
202 for char in table:
203 if char in text:
204 coded_str = coded_str.replace(char, table[char])
215 for char in text:
216 if char in table:
217 coded_str += table[char]
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dgatts_lib.py201 def _setup_characteristic(self, char): argument
204 char['uuid'], char['properties'], char['permissions'])
205 if 'instance_id' in char:
207 characteristic, char['instance_id'])
210 if set_id != char['instance_id']:
213 format(set_id, char['instance_id']))
214 if 'value_type' in char:
215 value_type = char['value_type']
216 value = char['value']
228 characteristic, value, value_type, char['offset'])))
[all …]
/tools/asuite/atest/test_finders/
Dtest_filter_utils.py347 for char in string:
348 if char in brackets:
349 stack.append(char)
350 elif char in brackets.values():
351 if not stack or brackets[stack.pop()] != char:
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DBufferReader.kt41 inline fun skipChar(char: Byte) { in isDigit()
42 while (index < endIndexExclusive && buffer[index] == char) { index++ } in isDigit()
45 inline fun skipSingle(char: Byte) { in isDigit()
46 if (peek() == char) skip() in isDigit()
/tools/test/connectivity/acts_tests/tests/google/net/arduino/connect_wifi/
Dconnect_wifi.ino5 const char* ssid = "wifi_tethering_test";
6 const char* password = "password";
9 char packetBuffer[UDP_TX_PACKET_MAX_SIZE];
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/
Dcommand_input.py680 for char in chars['result']:
681 char_id = char['id']
682 char_uuid = char['uuid_type']
714 for char in chars['result']:
715 char_id = char['id']
716 char_uuid = char['uuid_type']
753 for char in chars['result']:
754 char_id = char['id']
755 char_uuid = char['uuid_type']
756 descriptors = char['descriptors']
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/
Dsain_smart_board.py105 for index, char in enumerate(status_string):
107 RelayState.NC if char == '1' else RelayState.NO)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/
Dbluetooth_device.py1348 for char in chars['result']:
1349 char_id = char['id']
1351 char_id = char['uuid_type']
1354 descriptors = char['descriptors']
1378 for char in chars['result']:
1379 char_id = char['id']
1380 char_uuid = char['uuid_type']
1412 for char in chars['result']:
1413 char_id = char['id']
1414 char_uuid = char['uuid_type']
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/
Drelay_tool.py99 for index, char in enumerate(line):
100 if char != ' ':
/tools/metalava/metalava-model-text/src/test/resources/
Dmodel-test-suite-baseline.txt2 annotation toSource() with char values
/tools/test/connectivity/acts_tests/tests/google/cellular/performance/
DCellularLteFr1EndcSensitivityTest.py190 for char in special_chars:
191 endc_combo_str = endc_combo_str.replace(char, '_')
DCellularLtePlusFr1PeakThroughputTest.py277 for char in special_chars:
278 endc_combo_str = endc_combo_str.replace(char, '_')
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonTypeItemTest.kt157 val char = (charArray as ArrayTypeItem).componentType in Test primitive array types() constant
158 assertThat(char).isInstanceOf(PrimitiveTypeItem::class.java) in Test primitive array types()
159 assertThat((char as PrimitiveTypeItem).kind).isEqualTo(PrimitiveTypeItem.Primitive.CHAR) in Test primitive array types()
267 val char = charArray.componentType in Test multidimensional primitive array types() constant
268 assertThat(char).isInstanceOf(PrimitiveTypeItem::class.java) in Test multidimensional primitive array types()
269 assertThat((char as PrimitiveTypeItem).kind).isEqualTo(PrimitiveTypeItem.Primitive.CHAR) in Test multidimensional primitive array types()
/tools/repohooks/tools/
Dcpplint.py2011 char = line[i]
2012 if char in '([{':
2014 stack.append(char)
2015 elif char == '<':
2029 elif char in ')]}':
2038 if ((stack[-1] == '(' and char == ')') or
2039 (stack[-1] == '[' and char == ']') or
2040 (stack[-1] == '{' and char == '}')):
2047 elif char == '>':
2062 elif char == ';':
[all …]
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/annotationitem/
DCommonAnnotationItemTest.kt145 fun `annotation with char values`() { in annotation with char values()
717 fun `annotation toSource() with char values`() { in annotation toSource() with char values()
/tools/asuite/atest/
Datest_utils.py950 def delimiter(char, length=_DEFAULT_TERMINAL_WIDTH, prenl=0, postnl=0): argument
962 return prenl * '\n' + char * length + postnl * '\n'
1249 return any(char in test_name for char in _WILDCARD_CHARS)
1296 for char in chars:
1297 if char in input_str:
/tools/netsim/rust/common/src/util/
Dini_file.rs137 .map(char::from) in get_temp_ini_filepath()
/tools/dexter/testdata/expected/
Dmethod_handles.compact_cfg204 method com.code_intelligence.jazzer.api.FuzzedDataProvider.consumeChar():char
208 method com.code_intelligence.jazzer.api.FuzzedDataProvider.consumeChar(char, char):char
212 method com.code_intelligence.jazzer.api.FuzzedDataProvider.consumeCharNoSurrogates():char
317 method com.code_intelligence.jazzer.api.FuzzedDataProvider.pickValue(char[]):char
329 8| aget-char v0, v3, v0
3390 method com.code_intelligence.jazzer.api.CannedFuzzedDataProvider.consumeChar():char
3400 8| invoke-virtual {v0}, java.lang.Character.charValue():char
3406 method com.code_intelligence.jazzer.api.CannedFuzzedDataProvider.consumeChar(char, char):char
3417 8| invoke-virtual {v0}, java.lang.Character.charValue():char
3423 method com.code_intelligence.jazzer.api.CannedFuzzedDataProvider.consumeCharNoSurrogates():char
[all …]
Dmethod_handles.verbose_cfg238 method com.code_intelligence.jazzer.api.FuzzedDataProvider.consumeChar():char
242 method com.code_intelligence.jazzer.api.FuzzedDataProvider.consumeChar(char, char):char
246 method com.code_intelligence.jazzer.api.FuzzedDataProvider.consumeCharNoSurrogates():char
357 method com.code_intelligence.jazzer.api.FuzzedDataProvider.pickValue(char[]):char
373 8| aget-char v0, v3, v0
4200 method com.code_intelligence.jazzer.api.CannedFuzzedDataProvider.consumeChar():char
4216 8| invoke-virtual {v0}, java.lang.Character.charValue():char
4224 method com.code_intelligence.jazzer.api.CannedFuzzedDataProvider.consumeChar(char, char):char
4241 8| invoke-virtual {v0}, java.lang.Character.charValue():char
4249 method com.code_intelligence.jazzer.api.CannedFuzzedDataProvider.consumeCharNoSurrogates():char
[all …]
Dmedium.compact_cfg1041 19| invoke-virtual {v0,v1}, java.lang.String.charAt(int):char
2321 34| invoke-virtual {v0,v1}, java.lang.StringBuilder.append(char):java.lang.StringBuilder
8046 21| invoke-virtual {v0,v4}, java.lang.StringBuilder.append(char):java.lang.StringBuilder
8082 48| invoke-virtual {v0,v4}, java.lang.StringBuilder.append(char):java.lang.StringBuilder
8122 79| invoke-virtual {v0,v4}, java.lang.StringBuilder.append(char):java.lang.StringBuilder
25865 method com.android.calendar.AsyncQueryService$Operation.opToChar(int):char
26575 24| invoke-static {v1}, com.android.calendar.AsyncQueryService$Operation.opToChar(int):char
26577 28| invoke-virtual {v0,v1}, java.lang.StringBuilder.append(char):java.lang.StringBuilder
48115 28| invoke-virtual {v5,v2,v3}, java.lang.String.replace(char, char):java.lang.String
49342 …66| invoke-virtual {v2,v3}, android.text.SpannableStringBuilder.append(char):android.text.Spannabl…
[all …]
/tools/test/connectivity/acts/framework/tests/
Dacts_relay_controller_test.py281 for index, char in enumerate(status_16_chars):
283 index] = RelayState.NC if char == '1' else RelayState.NO
/tools/metalava/metalava-model-text/src/test/resources/com/android/tools/metalava/model/text/core/api/
D1.12.0-beta01.txt2169 method public char charAt(int);
2204 method public boolean isRtl(char[]!, int, int);
2634 method public static void setAlphabeticShortcut(android.view.MenuItem, char, int);
2638 method public static void setNumericShortcut(android.view.MenuItem, char, int);
2640 method public static void setShortcut(android.view.MenuItem, char, char, int, int);