Searched refs:lock (Results 126 - 150 of 168) sorted by relevance

1234567

/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp727 // Now lock down the resource object and start pulling stuff from it.
728 res.lock();
952 // Now lock down the resource object and start pulling stuff from it.
953 res.lock();
1166 // Now lock down the resource object and start pulling stuff from it.
1167 res.lock();
1264 res.lock();
1299 // Now lock down the resource object and start pulling stuff from it.
1300 res.lock();
/frameworks/native/opengl/libagl/
H A Degl.cpp239 status_t lock(ANativeWindowBuffer* buf, int usage, void** vaddr);
406 if (lock(buffer, GRALLOC_USAGE_SW_READ_OFTEN |
408 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)",
1767 // FIXME: lock/connect the read surface too
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp148 Mutex::Autolock lock(mLock);
489 //This lock is used to syncronize onStreamDone() in PreviewPlayer and
1248 mLockControl.lock();
2057 Mutex::Autolock lock(mLock);
H A DVideoEditorAudioPlayer.cpp206 Mutex::Autolock lock(mLock);
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp796 Mutex::Autolock lock(thread->mMutex);
813 Mutex::Autolock lock(mMutex);
833 Mutex::Autolock lock(mMutex);
/frameworks/av/media/libmedia/
H A Dmediarecorder.cpp664 mLock.lock();
/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...]
H A DAudioPolicyService.cpp658 mLock.lock();
679 mLock.lock();
689 mLock.lock();
736 // release delayed commands wake lock
890 // acquire wake lock to make sure delayed commands are processed
/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/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp69 // No lock is needed, since it is called internally by other methods that are protected
76 // No lock is needed, since it is called internally by other methods that are protected
359 Mutex::Autolock lock(sLock);
368 // No lock is needed, since android_media_MediaMetadataRetriever_release() is protected
H A Dandroid_media_MediaProfiles.cpp40 Mutex::Autolock lock(sLock);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java265 mCamera.lock();
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java723 mProfileLock.lock();
1154 mProfileLock.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/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.cpp207 mCamera->lock();
526 // This CHECK is good, since we just passed the lock/unlock
563 // the lock on Camera is never released(). This makes sure
564 // Camera's lock is released in this case.
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/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.cpp782 res = GraphicBufferMapper::get().lock(imgBuffer,
786 ALOGE("%s: Unable to lock image buffer %p for access", __FUNCTION__,
/frameworks/base/services/input/
H A DSpriteController.cpp115 { // acquire lock
126 } // release lock
201 status_t status = surface->lock(&surfaceInfo);
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/native/libs/utils/
H A DThreads.cpp183 // assigned after the child starts. Use memory barrier / lock if the child
425 status_t Mutex::lock()
493 // lock the external mutex before calling signal() and broadcast().
524 // Reacquire lock to avoid race conditions.
576 // used so we don't have to lock external mutex on signal/broadcast
/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");
/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 DDisplayListRenderer.cpp133 caches.resourceCache.lock();
217 caches.resourceCache.lock();
1363 mCaches.resourceCache.lock();
/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();

Completed in 1197 milliseconds

1234567