Home
last modified time | relevance | path

Searched refs:sDestroyed (Results 1 – 7 of 7) sorted by relevance

/cts/tests/app/app/src/android/app/stubs/
DMockService.java34 private static boolean sDestroyed = false; field in MockService
76 sDestroyed = true; in onDestroy()
106 sDestroyed = false; in prepareDestroy()
114 while (!sDestroyed && now < endTime) { in waitForDestroy()
121 return sDestroyed; in waitForDestroy()
/cts/tests/fragment/src/android/fragment/cts/
DRecreatedActivity.java32 public static CountDownLatch sDestroyed; field in RecreatedActivity
38 sDestroyed = null; in clearState()
65 if (sDestroyed != null) { in onDestroy()
66 sDestroyed.countDown(); in onDestroy()
DFragmentTestUtil.java229 RecreatedActivity.sDestroyed = new CountDownLatch(1); in recreateActivity()
235 assertTrue(RecreatedActivity.sDestroyed.await(1, TimeUnit.SECONDS)); in recreateActivity()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DReceiveUriService.java32 private static boolean sDestroyed; field in ReceiveUriService
44 sDestroyed = false; in onStartCommand()
58 sDestroyed = true; in onDestroy()
97 while (!sDestroyed) { in stopSync()
DReceiveUriActivity.java35 private static boolean sDestroyed = true; field in ReceiveUriActivity
53 sDestroyed = false; in onCreate()
77 sDestroyed = true; in onDestroy()
99 while (!sDestroyed) { in finishCurInstanceSync()
/cts/tests/fragment/sdk26/src/android/fragment/cts/sdk26/
DNonConfigOnStopActivity.java27 static CountDownLatch sDestroyed; field in NonConfigOnStopActivity
57 if (sDestroyed != null) { in onDestroy()
58 sDestroyed.countDown(); in onDestroy()
DFragmentManagerNonConfigTest.java48 activity.sDestroyed = new CountDownLatch(1); in nonConfigStop()
53 assertTrue(activity.sDestroyed.await(1, TimeUnit.SECONDS)); in nonConfigStop()