Searched refs:lock (Results 101 - 125 of 168) sorted by relevance

1234567

/frameworks/native/libs/binder/
H A DBpBinder.cpp110 // do the IPC without a lock held.
116 // mDescriptorCache could have been assigned while the lock was
251 mLock.lock();
318 mLock.lock();
H A DProcessState.cpp102 mLock.lock();
225 // call expungeHandle(), which acquires the same lock we are holding now.
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp235 gLock.lock();
281 gLock.lock();
320 gLock.lock();
340 gLock.lock();
351 gLock.lock();
516 gLock.lock();
H A Dmediaplayer.cpp90 // always call with lock held
113 { // scope for the lock
208 Mutex::Autolock lock(mLock);
218 Mutex::Autolock lock(mLock);
234 // must call with lock held
662 mLock.lock();
669 if (locked) mLock.unlock(); // release the lock when done.
H A DToneGenerator.cpp897 mLock.lock();
923 mLock.lock();
974 mLock.lock();
1096 lpToneGen->mLock.lock();
/frameworks/av/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp471 ASSERT(c->lock() != NO_ERROR);
477 ASSERT(c->lock() == NO_ERROR);
484 ASSERT(c->lock() == NO_ERROR);
552 // We can lock as many times as we want.
553 ASSERT(c->lock() == NO_ERROR);
554 ASSERT(c->lock() == NO_ERROR);
558 // Unlock then lock from a different process -- ok.
561 // Unlock then lock from a different process -- ok.
/frameworks/base/core/java/android/animation/
H A DPropertyValuesHolder.java104 // This lock is used to ensure that only one thread is accessing the property maps
441 // Have to lock property map prior to reading it, to guard against
444 mPropertyMapLock.writeLock().lock();
847 mPropertyMapLock.writeLock().lock();
984 mPropertyMapLock.writeLock().lock();
/frameworks/base/core/java/android/view/
H A DSurfaceView.java497 mSurfaceLock.lock();
652 surfaceView.mSurfaceLock.lock();
765 mSurfaceLock.lock();
/frameworks/av/camera/
H A DICamera.cpp255 virtual status_t lock() function in class:android::BpCamera
405 reply->writeInt32(lock());
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp408 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
524 mLock.lock();
/frameworks/base/core/java/android/text/method/
H A DMetaKeyKeyListener.java191 int on, int lock) {
200 return lock;
190 getActive(CharSequence text, Object meta, int on, int lock) argument
/frameworks/native/libs/gui/
H A DSurface.cpp352 status_t Surface::lock(SurfaceInfo* other, Region* inOutDirtyRegion) { function in class:android::Surface
362 status_t err = SurfaceTextureClient::lock(&outBuffer, inOutDirtyBounds);
/frameworks/native/libs/utils/
H A DLooper.cpp220 // Acquire lock.
221 mLock.lock();
282 // we reacquire our lock.
297 mLock.lock();
307 // Release lock.
424 { // acquire lock
454 } // release lock
463 { // acquire lock
477 } // release lock
500 { // acquire lock
[all...]
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_Visualizer.cpp81 AutoMutex lock(&callback_data_lock);
167 AutoMutex lock(&callbackInfo->callback_data_lock);
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp155 CHECK_EQ(0, mapper.lock(
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Client.h48 virtual status_t lock();
/frameworks/av/services/camera/libcameraservice/camera2/
H A DParameters.h329 mSharedParameters.mLock.lock();
346 // Access static info, read-only and immutable, so no lock needed
/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp37 ASSERT_EQ(NO_ERROR, s->lock(&info));
/frameworks/base/media/java/android/media/videoeditor/
H A DVideoEditorImpl.java449 lock();
487 lock();
733 lock();
935 semAcquireDone = lock(ENGINE_ACCESS_MAX_TIMEOUT_MS);
1668 semAcquireDone = lock(ENGINE_ACCESS_MAX_TIMEOUT_MS);
1685 * Release The lock on complete by calling stopPreview
1908 private void lock() throws InterruptedException { method in class:VideoEditorImpl
1910 Log.d(TAG, "lock: grabbing semaphore", new Throwable());
1914 Log.d(TAG, "lock: grabbed semaphore");
1926 private boolean lock(lon method in class:VideoEditorImpl
[all...]
/frameworks/base/services/input/
H A DInputDispatcher.cpp208 { // acquire lock
223 { // acquire lock
238 } // release lock
676 // Enqueue a command to run outside the lock to tell the policy that the configuration changed.
2103 { // acquire lock
2161 } // release lock
2334 { // acquire lock
2339 } // release lock
2395 { // acquire lock
2396 mLock.lock();
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp106 static const char kHardwareLockedString[] = "Hardware lock is taken\n";
162 // AudioFlinger::setParameters() updates, other threads read w/o lock
385 // get state of hardware lock
396 // failed to lock - AudioFlinger is probably deadlocked
621 AutoMutex lock(mHardwareLock);
657 { // scope for the lock
658 AutoMutex lock(mHardwareLock);
687 AutoMutex lock(mHardwareLock);
703 AutoMutex lock(mHardwareLock);
728 AutoMutex lock(mHardwareLoc
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java141 public boolean lock() { method in class:KeyStore
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp99 status_t err = yuvTexBuffer->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf));
101 fprintf(stderr, "yuvTexBuffer->lock(...) failed: %d\n", err);
/frameworks/base/services/common_time/
H A Dcommon_time_server.cpp154 // No need to grab the lock here. We are in the destructor; if the the user
185 // Hold the lock while we are in the main thread loop. It will release the
186 // lock when it blocks, and hold the lock at all other times.
187 mLock.lock();
238 mLock.lock();
395 mLock.lock();
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp2017 mLock.lock();
2093 mLock.lock();
2116 mLock.lock();
2144 mLock.lock();
2502 Mutex::Autolock lock(mLock);

Completed in 8495 milliseconds

1234567