/cts/tools/selinux/ |
D | SELinuxNeverallowTestGen.py | 4 import re 33 remaining = re.sub( 37 flags = re.M) 39 remaining = re.sub(r'#.+?$', r'', remaining, flags = re.M) 41 lines = re.findall( 44 flags = re.M |re.S)
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskCase.cpp | 111 typename std::map<android::String8, T>& map, const char* re) in findAllGeneric() argument 114 if (regcomp(®ex, re, REG_EXTENDED | REG_NOSUB) != 0) { in findAllGeneric() 167 std::list<TaskCase::BufferPair>* TaskCase::findAllBuffers(const android::String8& re) in findAllBuffers() argument 170 if (!translateVarName(re, translated)) { in findAllBuffers() 205 std::list<TaskCase::ValuePair>* TaskCase::findAllValues(const android::String8& re) in findAllValues() argument 208 if (!translateVarName(re, translated)) { in findAllValues() 229 std::list<TaskCase::IndexPair>* TaskCase::findAllIndices(const android::String8& re) in findAllIndices() argument 232 if (!translateVarName(re, translated)) { in findAllIndices() 243 regex_t re; in translateVarName() local 246 if (regcomp(&re, "[a-z0-9_]*[$]([a-z0-9]+)[_]*", REG_EXTENDED) != 0) { in translateVarName() [all …]
|
/cts/suite/audio_quality/lib/src/ |
D | SimpleScriptExec.cpp | 48 regex_t re; in checkIfPassed() local 53 if (regcomp(&re, match.string(), cflags) != 0) { in checkIfPassed() 58 if (regexec(&re, str.string(), nmatch, pmatch, 0) == 0) { in checkIfPassed() 62 regfree(&re); in checkIfPassed()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | TestModule.java | 38 ReadElf re = ReadElf.read(mConfigExe); in getDynSymArr() local 39 re.getDynamicSymbol(""); in getDynSymArr() 40 mDynSymArr = re.getDynSymArr(); in getDynSymArr()
|
D | NdkApiXmlReport.java | 149 ReadElf re = ReadElf.read(ndkSo); in main() local 150 re.getDynamicSymbol(""); in main() 151 ReadElf.Symbol[] symArr = re.getDynSymArr(); in main()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CarModeInCallServiceTest.java | 283 } catch (RemoteException re) { in assertCarModeCallCount() 310 } catch (RemoteException re) { in verifyCarModeBound() 337 } catch (RemoteException re) { in verifyCarModeUnbound() 355 } catch (RemoteException re) { in enableAndVerifyCarMode() 369 } catch (RemoteException re) { in disableAndVerifyCarMode() 378 } catch (RemoteException re) { in disconnectAllCallsAndVerify()
|
D | ThirdPartyInCallServiceTest.java | 149 } catch (RemoteException re) { in assertBindStatus() 150 Log.e(TAG, "Remote exception when checking bind status: " + re); in assertBindStatus() 169 } catch (RemoteException re) { in assertCallCount() 170 Log.e(TAG, "Remote exception when getting local call count: " + re); in assertCallCount()
|
/cts/apps/CameraITS/tools/ |
D | turn_off_screen.py | 15 import re 38 screen_state = re.split(r'[s|=]', cmd_ret)[-1]
|
D | wake_up_screen.py | 15 import re 47 screen_state = re.split(r'[s|=]', cmd_ret)[-1]
|
D | run_sensor_fusion_box.py | 17 import re 33 SHIFT_RE = re.compile('^Best correlation of [0-9.]+ at shift of [-0-9.]+ms$') 35 SOCKET_FAIL_RE = re.compile(
|
D | load_scene.py | 16 import re 34 chart_distance = float(re.sub('cm', '', s[5:]))
|
D | validate_scene.py | 20 import re 41 scene_name = re.split("/|\.", out_path)[-2]
|
D | hardware.py | 16 import re 205 tty_re = re.compile(r'ttyUSB\d+$') 253 inf_re = re.compile(r'\d+-\d+(\.\d+){0,}:(?P<cfg>\d+)\.(?P<inf>\d+)$') 315 file_re = re.compile(r'\d+-\d+(\.\d+){0,}$')
|
D | run_all_tests.py | 19 import re 268 chart_distance = float(re.sub('cm', '', s[5:])) 333 match = re.search('targetSdk=([0-9]+)', line) 337 match = re.search('versionName=([\S]+)$', line)
|
/cts/tests/tests/bionic_app/ |
D | README.md | 3 These aren't the bionic tests. They're in cts/tests/tests/bionic/ (or, if 4 you're looking for the actual gtests rather than the CTS boilerplate, in
|
/cts/suite/audio_quality/test_description/conf/ |
D | detect_usb_audio.py | 20 import os, re, sys 37 m = re.search("card(\d+)$", sound_dev)
|
/cts/suite/audio_quality/lib/include/task/ |
D | TaskCase.h | 50 std::list<BufferPair>* findAllBuffers(const android::String8& re); 111 std::list<ValuePair>* findAllValues(const android::String8& re); 118 std::list<IndexPair>* findAllIndices(const android::String8& re);
|
/cts/tools/utils/cts/ |
D | tools.py | 19 import re 173 exp = re.compile(pattern) 188 exp = re.compile(pattern)
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ReadElf.java | 176 ReadElf re = new ReadElf(new File(arg)); in main() local 177 re.getSymbol("x"); in main() 178 re.getDynamicSymbol("x"); in main() 179 re.close(); in main()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | ReadElf.java | 176 ReadElf re = new ReadElf(new File(arg)); in main() local 177 re.getSymbol("x"); in main() 178 re.getDynamicSymbol("x"); in main() 179 re.close(); in main()
|
/cts/tools/cts-media/ |
D | get_achievable_rates.py | 17 import argparse, json, math, re, sys, zipfile 33 for p in re.split('(\d+)', v.lower()): 71 for k, v in re.findall(r'([^ =]+)=([^ [=]+(?:|\[[^\]]+\]))(?:, |$)', value)) 327 if re.search(r'/GenericDeviceInfo.deviceinfo.json$', info.filename): 329 elif re.search(r'/Cts(Media|Video)TestCases\.reportlog\.json$', info.filename):
|
/cts/tools/utils/ |
D | buildCts.py | 21 import re 61 pattern = re.compile(r'^\s*([^:#=\s]+)\s*:=\s*(.*?[^\\])$', re.MULTILINE + re.DOTALL)
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/opc_throw/ |
D | Test_opc_throw.java | 38 } catch (RuntimeException re) { in testN1()
|
/cts/suite/cts/utils/ |
D | get_csv_report.py | 18 import re 106 m = re.search(r'.*;/data\s+([\w\.]+)\s+([\w\.]+)\s+([\w\.]+)\s+([\w\.]+);', partitions)
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringBuilderSpanTest.java | 85 for (int re = rs; re < replPositionSet.size(); re++) { in replace() 89 replPositionSet.getPosition(rs), replPositionSet.getPosition(re)); in replace()
|