/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | ReceiveUriActivity.java | 32 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 …]
|
D | ReceiveUriService.java | 30 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/ |
D | TestGameService.java | 38 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()
|
D | TestGameSessionService.java | 43 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/ |
D | TestService.java | 37 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()
|
D | SuspendTestActivity.java | 33 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/ |
D | CtsRemoteConnectionService.java | 71 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/ |
D | MockTvInputService.java | 63 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 …]
|
D | MockTvInputSetupActivity.java | 53 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/ |
D | FirstPrintService.java | 21 private static final Object sLock = new Object(); field in FirstPrintService 26 synchronized (sLock) { in setCallbacks() 33 synchronized (sLock) { in getCallbacks()
|
D | CustomPrintOptionsActivity.java | 31 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/ |
D | FirstAppWidgetProvider.java | 20 private static final Object sLock = new Object(); field in FirstAppWidgetProvider 25 synchronized (sLock) { in setCallbacks() 32 synchronized (sLock) { in getCallbacks()
|
D | SecondAppWidgetProvider.java | 20 private static final Object sLock = new Object(); field in SecondAppWidgetProvider 25 synchronized (sLock) { in setCallbacks() 32 synchronized (sLock) { in getCallbacks()
|
D | AppWidgetProviderWithFeatures.java | 20 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/ |
D | MyAppWidgetService.java | 24 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/ |
D | ShortcutLaunchedActivity.java | 41 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/ |
D | SyncManagerCtsSyncAdapter.java | 50 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/ |
D | StatsdJobService.java | 44 private static final Object sLock = new Object(); field in StatsdJobService 59 synchronized (sLock) { 68 synchronized (sLock) { in resetCountDownLatch()
|
D | StatsdSyncAdapter.java | 44 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/ |
D | NotAlwaysSyncableSyncService.java | 24 private static final Object sLock = new Object(); field in NotAlwaysSyncableSyncService 28 synchronized (sLock) { in getInstance()
|
D | AlwaysSyncableSyncService.java | 24 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/ |
D | CtsThirdPartyInCallService.java | 99 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/ |
D | DomainSelectionCallingBase.java | 79 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/ |
D | WifiLocationInfoBackgroundTest.java | 92 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()
|
D | WifiLocationInfoForegroundTest.java | 91 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()
|