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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRotationLockController.java26 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.aidl33 void setDeviceLockedForUser(int userId, boolean locked);
H A DTrustManager.java55 * @param userId The id for the user to be locked/unlocked.
56 * @param locked The value for that user's locked state.
59 public void setDeviceLockedForUser(int userId, boolean locked) { argument
61 mService.setDeviceLockedForUser(userId, locked);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A DFakeRotationLockController.java49 public void setRotationLocked(boolean locked) { argument
/frameworks/av/services/medialog/
H A DMediaLogService.cpp79 bool locked = false; local
82 locked = true;
87 return locked;
106 bool locked = dumpTryLock(mLock); local
109 if (!locked) {
/frameworks/base/services/core/
H A DAndroid.mk44 -D jack.transformations.boost-locked-region-priority=true \
45 -D jack.transformations.boost-locked-region-priority.classname=com.android.server.am.ActivityManagerService,com.android.server.wm.WindowHashMap \
46 -D jack.transformations.boost-locked-region-priority.request=com.android.server.am.ActivityManagerService\#boostPriorityForLockedSection,com.android.server.wm.WindowManagerService\#boostPriorityForLockedSection \
47 -D jack.transformations.boost-locked-region-priority.reset=com.android.server.am.ActivityManagerService\#resetPriorityAfterLockedSection,com.android.server.wm.WindowManagerService\#resetPriorityAfterLockedSection
/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/support/wear/src/android/support/wear/widget/drawer/
H A DWearableDrawerView.java344 * Sets whether this drawer should be locked when the user cannot see it.
347 public void setLockedWhenClosed(boolean locked) { argument
348 mLockWhenClosed = locked;
352 * Returns true if this drawer should be locked when the user cannot see it.
384 * for a locked drawer.
391 * Sets whether or not the drawer can automatically adjust its peek state. Note that locked
403 * developer. A drawer may be considered locked if the drawer is locked open, locked closed, or
414 public void setIsLocked(boolean locked) { argument
[all...]
/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.h144 uint8_t locked; member in struct:android::gl::vertex_t
158 flags = index = locked = mru = 0;
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/
H A DOctopusDrawable.java287 private boolean locked = false; field in class:OctopusDrawable.Link
307 public void setLocked(boolean locked) { argument
308 this.locked = locked;
322 if (locked) {
364 // when the arm is locked, it moves rigidly, without physics
365 public void setLocked(boolean locked) { argument
366 link2.setLocked(locked);
367 link3.setLocked(locked);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DRotationLockTile.java134 * @param locked Whether or not rotation is locked.
136 private String getAccessibilityString(boolean locked) { argument
137 if (locked) {
/frameworks/base/services/core/java/com/android/server/oemlock/
H A DOemLockService.java50 private static final String FLASH_LOCK_PROP = "ro.boot.flash.locked";
198 String locked = SystemProperties.get(FLASH_LOCK_PROP);
199 switch (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.cpp293 bool locked = false; local
296 locked = true;
301 return locked;
326 bool locked = tryLock(mLock); local
327 if (!locked) {
344 if (locked) mLock.unlock();
609 bool locked = tryLock(mLock); local
610 if (!locked) {
632 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/media/libaudioprocessing/
H A DAudioResamplerDyn.cpp409 // check if locked phase (works only if mPhaseIncrement has no "fractional phase bits")
410 int locked = (mPhaseIncrement << (sizeof(mPhaseIncrement)*8 - c.mShift)) == 0; local
411 if (locked) {
426 if (locked) {
483 mChannelCount, locked ? "locked" : "interpolated",
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp158 bool locked = false; local
161 locked = true;
166 return locked;
175 bool locked = tryLock(mServiceLock); local
177 if (!locked) {
182 if (locked) mServiceLock.unlock();
418 // clear now to execute with mServiceLock locked
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustManagerService.java350 + "'s trust agent " + name + ": FBE still locked and "
455 private void setDeviceLockedForUser(@UserIdInt int userId, boolean locked) { argument
458 changed = isDeviceLockedInner(userId) != locked;
459 mDeviceLockedForUser.put(userId, locked);
462 dispatchDeviceLocked(userId, locked);
969 public void setDeviceLockedForUser(int userId, boolean locked) {
975 mDeviceLockedForUser.put(userId, locked);
977 if (locked) {
/frameworks/av/media/libmedia/
H A Dmediaplayer.cpp856 bool locked = false; local
868 locked = true;
874 if (locked) mLock.unlock(); // release the lock when done.
962 if (locked) mLock.unlock();
/frameworks/av/services/audioflinger/
H A DEffects.cpp1076 bool locked = AudioFlinger::dumpTryLock(mLock); local
1078 if (!locked) {
1142 if (locked) {
1320 // Client destructor must run with AudioFlinger client mutex locked
1505 bool locked = mCblk != NULL && AudioFlinger::dumpTryLock(mCblk->lock); local
1511 locked ? "yes" : "no",
1516 if (locked) {
1595 // Must be called with EffectChain::mLock locked
1611 // Must be called with EffectChain::mLock locked
1986 bool locked local
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DPersistentDataBlockService.java84 private static final String FLASH_LOCK_PROP = "ro.boot.flash.locked";
534 String locked = SystemProperties.get(FLASH_LOCK_PROP);
535 switch (locked) {
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp837 bool locked = false; local
840 locked = true;
846 if (locked) {

Completed in 746 milliseconds

12