Searched refs:lock (Results 151 - 168 of 168) sorted by relevance
1234567
/frameworks/base/services/input/ |
H A D | EventHub.cpp | 871 // Poll for events. Mind the wake lock dance! 872 // We hold a wake lock at all times except during epoll_wait(). This works due to some 874 // a kernel wake lock. However, once the last pending event has been read, the device 875 // driver will release the kernel wake lock. To prevent the system from going to sleep 876 // when this happens, the EventHub holds onto its own user wake lock while the client 884 mLock.unlock(); // release lock before poll, must be before release_wake_lock 890 mLock.lock(); // reacquire lock after poll, must be after acquire_wake_lock 1212 // Enable wake-lock behavior on kernels that support it. 1472 { // acquire lock [all...] |
H A D | InputReader.cpp | 232 { // acquire lock 237 } // release lock 251 { // acquire lock 266 } // release lock 270 { // acquire lock 293 } // release lock 301 // This must happen outside of the lock because the listener could potentially call 303 // on another thread similarly waiting to acquire the InputReader lock thereby 762 // Acquire and release the lock to ensure that the reader has not deadlocked. 763 mLock.lock(); [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 975 res = GraphicBufferMapper::get().lock(imgBuffer, 979 ALOGE("%s: Unable to lock image buffer %p for access", __FUNCTION__,
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 519 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 626 mSurfaceHolder.mSurfaceLock.lock();
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 201 // Vector access should be protected by lock in postData() 733 ALOGV("lock"); 737 if (camera->lock() != NO_ERROR) { 738 jniThrowRuntimeException(env, "lock failed"); 905 { "lock",
|
H A D | android_view_Surface.cpp | 399 status_t err = surface->lock(&info, &dirtyRegion);
|
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 1362 void lock() const;
|
/frameworks/av/media/libmedia/ |
H A D | MediaProfiles.cpp | 618 Mutex::Autolock lock(sLock);
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | Camera2Device.cpp | 794 result.append(" (Unable to lock queue mutex)\n"); 845 mMutex.lock();
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 106 * 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/rs/driver/ |
H A D | rsdAllocation.cpp | 477 // Must lock the whole surface 482 mapper.lock(drv->wndBuffer->handle,
|
/frameworks/native/opengl/libagl/ |
H A D | texture.cpp | 139 int err = module->lock(module, native_buffer->handle,
|
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 246 // These can be accessed by any thread, must be protected with a lock. 705 // HW accelerated drawing. (This is basically for the lock screen.) 1360 mSurfaceHolder.mSurfaceLock.lock(); 1612 mSurfaceHolder.mSurfaceLock.lock(); 2197 // rendering at this point would lock it forever and prevent hardware renderer 2235 Log.e(TAG, "Could not lock surface", e);
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 2270 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 2272 ALOGE("error pushing blank frames: lock failed: %s (%d)",
|
H A D | OMXCodec.cpp | 1993 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); 1995 ALOGE("error pushing blank frames: lock failed: %s (%d)", 2684 // releases the lock and ::init can notice the state change and
|
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.cpp | 529 mCaches.resourceCache.lock();
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 504 // lock count, and are in "battery realtime" units. 1530 if (DEBUG_HISTORY) Slog.v(TAG, "Start wake lock to: " 1550 if (DEBUG_HISTORY) Slog.v(TAG, "Stop wake lock to: " 1768 // Fake a wake lock, so we consider the device waked as long 2188 if (DEBUG_HISTORY) Slog.v(TAG, "WIFI full lock on to: " 2200 if (DEBUG_HISTORY) Slog.v(TAG, "WIFI full lock off to: " 3029 * The statistics associated with a particular wake lock. 4475 Slog.w(TAG, "Couldn't get kernel wake lock stats"); 4902 mWriteLock.lock(); 5274 // Need to update with current kernel wake lock count [all...] |
Completed in 3875 milliseconds
1234567