Searched refs:lock (Results 151 - 175 of 213) sorted by relevance

123456789

/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_Visualizer.cpp85 AutoMutex lock(&callback_data_lock);
182 AutoMutex lock(&callbackInfo->callback_data_lock);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java213 mCamera.lock();
450 mCamera.lock();
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp220 Mutex::Autolock lock(mMutex);
437 Mutex::Autolock lock(mMutex);
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp897 mLock.lock();
925 mLock.lock();
977 mLock.lock();
1123 lpToneGen->mLock.lock();
H A Dmediarecorder.cpp691 mLock.lock();
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoEncoderOMXComponent.cpp247 res = grmodule->lock(
253 ALOGE("Unable to lock image buffer %p for access", handle);
/frameworks/base/core/jni/
H A Dandroid_view_GraphicBuffer.cpp180 status_t status = buffer->lock(LOCK_CANVAS_USAGE, rect, &bits);
H A Dandroid_util_AssetManager.cpp839 // Now lock down the resource object and start pulling stuff from it.
840 res.lock();
1073 // Now lock down the resource object and start pulling stuff from it.
1074 res.lock();
1282 // Now lock down the resource object and start pulling stuff from it.
1283 res.lock();
1496 // Now lock down the resource object and start pulling stuff from it.
1497 res.lock();
1594 res.lock();
1629 // Now lock dow
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaProfiles.cpp40 Mutex::Autolock lock(sLock);
H A Dandroid_media_MediaDrm.cpp360 Mutex::Autolock lock(mLock);
367 mLock.lock();
372 Mutex::Autolock lock(mNotifyLock);
H A Dandroid_media_MediaMetadataRetriever.cpp72 // No lock is needed, since it is called internally by other methods that are protected
79 // No lock is needed, since it is called internally by other methods that are protected
374 Mutex::Autolock lock(sLock);
383 // No lock is needed, since android_media_MediaMetadataRetriever_release() is protected
/frameworks/native/libs/binder/
H A DProcessState.cpp97 mLock.lock();
247 // call expungeHandle(), which acquires the same lock we are holding now.
/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/libs/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/services/audioflinger/
H A DEffects.cpp946 // failed to lock - AudioFlinger is probably deadlocked
948 result.append("\t\tCould not lock Fx mutex:\n");
1063 mEffect->lock();
1219 Mutex::Autolock _l(mCblk->lock);
1316 bool locked = mCblk != NULL && AudioFlinger::dumpTryLock(mCblk->lock);
1328 mCblk->lock.unlock();
1727 // failed to lock - AudioFlinger is probably deadlocked
1729 result.append("\tCould not lock mutex:\n");
1793 effect->lock();
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp2263 mLock.lock();
2337 mLock.lock();
2360 mLock.lock();
2389 mLock.lock();
2770 Mutex::Autolock lock(mLock);
2947 mStatsLock.lock();
/frameworks/native/opengl/libagl/
H A Degl.cpp240 status_t lock(ANativeWindowBuffer* buf, int usage, void** vaddr);
407 if (lock(buffer, GRALLOC_USAGE_SW_READ_OFTEN |
409 ALOGE("connect() failed to lock buffer %p (%ux%u)",
434 status_t egl_window_surface_v2_t::lock( function in class:android::egl_window_surface_v2_t
439 err = module->lock(module, buf->handle,
510 if (lock(previousBuffer,
563 if (lock(buffer, GRALLOC_USAGE_SW_READ_OFTEN |
565 ALOGE("eglSwapBuffers() failed to lock buffer %p (%ux%u)",
1771 // FIXME: lock/connect the read surface too
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp994 Mutex::Autolock lock(thread->mMutex);
1011 Mutex::Autolock lock(mMutex);
1031 Mutex::Autolock lock(mMutex);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java64 static Object lock = new Object(); field in class:RenderScript
228 // take teardown lock
229 // teardown lock can only be taken when no objects are being destroyed
231 wlock.lock();
999 synchronized(lock) {
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp657 mLock.lock();
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.h238 virtual status_t lock() = 0;
281 // convert client from cookie. Client lock should be acquired before getting Client.
344 // Step 1. Check if we can connect, before we acquire the service lock.
349 // Step 2. Check if we can connect, after we acquire the service lock.
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.h157 // A lock to enforce serialization on the input/configure side
165 // The main lock on internal state
322 * Try to acquire a lock a few times with sleeps between before giving up.
324 bool tryLockSpinRightRound(Mutex& lock);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraAgent.java427 * @see android.hardware.Camera#lock()
429 public void lock() { method in class:CameraAgent.CameraProxy
/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp204 status_t err = yuvTexBuffer->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf));
206 fprintf(stderr, "yuvTexBuffer->lock(...) failed: %d\n", err);
/frameworks/base/core/java/android/security/
H A DIKeystoreService.java197 public int lock() throws RemoteException { method in class:IKeystoreService.Stub.Proxy
625 public int lock() throws RemoteException; method in interface:IKeystoreService

Completed in 823 milliseconds

123456789