Searched refs:sResult (Results 1 – 6 of 6) sorted by relevance
/cts/tests/providerui/src/android/providerui/cts/ |
D | GetResultActivity.java | 28 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/ |
D | GetResultActivity.java | 28 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/view/src/android/view/cts/ |
D | ViewGroupInvalidateChildCtsActivity.java | 29 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/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/ |
D | SyncManagerCtsSyncAdapter.java | 54 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/hostsidetests/seccomp/app/src/android/seccomp/cts/app/ |
D | ZygotePreload.java | 26 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/ |
D | LocalActivityManagerTestHelper.java | 44 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()
|