/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | PhoneStateListenerTest.java | 117 private final Object mLock = new Object(); field in PhoneStateListenerTest 196 synchronized (mLock) { in testOnServiceStateChanged() 198 mLock.notify(); in testOnServiceStateChanged() 204 synchronized (mLock) { in testOnServiceStateChanged() 206 mLock.wait(WAIT_TIME); in testOnServiceStateChanged() 223 synchronized (mLock) { in testOnUnRegisterFollowedByRegister() 225 mLock.notify(); in testOnUnRegisterFollowedByRegister() 231 synchronized (mLock) { in testOnUnRegisterFollowedByRegister() 233 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister() 245 synchronized (mLock) { in testOnUnRegisterFollowedByRegister() [all …]
|
D | TelephonyCallbackTest.java | 142 private final Object mLock = new Object(); field in TelephonyCallbackTest 242 synchronized (mLock) { in unRegisterTelephonyCallback() 245 mLock.wait(WAIT_TIME); in unRegisterTelephonyCallback() 257 synchronized (mLock) { in onServiceStateChanged() 260 mLock.notify(); in onServiceStateChanged() 275 synchronized (mLock) { in testOnServiceStateChangedByRegisterTelephonyCallback() 277 mLock.wait(WAIT_TIME); in testOnServiceStateChangedByRegisterTelephonyCallback() 303 synchronized (mLock) { in testOnServiceStateChangedByRegisterTelephonyCallbackWithLocationRenounce() 305 mLock.wait(WAIT_TIME); in testOnServiceStateChangedByRegisterTelephonyCallbackWithLocationRenounce() 332 synchronized (mLock) { in testOnServiceStateChangedByRegisterTelephonyCallbackWithCoarseRenounce() [all …]
|
D | TestDomainSelectionService.java | 57 protected final Object mLock = new Object(); field in TestDomainSelectionService 90 synchronized (mLock) { in reselectDomain() 100 synchronized (mLock) { in finishSelection() 110 synchronized (mLock) { in dispose() 129 synchronized (mLock) { in onDomainSelection() 141 synchronized (mLock) { in onServiceStateUpdated() 150 synchronized (mLock) { in onBarringInfoUpdated() 174 synchronized (mLock) { in getDomainSelectionService() 185 synchronized (mLock) { in onBind() 199 synchronized (mLock) { in onUnbind() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestImsService.java | 70 protected final Object mLock = new Object(); field in TestImsService 147 synchronized (mLock) { in readyForFeatureCreation() 154 synchronized (mLock) { in enableImsForSubscription() 163 synchronized (mLock) { in disableImsForSubscription() 173 synchronized (mLock) { in createRcsFeatureForSubscription() 179 synchronized (mLock) { in createRcsFeatureForSubscription() 186 synchronized (mLock) { in createRcsFeatureForSubscription() 192 synchronized (mLock) { in createRcsFeatureForSubscription() 197 synchronized (mLock) { in createRcsFeatureForSubscription() 211 synchronized (mLock) { in createRcsFeatureForSubscription() [all …]
|
D | TestSipTransport.java | 57 private final Object mLock = new Object(); field in TestSipTransport 72 synchronized (mLock) { in createSipDelegate() 81 synchronized (mLock) { in destroySipDelegate() 91 synchronized (mLock) { in getDelegates() 97 synchronized (mLock) { in getDelegate() 105 synchronized (mLock) { in isLatchCountDownFinished() 115 synchronized (mLock) { in waitForLatchCountdownAndReset() 122 synchronized (mLock) { in waitForLatchCountdownAndReset() 129 synchronized (mLock) { in countDownLatch()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecAsyncHandler.java | 48 protected final Lock mLock = new ReentrantLock(); field in CodecAsyncHandler 49 protected final Condition mCondition = mLock.newCondition(); 71 mLock.lock(); in clearQueues() 76 mLock.unlock(); in clearQueues() 93 mLock.lock(); in onInputBufferAvailable() 98 mLock.unlock(); in onInputBufferAvailable() 106 mLock.lock(); in onOutputBufferAvailable() 111 mLock.unlock(); in onOutputBufferAvailable() 119 mLock.lock(); in onError() 124 mLock.unlock(); in onError() [all …]
|
D | CodecAsyncHandlerMultiAccessUnits.java | 54 mLock.lock(); in clearQueues() 58 mLock.unlock(); in clearQueues() 71 mLock.lock(); in onOutputBuffersAvailable() 76 mLock.unlock(); in onOutputBuffersAvailable() 84 mLock.lock(); in onOutputBufferAvailable() 91 mLock.unlock(); in onOutputBufferAvailable() 98 mLock.lock(); in getOutputs() 109 mLock.unlock(); in getOutputs() 117 mLock.lock(); in getWorkList() 133 mLock.unlock(); in getWorkList()
|
D | CodecTestActivity.java | 40 private final Lock mLock = new ReentrantLock(); field in CodecTestActivity 41 private final Condition mCondition = mLock.newCondition(); 60 mLock.lock(); in surfaceCreated() 62 mLock.unlock(); in surfaceCreated() 73 mLock.lock(); in surfaceDestroyed() 75 mLock.unlock(); in surfaceDestroyed() 81 mLock.lock(); in waitTillSurfaceIsCreated() 87 mLock.unlock(); in waitTillSurfaceIsCreated()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | KeyboardShortcutsActivity.java | 34 private final Lock mLock = new ReentrantLock(); field in KeyboardShortcutsActivity 35 private final Condition mSignalOnProvideKeyboardShortcuts = mLock.newCondition(); 36 private final Condition mSignalOnActivityDeFocused = mLock.newCondition(); 47 mLock.lock(); in waitForMenuToBeOpen() 51 mLock.unlock(); in waitForMenuToBeOpen() 59 mLock.lock(); in onWindowFocusChanged() 63 mLock.unlock(); in onWindowFocusChanged() 72 mLock.lock(); in waitForKeyboardShortcutsToBeRequested() 76 mLock.unlock(); in waitForKeyboardShortcutsToBeRequested() 85 mLock.lock(); in onProvideKeyboardShortcuts() [all …]
|
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/external/testutil/ |
D | TestObserverCallback.java | 40 private final Object mLock = new Object(); field in TestObserverCallback 50 synchronized (mLock) { in onSchemaChanged() 58 synchronized (mLock) { in onDocumentChanged() 76 synchronized (mLock) { in waitForNotificationCount() 92 mLock.wait(); in waitForNotificationCount() 118 synchronized (mLock) { in clear() 122 mLock.notifyAll(); in clear() 127 synchronized (mLock) { in incrementNotificationCountLocked() 129 mLock.notifyAll(); in incrementNotificationCountLocked()
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechWrapper.java | 144 private final Lock mLock = new ReentrantLock(); field in TextToSpeechWrapper.InitWaitListener 145 private final Condition mDone = mLock.newCondition(); 149 mLock.lock(); in onInit() 154 mLock.unlock(); in onInit() 160 mLock.lock(); in waitForInit() 170 mLock.unlock(); in waitForInit() 179 private final Lock mLock = new ReentrantLock(); field in TextToSpeechWrapper.UtteranceWaitListener 180 private final Condition mDone = mLock.newCondition(); 196 mLock.lock(); in onDone() 202 mLock.unlock(); in onDone() [all …]
|
/cts/tests/tests/media/audio/jni/ |
D | Gate.h | 63 std::unique_lock<std::mutex> l(mLock); in wait() 76 std::lock_guard<std::mutex> l(mLock); in closeGate() 84 std::lock_guard<std::mutex> l(mLock); in openGate() 97 std::lock_guard<std::mutex> l(mLock); in terminate() 106 std::lock_guard<std::mutex> l(mLock); in isOpen() 112 std::lock_guard<std::mutex> l(mLock); in waiters() 122 std::mutex mLock; variable
|
/cts/tests/tests/telephony3/src/android/telephony3/cts/ |
D | PhoneStateListenerTest.java | 46 private final Object mLock = new Object(); field in PhoneStateListenerTest 91 synchronized (mLock) { in testOnUnRegisterFollowedByRegister() 93 mLock.notify(); in testOnUnRegisterFollowedByRegister() 106 synchronized (mLock) { in testOnUnRegisterFollowedByRegister() 108 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister() 120 synchronized (mLock) { in testOnUnRegisterFollowedByRegister() 122 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister() 129 synchronized (mLock) { in testOnUnRegisterFollowedByRegister() 131 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | SDRTestActivity.java | 35 private final Object mLock = new Object(); field in SDRTestActivity 96 synchronized (mLock) { in onSurfaceTextureAvailable() 98 mLock.notifyAll(); in onSurfaceTextureAvailable() 107 synchronized (mLock) { in onSurfaceTextureDestroyed() 109 mLock.notifyAll(); in onSurfaceTextureDestroyed() 116 synchronized (mLock) { in onSurfaceTextureUpdated() 117 mLock.notifyAll(); in onSurfaceTextureUpdated() 122 synchronized (mLock) { in waitForSurface() 124 mLock.wait(TIME_OUT_MS); in waitForSurface()
|
/cts/tests/video/src/android/video/cts/ |
D | CodecTestActivity.java | 37 private final Lock mLock = new ReentrantLock(); field in CodecTestActivity 38 private final Condition mCondition = mLock.newCondition(); 52 mLock.lock(); in surfaceCreated() 54 mLock.unlock(); in surfaceCreated() 65 mLock.lock(); in surfaceDestroyed() 67 mLock.unlock(); in surfaceDestroyed() 73 mLock.lock(); in waitTillSurfaceIsCreated() 79 mLock.unlock(); in waitTillSurfaceIsCreated()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | EasyConnectStatusCallbackTest.java | 69 private final Object mLock = new Object(); field in EasyConnectStatusCallbackTest 108 synchronized (mLock) { 111 mLock.notify(); 118 synchronized (mLock) { 121 mLock.notify(); 127 synchronized (mLock) { 129 mLock.notify(); 173 synchronized (mLock) { in testConfiguratorInitiatorOnFailure() 178 mLock.wait(TEST_TX_FRAME_RESPONSE_WAIT_TIME_MS); in testConfiguratorInitiatorOnFailure() 206 synchronized (mLock) { in testEnrolleeInitiatorOnFailure() [all …]
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | TestProcessClient.java | 52 private Object mLock = new Object(); field in TestProcessClient 119 synchronized (mLock) { in TestProcessClient() 121 mLock.wait(CONNECT_TIMEOUT_MS); in TestProcessClient() 134 synchronized (mLock) { in run() 145 synchronized (mLock) { in close() 164 synchronized (mLock) { in onServiceConnected() 166 mLock.notify(); in onServiceConnected() 172 synchronized (mLock) { in onServiceDisconnected() 175 mLock.notify(); in onServiceDisconnected()
|
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/ |
D | TunerResourceTestService.java | 37 private final Object mLock = new Object(); field in TunerResourceTestService 57 synchronized (mLock) { in onUnbind() 91 synchronized (mLock) { 98 synchronized (mLock) { 104 synchronized (mLock) { 110 synchronized (mLock) { 116 synchronized (mLock) {
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | PresetReverbTest.java | 193 synchronized(mLock) { in test3_0ControlStatusListener() 203 mLock.wait(); in test3_0ControlStatusListener() 219 synchronized(mLock) { in test3_1EnableStatusListener() 231 mLock.wait(); in test3_1EnableStatusListener() 247 synchronized(mLock) { in test3_2ParameterChangedListener() 259 mLock.wait(); in test3_2ParameterChangedListener() 303 mLock.wait(); in waitForLooperInitialization_l() 347 synchronized(mLock) { in createListenerLooper() 353 synchronized(mLock) { in createListenerLooper() 356 mLock.notify(); in createListenerLooper() [all …]
|
D | BassBoostTest.java | 233 synchronized(mLock) { in test3_0ControlStatusListener() 243 mLock.wait(); in test3_0ControlStatusListener() 259 synchronized(mLock) { in test3_1EnableStatusListener() 271 mLock.wait(); in test3_1EnableStatusListener() 287 synchronized(mLock) { in test3_2ParameterChangedListener() 298 mLock.wait(); in test3_2ParameterChangedListener() 342 mLock.wait(); in waitForLooperInitialization_l() 387 synchronized(mLock) { in createListenerLooper() 393 synchronized(mLock) { in createListenerLooper() 396 mLock.notify(); in createListenerLooper() [all …]
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | TestActivity.java | 39 private final Lock mLock = new ReentrantLock(); field in TestActivity 40 private final Condition mCondition = mLock.newCondition(); 54 mLock.lock(); in surfaceCreated() 56 mLock.unlock(); in surfaceCreated() 67 mLock.lock(); in surfaceDestroyed() 69 mLock.unlock(); in surfaceDestroyed() 75 mLock.lock(); in waitTillSurfaceIsCreated() 81 mLock.unlock(); in waitTillSurfaceIsCreated()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | ConnectivityBackgroundTestActivity.java | 86 private final Object mLock; field in ConnectivityBackgroundTestActivity 105 mLock = new Object(); in ConnectivityBackgroundTestActivity() 193 synchronized (mLock) { in stopAnyExistingTestingThread() 331 synchronized (mLock) { in onReceive() 333 mLock.notify(); in onReceive() 337 synchronized (mLock) { in onReceive() 339 mLock.notify(); in onReceive() 343 synchronized (mLock) { in onReceive() 345 mLock.notify(); in onReceive() 349 synchronized (mLock) { in onReceive() [all …]
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | DirectActionsSession.java | 47 private final ReentrantLock mLock = new ReentrantLock(); field in DirectActionsSession 48 private final Condition mCondition = mLock.newCondition(); 131 mLock.lock(); in onHandleAssist() 136 mLock.unlock(); in onHandleAssist() 143 mLock.lock(); in onDirectActionsInvalidated() 148 mLock.unlock(); in onDirectActionsInvalidated() 154 mLock.lock(); in executeWithAssist() 167 mLock.unlock(); in executeWithAssist() 176 mLock.lock(); in getDirectActions() 183 mLock.unlock(); in getDirectActions() [all …]
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | GestureDetectionStubAccessibilityService.java | 33 protected final Object mLock = new Object(); field in GestureDetectionStubAccessibilityService 106 synchronized (mLock) { in onAccessibilityEvent() 110 mLock.notifyAll(); in onAccessibilityEvent() 122 synchronized (mLock) { in clearEvents() 128 synchronized (mLock) { in getEventsSize() 134 synchronized (mLock) { in getEvent() 141 synchronized (mLock) { in waitUntilEvent() 146 mLock.wait(EVENT_RECOGNIZE_TIMEOUT_MS); in waitUntilEvent()
|
/cts/hostsidetests/car/app/src/android/car/cts/app/ |
D | CarWatchdogTestActivity.java | 50 private final Object mLock = new Object(); field in CarWatchdogTestActivity 77 synchronized (mLock) { in onCreate() 120 synchronized (mLock) { in onCreate() 148 synchronized (mLock) { in onNewIntent() 163 synchronized (mLock) { in onNewIntent() 211 synchronized (mLock) { in initManagers() 225 synchronized (mLock) { in addResourceOveruseListener() 258 synchronized (mLock) { in fetchRemainingBytes() 296 private final Object mLock = new Object(); field in CarWatchdogTestActivity.IoOveruseListener 306 synchronized (mLock) { in onOveruse() [all …]
|