Searched refs:getMaximumTimeToLock (Results 1 – 7 of 7) sorted by relevance
153 .getMaximumTimeToLock(sDeviceState.dpc().componentName()); in setMaximumTimeToLock_maximumTimeToLockIsSet()155 assertThat(TestApis.devicePolicy().getMaximumTimeToLock()).isEqualTo(TIMEOUT); in setMaximumTimeToLock_maximumTimeToLockIsSet()173 .getMaximumTimeToLock(sDeviceState.dpc().componentName()); in setMaximumTimeToLock_doesNotApply_maximumTimeToLockIsNotSet()179 assertThat(TestApis.devicePolicy().getMaximumTimeToLock()).isNotEqualTo(TIMEOUT); in setMaximumTimeToLock_doesNotApply_maximumTimeToLockIsNotSet()
166 (dpm, who) -> dpm.getMaximumTimeToLock(who)); in testMaximumTimeToLock_adminPolicyNotAvailableToNonAdmin()
52 TIMEOUT_MS, mDpm.getMaximumTimeToLock(ADMIN_COMPONENT)); in testSetWorkProfileTimeout()
175 mParentDevicePolicyManager.getMaximumTimeToLock(ADMIN_RECEIVER_COMPONENT); in testSetAndGetMaximumTimeToLock_onParent()
697 fun getMaximumTimeToLock(user: UserReference = TestApis.users().instrumented()): Long = in <lambda>() method699 devicePolicyManager(user).getMaximumTimeToLock( /* admin= */null) in <lambda>()
452 return deviceManager.getMaximumTimeToLock(admin); in getDeviceManagerValue()
8042 method public long getMaximumTimeToLock(@Nullable android.content.ComponentName);