Searched refs:lock (Results 176 - 200 of 210) sorted by relevance

123456789

/frameworks/base/media/jni/
H A Dandroid_media_MediaDrm.cpp360 Mutex::Autolock lock(mLock);
367 mLock.lock();
372 Mutex::Autolock lock(mNotifyLock);
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp225 mCamera->lock();
549 // This CHECK is good, since we just passed the lock/unlock
586 // the lock on Camera is never released(). This makes sure
587 // Camera's lock is released in this case.
H A DMPEG4Writer.cpp1037 void MPEG4Writer::lock() { function in class:android::MPEG4Writer
1038 mLock.lock();
1666 // In real time recording mode, write without holding the lock in order
1668 // Otherwise, hold the lock until the existing chunks get written to the
1676 mLock.lock();
2558 Mutex::Autolock lock(mLock);
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.cpp796 Mutex::Autolock lock(mMutex);
H A DSoftVideoEncoderOMXComponent.cpp552 res = grmodule->lock(
558 ALOGE("Unable to lock image buffer %p for access", handle);
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java935 * @see #lock()
946 public void lock() { method in class:SlidingDrawer
/frameworks/base/libs/input/
H A DSpriteController.cpp117 { // acquire lock
128 } // release lock
203 status_t status = surface->lock(&outBuffer, NULL);
325 if (surfaceChanged) { // acquire lock
337 } // release lock
339 // Clear the sprite update vector outside the lock. It is very important that
340 // we do not clear sprite references inside the lock since we could be releasing
342 // sprite being deleted and the lock being reacquired by the sprite destructor
350 { // acquire lock
355 } // release lock
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
H A Dgradle-wrapper.jar ... Callable) long startAt java.nio.channels.FileLock lock Exception e java.io.File exclusiveFile java. ...
/frameworks/multidex/gradle/wrapper/
H A Dgradle-wrapper.jar ... Callable) long startAt java.nio.channels.FileLock lock Exception e java.io.File exclusiveFile java. ...
/frameworks/support/gradle/wrapper/
H A Dgradle-wrapper.jar ... Callable) long startAt java.nio.channels.FileLock lock Exception e java.io.File exclusiveFile java. ...
/frameworks/av/services/audioflinger/
H A DThreads.cpp338 // do not lock the mutex in destructor
363 // This lock prevents the following race in thread (uniprocessor for illustration):
372 AutoMutex lock(mLock);
392 // Can temporarily release the lock if waiting for a reply from processConfigEvents_l().
411 mLock.lock();
723 ALOGE("no wake lock to update!");
1112 mEffectChains[i]->lock();
1521 // track must be cleared from the caller as the caller has the AF lock
1628 mLock.lock();
1629 // abort track was stopped/paused while we released the lock
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp718 AutoMutex lock(mDecodeLock);
3058 mTable.lock();
3753 mLock.lock();
3768 void ResTable::lock() const function in class:android::ResTable
3770 mLock.lock();
4036 mLock.lock();
4048 mLock.lock();
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp244 Mutex::Autolock lock(mSwapMutex);
1703 Mutex::Autolock lock(mSwapMutex);
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp313 result.appendFormat(" AE lock %s, AWB lock %s\n",
423 // Don't wait with lock held, in case the other threads need to
434 mBinderSerializationLock.lock();
477 status_t Camera2Client::lock() { function in class:android::Camera2Client
/frameworks/base/services/print/java/com/android/server/print/
H A DUserState.java122 public UserState(Context context, int userId, Object lock) { argument
125 mLock = lock;
/frameworks/native/services/inputflinger/
H A DEventHub.cpp959 // Poll for events. Mind the wake lock dance!
960 // We hold a wake lock at all times except during epoll_wait(). This works due to some
962 // a kernel wake lock. However, once the last pending event has been read, the device
963 // driver will release the kernel wake lock. To prevent the system from going to sleep
964 // when this happens, the EventHub holds onto its own user wake lock while the client
972 mLock.unlock(); // release lock before poll, must be before release_wake_lock
978 mLock.lock(); // reacquire lock after poll, must be after acquire_wake_lock
1622 { // acquire lock
1657 } // release lock
[all...]
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp518 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp223 // Vector access should be protected by lock in postData()
823 ALOGV("lock");
827 if (camera->lock() != NO_ERROR) {
828 jniThrowRuntimeException(env, "lock failed");
998 { "lock",
/frameworks/base/include/androidfw/
H A DResourceTypes.h1605 void lock() const;
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCameraAgentImpl.java437 mCamera.lock();
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp285 // try to acquire a lock a few times, eventually give up to proceed with
287 bool Camera3Device::tryLockSpinRightRound(Mutex& lock) { argument
290 if (lock.tryLock() == NO_ERROR) {
382 // Try to lock, but continue in case of failure (to avoid blocking in
388 "Camera %d: %s: Unable to lock interface lock, proceeding anyway",
391 "Camera %d: %s: Unable to lock main lock, proceeding anyway",
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp641 Mutex::Autolock lock(sLock);
/frameworks/base/core/java/android/hardware/
H A DCamera.java112 * and re-lock the camera.
582 public native final void lock(); method in class:Camera
588 * which will re-acquire the lock and allow you to continue using the
1202 * The auto-focus routine does not lock auto-exposure and auto-white
1234 * <p>Auto-exposure lock {@link android.hardware.Camera.Parameters#getAutoExposureLock()}
2115 private static final String KEY_AUTO_EXPOSURE_LOCK = "auto-exposure-lock";
2116 private static final String KEY_AUTO_EXPOSURE_LOCK_SUPPORTED = "auto-exposure-lock-supported";
2117 private static final String KEY_AUTO_WHITEBALANCE_LOCK = "auto-whitebalance-lock";
2118 private static final String KEY_AUTO_WHITEBALANCE_LOCK_SUPPORTED = "auto-whitebalance-lock-supported";
3225 * auto-white balance lock
[all...]
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java678 mSurfaceHolder.mSurfaceLock.lock();
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java220 // take teardown lock
221 // teardown lock can only be taken when no objects are being destroyed
223 wlock.lock();

Completed in 6436 milliseconds

123456789