Home
last modified time | relevance | path

Searched refs:sResult (Results 1 – 6 of 6) sorted by relevance

/cts/tests/providerui/src/android/providerui/cts/
DGetResultActivity.java28 private static LinkedBlockingQueue<Result> sResult; field in GetResultActivity
54 sResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
61 sResult = new LinkedBlockingQueue<>(); in clearResult()
67 result = sResult.poll(30, TimeUnit.SECONDS); in getResult()
79 return sResult.poll(timeout, unit); in getResult()
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DGetResultActivity.java28 private static LinkedBlockingQueue<Result> sResult; field in GetResultActivity
54 sResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
63 sResult = new LinkedBlockingQueue<>(); in clearResult()
69 result = sResult.poll(30, TimeUnit.SECONDS); in getResult()
81 return sResult.poll(timeout, unit); in getResult()
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsSyncAdapter.java54 private static SetResult sResult; field in SyncManagerCtsSyncAdapter
87 if ((sResult == null) || sResult.getResult() == Result.OK) { in onPerformSync()
90 } else if (sResult.getResult() == Result.SOFT_ERROR) { in onPerformSync()
93 } else if (sResult.getResult() == Result.HARD_ERROR) { in onPerformSync()
119 sResult = result; in setResult()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupInvalidateChildCtsActivity.java29 private static CTSResult sResult; field in ViewGroupInvalidateChildCtsActivity
32 sResult = result; in setResult()
54 sResult.setResult(CTSResult.RESULT_OK); in onResume()
61 sResult.setResult(CTSResult.RESULT_FAIL); in fail()
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/
DZygotePreload.java26 static volatile boolean sResult = false; field in ZygotePreload
63 return sResult; in getSeccomptestResult()
126 sResult = result; in doPreload()
/cts/tests/app/app/src/android/app/stubs/
DLocalActivityManagerTestHelper.java44 private static CTSResult sResult; field in LocalActivityManagerTestHelper
47 sResult = cr; in setResult()
333 sResult.setResult(CTSResult.RESULT_FAIL); in fail()
338 sResult.setResult(CTSResult.RESULT_OK); in pass()