Searched defs:lock (Results 1 - 25 of 44) sorted by path

12

/frameworks/av/camera/
H A DCamera.cpp159 status_t Camera::lock() function in class:android::Camera
163 return c->lock();
H A DICamera.cpp255 virtual status_t lock() function in class:android::BpCamera
405 reply->writeInt32(lock());
/frameworks/av/include/private/media/
H A DAudioEffectShared.h37 Mutex lock; member in struct:android::effect_param_cblk_t
43 : lock(Mutex::SHARED), clientIndex(0), serverIndex(0) {}
H A DAudioTrackShared.h64 Mutex lock; // sizeof(int) member in struct:android::audio_track_cblk_t
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.h41 pthread_mutex_t lock; member in struct:lib_entry_s
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h154 // lock/unlock are used by the callback before accessing the payload of this object
155 void lock() { mLock.lock(); } function in class:android::MediaPlayerService::AudioOutput::CallbackData
159 void beginTrackSwitch() { mLock.lock(); mSwitching = true; }
371 sp<MediaPlayerBase> getPlayer() const { Mutex::Autolock lock(mLock); return mPlayer; }
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp924 void MPEG4Writer::lock() { function in class:android::MPEG4Writer
925 mLock.lock();
1548 // Actual write without holding the lock in order to
1553 mLock.lock();
2402 Mutex::Autolock lock(mLock);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h465 // we don't really need a lock for these
613 // lock all effect chains Mutexes. Must be called before releasing the
728 // These fields are written and read by thread itself without lock or barrier,
729 // and read by other threads without lock or barrier via standby() , outDevice()
731 // Because of the absence of a lock or barrier, any other thread that reads
895 // 'volatile' means accessed without lock or
1064 // same, but lock must already be held
1134 // 'volatile' means accessed via atomic operations and no lock.
1141 // copy rather than the one in AudioFlinger. This optimization saves a lock.
1244 // accessed by both binder threads and within threadLoop(), lock o
1817 void lock() { function in class:android::AudioFlinger::EffectChain
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Client.cpp294 result.appendFormat(" AE lock %s, AWB lock %s\n",
440 status_t Camera2Client::lock() { function in class:android::Camera2Client
1512 mSharedClient.mCameraClientLock.lock();
H A DCameraClient.cpp96 // this lock should never be NULL
97 Mutex* lock = mCameraService->getClientLockById(mCameraId); local
98 lock->lock();
100 // client will not be accessed from callback. should unlock to prevent dead-lock in disconnect
101 lock->unlock();
143 status_t CameraClient::lock() { function in class:android::CameraClient
145 LOG1("lock (pid %d)", callingPid);
146 Mutex::Autolock lock(mLock);
148 // lock camer
690 Mutex* lock = getClientLockFromCookie(user); local
715 Mutex* lock = getClientLockFromCookie(user); local
753 Mutex* lock = getClientLockFromCookie(user); local
[all...]
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java97 private final Object lock = new Object(); field in class:LauncherActivity.ActivityAdapter
190 synchronized (lock) {
196 synchronized (lock) {
/frameworks/base/core/java/android/hardware/
H A DCamera.java106 * and re-lock the camera.
400 public native final void lock(); method in class:Camera
406 * which will re-acquire the lock and allow you to continue using the
873 * The auto-focus routine does not lock auto-exposure and auto-white
905 * <p>Auto-exposure lock {@link android.hardware.Camera.Parameters#getAutoExposureLock()}
1697 private static final String KEY_AUTO_EXPOSURE_LOCK = "auto-exposure-lock";
1698 private static final String KEY_AUTO_EXPOSURE_LOCK_SUPPORTED = "auto-exposure-lock-supported";
1699 private static final String KEY_AUTO_WHITEBALANCE_LOCK = "auto-whitebalance-lock";
1700 private static final String KEY_AUTO_WHITEBALANCE_LOCK_SUPPORTED = "auto-whitebalance-lock-supported";
2751 * auto-white balance lock
[all...]
/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/base/core/java/android/util/
H A DPools.java38 public static <T extends Poolable<T>> Pool<T> synchronizedPool(Pool<T> pool, Object lock) { argument
39 return new SynchronizedPool<T>(pool, lock);
H A DSynchronizedPool.java32 public SynchronizedPool(Pool<T> pool, Object lock) { argument
34 mLock = lock;
/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java426 ViewGroup parent, Object lock, LayoutInflater layoutInflater, OnClickHandler
433 synchronized (lock) {
514 // of the FixedSizeRemoteViewsCache. If we ever lock on both meta data objects, it is in
425 createLoadingView(int position, View convertView, ViewGroup parent, Object lock, LayoutInflater layoutInflater, OnClickHandler handler) argument
H A DSlidingDrawer.java914 * @see #lock()
925 public void lock() { method in class:SlidingDrawer
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java141 public boolean lock() { method in class:KeyStore
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp595 AutoMutex lock(mDecodeLock);
2489 mTable.lock();
3210 mLock.lock();
3225 void ResTable::lock() const function in class:android::ResTable
3227 mLock.lock();
3524 mLock.lock();
3536 mLock.lock();
/frameworks/base/libs/hwui/
H A DResourceCache.cpp49 void ResourceCache::lock() { function in class:android::uirenderer::ResourceCache
50 mLock.lock();
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaArtistNativeHelper.java1721 * @param lock The semaphore
1724 public MediaArtistNativeHelper(String projectPath, Semaphore lock, VideoEditor veObj) { argument
1736 mLock = lock;
3164 lock();
3928 private void lock() throws InterruptedException { method in class:MediaArtistNativeHelper
3930 Log.d(TAG, "lock: grabbing semaphore", new Throwable());
3934 Log.d(TAG, "lock: grabbed semaphore");
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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCodecTest.java56 private static final Object lock = new Object(); field in class:CodecTest
262 synchronized (lock) {
265 lock.wait(WAIT_FOR_COMMAND_TO_COMPLETE);
298 synchronized (lock) {
301 lock.wait(WAIT_FOR_COMMAND_TO_COMPLETE);
679 synchronized (lock) {
681 lock.notify();
718 synchronized (lock) {
721 lock.wait(WAIT_FOR_COMMAND_TO_COMPLETE);
803 synchronized (lock) {
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioEffectTest.java58 private final Object lock = new Object(); field in class:MediaAudioEffectTest
353 synchronized(lock) {
355 lock.wait(1000);
368 synchronized(lock) {
371 lock.wait(1000);
1158 synchronized(lock) {
1160 lock.wait(1000);
1166 synchronized(lock) {
1173 lock.wait(1000);
1206 synchronized(lock) {
[all...]
H A DMediaVisualizerTest.java59 private final Object lock = new Object(); field in class:MediaVisualizerTest
336 synchronized(lock) {
338 lock.wait(1000);
348 synchronized(lock) {
351 lock.wait(1000);
362 synchronized(lock) {
365 lock.wait(1000);
381 synchronized(lock) {
384 lock.wait(1000);
395 synchronized(lock) {
[all...]

Completed in 293 milliseconds

12