Home
last modified time | relevance | path

Searched refs:isParent (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DTrustAgentInfoTest.java111 private void setAndGetTrustAgentConfigurationInternal(boolean isParent) { in setAndGetTrustAgentConfigurationInternal() argument
113 setTrustAgentConfiguration(isParent); in setAndGetTrustAgentConfigurationInternal()
115 List<PersistableBundle> configs = getDevicePolicyManager(isParent) in setAndGetTrustAgentConfigurationInternal()
119 disableTrustAgents(isParent); in setAndGetTrustAgentConfigurationInternal()
120 configs = getDevicePolicyManager(isParent) in setAndGetTrustAgentConfigurationInternal()
122 assertPersistableBundleListEquals(isParent ? in setAndGetTrustAgentConfigurationInternal()
126 private void disableTrustAgents(boolean isParent) { in disableTrustAgents() argument
127 getDevicePolicyManager(isParent).setKeyguardDisabledFeatures(ADMIN_RECEIVER_COMPONENT, in disableTrustAgents()
131 private void enableTrustAgents(boolean isParent) { in enableTrustAgents() argument
132 getDevicePolicyManager(isParent).setKeyguardDisabledFeatures(ADMIN_RECEIVER_COMPONENT, in enableTrustAgents()
[all …]
DBaseManagedProfileTest.java64 protected DevicePolicyManager getDevicePolicyManager(boolean isParent) { in getDevicePolicyManager() argument
65 return isParent ? mParentDevicePolicyManager : mDevicePolicyManager; in getDevicePolicyManager()