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

123456789

/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java463 ViewGroup parent, Object lock, LayoutInflater layoutInflater, OnClickHandler
470 synchronized (lock) {
551 // of the FixedSizeRemoteViewsCache. If we ever lock on both meta data objects, it is in
462 createLoadingView(int position, View convertView, ViewGroup parent, Object lock, LayoutInflater layoutInflater, OnClickHandler handler) argument
H A DSlidingDrawer.java935 * @see #lock()
946 public void lock() { method in class:SlidingDrawer
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp663 err = gBuf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf));
665 testPrintE("hwcTestFillColor lock failed: %d", err);
701 err = gBuf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf));
703 testPrintE("hwcTestFillColorHBlend lock failed: %d", err);
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp224 mCamera->lock();
548 // This CHECK is good, since we just passed the lock/unlock
585 // the lock on Camera is never released(). This makes sure
586 // Camera's lock is released in this case.
H A DMPEG4Writer.cpp1032 void MPEG4Writer::lock() { function in class:android::MPEG4Writer
1033 mLock.lock();
1661 // In real time recording mode, write without holding the lock in order
1663 // Otherwise, hold the lock until the existing chunks get written to the
1671 mLock.lock();
2553 Mutex::Autolock lock(mLock);
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.cpp796 Mutex::Autolock lock(mMutex);
/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/support/gradle/wrapper/
H A Dgradle-wrapper.jar ... Callable) long startAt java.nio.channels.FileLock lock Exception e java.io.File exclusiveFile java. ...
/frameworks/testing/espresso/gradle/wrapper/
H A Dgradle-wrapper.jar ... Callable) long startAt java.nio.channels.FileLock lock Exception e java.io.File exclusiveFile java. ...
/frameworks/testing/espresso/libs/
H A Ddagger-1.2.1.jarMETA-INF/ META-INF/MANIFEST.MF dagger/ dagger/internal/ dagger/internal/loaders/ dagger/internal/ArrayQueue$ ...
/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();
1523 // track must be cleared from the caller as the caller has the AF lock
1629 mLock.lock();
1630 // abort track was stopped/paused while we released the lock
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp718 AutoMutex lock(mDecodeLock);
3054 mTable.lock();
3745 mLock.lock();
3760 void ResTable::lock() const function in class:android::ResTable
3762 mLock.lock();
4028 mLock.lock();
4040 mLock.lock();
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp220 Mutex::Autolock lock(mSwapMutex);
1661 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/java/android/service/wallpaper/
H A DWallpaperService.java688 mSurfaceHolder.mSurfaceLock.lock();
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp207 // Vector access should be protected by lock in postData()
780 ALOGV("lock");
784 if (camera->lock() != NO_ERROR) {
785 jniThrowRuntimeException(env, "lock failed");
955 { "lock",
/frameworks/base/include/androidfw/
H A DResourceTypes.h1585 void lock() const;
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCameraAgentImpl.java404 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) {
383 // Try to lock, but continue in case of failure (to avoid blocking in
389 "Camera %d: %s: Unable to lock interface lock, proceeding anyway",
392 "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...]

Completed in 912 milliseconds

123456789