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

123456789

/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();
/frameworks/testing/espresso/libs/
H A Dguava-14.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/frameworks/av/services/audioflinger/
H A DTracks.cpp236 // must run with AudioFlinger lock held. Thus the explicit clear() rather than
478 // destructor is called. As the destructor needs to lock mLock,
710 // isn't looking at this track yet: we still hold the normal mixer thread lock,
840 // must be called with thread lock held
883 // FIXME no lock held to set mPreviousValid = false
888 // FIXME no lock held to set mPreviousValid = false
1102 //To be called with thread lock held
1115 //To be called with thread lock held
1366 Mutex::Autolock lock(mMediaTimeTransformLock);
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp865 result.append(" (Unable to lock queue mutex)\n");
916 mMutex.lock();
/frameworks/native/opengl/libagl/
H A Dtexture.cpp139 int err = module->lock(module, native_buffer->handle,
/frameworks/rs/driver/
H A DrsdAllocation.cpp655 // Must lock the whole surface
660 mapper.lock(drv->wndBuffer->handle,
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp331 // Do NOT lock the mutex here so as to avoid any mutex ordering issues
353 Mutex::Autolock lock(mMutex);
361 Mutex::Autolock lock(mMutex);
784 { // Scope for the lock
2361 // Try to get the main lock, but don't insist if we can't
2480 // the lock and should use mCurrentState rather than mDrawingState.
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java246 // These can be accessed by any thread, must be protected with a lock.
712 // HW accelerated drawing. (This is basically for the lock screen.)
1475 mSurfaceHolder.mSurfaceLock.lock();
1729 mSurfaceHolder.mSurfaceLock.lock();
2497 // rendering at this point would lock it forever and prevent hardware renderer
2560 Log.e(TAG, "Could not lock surface", e);
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp2124 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
2126 ALOGE("error pushing blank frames: lock failed: %s (%d)",
2789 // releases the lock and ::init can notice the state change and
H A DACodec.cpp3652 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
3654 ALOGE("error pushing blank frames: lock failed: %s (%d)",
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.cpp591 mCaches.resourceCache.lock();
/frameworks/native/services/inputflinger/
H A DInputReader.cpp243 { // acquire lock
248 } // release lock
262 { // acquire lock
277 } // release lock
281 { // acquire lock
304 } // release lock
312 // This must happen outside of the lock because the listener could potentially call
314 // on another thread similarly waiting to acquire the InputReader lock thereby
774 // Acquire and release the lock to ensure that the reader has not deadlocked.
775 mLock.lock();
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java872 // lock count, and are in "battery realtime" units.
2679 if (DEBUG_HISTORY) Slog.v(TAG, "Start wake lock to: "
2702 // Slog.wtf(TAG, "Acquiring wake lock from root: " + name);
2726 if (DEBUG_HISTORY) Slog.v(TAG, "Stop wake lock to: "
3033 // Fake a wake lock, so we consider the device waked as long
3742 if (DEBUG_HISTORY) Slog.v(TAG, "WIFI full lock on to: "
3757 if (DEBUG_HISTORY) Slog.v(TAG, "WIFI full lock off to: "
5174 * The statistics associated with a particular wake lock.
7012 Slog.w(TAG, "Couldn't get kernel wake lock stats");
7597 mWriteLock.lock();
[all...]

Completed in 628 milliseconds

123456789