/frameworks/av/camera/ |
H A D | Camera.cpp | 145 status_t Camera::lock() function in class:android::Camera 149 return c->lock();
|
H A D | ICamera.cpp | 278 virtual status_t lock() function in class:android::hardware::BpCamera 449 reply->writeInt32(lock());
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | Mutexed.h | 62 * data.lock(); 91 * Upon creation, the mutex is locked. You can use lock()/unlock() methods to 92 * temporarily lock/unlock the mutex. Using any references to the underlying 97 * unlock() or lock() from different threads; they must be called from the thread 122 // Wait on the condition variable using lock. Must be locked. 134 inline void lock(); 156 inline Locked lock() { function in class:android::Mutexed 175 mLock.lock(); 194 inline void Mutexed<T>::Locked::lock() { function in class:android::Mutexed::Locked 196 mLock.lock(); [all...] |
/frameworks/av/include/private/media/ |
H A D | AudioEffectShared.h | 37 Mutex lock; member in struct:android::effect_param_cblk_t 43 : lock(Mutex::SHARED), clientIndex(0), serverIndex(0) {}
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.h | 51 pthread_mutex_t lock; member in struct:lib_entry_s
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.h | 177 // lock/unlock are used by the callback before accessing the payload of this object 178 void lock() const { mLock.lock(); } function in class:android::MediaPlayerService::AudioOutput::CallbackData 184 // tryBeginTrackSwitch() returns true only if it obtains the lock. 373 sp<MediaPlayerBase> getPlayer() const { Mutex::Autolock lock(mLock); return mPlayer; }
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 1131 void MPEG4Writer::lock() { function in class:android::MPEG4Writer 1132 mLock.lock(); 1776 // In real time recording mode, write without holding the lock in order 1778 // Otherwise, hold the lock until the existing chunks get written to the 1786 mLock.lock(); 2782 Mutex::Autolock lock(mLock);
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.h | 28 // In addition, methods that lock the AudioPolicyService mutex (getOutputForEffect(), 116 void lock() { mLock.lock(); } function in class:EffectModule 261 void lock() { function in class:EffectChain 262 mLock.lock();
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 256 Mutex::Autolock lock(mCameraStatesLock); 325 Mutex::Autolock lock(mServiceLock); 422 Mutex::Autolock lock(mStatusListenerLock); 653 // access priority. This is important for lock-screen camera launch scenarios 866 // Scope for service lock 867 Mutex::Autolock lock(mServiceLock); 891 // Scope for service lock 892 Mutex::Autolock lock(mServiceLock); 1237 mServiceLock.lock(); 1494 Mutex::Autolock lock(mServiceLoc 1659 std::unique_ptr<AutoConditionLock> lock = local 1806 std::unique_ptr<AutoConditionLock> lock = local [all...] |
H A D | CameraService.h | 293 virtual status_t lock() = 0; 490 // Check if we can connect, before we acquire the service lock. 772 Mutex::Autolock lock(mStatusLock); 838 std::unique_ptr<AutoConditionLock> lock = local 841 if (lock == nullptr) { 855 // Check the shim parameters after acquiring lock, if they have already been updated and 966 mServiceLock.lock(); 971 } // lock is destroyed, allow further connect calls
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 297 result.appendFormat(" AE lock %s, AWB lock %s\n", 407 // Don't wait with lock held, in case the other threads need to 417 mBinderSerializationLock.lock(); 459 status_t Camera2Client::lock() { function in class:android::Camera2Client
|
H A D | CameraClient.cpp | 160 status_t CameraClient::lock() { function in class:android::CameraClient 162 LOG1("lock (pid %d)", callingPid); 163 Mutex::Autolock lock(mLock); 165 // lock camera to this client if the the camera is unlocked 178 Mutex::Autolock lock(mLock); 180 // allow anyone to use camera (after they lock the camera) 200 Mutex::Autolock lock(mLock); 236 Mutex::Autolock lock(mLock); 281 Mutex::Autolock lock(mLock); 345 Mutex::Autolock lock(mLoc [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.cpp | 341 // try to acquire a lock a few times, eventually give up to proceed with 343 bool Camera3Device::tryLockSpinRightRound(Mutex& lock) { argument 346 if (lock.tryLock() == NO_ERROR) { 520 // Try to lock, but continue in case of failure (to avoid blocking in 526 "Camera %d: %s: Unable to lock interface lock, proceeding anyway", 529 "Camera %d: %s: Unable to lock main lock, proceeding anyway", 2915 * to AE_LOCK_ON to start cancelling AE precapture. If AE lock is not available, it still overrides 3043 // Use flush lock onl [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityService.java | 708 MagnificationController(@NonNull AccessibilityService service, @NonNull Object lock) { argument 710 mLock = lock; 1106 SoftKeyboardController(@NonNull AccessibilityService service, @NonNull Object lock) { argument 1108 mLock = lock;
|
/frameworks/base/core/java/android/app/ |
H A D | LauncherActivity.java | 97 private final Object lock = new Object(); field in class:LauncherActivity.ActivityAdapter 190 synchronized (lock) { 196 synchronized (lock) {
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 114 * and re-lock the camera. 580 public native final void lock(); method in class:Camera 586 * which will re-acquire the lock and allow you to continue using the 1200 * The auto-focus routine does not lock auto-exposure and auto-white 1232 * <p>Auto-exposure lock {@link android.hardware.Camera.Parameters#getAutoExposureLock()} 2123 private static final String KEY_AUTO_EXPOSURE_LOCK = "auto-exposure-lock"; 2124 private static final String KEY_AUTO_EXPOSURE_LOCK_SUPPORTED = "auto-exposure-lock-supported"; 2125 private static final String KEY_AUTO_WHITEBALANCE_LOCK = "auto-whitebalance-lock"; 2126 private static final String KEY_AUTO_WHITEBALANCE_LOCK_SUPPORTED = "auto-whitebalance-lock-supported"; 3233 * auto-white balance lock [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | MetaKeyKeyListener.java | 250 int on, int lock) { 259 return lock; 249 getActive(CharSequence text, Object meta, int on, int lock) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | SlidingDrawer.java | 924 * @see #lock() 935 public void lock() { method in class:SlidingDrawer
|
/frameworks/base/core/jni/ |
H A D | android_util_Binder.cpp | 362 Mutex& lock(); // Use with care; specifically for mutual exclusion during binder death 401 AutoMutex _l(list->lock()); 530 Mutex& DeathRecipientList::lock() { function in class:DeathRecipientList 558 // For the rest of the function we will hold this lock, to serialize
|
H A D | android_view_Surface.cpp | 91 jobject lock = env->GetObjectField(surfaceObj, local 93 if (env->MonitorEnter(lock) == JNI_OK) { 96 env->MonitorExit(lock); 98 env->DeleteLocalRef(lock); 312 status_t err = surface->lock(&outBuffer, dirtyRectPtr);
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 84 * (or key pair) with the secure lock screen credential (e.g., password, PIN, or pattern). 86 * <p>Note that this requires that the secure lock screen (e.g., password, PIN, pattern) is set 88 * pair) will be deleted when the secure lock screen is disabled or reset (e.g., by the user or 90 * unlocks the secure lock screen after boot. 237 * Attempt to lock the keystore for {@code user}. 239 * @param user Android user to lock. 242 public boolean lock(int userId) { method in class:KeyStore 244 return mBinder.lock(userId) == NO_ERROR; 251 public boolean lock() { method in class:KeyStore 252 return lock(UserHandl [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 729 AutoMutex lock(mDecodeLock); 3355 mTable.lock(); 4131 mLock.lock(); 4146 void ResTable::lock() const function in class:android::ResTable 4148 mLock.lock(); 4482 mLock.lock(); 6025 // Grab the lock first so we can safely get the current filtered list.
|
/frameworks/base/libs/hwui/ |
H A D | ResourceCache.cpp | 52 void ResourceCache::lock() { function in class:android::uirenderer::ResourceCache 53 mLock.lock();
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderTask.h | 61 // Takes ownership of task, caller owns lock and signal 62 SignalingRenderTask(RenderTask* task, Mutex* lock, Condition* signal) argument 63 : mTask(task), mLock(lock), mSignal(signal) {}
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 1034 jobject lock = env->GetObjectField( local 1036 if (env->MonitorEnter(lock) == JNI_OK) { 1040 env->MonitorExit(lock); 1042 env->DeleteLocalRef(lock); 1075 jobject lock = env->GetObjectField( local 1077 if (env->MonitorEnter(lock) == JNI_OK) { 1086 env->MonitorExit(lock); 1091 env->DeleteLocalRef(lock); 1105 jobject lock = env->GetObjectField( local 1107 if (env->MonitorEnter(lock) [all...] |