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

12

/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/base/core/java/android/app/trust/
H A DITrustManager.aidl32 void setDeviceLockedForUser(int userId, boolean locked);
H A DTrustManager.java56 * @param userId The id for the user to be locked/unlocked.
57 * @param locked The value for that user's locked state.
60 public void setDeviceLockedForUser(int userId, boolean locked) { argument
62 mService.setDeviceLockedForUser(userId, locked);
/frameworks/base/services/core/
H A DAndroid.mk28 -D jack.transformations.boost-locked-region-priority=true \
29 -D jack.transformations.boost-locked-region-priority.classname=com.android.server.am.ActivityManagerService \
30 -D jack.transformations.boost-locked-region-priority.request=com.android.server.am.ActivityManagerService\#boostPriorityForLockedSection \
31 -D jack.transformations.boost-locked-region-priority.reset=com.android.server.am.ActivityManagerService\#resetPriorityAfterLockedSection
/frameworks/av/services/medialog/
H A DMediaLogService.cpp61 bool locked = false; local
64 locked = true;
69 return locked;
86 bool locked = dumpTryLock(mLock); local
89 if (!locked) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCamera2Focuser.java72 * This callback is called when auto focus completes and locked.
137 public synchronized void onAutoFocusSuccess(CaptureResult result, boolean locked) { argument
139 mLocked = locked;
141 if (locked) {
147 public synchronized void onAutoFocusFail(CaptureResult result, boolean locked) { argument
149 mLocked = locked;
151 if (locked) {
189 * lock it. If AF is already locked, return. Otherwise, initiate a full
204 * Cancel ongoing auto focus, unlock the auto-focus if it was locked, and
252 // locked, retur
[all...]
/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/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.java131 * @param locked Whether or not rotation is locked.
133 private String getAccessibilityString(boolean locked) { argument
134 if (locked) {
/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/av/services/audiopolicy/service/
H A DAudioPolicyService.cpp346 bool locked = false; local
349 locked = true;
354 return locked;
383 bool locked = tryLock(mLock); local
384 if (!locked) {
407 if (locked) mLock.unlock();
672 bool locked = tryLock(mLock); local
673 if (!locked) {
695 if (locked) mLock.unlock();
/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/av/services/audioflinger/
H A DAudioResamplerDyn.cpp399 // check if locked phase (works only if mPhaseIncrement has no "fractional phase bits")
400 int locked = (mPhaseIncrement << (sizeof(mPhaseIncrement)*8 - c.mShift)) == 0; local
401 if (locked) {
416 if (locked) {
473 mChannelCount, locked ? "locked" : "interpolated",
H A DEffects.cpp958 bool locked = AudioFlinger::dumpTryLock(mLock); local
960 if (!locked) {
1030 if (locked) {
1201 // Client destructor must run with AudioFlinger client mutex locked
1329 bool locked = mCblk != NULL && AudioFlinger::dumpTryLock(mCblk->lock); local
1335 locked ? "yes" : "no",
1340 if (locked) {
1423 // Must be called with EffectChain::mLock locked
1435 // Must be called with EffectChain::mLock locked
1739 bool locked local
[all...]
H A DAudioFlinger.cpp380 bool locked = false; local
383 locked = true;
388 return locked;
405 bool locked = dumpTryLock(mLock); local
408 if (!locked) {
458 if (locked) {
/frameworks/av/services/radio/
H A DRadioService.cpp160 bool locked = false; local
163 locked = true;
168 return locked;
177 bool locked = tryLock(mServiceLock); local
179 if (!locked) {
184 if (locked) mServiceLock.unlock();
695 ALOGV("%s locked", __FUNCTION__);
702 ALOGV("%s locked", __FUNCTION__);
712 ALOGV("%s locked", __FUNCTION__);
727 ALOGV("%s locked", __FUNCTION_
[all...]
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp180 bool locked = false; local
183 locked = true;
188 return locked;
197 bool locked = tryLock(mServiceLock); local
199 if (!locked) {
204 if (locked) mServiceLock.unlock();
410 // clear now to execute with mServiceLock locked
/frameworks/base/services/core/java/com/android/server/
H A DPersistentDataBlockService.java76 private static final String FLASH_LOCK_PROP = "ro.boot.flash.locked";
473 String locked = SystemProperties.get(FLASH_LOCK_PROP);
474 switch (locked) {
/frameworks/av/media/libmedia/
H A Dmediaplayer.cpp802 bool locked = false; local
814 locked = true;
820 if (locked) mLock.unlock(); // release the lock when done.
903 if (locked) mLock.unlock();
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustManagerService.java320 public void setDeviceLockedForUser(int userId, boolean locked) { argument
323 mDeviceLockedForUser.put(userId, locked);
325 if (locked) {
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp2452 bool locked = false; local
2455 locked = true;
2460 return locked;
2474 bool locked = tryLock(mServiceLock); local
2476 if (!locked) {
2489 if (locked) mServiceLock.unlock();
2602 if (locked) mServiceLock.unlock();
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardViewMediator.java1199 + " and the sim is not locked or missing");
1520 private void playSounds(boolean locked) { argument
1521 playSound(locked ? mLockSoundId : mUnlockSoundId);
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2564 bool locked = (err == NO_ERROR); local
2565 if (!locked) {
2624 if (locked) {

Completed in 2755 milliseconds

12