Home
last modified time | relevance | path

Searched refs:BasicAdminReceiver (Results 1 – 19 of 19) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DBaseManagedProfileTest.java33 public static class BasicAdminReceiver extends DeviceAdminReceiver { class in BaseManagedProfileTest
37 BasicAdminReceiver.class.getPackage().getName(), BasicAdminReceiver.class.getName());
DProfileTimeoutTestHelper.java25 import com.android.cts.managedprofile.BaseManagedProfileTest.BasicAdminReceiver;
35 BasicAdminReceiver.class.getPackage().getName(), BasicAdminReceiver.class.getName());
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DClearDeviceOwnerTest.java32 public static class BasicAdminReceiver extends DeviceAdminReceiver { class in ClearDeviceOwnerTest
35 public static final String PACKAGE_NAME = BasicAdminReceiver.class.getPackage().getName();
37 PACKAGE_NAME, BasicAdminReceiver.class.getName());
DBasePackageInstallTest.java32 import com.android.cts.packageinstaller.ClearDeviceOwnerTest.BasicAdminReceiver;
115 return new ComponentName(PACKAGE_NAME, BasicAdminReceiver.class.getName()); in getWho()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java163 new IntentFilter(BasicAdminReceiver.ACTION_USER_SWITCHED)); in testCreateAndManageUser_SwitchUser()
188 new IntentFilter(BasicAdminReceiver.ACTION_USER_SWITCHED)); in testCreateAndManageUser_CannotStopCurrentUser()
215 new IntentFilter(BasicAdminReceiver.ACTION_USER_STARTED)); in testCreateAndManageUser_StartInBackground()
261 new IntentFilter(BasicAdminReceiver.ACTION_USER_STOPPED)); in testCreateAndManageUser_StopUser()
293 new IntentFilter(BasicAdminReceiver.ACTION_USER_REMOVED)); in testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser()
319 new IntentFilter(BasicAdminReceiver.ACTION_USER_STOPPED)); in testCreateAndManageUser_LogoutUser()
431 new IntentFilter(BasicAdminReceiver.ACTION_USER_ADDED)); in testUserAddedOrRemovedBroadcasts()
442 new IntentFilter(BasicAdminReceiver.ACTION_USER_REMOVED)); in testUserAddedOrRemovedBroadcasts()
456 UserHandle userHandle = intent.getParcelableExtra(BasicAdminReceiver.EXTRA_USER_HANDLE); in onReceive()
DBasicAdminReceiver.java25 public class BasicAdminReceiver extends DeviceAdminReceiver { class
39 return new ComponentName(context, BasicAdminReceiver.class); in getComponentName()
DDeviceOwnerProvisioningTest.java79 mDevicePolicyManager.enableSystemApp(BasicAdminReceiver.getComponentName(getContext()), in enableUninstalledApp()
87 BasicAdminReceiver.getComponentName(getContext())) in getBaseProvisioningIntent()
DBaseAffiliatedProfileOwnerTest.java52 return BasicAdminReceiver.getComponentName(mContext); in getWho()
DNetworkLoggingTest.java82 if (BasicAdminReceiver.ACTION_NETWORK_LOGS_AVAILABLE.equals(intent.getAction())) {
84 intent.getLongExtra(BasicAdminReceiver.EXTRA_NETWORK_LOGS_BATCH_TOKEN,
149 BasicAdminReceiver.ACTION_NETWORK_LOGS_AVAILABLE); in testNetworkLoggingAndRetrieval()
DBaseDeviceOwnerTest.java62 return BasicAdminReceiver.getComponentName(mContext); in getWho()
DAffiliationTest.java47 mAdminComponent = BasicAdminReceiver.getComponentName(context); in setUp()
DSetPolicyActivity.java66 ComponentName admin = BasicAdminReceiver.getComponentName(this); in handleIntent()
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DBaseProfileOwnerTest.java26 public static class BasicAdminReceiver extends DeviceAdminReceiver { class in BaseProfileOwnerTest
49 return new ComponentName(PACKAGE_NAME, BasicAdminReceiver.class.getName()); in getWho()
/cts/hostsidetests/devicepolicy/app/TransferOwnerIncomingApp/src/com/android/cts/transferowner/
DDeviceAndProfileOwnerTransferIncomingTest.java43 public static class BasicAdminReceiver extends DeviceAdminReceiver { class in DeviceAndProfileOwnerTransferIncomingTest
44 public BasicAdminReceiver() {} in BasicAdminReceiver() method in DeviceAndProfileOwnerTransferIncomingTest.BasicAdminReceiver
76 mIncomingComponentName = new ComponentName(mContext, BasicAdminReceiver.class.getName()); in setUp()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DBaseDeviceAdminTest.java44 public static class BasicAdminReceiver extends DeviceAdminReceiver { class in BaseDeviceAdminTest
65 public static final String PACKAGE_NAME = BasicAdminReceiver.class.getPackage().getName();
67 PACKAGE_NAME, BasicAdminReceiver.class.getName());
/cts/hostsidetests/devicepolicy/app/TransferOwnerOutgoingApp/src/com/android/cts/transferowner/
DDeviceAndProfileOwnerTransferOutgoingTest.java45 public static class BasicAdminReceiver extends DeviceAdminReceiver { class in DeviceAndProfileOwnerTransferOutgoingTest
46 public BasicAdminReceiver() {} in BasicAdminReceiver() method in DeviceAndProfileOwnerTransferOutgoingTest.BasicAdminReceiver
84 mOutgoingComponentName = new ComponentName(mContext, BasicAdminReceiver.class.getName()); in setUp()
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DBasicAdminReceiver.java20 public class BasicAdminReceiver extends DeviceAdminReceiver { class
DSessionCommitBroadcastTest.java121 ComponentName cn = new ComponentName(mContext, BasicAdminReceiver.class); in testBroadcastReceivedForEnablingApp()
DBasePackageInstallTest.java127 return new ComponentName(PACKAGE_NAME, BasicAdminReceiver.class.getName()); in getWho()