Home
last modified time | relevance | path

Searched refs:sw (Results 1 – 14 of 14) sorted by relevance

/cts/tools/utils/
Drm_dup_holo_imgs.py41 def run(sw): argument
43 portDir = getDirName(density, sw, False)
44 landDir = getDirName(density, sw, True)
61 def getDirName(density, sw, land): argument
63 if sw:
/cts/libs/input/src/com/android/cts/input/
DFailOnTestThreadRule.kt28 val sw = StringWriter() in <lambda>() constant
29 val pw = PrintWriter(sw) in <lambda>()
31 sw.write("\n") in <lambda>()
34 return sw.toString() in <lambda>()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCtsContentCaptureService.java229 final ServiceWatcher sw = getServiceWatcher(); in onConnected() local
230 Log.i(TAG, "onConnected(id=" + mId + "): sServiceWatcher=" + sw); in onConnected()
232 if (sw == null) { in onConnected()
237 if (!sw.mReadyToClear && sw.mService != null) { in onConnected()
238 addException("onConnected(): already created: %s", sw); in onConnected()
242 sw.mService = this; in onConnected()
246 if (sw.mDestroyed.getCount() == 0 && sw.mWhitelist != null) { in onConnected()
247 Log.d(TAG, "Whitelisting after reconnected again: " + sw.mWhitelist); in onConnected()
248 setContentCaptureWhitelist(sw.mWhitelist.first, sw.mWhitelist.second); in onConnected()
251 sw.mCreated.countDown(); in onConnected()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DSafeCleanerRule.java143 try (StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw)) {
144 sw.write("Caught " + throwables.size() + " exceptions\n");
146 sw.write("\n---- Begin of exception #" + (i + 1) + " ----\n");
149 sw.write("---- End of exception #" + (i + 1) + " ----\n\n");
151 msg = sw.toString();
/cts/
D.gitignore13 *.sw*
/cts/hostsidetests/appsecurity/test-apps/UseProcessSuccess/src/com/android/cts/useprocess/
DBaseNetworkService.java67 StringWriter sw = new StringWriter(); in writeResult() local
68 PrintWriter pw = new PrintWriter(sw, false); in writeResult()
71 out.writeString(sw.toString()); in writeResult()
/cts/tests/app/src/android/app/cts/
DActivityDumpTest.java164 try (StringWriter sw = new StringWriter(); PrintWriter writer = new PrintWriter(sw)) { in dumpInternal() argument
167 dump = sw.toString(); in dumpInternal()
/cts/tests/tests/appop/AppThatUsesAppOps/src/android/app/appops/cts/appthatusesappops/
DAppOpsUserService.kt90 val sw = StringWriter() in noteSyncOpFromNativeCode() constant
91 t.printStackTrace(PrintWriter(sw)) in noteSyncOpFromNativeCode()
93 throw IllegalArgumentException("\n" + sw.toString() + "called by") in noteSyncOpFromNativeCode()
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java342 try (StringWriter sw = new StringWriter()) { in stringify() argument
343 try (PrintWriter pw = new PrintWriter(sw)) { in stringify()
346 output = sw.toString(); in stringify()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigTest.java843 checkValue(res, R.string.sw, "default"); in testNewScreenSize()
857 checkValue(res, R.string.sw, "590 mdpi"); in testNewScreenSize()
862 checkValue(res, R.string.sw, "590 hdpi"); in testNewScreenSize()
867 checkValue(res, R.string.sw, "590 xhdpi"); in testNewScreenSize()
874 checkValue(res, R.string.sw, "591"); in testNewScreenSize()
879 checkValue(res, R.string.sw, "591 hdpi"); in testNewScreenSize()
884 checkValue(res, R.string.sw, "591 hdpi"); in testNewScreenSize()
894 checkValue(res, R.string.sw, "default"); in testNewScreenSize()
907 checkValue(res, R.string.sw, "600 land"); in testNewScreenSize()
920 checkValue(res, R.string.sw, "600"); in testNewScreenSize()
[all …]
/cts/tests/app/FgsTimeoutTest/FgsTimeoutTestHelper/src/android/app/cts/fgstimeouttesthelper/
DFgsTimeoutMessage.java124 try (StringWriter sw = new StringWriter(); in setException() argument
125 PrintWriter pw = new PrintWriter(sw);) { in setException()
128 mFailureString = "Exception detected: \n" + sw.toString(); in setException()
/cts/tests/app/ShortFgsTest/ShortFgsTestHelper/src/android/app/cts/shortfgstesthelper/
DShortFgsMessage.java136 try (StringWriter sw = new StringWriter(); in setException() argument
137 PrintWriter pw = new PrintWriter(sw);) { in setException()
140 mFailureString = "Exception detected: \n" + sw.toString(); in setException()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DInstrumentedAutoFillService.java319 try (StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw)) { in dumpSelf() argument
322 final String dump = sw.toString(); in dumpSelf()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...