Searched refs:locked (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRotationLockController.java23 void setRotationLocked(boolean locked); argument
H A DRotationLockControllerImpl.java62 public void setRotationLocked(boolean locked) { argument
63 RotationPolicy.setRotationLock(mContext, locked);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraSettings.java160 * @param locked Whether to prevent changes to these fields.
165 /*package*/ void setSizesLocked(boolean locked) { argument
166 mSizesLocked = locked;
234 Log.w(TAG, "Attempt to change preview size while locked");
275 Log.w(TAG, "Attempt to change photo size while locked");
353 public void setAutoExposureLock(boolean locked) { argument
354 mAutoExposureLocked = locked;
436 public void setAutoWhiteBalanceLock(boolean locked) { argument
437 mAutoWhiteBalanceLocked = locked;
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DGDBJITRegistrar.cpp115 llvm::MutexGuard locked(JITDebugLock);
135 llvm::MutexGuard locked(JITDebugLock);
204 llvm::MutexGuard locked(JITDebugLock);
/frameworks/native/opengl/libagl/
H A Darray.cpp462 if (ggl_unlikely(v->locked)) {
463 // we're just looking for an entry in the cache that is not locked.
464 // and we know that there cannot be more than 2 locked entries
468 // it's not locked.
469 // We compute directly the index of a "free" entry from the locked
472 v += v[0].locked | (v[1].locked<<1);
476 v->locked = 1;
491 v->locked = 1;
503 v[0].locked
[all...]
H A Dcontext.h143 uint8_t locked; member in struct:android::gl::vertex_t
157 flags = index = locked = mru = 0;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DRotationLockTile.java98 * @param locked Whether or not rotation is locked.
99 * @param idWhenPortrait The id which should be used when locked in portrait.
100 * @param idWhenLandscape The id which should be used when locked in landscape.
104 private String getAccessibilityString(boolean locked, int idWhenPortrait, int idWhenLandscape, argument
107 if (locked) {
/frameworks/av/services/audiopolicy/
H A DAudioPolicyService.cpp271 bool locked = false; local
274 locked = true;
279 return locked;
308 bool locked = tryLock(mLock); local
309 if (!locked) {
332 if (locked) mLock.unlock();
560 bool locked = tryLock(mLock); local
561 if (!locked) {
583 if (locked) mLock.unlock();
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/
H A DAutoFocusStateMachine.java42 * @param locked True if the lens has been locked from moving, false otherwise.
44 void onAutoFocusSuccess(CaptureResult result, boolean locked); argument
49 * @param locked False if the AF is still scanning, true if needs a restart.
51 void onAutoFocusFail(CaptureResult result, boolean locked); argument
158 mListener.onAutoFocusSuccess(result, /*locked*/true);
162 mListener.onAutoFocusFail(result, /*locked*/true);
166 mListener.onAutoFocusSuccess(result, /*locked*/false);
169 mListener.onAutoFocusFail(result, /*locked*/false);
209 * {@code locked
[all...]
/frameworks/base/core/java/android/text/method/
H A DMetaKeyKeyListener.java51 * When key modifiers are toggled into a latched or locked state, the state
53 * meta state integer managed by the client. These latched or locked modifiers
91 * Flag that indicates that the SHIFT key is locked in CAPS mode.
95 * Flag that indicates that the ALT key is locked.
99 * Flag that indicates that the SYM key is locked.
157 * or locked meta key.
178 * or locked meta key.
197 * @return 0 if inactive, 1 if active, 2 if locked.
228 * @return 0 if inactive, 1 if active, 2 if locked.
305 * Call this if you are a method that ignores the locked met
560 press(long state, int what, long mask, long locked, long pressed, long released, long used) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardWidgetFrame.java378 public void setWidgetLockedSmall(boolean locked) { argument
379 if (locked) {
382 mWidgetLockedSmall = locked;
/frameworks/av/media/libmedia/
H A Dmediaplayer.cpp729 bool locked = false; local
741 locked = true;
747 if (locked) mLock.unlock(); // release the lock when done.
827 if (locked) mLock.unlock();
/frameworks/av/services/audioflinger/
H A DAudioResamplerDyn.cpp400 // check if locked phase (works only if mPhaseIncrement has no "fractional phase bits")
401 int locked = (mPhaseIncrement << (sizeof(mPhaseIncrement)*8 - c.mShift)) == 0; local
402 if (locked) {
417 if (locked) {
474 mChannelCount, locked ? "locked" : "interpolated",
H A DEffects.cpp945 bool locked = AudioFlinger::dumpTryLock(mLock); local
947 if (!locked) {
1017 if (locked) {
1188 // Client destructor must run with AudioFlinger client mutex locked
1316 bool locked = mCblk != NULL && AudioFlinger::dumpTryLock(mCblk->lock); local
1322 locked ? "yes" : "no",
1327 if (locked) {
1410 // Must be called with EffectChain::mLock locked
1422 // Must be called with EffectChain::mLock locked
1726 bool locked local
[all...]
H A DAudioFlinger.cpp366 bool locked = false; local
369 locked = true;
374 return locked;
391 bool locked = dumpTryLock(mLock); local
394 if (!locked) {
441 if (locked) {
H A DThreads.cpp578 bool locked = AudioFlinger::dumpTryLock(mLock); local
579 if (!locked) {
580 dprintf(fd, "thread %p maybe dead locked\n", this);
606 if (locked) {
4234 // must be called with thread mutex locked
4694 // must be called with thread mutex locked
5261 // thread mutex is not locked, but effect chain is locked
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp179 bool locked = false; local
182 locked = true;
187 return locked;
196 bool locked = tryLock(mServiceLock); local
198 if (!locked) {
203 if (locked) mServiceLock.unlock();
402 // clear now to execute with mServiceLock locked
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp1598 bool locked = false; local
1601 locked = true;
1606 return locked;
1618 bool locked = tryLock(mServiceLock); local
1620 if (!locked) {
1629 if (locked) mServiceLock.unlock();
1702 if (locked) mServiceLock.unlock();
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardViewMediator.java976 + " and the sim is not locked or missing");
1252 private void playSounds(boolean locked) { argument
1260 playSound(locked ? mLockSoundId : mUnlockSoundId);
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java1282 * @return Whether the user is permanently locked out until they verify their
1291 * Set the state of whether the device is permanently locked, meaning the user
1294 * @param locked Whether the user is permanently locked out until they verify their
1298 public void setPermanentlyLocked(boolean locked) { argument
1299 setBoolean(LOCKOUT_PERMANENT_KEY, locked);
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2412 const bool locked(retry >= 0);
2413 if (!locked) {
2456 if (locked) {

Completed in 555 milliseconds