Searched refs:lock (Results 226 - 250 of 364) sorted by relevance

1234567891011>>

/frameworks/av/camera/include/camera/
H A DCamera.h94 status_t lock();
/frameworks/av/include/camera/
H A DCamera.h94 status_t lock();
/frameworks/av/include/media/stagefright/
H A DMPEG4Writer.h200 void lock();
205 // Acquire lock before calling these methods
/frameworks/av/media/libstagefright/
H A DMediaCodecSource.cpp278 queue.lock();
523 mMeta.lock().set(meta);
847 mMeta.lock().set(meta);
972 if (mOutput.lock()->mEncoderReachedEOS) {
H A DSurfaceUtils.cpp193 err = buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img));
195 ALOGE("error pushing blank frames: lock failed: %s (%d)", strerror(-err), -err);
/frameworks/av/media/libstagefright/foundation/include/
H A DMPEG4Writer.h200 void lock();
205 // Acquire lock before calling these methods
/frameworks/av/media/libstagefright/include/
H A DMPEG4Writer.h200 void lock();
205 // Acquire lock before calling these methods
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.h58 virtual status_t lock();
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java755 MagnificationController(@NonNull AccessibilityService service, @NonNull Object lock) { argument
757 mLock = lock;
1151 SoftKeyboardController(@NonNull AccessibilityService service, @NonNull Object lock) { argument
1153 mLock = lock;
/frameworks/base/libs/hwui/utils/
H A DLinearAllocator.cpp73 android::AutoMutex lock(s_mutex);
/frameworks/base/services/core/jni/
H A Dcom_android_server_am_BatteryStatsService.cpp197 std::lock_guard<std::mutex> lock(gPowerHalMutex);
H A Dcom_android_server_location_ContextHubService.cpp172 std::lock_guard<std::mutex>lock(mLock);
186 std::lock_guard<std::mutex>lock(mLock);
192 std::lock_guard<std::mutex>lock(mLock);
197 std::lock_guard<std::mutex>lock(mLock);
212 std::lock_guard<std::mutex>lock(mLock);
230 // Only call this if you hold the lock.
/frameworks/native/cmds/surfacereplayer/replayer/
H A DReplayer.h106 const DeferredTransactionChange& dtc, std::unique_lock<std::mutex>& lock);
/frameworks/native/libs/binder/tests/
H A DbinderSafeInterfaceTest.cpp595 std::unique_lock<decltype(sMutex)> lock; local
749 std::unique_lock<decltype(mMutex)> lock(mMutex);
755 std::unique_lock<decltype(mMutex)> lock(mMutex);
757 mCondition.wait_for(lock, 100ms, [&]() { return static_cast<bool>(mValue); });
/frameworks/native/libs/gui/
H A DCpuConsumer.cpp96 CC_LOGW("Max buffers have been locked (%zd), cannot lock anymore.",
142 CC_LOGE("Unable to lock YCbCr buffer for CPU reading: %s (%d)",
156 err = mSlots[slot].mGraphicBuffer->lock(
162 CC_LOGE("Unable to lock buffer for CPU reading: %s (%d)",
H A DSurfaceControl.cpp266 Mutex::Autolock lock(mLock);
/frameworks/native/libs/vr/libbufferhub/
H A Dion_buffer.cpp207 buffer_->lock(usage, Rect(x, y, x + width, y + height), address);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFramebufferSurface.cpp132 Mutex::Autolock lock(mMutex);
H A DHWC2.cpp109 auto display = element.second.lock();
251 auto strongDisplay = mDisplays[id].lock();
796 auto layer = mLayers.at(id).lock();
814 auto display = mDisplay.lock();
/frameworks/native/services/vr/bufferhubd/
H A Dproducer_queue_channel.cpp119 if (auto buffer = buffers_[slot].lock())
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp93 static const char kHardwareLockedString[] = "Hardware lock is taken\n";
94 static const char kClientLockedString[] = "Client lock is taken\n";
455 // get state of hardware lock
466 // failed to lock - AudioFlinger is probably deadlocked
873 AutoMutex lock(mHardwareLock);
913 { // scope for the lock
914 AutoMutex lock(mHardwareLock);
943 AutoMutex lock(mHardwareLock);
964 AutoMutex lock(mHardwareLock);
995 AutoMutex lock(mHardwareLoc
[all...]
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp217 { // acquire lock
232 { // acquire lock
247 } // release lock
694 // Enqueue a command to run outside the lock to tell the policy that the configuration changed.
2140 { // acquire lock
2198 } // release lock
2379 { // acquire lock
2384 } // release lock
2453 { // acquire lock
2454 mLock.lock();
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp408 Mutex::Autolock lock(mVsyncMutex);
430 Mutex::Autolock lock(mCallbackMutex);
435 Mutex::Autolock lock(mVsyncMutex);
473 Mutex::Autolock lock(mCallbackMutex);
512 std::lock_guard<std::mutex> lock(mCallbackMutex);
517 std::lock_guard<std::mutex> lock(mCallbackMutex);
566 // Drop the state lock while we initialize the hardware composer. We drop
567 // the lock because on creation, it will call back into SurfaceFlinger to
1125 // No explicit locking is needed here since EventThread holds a lock while calling this method
1136 Mutex::Autolock lock(mStateLoc
[all...]
/frameworks/av/camera/
H A DICamera.cpp297 virtual status_t lock() function in class:android::hardware::BpCamera
481 reply->writeInt32(lock());
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp217 * Release the lock briefly to avoid deadlock with
272 mLock.lock();
526 * Release the lock briefly to avoid deadlock for below scenario:
528 * This thread acquired StreamingProcessor lock and try to lock Camera3Stream lock.
530 * This thread acquired Camera3Stream lock and bufferQueue lock, and try to lock
531 * StreamingProcessor lock
[all...]

Completed in 1584 milliseconds

1234567891011>>