Home
last modified time | relevance | path

Searched refs:getMaximumTimeToLock (Results 1 – 7 of 7) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DLockTest.java153 .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()
DNoAdminLeakingTest.java166 (dpm, who) -> dpm.getMaximumTimeToLock(who)); in testMaximumTimeToLock_adminPolicyNotAvailableToNonAdmin()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DProfileTimeoutTestHelper.java52 TIMEOUT_MS, mDpm.getMaximumTimeToLock(ADMIN_COMPONENT)); in testSetWorkProfileTimeout()
DDevicePolicyManagerParentSupportTest.java175 mParentDevicePolicyManager.getMaximumTimeToLock(ADMIN_RECEIVER_COMPONENT); in testSetAndGetMaximumTimeToLock_onParent()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicy.kt697 fun getMaximumTimeToLock(user: UserReference = TestApis.users().instrumented()): Long = in <lambda>() method
699 devicePolicyManager(user).getMaximumTimeToLock( /* admin= */null) in <lambda>()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DPolicySerializationTestActivity.java452 return deviceManager.getMaximumTimeToLock(admin); in getDeviceManagerValue()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt8042 method public long getMaximumTimeToLock(@Nullable android.content.ComponentName);