Home
last modified time | relevance | path

Searched refs:devicePolicyManager (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DMainActivity.java34 DevicePolicyManager devicePolicyManager = in onCreate() local
37 if (!devicePolicyManager.isProfileOwnerApp(getApplicationContext().getPackageName())) { in onCreate()
55 } else if (devicePolicyManager.isApplicationHidden( in onCreate()
DStatusFragment.java99 DevicePolicyManager devicePolicyManager = in updateUi() local
102 if (!devicePolicyManager.isApplicationHidden( in updateUi()
131 DevicePolicyManager devicePolicyManager = in unhideApp() local
133 devicePolicyManager.setApplicationHidden( in unhideApp()
DAppRestrictionEnforcerFragment.java487 DevicePolicyManager devicePolicyManager in saveRestrictions() local
489 devicePolicyManager.setApplicationRestrictions( in saveRestrictions()
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DBasicManagedProfileFragment.java123 DevicePolicyManager devicePolicyManager = in isApplicationEnabled() local
125 return !devicePolicyManager.isApplicationHidden( in isApplicationEnabled()
209 DevicePolicyManager devicePolicyManager = in setAppEnabled() local
220 devicePolicyManager.enableSystemApp( in setAppEnabled()
230 devicePolicyManager.setApplicationHidden( in setAppEnabled()