Home
last modified time | relevance | path

Searched refs:sLock (Results 1 – 25 of 33) sorted by relevance

12

/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DReceiveUriActivity.java32 private static final Object sLock = new Object(); field in ReceiveUriActivity
46 synchronized (sLock) { in onCreate()
54 sLock.notifyAll(); in onCreate()
62 synchronized (sLock) { in onNewIntent()
65 sLock.notifyAll(); in onNewIntent()
76 synchronized (sLock) { in onDestroy()
78 sLock.notifyAll(); in onDestroy()
86 synchronized (sLock) { in finishCurInstance()
97 synchronized (sLock) { in finishCurInstanceSync()
101 sLock.wait(TIMEOUT_MILLIS); in finishCurInstanceSync()
[all …]
DReceiveUriService.java30 private static final Object sLock = new Object(); field in ReceiveUriService
40 synchronized (sLock) { in onStartCommand()
45 sLock.notifyAll(); in onStartCommand()
57 synchronized (sLock) { in onDestroy()
60 sLock.notifyAll(); in onDestroy()
81 synchronized (sLock) { in getCurStartId()
87 synchronized (sLock) { in stopCurWithId()
95 synchronized (sLock) { in stopSync()
99 sLock.wait(5000); in stopSync()
110 synchronized (sLock) { in clearStarted()
[all …]
/cts/tests/tests/gameservice/src/android/service/games/
DTestGameService.java38 private static final Object sLock = new Object(); field in TestGameService
49 synchronized (sLock) { in onConnected()
56 synchronized (sLock) { in onDisconnected()
70 synchronized (sLock) { in onGameStarted()
79 synchronized (sLock) { in reset()
86 synchronized (sLock) { in isConnected()
92 synchronized (sLock) { in setGamePackages()
DTestGameSessionService.java43 private static final Object sLock = new Object(); field in TestGameSessionService
60 synchronized (sLock) { in reset()
68 synchronized (sLock) { in getActiveSessions()
74 synchronized (sLock) { in getGameSessionEventHistory()
81 synchronized (sLock) { in getFocusedSession()
120 synchronized (sLock) { in onCreate()
178 synchronized (sLock) { in onGameTaskFocusChanged()
184 synchronized (sLock) { in onGameTaskFocusChanged()
193 synchronized (sLock) { in onDestroy()
/cts/tests/suspendapps/test-apps/SuspendTestApp/src/com/android/suspendapps/suspendtestapp/
DTestService.java37 private static final Object sLock = new Object(); field in TestService
55 synchronized (SuspendTestActivity.sLock) {
58 SuspendTestActivity.sLock.wait(timeoutMs);
69 synchronized (SuspendTestActivity.sLock) {
72 SuspendTestActivity.sLock.wait(timeoutMs);
95 synchronized (sLock) {
103 synchronized (sLock) {
111 synchronized (sLock) { in reportBroadcastIfNeeded()
137 synchronized (sLock) { in onUnbind()
DSuspendTestActivity.java33 static final Object sLock = new Object(); field in SuspendTestActivity
50 synchronized (sLock) { in onStart()
52 sLock.notifyAll(); in onStart()
60 synchronized (sLock) { in onStop()
62 sLock.notifyAll(); in onStop()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCtsRemoteConnectionService.java71 private static Object sLock = new Object(); field in CtsRemoteConnectionService
75 synchronized(sLock) { in setUp()
87 synchronized(sLock) { in tearDown()
96 synchronized(sLock) { in onCreateOutgoingConnection()
111 synchronized(sLock) { in onCreateIncomingConnection()
126 synchronized(sLock) { in onCreateOutgoingConference()
142 synchronized(sLock) { in onCreateIncomingConference()
156 synchronized(sLock) { in onConference()
166 synchronized(sLock) { in addConferenceToTelecom()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputService.java63 private static final Object sLock = new Object(); field in MockTvInputService
114 synchronized (sLock) {
128 synchronized (sLock) { in expectTune()
134 synchronized (sLock) { in expectBroadcast()
141 synchronized (sLock) { in expectUnblockContent()
147 synchronized (sLock) { in setBlockRating()
153 synchronized (sLock) { in expectOverlayView()
159 synchronized (sLock) { in expectSelectTrack()
168 synchronized (sLock) { in expectSetCaptionEnabled()
175 synchronized (sLock) { in expectResumeAfterPause()
[all …]
DMockTvInputSetupActivity.java53 private static Object sLock = new Object(); field in MockTvInputSetupActivity
57 synchronized (sLock) { in expectLaunch()
119 synchronized (sLock) { in onCreate()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DFirstPrintService.java21 private static final Object sLock = new Object(); field in FirstPrintService
26 synchronized (sLock) { in setCallbacks()
33 synchronized (sLock) { in getCallbacks()
DCustomPrintOptionsActivity.java31 private static final Object sLock = new Object(); field in CustomPrintOptionsActivity
42 synchronized (sLock) { in setCallBack()
61 synchronized (sLock) { in onCreate()
/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/
DFirstAppWidgetProvider.java20 private static final Object sLock = new Object(); field in FirstAppWidgetProvider
25 synchronized (sLock) { in setCallbacks()
32 synchronized (sLock) { in getCallbacks()
DSecondAppWidgetProvider.java20 private static final Object sLock = new Object(); field in SecondAppWidgetProvider
25 synchronized (sLock) { in setCallbacks()
32 synchronized (sLock) { in getCallbacks()
DAppWidgetProviderWithFeatures.java20 private static final Object sLock = new Object(); field in AppWidgetProviderWithFeatures
25 synchronized (sLock) { in setCallbacks()
32 synchronized (sLock) { in getCallbacks()
/cts/tests/tests/appwidget/src/android/appwidget/cts/service/
DMyAppWidgetService.java24 private static final Object sLock = new Object(); field in MyAppWidgetService
29 synchronized (sLock) { in setFactory()
36 synchronized (sLock) { in onGetViewFactory()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutLaunchedActivity.java41 private static final Object sLock = new Object(); field in ShortcutLaunchedActivity
77 synchronized (sLock) { in onResume()
108 synchronized (sLock) { in setExpectedOrder()
117 synchronized (sLock) { in getIntents()
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsSyncAdapter.java50 private static final Object sLock = new Object(); field in SyncManagerCtsSyncAdapter
86 synchronized (sLock) { in onPerformSync()
106 synchronized (sLock) { in getSyncInvocations()
112 synchronized (sLock) { in clearSyncInvocations()
118 synchronized (sLock) { in setResult()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DStatsdJobService.java44 private static final Object sLock = new Object(); field in StatsdJobService
59 synchronized (sLock) {
68 synchronized (sLock) { in resetCountDownLatch()
DStatsdSyncAdapter.java44 private static final Object sLock = new Object(); field in StatsdSyncAdapter
59 synchronized (sLock) { in onPerformSync()
82 synchronized (sLock) { in resetCountDownLatch()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DNotAlwaysSyncableSyncService.java24 private static final Object sLock = new Object(); field in NotAlwaysSyncableSyncService
28 synchronized (sLock) { in getInstance()
DAlwaysSyncableSyncService.java24 private static final Object sLock = new Object(); field in AlwaysSyncableSyncService
28 synchronized (sLock) { in getInstance()
/cts/tests/tests/telecom/ThirdPtyInCallServiceTestApp/src/android/telecom/cts/thirdptyincallservice/
DCtsThirdPartyInCallService.java99 synchronized (sLock) { in checkLatch()
111 synchronized (sLock) { in resetLatchForServiceBound()
131 synchronized (sLock) { in resetCalls()
141 synchronized (sLock) { in getLocalCallCount()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DDomainSelectionCallingBase.java79 protected static final Object sLock = new Object(); field in DomainSelectionCallingBase
89 synchronized (sLock) { in initializeLatches()
97 synchronized (sLock) { in overrideLatchCount()
106 synchronized (sLock) { in callingTestLatchCountdown()
113 synchronized (sLock) { in callingTestLatchCountdown()
120 synchronized (sLock) { in countDownLatch()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiLocationInfoBackgroundTest.java92 private static PowerManager.WakeLock sLock; field in WifiLocationInfoBackgroundTest
109 sLock = sPower.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in setUpClass()
182 if (sLock.isHeld()) sLock.release(); in turnScreenOn()
188 if (!sLock.isHeld()) sLock.acquire(); in turnScreenOff()
DWifiLocationInfoForegroundTest.java91 private static PowerManager.WakeLock sLock; field in WifiLocationInfoForegroundTest
133 sLock = sPower.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in setUpClass()
168 if (sLock.isHeld()) sLock.release(); in turnScreenOn()

12