Searched refs:getPolicySizeForAdmin (Results 1 – 3 of 3) sorted by relevance
185 int newLimit = TestApis.devicePolicy().getPolicySizeForAdmin( in setMaxPolicyStorageLimit_limitReached_doesNotSetPolicy()233 int currentSize = TestApis.devicePolicy().getPolicySizeForAdmin(admin); in setMaxPolicyStorageLimit_policySet_sizeIncreases()239 assertThat(TestApis.devicePolicy().getPolicySizeForAdmin(admin)) in setMaxPolicyStorageLimit_policySet_sizeIncreases()266 int currentSize = TestApis.devicePolicy().getPolicySizeForAdmin(admin); in setMaxPolicyStorageLimit_policySetThenUnset_sizeResets()274 assertThat(TestApis.devicePolicy().getPolicySizeForAdmin(admin)).isEqualTo(currentSize); in setMaxPolicyStorageLimit_policySetThenUnset_sizeResets()303 int currentSize = TestApis.devicePolicy().getPolicySizeForAdmin(admin); in setMaxPolicyStorageLimit_setSamePolicyTwice_sizeDoesNotIncrease()308 assertThat(TestApis.devicePolicy().getPolicySizeForAdmin(admin)).isEqualTo(currentSize); in setMaxPolicyStorageLimit_setSamePolicyTwice_sizeDoesNotIncrease()
877 fun getPolicySizeForAdmin(admin: EnforcingAdmin): Int = in <lambda>() method879 devicePolicyManager.getPolicySizeForAdmin(admin) in <lambda>()
72 android.app.admin.DevicePolicyManager,public int getPolicySizeForAdmin(android.app.admin.EnforcingA…