Home
last modified time | relevance | path

Searched refs:isLocked (Results 1 – 25 of 44) sorted by relevance

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DMissingCounterTimerLockListTest.java60 assertTrue(mMissingCounterTimerLockList.isLocked(TEST_SSID)); in testAddRemove()
61 assertTrue(mMissingCounterTimerLockList.isLocked(TEST_FQDN)); in testAddRemove()
64 assertFalse(mMissingCounterTimerLockList.isLocked(TEST_SSID)); in testAddRemove()
65 assertTrue(mMissingCounterTimerLockList.isLocked(TEST_FQDN)); in testAddRemove()
84 assertFalse(mMissingCounterTimerLockList.isLocked(TEST_SSID)); in testUpdateAndTimer()
85 assertTrue(mMissingCounterTimerLockList.isLocked(TEST_FQDN)); in testUpdateAndTimer()
98 assertTrue(mMissingCounterTimerLockList.isLocked(TEST_SSID)); in testMaxDisableDurationTimer()
99 assertTrue(mMissingCounterTimerLockList.isLocked(TEST_FQDN)); in testMaxDisableDurationTimer()
103 assertFalse(mMissingCounterTimerLockList.isLocked(TEST_SSID)); in testMaxDisableDurationTimer()
104 assertFalse(mMissingCounterTimerLockList.isLocked(TEST_FQDN)); in testMaxDisableDurationTimer()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DContentLock.java44 Log.d(TAG, "monitor listener, is locked : " + isLocked()); in ContentLock()
46 if (!isLocked()) { in ContentLock()
65 private boolean isLocked() { in isLocked() method in ContentLock
75 Log.d(TAG, "run when unlock, is locked : " + isLocked()); in runWhenUnlocked()
77 if (!isLocked()) { in runWhenUnlocked()
/packages/apps/Settings/src/com/android/settings/display/
DAutoRotateSwitchBarController.java82 final boolean isLocked = !isChecked; in setChecked()
84 isLocked); in setChecked()
85 RotationPolicy.setRotationLock(mContext, isLocked, in setChecked()
DAutoRotatePreferenceController.java103 final boolean isLocked = !isChecked; in setChecked()
105 isLocked); in setChecked()
106 RotationPolicy.setRotationLock(mContext, isLocked, in setChecked()
DSmartAutoRotatePreferenceController.java169 final boolean isLocked = !isChecked; in setChecked()
171 isLocked); in setChecked()
172 RotationPolicy.setRotationLock(mContext, isLocked, in setChecked()
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/
DDeviceLockControllerConnectorStub.java82 boolean isLocked; in isDeviceLocked()
95 isLocked = mPseudoState == DevicePseudoState.LOCKED; in isDeviceLocked()
98 callback.onResult(isLocked); in isDeviceLocked()
DDeviceLockControllerConnectorImpl.java343 final boolean isLocked =
345 mHandler.post(() -> callback.onResult(isLocked));
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DDeviceStateControllerImplTest.java72 assertThat(mDeviceStateController.isLocked().get()).isTrue(); in lockDevice_withUnprovisionedState_shouldPseudoLockDevice()
151 assertThat(mDeviceStateController.isLocked().get()).isFalse(); in lockDevice_withClearDeviceState_shouldThrowException()
165 assertThat(mDeviceStateController.isLocked().get()).isTrue(); in lockDevice_withProvisionSucceededState_shouldLockDevice()
191 assertThat(mDeviceStateController.isLocked().get()).isFalse(); in unlockDevice_withUnprovisionedState_shouldPseudoUnlock()
267 assertThat(mDeviceStateController.isLocked().get()).isFalse(); in unlockDevice_withProvisionSucceeded_shouldUnlockDevice()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskAnimationManager.java400 boolean wasLocked = SystemUiFlagUtils.isLocked(lastSysUIFlags); in onSystemUiFlagsChanged()
401 boolean isLocked = SystemUiFlagUtils.isLocked(newSysUIFlags); in onSystemUiFlagsChanged()
402 if (wasLocked != isLocked && isLocked) { in onSystemUiFlagsChanged()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/task/thumbnail/
DTaskThumbnailViewModel.kt81 private fun isBackgroundOnly(task: Task): Boolean = task.isLocked || task.thumbnail == null in <lambda>()
85 val taskLocked = task.isLocked in <lambda>()
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManagerTest.java82 assertThat(tunerChannel.isLocked()).isTrue(); in getChannel_locked()
88 assertThat(tunerChannel.isLocked()).isFalse(); in getChannel_unlocked()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothCsipSetCoordinator.java87 void onGroupLockSet(int groupId, @Status int opStatus, boolean isLocked); in onGroupLockSet() argument
102 public void onGroupLockSet(int groupId, int opStatus, boolean isLocked) { in onGroupLockSet() argument
103 mExecutor.execute(() -> mCallback.onGroupLockSet(groupId, opStatus, isLocked)); in onGroupLockSet()
/packages/apps/TV/src/com/android/tv/data/
DChannelDataManager.java422 if (channelWrapper.mChannel.isLocked() != locked) { in updateLocked()
477 if (channelWrapper.mChannel.isLocked()) { in applyUpdatedValuesToDb()
482 channelWrapper.mLockedInDb = channelWrapper.mChannel.isLocked(); in applyUpdatedValuesToDb()
574 mLockedInDb = channel.isLocked(); in ChannelWrapper()
685 channel.setLocked(oldChannel.isLocked()); in onPostExecute()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothCsipSetCoordinatorLockCallback.aidl26 void onGroupLockSet(in int groupId, in int opStatus, in boolean isLocked); in onGroupLockSet() argument
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DChannelsBlockedFragment.java149 if (channel.isLocked()) { in getItemList()
227 setChecked(getChannel().isLocked()); in onUpdate()
DParentalControlsFragment.java108 if (channel.isLocked() && channel.isBrowsable()) { in getItemList()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DDeviceStateController.java50 ListenableFuture<Boolean> isLocked(); in isLocked() method
DDeviceStateControllerImpl.java116 public ListenableFuture<Boolean> isLocked() {
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSystemUiFlagUtils.kt45 fun isLocked(@SystemUiStateFlags flags: Long): Boolean { in isLocked() method
/packages/apps/TV/src/com/android/tv/data/api/
DChannel.java100 boolean isLocked(); in isLocked() method
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DMissingCounterTimerLockList.java96 public boolean isLocked(@NonNull E entry) { in isLocked() method in MissingCounterTimerLockList
/packages/modules/Wifi/service/java/com/android/server/wifi/
DNonCarrierMergedNetworksStatusTracker.java119 if (mTemporarilyDisabledNonCarrierMergedList.isLocked(key)) { in isNetworkDisabled()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DServiceImplHelper.java89 public void setUserIsLocked(@NonNull UserHandle userHandle, boolean isLocked) { in setUserIsLocked() argument
93 if (isLocked) { in setUserIsLocked()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java296 assertWithMessage(channel + " is locked").that(channel.isLocked()).isFalse(); in testLocked()
304 assertThat(mChannelDataManager.getChannel(channel.getId()).isLocked()).isTrue(); in testLocked()
311 assertThat(mChannelDataManager.getChannel(channel.getId()).isLocked()).isTrue(); in testLocked()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskThumbnailViewDeprecated.java390 final boolean drawBackgroundOnly = mTask == null || mTask.isLocked || mBitmapShader == null in drawOnCanvas()
617 return mThumbnailData.isRealSnapshot && !mTask.isLocked; in isRealSnapshot()

12