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

123456789

/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,
711 // 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.cpp855 result.append(" (Unable to lock queue mutex)\n");
906 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);
787 { // Scope for the lock
2405 // Try to get the main lock, but don't insist if we can't
2524 // 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.
716 // HW accelerated drawing. (This is basically for the lock screen.)
1482 mSurfaceHolder.mSurfaceLock.lock();
1743 mSurfaceHolder.mSurfaceLock.lock();
2535 // rendering at this point would lock it forever and prevent hardware renderer
2598 Log.e(TAG, "Could not lock surface", e);
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp2126 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
2128 ALOGE("error pushing blank frames: lock failed: %s (%d)",
2791 // releases the lock and ::init can notice the state change and
H A DACodec.cpp3978 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
3980 ALOGE("error pushing blank frames: lock failed: %s (%d)",
/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.java876 // lock count, and are in "battery realtime" units.
2699 if (DEBUG_HISTORY) Slog.v(TAG, "Start wake lock to: "
2722 // Slog.wtf(TAG, "Acquiring wake lock from root: " + name);
2746 if (DEBUG_HISTORY) Slog.v(TAG, "Stop wake lock to: "
3053 // Fake a wake lock, so we consider the device waked as long
3770 if (DEBUG_HISTORY) Slog.v(TAG, "WIFI full lock on to: "
3785 if (DEBUG_HISTORY) Slog.v(TAG, "WIFI full lock off to: "
5212 * The statistics associated with a particular wake lock.
7110 Slog.w(TAG, "Couldn't get kernel wake lock stats");
7696 mWriteLock.lock();
[all...]

Completed in 601 milliseconds

123456789