/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
BaseDeviceAdminTest.java | 18 import android.app.admin.DeviceAdminReceiver; 19 import android.app.admin.DevicePolicyManager; 35 * active admin registered, so that all tests may assume these are done.
|
/development/samples/DataWiper/src/com.example.android.datawiper/ |
MyMain.java | 20 import android.app.admin.DevicePolicyManager; 57 isEnabled ? "Disable Admin" : "Enable Admin");
|
/frameworks/base/packages/SettingsLib/res/values/ |
attrs.xml | 20 <!-- The user restriction on which the preference disabled by admin state will be based on. --> 22 <!-- If true then we can use enabled/disabled by admin strings for summary (android.R.id.summary). --> 28 this will be used for enabled/disabled by admin strings leaving android.R.id.summary untouched.
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
RestrictedPreference.java | 31 * set by a device admin. 110 public void setDisabledByAdmin(EnforcedAdmin admin) { 111 if (mHelper.setDisabledByAdmin(admin)) {
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
Owners.java | 20 import android.app.admin.SystemUpdateInfo; 21 import android.app.admin.SystemUpdatePolicy; 196 return Pair.create(mDeviceOwnerUserId, mDeviceOwner.admin); 209 return mDeviceOwner != null ? mDeviceOwner.admin : null; 225 void setDeviceOwner(ComponentName admin, String ownerName, int userId) { 232 setDeviceOwnerWithRestrictionsMigrated(admin, ownerName, userId, 239 void setDeviceOwnerWithRestrictionsMigrated(ComponentName admin, String ownerName, int userId, 242 mDeviceOwner = new OwnerInfo(ownerName, admin, userRestrictionsMigrated, 261 void setProfileOwner(ComponentName admin, String ownerName, int userId) { 264 mProfileOwners.put(userId, new OwnerInfo(ownerName, admin, 428 ComponentName admin = ComponentName.unflattenFromString( local 732 public final ComponentName admin; field in class:Owners.OwnerInfo 793 final ComponentName admin = ComponentName.unflattenFromString(componentName); local [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
RestrictedSwitchPreference.java | 68 public void setDisabledByAdmin(EnforcedAdmin admin) { 69 final boolean disabled = (admin != null ? true : false); 70 mEnforcedAdmin = admin;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppWithAdminGrantedPermissionsCounter.java | 17 import android.app.admin.DevicePolicyManager; 29 * the admin. 59 if (devicePolicyManager.getPermissionGrantState(null /* admin */, info.packageName,
|
/packages/apps/Settings/src/com/android/settings/widget/ |
MasterSwitchPreference.java | 111 * If admin is not null, disables the switch. 114 public void setDisabledByAdmin(EnforcedAdmin admin) { 115 setSwitchEnabled(admin == null);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/bin/data/ |
webapp.json | 73 "removePageCache": "/content/admin/remove?cache=pages&id=",
74 "removeTemplateCache": "/content/admin/remove?cache=templates&id=",
82 "cofaxAdmin": "/admin/*",
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/src-owner/com/android/cts/devicepolicy/accountcheck/owner/ |
AdminReceiver.java | 18 import android.app.admin.DeviceAdminReceiver;
|
/cts/hostsidetests/devicepolicy/app/DeviceAdminService/src/com/android/cts/deviceadminservice/ |
MyOwner.java | 18 import android.app.admin.DeviceAdminReceiver;
|
MyService.java | 18 import android.app.admin.DeviceAdminService;
|
MyService2.java | 18 import android.app.admin.DeviceAdminService;
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
BaseDeviceOwnerTest.java | 18 import android.app.admin.DeviceAdminReceiver; 19 import android.app.admin.DevicePolicyManager; 33 * and that it has an active admin registered, so that all tests may 34 * assume these are done. The admin component can be accessed through
|
DeviceOwnerSetupTest.java | 23 // we are the device owner and have a valid active admin.
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
ManagedProfileSetupTest.java | 22 // we are the profile owner and have a valid active admin.
|
ParentProfileTest.java | 19 import android.app.admin.DevicePolicyManager; 36 * {@link android.app.admin.DevicePolicyManager#getParentProfileInstance}. 41 * A whitelist of public API methods in {@link android.app.admin.DevicePolicyManager} 88 * Verify that all public API methods of {@link android.app.admin.DevicePolicyManager},
|
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/ |
ManagementTest.java | 19 import android.app.admin.DevicePolicyManager;
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
LauncherActivity.java | 16 package android.packageinstaller.admin.cts;
|
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
SetupProfileFragment.java | 29 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE; 30 import static android.app.admin.DevicePolicyManager.EXTRA_DEVICE_ADMIN; 31 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME; 32 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME;
|
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
SetupProfileFragment.java | 29 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE; 30 import static android.app.admin.DevicePolicyManager.EXTRA_DEVICE_ADMIN; 31 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME; 32 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME;
|
/developers/samples/android/admin/AppRestrictionSchema/ |
template-params.xml | 20 <group>Admin</group> 43 <categories>Device Admin</categories> 103 [1]: http://developer.android.com/guide/topics/admin/device-admin.html
|
/developers/samples/android/admin/NfcProvisioning/ |
template-params.xml | 19 <group>Admin</group> 42 <categories>Device Admin</categories> 52 <android>android.app.admin.DevicePolicyManager</android> 84 [1]: https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#MIME_TYPE_PROVISIONING_NFC
|
/development/samples/DataWiper/res/values/ |
strings.xml | 19 <string name="add_as_admin">Add as Device Admin</string>
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
SetupProfileFragment.java | 29 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE; 30 import static android.app.admin.DevicePolicyManager.EXTRA_DEVICE_ADMIN; 31 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME; 32 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME;
|