/frameworks/base/media/jni/ |
H A D | android_media_MediaDrm.cpp | 360 Mutex::Autolock lock(mLock); 367 mLock.lock(); 372 Mutex::Autolock lock(mNotifyLock);
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 225 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 D | MPEG4Writer.cpp | 1037 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 D | GraphicBufferSource.cpp | 796 Mutex::Autolock lock(mMutex);
|
H A D | SoftVideoEncoderOMXComponent.cpp | 552 res = grmodule->lock( 558 ALOGE("Unable to lock image buffer %p for access", handle);
|
/frameworks/base/core/java/android/widget/ |
H A D | SlidingDrawer.java | 935 * @see #lock() 946 public void lock() { method in class:SlidingDrawer
|
/frameworks/base/libs/input/ |
H A D | SpriteController.cpp | 117 { // 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 D | gradle-wrapper.jar | ... Callable) long startAt
java.nio.channels.FileLock lock
Exception e
java.io.File exclusiveFile
java. ... |
/frameworks/multidex/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... Callable) long startAt
java.nio.channels.FileLock lock
Exception e
java.io.File exclusiveFile
java. ... |
/frameworks/support/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... Callable) long startAt
java.nio.channels.FileLock lock
Exception e
java.io.File exclusiveFile
java. ... |
/frameworks/av/services/audioflinger/ |
H A D | Threads.cpp | 338 // 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 D | ResourceTypes.cpp | 718 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 D | LiveSession.cpp | 244 Mutex::Autolock lock(mSwapMutex); 1703 Mutex::Autolock lock(mSwapMutex);
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 313 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 D | UserState.java | 122 public UserState(Context context, int userId, Object lock) { argument 125 mLock = lock;
|
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 959 // 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 D | SurfaceMediaSource_test.cpp | 518 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 223 // 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 D | ResourceTypes.h | 1605 void lock() const;
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCameraAgentImpl.java | 437 mCamera.lock();
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.cpp | 285 // 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 D | MediaProfiles.cpp | 641 Mutex::Autolock lock(sLock);
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 112 * 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 D | WallpaperService.java | 678 mSurfaceHolder.mSurfaceLock.lock();
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RenderScript.java | 220 // take teardown lock 221 // teardown lock can only be taken when no objects are being destroyed 223 wlock.lock();
|