Searched defs:locked (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A DFakeRotationLockController.java49 public void setRotationLocked(boolean locked) { argument
54 public void setRotationLockedAtAngle(boolean locked, int rotation) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRotationLockController.java26 void setRotationLocked(boolean locked); argument
27 void setRotationLockedAtAngle(boolean locked, int rotation); argument
H A DRotationLockControllerImpl.java62 public void setRotationLocked(boolean locked) { argument
63 RotationPolicy.setRotationLock(mContext, locked);
66 public void setRotationLockedAtAngle(boolean locked, int rotation){ argument
67 RotationPolicy.setRotationLockAtAngle(mContext, locked, rotation);
/frameworks/av/services/medialog/
H A DMediaLogService.cpp85 bool locked = false; local
88 locked = true;
93 return locked;
112 bool locked = dumpTryLock(mLock); local
115 if (!locked) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DRotationLockTile.java110 * @param locked Whether or not rotation is locked.
112 private String getAccessibilityString(boolean locked) { argument
/frameworks/base/core/java/android/app/trust/
H A DTrustManager.java57 * @param userId The id for the user to be locked/unlocked.
58 * @param locked The value for that user's locked state.
61 public void setDeviceLockedForUser(int userId, boolean locked) { argument
63 mService.setDeviceLockedForUser(userId, 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/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/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/support/wear/src/main/java/androidx/wear/widget/drawer/
H A DWearableDrawerView.java342 * Sets whether this drawer should be locked when the user cannot see it.
345 public void setLockedWhenClosed(boolean locked) { argument
346 mLockWhenClosed = locked;
350 * Returns true if this drawer should be locked when the user cannot see it.
382 * for a locked drawer.
389 * Sets whether or not the drawer can automatically adjust its peek state. Note that locked
401 * developer. A drawer may be considered locked if the drawer is locked open, locked closed, or
412 public void setIsLocked(boolean locked) { argument
[all...]
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerDyn.cpp481 // check if locked phase (works only if mPhaseIncrement has no "fractional phase bits")
482 int locked = (mPhaseIncrement << (sizeof(mPhaseIncrement)*8 - c.mShift)) == 0; local
483 if (locked) {
498 if (locked) {
555 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();
400 // clear now to execute with mServiceLock locked
/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/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/av/media/libmedia/
H A Dmediaplayer.cpp852 bool locked = false; local
864 locked = true;
870 if (locked) mLock.unlock(); // release the lock when done.
961 if (locked) mLock.unlock();
/frameworks/av/media/libmediaplayer2/
H A Dmediaplayer2.cpp1311 bool locked = false; local
1323 locked = true;
1330 if (locked) mLock.unlock(); // release the lock when done.
1409 if (locked) mLock.unlock();
1524 bool locked = false; local
1527 locked = true;
1533 if (locked) {
/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DNuPlayer2Driver.cpp808 bool locked = false; local
811 locked = true;
817 if (locked) {
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp885 bool locked = false; local
888 locked = true;
894 if (locked) {
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyService.cpp307 bool locked = false; local
310 locked = true;
315 return locked;
355 bool locked = tryLock(mLock); local
356 if (!locked) {
373 if (locked) mLock.unlock();
875 bool locked = tryLock(mLock); local
876 if (!locked) {
898 if (locked) mLock.unlock();
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java204 public void setDismissLocked(boolean locked) { argument
205 mDismissLocked = locked;
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustManagerService.java355 + "'s trust agent " + name + ": FBE still locked and "
460 private void setDeviceLockedForUser(@UserIdInt int userId, boolean locked) { argument
463 changed = isDeviceLockedInner(userId) != locked;
464 mDeviceLockedForUser.put(userId, locked);
467 dispatchDeviceLocked(userId, locked);
991 public void setDeviceLockedForUser(int userId, boolean locked) {
997 mDeviceLockedForUser.put(userId, locked);
999 if (locked) {
/frameworks/av/services/audioflinger/
H A DEffects.cpp1381 bool locked = AudioFlinger::dumpTryLock(mLock); local
1383 if (!locked) {
1452 if (locked) {
1630 // Client destructor must run with AudioFlinger client mutex locked
1815 bool locked = mCblk != NULL && AudioFlinger::dumpTryLock(mCblk->lock); local
1821 locked ? "yes" : "no",
1826 if (locked) {
1905 // Must be called with EffectChain::mLock locked
1918 // Must be called with EffectChain::mLock locked
2285 bool locked local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardViewMediator.java343 * tasks when the current user has been unlocked but the profile is still locked.
1319 + " and the sim is not locked or missing");
1713 private void playSounds(boolean locked) { argument
1714 playSound(locked ? mLockSoundId : mUnlockSoundId);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp383 bool locked = false; local
386 locked = true;
392 if (locked) {
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp2670 bool locked = false; local
2673 locked = true;
2678 return locked;
2690 bool locked = tryLock(mServiceLock); local
2692 if (!locked) {
2702 if (locked) mServiceLock.unlock();
2766 if (locked) mServiceLock.unlock();

Completed in 1840 milliseconds

12