Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DProfileTimeoutTestHelper.java25 import com.android.cts.managedprofile.BaseManagedProfileTest.BasicAdminReceiver;
35 BasicAdminReceiver.class.getPackage().getName(), BasicAdminReceiver.class.getName());
DBaseManagedProfileTest.java33 public static class BasicAdminReceiver extends DeviceAdminReceiver { class in BaseManagedProfileTest
37 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/
DLockTaskHostDrivenTest.java143 BasicAdminReceiver.getComponentName(mContext), in clearDefaultHomeIntentReceiver()
145 mDevicePolicyManager.setLockTaskPackages(BasicAdminReceiver.getComponentName(mContext), in clearDefaultHomeIntentReceiver()
168 mDevicePolicyManager.setLockTaskPackages(BasicAdminReceiver.getComponentName(mContext), in setDefaultHomeIntentReceiver()
174 BasicAdminReceiver.getComponentName(mContext), intentFilter, in setDefaultHomeIntentReceiver()
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()
DBaseDeviceOwnerTest.java62 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()
DSetPolicyActivity.java66 ComponentName admin = BasicAdminReceiver.getComponentName(this); in handleIntent()
DAffiliationTest.java51 mAdminComponent = BasicAdminReceiver.getComponentName(context); in setUp()
DLockTaskTest.java61 new ComponentName(PACKAGE_NAME, BasicAdminReceiver.class.getName());
/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
84 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.java116 ComponentName cn = new ComponentName(mContext, BasicAdminReceiver.class); in testBroadcastReceivedForEnablingApp()
DBasePackageInstallTest.java127 return new ComponentName(PACKAGE_NAME, BasicAdminReceiver.class.getName()); in getWho()