/cts/hostsidetests/security/src/android/security/cts/ |
D | ProcessMustUseSeccompTest.java | 56 …private String getPidFromCmd(String Name, String Cmd, boolean prefix) throws DeviceNotAvailableExc… in getPidFromCmd() argument 64 if (!prefix && !namePid[0].equals(Name)) { in getPidFromCmd() 67 if (prefix && !namePid[0].startsWith(Name)) { in getPidFromCmd() 102 private void assertSeccompFilter(String Name, String Cmd, boolean prefix) in assertSeccompFilter() argument 104 assertSeccompFilter(Name, Cmd, prefix, true /* mustHaveProcess */); in assertSeccompFilter() 107 … private void assertSeccompFilter(String Name, String Cmd, boolean prefix, boolean mustHaveProcess) in assertSeccompFilter() argument 109 String Pid = getPidFromCmd(Name, Cmd, prefix); in assertSeccompFilter()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultHistoryCollection.java | 67 public void merge(String prefix, TestResultHistoryCollection resultHistoryCollection) { in merge() argument 70 prefix != null in merge() 71 ? prefix + ":" + t.getTestName() in merge() 82 public void merge(String prefix, List<TestResultHistoryCollection> resultHistories) { in merge() argument 83 resultHistories.forEach(resultHistoryCollection -> merge(prefix, resultHistoryCollection)); in merge()
|
/cts/libs/helpers/core/src/com/android/cts/helpers/ |
D | DeviceInteractionHelperRule.java | 185 String prefix = info.metaData.getString("interaction-helpers-prefix"); in buildPackageList() local 186 if (prefix == null || prefix.isEmpty()) { in buildPackageList() 188 } else if (!mPrefixes.contains(prefix)) { in buildPackageList() 189 mPrefixes.add(prefix); in buildPackageList() 223 for (String prefix : mPrefixes) { in evaluate() 226 Pattern classMatch = Pattern.compile("^.*\\.\\Q" + prefix + "\\E[^.]*$"); in evaluate() 231 "No %s implementation found with prefix %s.", mHelperClass, prefix), e); in evaluate()
|
/cts/hostsidetests/seccomp/app/ |
D | gen_blocklist.py | 107 prefix = '__SECCOMP_' # prefix to ensure no name collisions 126 cpp.stdin.write(prefix + name + ', __NR_' + name + '\n') 128 cpp.stdin.write(prefix + name + ', ' + name + '\n') 137 if not line.startswith(prefix): 141 name = name[len(prefix):]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageItemInfoTest.java | 93 String prefix = "PackageItemInfoTest"; in testDump() local 94 pkgItemInfo.dumpFront(printer, prefix); in testDump() 145 public void dumpFront(Printer pw, String prefix) { in dumpFront() argument 146 super.dumpFront(pw, prefix); in dumpFront() 149 public void dumpBack(Printer pw, String prefix) { in dumpBack() argument 150 super.dumpBack(pw, prefix); in dumpBack()
|
D | ComponentInfoTest.java | 148 String prefix = ""; in testDumpBack() local 149 ci.dumpBack(p, prefix); in testDumpBack() 159 ci.dumpBack(p, prefix); in testDumpBack() 209 String prefix = ""; in testDumpFront() local 210 ci.dumpFront(p, prefix); in testDumpFront() 220 ci.dumpFront(p, prefix); in testDumpFront() 310 public void dumpBack(Printer pw, String prefix) { in dumpBack() argument 311 super.dumpBack(pw, prefix); in dumpBack() 314 public void dumpFront(Printer pw, String prefix) { in dumpFront() argument 315 super.dumpFront(pw, prefix); in dumpFront()
|
/cts/tests/mediapc/ |
D | README.md | 29 … media type, *media-type-prefix* can be passed to media codec tests to select one or more codecs t… 34 … -- --module-arg CtsMediaPerformanceClassTestCases:instrumentation-arg:media-type-prefix:=video/avc 46 …t codecs by name, *codec-prefix* can be passed to media codec tests to select one or more codecs t… 51 …ses -- --module-arg CtsMediaPerformanceClassTestCases:instrumentation-arg:codec-prefix:=c2.android. 57 …--module-arg CtsMediaPerformanceClassTestCases:instrumentation-arg:codec-prefix:=c2.android.hevc.d…
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityDumpTest.java | 137 String prefix = "123"; in testDump_dumpDumpable() local 140 String dumpDumpable = dumpInternal(mActivity, prefix, "--dump-dumpable", DEFAULT_NAME); in testDump_dumpDumpable() 144 prefix, DEFAULT_NAME, // line 1 in testDump_dumpDumpable() 145 prefix, prefix, DEFAULT_CONTENT)); // line 2 in testDump_dumpDumpable() 156 private String dumpInternal(Activity activity, String prefix, @Nullable String... args) in dumpInternal() argument 166 activity.dumpInternal(prefix, /* fd= */ null, writer, args); in dumpInternal()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | PackageFilter.java | 50 public void addPrefixToFilter(String prefix) { in addPrefixToFilter() argument 51 mFilters.add(prefix); in addPrefixToFilter()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderSetup.java | 50 private static int getFirstTrackWithMimePrefix(String prefix, MediaExtractor extractor) { in getFirstTrackWithMimePrefix() argument 54 if (format.getString(MediaFormat.KEY_MIME).startsWith(prefix)) { in getFirstTrackWithMimePrefix() 59 assertTrue("Track matching mime '" + prefix + "' not found.", trackIndex >= 0); in getFirstTrackWithMimePrefix()
|
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
D | H264Yuv420_8bitMpBitstreamsTest.java | 34 public H264Yuv420_8bitMpBitstreamsTest(String prefix, String path, in H264Yuv420_8bitMpBitstreamsTest() argument 36 super(prefix, path, pkg, packageToRun, enforce); in H264Yuv420_8bitMpBitstreamsTest()
|
D | HevcYuv420BitstreamsTest.java | 34 public HevcYuv420BitstreamsTest(String prefix, String path, in HevcYuv420BitstreamsTest() argument 36 super(prefix, path, pkg, packageToRun, enforce); in HevcYuv420BitstreamsTest()
|
D | Vp8BitstreamsTest.java | 34 public Vp8BitstreamsTest(String prefix, String path, in Vp8BitstreamsTest() argument 36 super(prefix, path, pkg, packageToRun, enforce); in Vp8BitstreamsTest()
|
D | H264Yuv420_8bitHpBitstreamsTest.java | 34 public H264Yuv420_8bitHpBitstreamsTest(String prefix, String path, in H264Yuv420_8bitHpBitstreamsTest() argument 36 super(prefix, path, pkg, packageToRun, enforce); in H264Yuv420_8bitHpBitstreamsTest()
|
D | Vp9Yuv420BitstreamsTest.java | 34 public Vp9Yuv420BitstreamsTest(String prefix, String path, in Vp9Yuv420BitstreamsTest() argument 36 super(prefix, path, pkg, packageToRun, enforce); in Vp9Yuv420BitstreamsTest()
|
D | H264Yuv420_8bitBpBitstreamsTest.java | 34 public H264Yuv420_8bitBpBitstreamsTest(String prefix, String path, in H264Yuv420_8bitBpBitstreamsTest() argument 36 super(prefix, path, pkg, packageToRun, enforce); in H264Yuv420_8bitBpBitstreamsTest()
|
D | HevcYuv420BitstreamsFullTest.java | 36 public HevcYuv420BitstreamsFullTest(String prefix, String path, in HevcYuv420BitstreamsFullTest() argument 38 super(prefix, path, pkg, packageToRun, enforce); in HevcYuv420BitstreamsFullTest()
|
D | Vp9Yuv444BitstreamsFullTest.java | 36 public Vp9Yuv444BitstreamsFullTest(String prefix, String path, in Vp9Yuv444BitstreamsFullTest() argument 38 super(prefix, path, pkg, packageToRun, enforce); in Vp9Yuv444BitstreamsFullTest()
|
D | H264Yuv420_8bitHpBitstreamsFullTest.java | 36 public H264Yuv420_8bitHpBitstreamsFullTest(String prefix, String path, in H264Yuv420_8bitHpBitstreamsFullTest() argument 38 super(prefix, path, pkg, packageToRun, enforce); in H264Yuv420_8bitHpBitstreamsFullTest()
|
D | HevcYuv444BitstreamsFullTest.java | 36 public HevcYuv444BitstreamsFullTest(String prefix, String path, in HevcYuv444BitstreamsFullTest() argument 38 super(prefix, path, pkg, packageToRun, enforce); in HevcYuv444BitstreamsFullTest()
|
D | H264Yuv420_8bitBpBitstreamsFullTest.java | 36 public H264Yuv420_8bitBpBitstreamsFullTest(String prefix, String path, in H264Yuv420_8bitBpBitstreamsFullTest() argument 38 super(prefix, path, pkg, packageToRun, enforce); in H264Yuv420_8bitBpBitstreamsFullTest()
|
D | Vp9Yuv422BitstreamsFullTest.java | 36 public Vp9Yuv422BitstreamsFullTest(String prefix, String path, in Vp9Yuv422BitstreamsFullTest() argument 38 super(prefix, path, pkg, packageToRun, enforce); in Vp9Yuv422BitstreamsFullTest()
|
D | H264Yuv420_8bitMpBitstreamsFullTest.java | 36 public H264Yuv420_8bitMpBitstreamsFullTest(String prefix, String path, in H264Yuv420_8bitMpBitstreamsFullTest() argument 38 super(prefix, path, pkg, packageToRun, enforce); in H264Yuv420_8bitMpBitstreamsFullTest()
|
/cts/apps/CameraITS/utils/ |
D | ui_interaction_utils.py | 93 call_on_fail = lambda: dut.take_screenshot(log_path, prefix='its_not_found') 107 dut.take_screenshot(log_path, prefix=VIEWFINDER_NOT_VISIBLE_PREFIX) 110 dut.take_screenshot(log_path, prefix=VIEWFINDER_VISIBLE_PREFIX) 134 dut.take_screenshot(log_path, prefix='failed_to_switch_camera') 138 log_path, prefix=f"switched_to_{ui_facing_description.replace(' ', '_')}"
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoEncoderValidationTestBase.java | 90 HashMap<String, RawResource> streamYuvMap, String prefix) { in decodeStreamsToYuv() argument 91 decodeStreamsToYuv(resources, streamYuvMap, Integer.MAX_VALUE, prefix); in decodeStreamsToYuv() 95 HashMap<String, RawResource> streamYuvMap, int frameLimit, String prefix) { in decodeStreamsToYuv() argument 98 decodeStreamsToYuv(res, streamYuvMap, frameLimit, prefix); in decodeStreamsToYuv() 101 decodeStreamsToYuv(RIVER_HD_LANDSCAPE, streamYuvMap, frameLimit, prefix); in decodeStreamsToYuv() 106 HashMap<String, RawResource> streamYuvMap, int frameLimit, String prefix) { in decodeStreamsToYuv() argument 110 frameLimit, prefix); in decodeStreamsToYuv()
|