/cts/tests/admin/src/android/admin/cts/ |
DeviceAdminInfoTest.java | 19 import android.app.admin.DeviceAdminInfo; 62 DeviceAdminInfo info = new DeviceAdminInfo(mContext, resolveInfo); 67 assertTrue(info.usesPolicy(DeviceAdminInfo.USES_POLICY_FORCE_LOCK)); 68 assertTrue(info.usesPolicy(DeviceAdminInfo.USES_POLICY_LIMIT_PASSWORD)); 69 assertTrue(info.usesPolicy(DeviceAdminInfo.USES_POLICY_RESET_PASSWORD)); 70 assertTrue(info.usesPolicy(DeviceAdminInfo.USES_POLICY_WATCH_LOGIN)); 71 assertTrue(info.usesPolicy(DeviceAdminInfo.USES_POLICY_WIPE_DATA)); 74 info.getTagForPolicy(DeviceAdminInfo.USES_POLICY_FORCE_LOCK)); 76 info.getTagForPolicy(DeviceAdminInfo.USES_POLICY_LIMIT_PASSWORD)) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DeviceAdminSettings.java | 23 import android.app.admin.DeviceAdminInfo; 69 public DeviceAdminInfo info; 174 DeviceAdminInfo dpi = (DeviceAdminInfo) o; 210 * @return DeviceAdminInfo object for actual device admins. 250 DeviceAdminInfo info = (DeviceAdminInfo) o; 264 bindView(convertView, (DeviceAdminInfo) o); 279 private void bindView(View view, DeviceAdminInfo item) { 300 private boolean isDeviceOwner(DeviceAdminInfo item) [all...] |
DeviceAdminAdd.java | 24 import android.app.admin.DeviceAdminInfo; 92 DeviceAdminInfo mDeviceAdmin; 211 DeviceAdminInfo dpi = new DeviceAdminInfo(this, ri); 231 mDeviceAdmin = new DeviceAdminInfo(this, ri); 254 ArrayList<DeviceAdminInfo.PolicyInfo> newPolicies = mDeviceAdmin.getUsedPolicies(); 256 DeviceAdminInfo.PolicyInfo pi = newPolicies.get(i); 596 for (DeviceAdminInfo.PolicyInfo pi : mDeviceAdmin.getUsedPolicies()) { 630 private boolean isManagedProfile(DeviceAdminInfo adminInfo) {
|
/frameworks/base/core/java/android/app/admin/ |
DeviceAdminInfo.java | 52 public final class DeviceAdminInfo implements Parcelable { 53 static final String TAG = "DeviceAdminInfo"; 263 public DeviceAdminInfo(Context context, ResolveInfo resolveInfo) 276 public DeviceAdminInfo(Context context, ActivityInfo activityInfo) 346 DeviceAdminInfo(Parcel source) { 479 return "DeviceAdminInfo{" + mActivityInfo.name + "}"; 496 public static final Parcelable.Creator<DeviceAdminInfo> CREATOR = 497 new Parcelable.Creator<DeviceAdminInfo>() { 498 public DeviceAdminInfo createFromParcel(Parcel source) { 499 return new DeviceAdminInfo(source) [all...] |
DeviceAdminReceiver.java | 56 * to the device administrator, as parsed by the {@link DeviceAdminInfo} class. 128 * {@link DeviceAdminInfo#USES_POLICY_LIMIT_PASSWORD} to receive 144 * {@link DeviceAdminInfo#USES_POLICY_WATCH_LOGIN} to receive 157 * {@link DeviceAdminInfo#USES_POLICY_WATCH_LOGIN} to receive 170 * {@link DeviceAdminInfo#USES_POLICY_EXPIRE_PASSWORD} to receive
|
DevicePolicyManager.java | [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkStatsAccess.java | 27 import android.app.admin.DeviceAdminInfo; 115 DeviceAdminInfo.USES_POLICY_DEVICE_OWNER); 130 DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsAccessTest.java | 24 import android.app.admin.DeviceAdminInfo; 156 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) 161 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER))
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
DevicePolicyManagerService.java | 47 import android.app.admin.DeviceAdminInfo; 573 final DeviceAdminInfo info; 673 ActiveAdmin(DeviceAdminInfo _info, boolean parent) { [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
SensorTestScreenManipulator.java | 24 import android.app.admin.DeviceAdminInfo; 217 .hasGrantedPolicy(mComponentName, DeviceAdminInfo.USES_POLICY_FORCE_LOCK);
|
/packages/apps/Email/provider_src/com/android/email/ |
SecurityPolicy.java | 19 import android.app.admin.DeviceAdminInfo; 699 && dpm.hasGrantedPolicy(mAdminName, DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORD) 700 && dpm.hasGrantedPolicy(mAdminName, DeviceAdminInfo.USES_ENCRYPTED_STORAGE) 701 && dpm.hasGrantedPolicy(mAdminName, DeviceAdminInfo.USES_POLICY_DISABLE_CAMERA); [all...] |
/frameworks/base/docs/html/guide/topics/admin/ |
device-admin.jd | 29 <li>{@link android.app.admin.DeviceAdminInfo}</li> 354 android.app.admin.DeviceAdminInfo} class. Here are the contents of 392 <dt>{@link android.app.admin.DeviceAdminInfo}</dt> [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiConfigManager.java | 21 import android.app.admin.DeviceAdminInfo; [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountManagerService.java | 40 import android.app.admin.DeviceAdminInfo; [all...] |
/frameworks/base/docs/html/about/versions/ |
android-4.0.jd | [all...] |
/frameworks/base/api/ |
current.txt | [all...] |
system-current.txt | [all...] |
test-current.txt | [all...] |
/frameworks/base/ |
compiled-classes-phone | 526 android.app.admin.DeviceAdminInfo 527 android.app.admin.DeviceAdminInfo$1 528 android.app.admin.DeviceAdminInfo$PolicyInfo [all...] |
/frameworks/opt/setupwizard/tools/docs/ |
android-22.txt | [all...] |
/prebuilts/sdk/api/ |
21.txt | [all...] |
22.txt | [all...] |
23.txt | [all...] |
24.txt | [all...] |
25.txt | [all...] |