Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 54) sorted by relevance

123

/cts/tools/selinux/
DSELinuxNeverallowTestGen.py4 import re
38 remaining = re.sub(
42 flags = re.M)
44 remaining = re.sub(r'#.+?$', r'', remaining, flags = re.M)
46 lines = re.findall(
49 flags = re.M |re.S)
/cts/suite/audio_quality/lib/src/
DSimpleScriptExec.cpp48 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/
DTestModule.java38 ReadElf re = ReadElf.read(mConfigExe); in getDynSymArr() local
39 re.getDynamicSymbol(""); in getDynSymArr()
40 mDynSymArr = re.getDynSymArr(); in getDynSymArr()
DNdkApiXmlReport.java149 ReadElf re = ReadElf.read(ndkSo); in main() local
150 re.getDynamicSymbol(""); in main()
151 ReadElf.Symbol[] symArr = re.getDynSymArr(); in main()
/cts/suite/audio_quality/test_description/conf/
Ddetect_usb_audio.py20 import os, re, sys
37 m = re.search("card(\d+)$", sound_dev)
/cts/tests/tests/bionic_app/
DREADME.md3 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/tests/tests/telecom/src/android/telecom/cts/
DThirdPartyInCallServiceAppOpsPermissionTest.java138 } catch (RemoteException re) { in assertBindStatus()
139 Log.e(TAG, "Remote exception when checking bind status: " + re); in assertBindStatus()
158 } catch (RemoteException re) { in assertCallCount()
159 Log.e(TAG, "Remote exception when getting local call count: " + re); in assertCallCount()
DCarModeInCallServiceTest.java608 } catch (RemoteException re) { in verifyCarModeBound()
635 } catch (RemoteException re) { in verifyCarModeUnbound()
653 } catch (RemoteException re) { in enableAndVerifyCarMode()
669 } catch (RemoteException re) { in requestAndVerifyAutomotiveProjection()
682 } catch (RemoteException re) { in releaseAutomotiveProjection()
/cts/suite/audio_quality/lib/include/task/
DTaskCase.h50 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/tests/suspendapps/test-apps/SuspendTestApp/src/com/android/suspendapps/suspendtestapp/
DTestService.java117 } catch (RemoteException re) { in reportBroadcastIfNeeded()
118 Log.e(TAG, "Unable to report broadcast " + intent + " to instrumentation", re); in reportBroadcastIfNeeded()
/cts/tools/incremental-cts/
Dincremental_deqp.py40 import re
248 self._exclude_deqp_pattern = re.compile('(^/data/|^\[vdso\]|^/dmabuf)')
311 if re.search(' comm .*deqp-binary', line):
322 if not re.search(self._exclude_deqp_pattern, deps_file):
448 return not re.search(re.compile('^/apex/'), dependency_name)
/cts/tools/utils/cts/
Dtools.py19 import re
173 exp = re.compile(pattern)
188 exp = re.compile(pattern)
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DReadElf.java176 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/
Dget_achievable_rates.py17 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/
DbuildCts.py21 import re
61 pattern = re.compile(r'^\s*([^:#=\s]+)\s*:=\s*(.*?[^\\])$', re.MULTILINE + re.DOTALL)
/cts/hostsidetests/dexmetadata/host/
DREADME.md22 The easiet way is to re-sign and replace the signature in place. For example,
/cts/suite/cts/utils/
Dget_csv_report.py18 import re
106 m = re.search(r'.*;/data\s+([\w\.]+)\s+([\w\.]+)\s+([\w\.]+)\s+([\w\.]+);', partitions)
/cts/hostsidetests/theme/
Dandroid_device.py19 import re
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderSpanTest.java85 for (int re = rs; re < replPositionSet.size(); re++) { in replace()
89 replPositionSet.getPosition(rs), replPositionSet.getPosition(re)); in replace()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dcamera_response_fast.rsh21 // do some computation in the radiance space, then re-apply the response to
Dcamera_response.rsh21 // do some computation in the radiance space, then re-apply the response to
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceAdminTestReceiver.java157 } catch (RemoteException re) { in onEnabled()
158 Log.e(TAG, "Error when calling primary user", re); in onEnabled()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DShortcutManagerBackupTest.java174 final Pattern re = Pattern.compile("^\\s+Active (ordered)? broadcasts \\[", in waitUntilBroadcastsDrain() local
183 if (re.matcher(dumpsys).find()) { in waitUntilBroadcastsDrain()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandIncrementalTest.java348 } catch (RuntimeException re) { in testInstallWithMissingBlocks()
349 Log.i(TAG, "RuntimeException: ", re); in testInstallWithMissingBlocks()
350 assertTrue(re.toString(), re.getCause() instanceof IOException); in testInstallWithMissingBlocks()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java569 } catch (RemoteException re) { in pingTargetUser()
570 Log.e(TAG, "Error when calling primary user", re); in pingTargetUser()

123