Home
last modified time | relevance | path

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

12

/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.java33 import com.android.cts.packageinstaller.ClearDeviceOwnerTest.BasicAdminReceiver;
116 return new ComponentName(PACKAGE_NAME, BasicAdminReceiver.class.getName()); in getWho()
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/ManagedProfileOwnerApp/src/com/android/cts/managedprofile/owner/app/
DManagedProfileOwnerAppTest.java40 public static class BasicAdminReceiver extends DeviceAdminReceiver { class in ManagedProfileOwnerAppTest
44 BasicAdminReceiver.class.getPackage().getName(), BasicAdminReceiver.class.getName());
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBaseAffiliatedProfileOwnerTest.java45 BasicAdminReceiver.class, /* forDeviceOwner= */ true); in setUp()
60 return BasicAdminReceiver.getComponentName(mContext); in getWho()
DBasicAdminReceiver.java31 public class BasicAdminReceiver extends DeviceAdminReceiver { class
33 private static final String TAG = BasicAdminReceiver.class.getSimpleName();
47 return new ComponentName(context, BasicAdminReceiver.class); in getComponentName()
DBaseDeviceOwnerTest.java83 BasicAdminReceiver.class, /* forDeviceOwner= */ true); in setUp()
85 BasicAdminReceiver.class); in setUp()
118 return BasicAdminReceiver.getComponentName(mContext); in getWho()
DUserActionCallback.java60 if (intent.hasExtra(BasicAdminReceiver.EXTRA_USER_HANDLE)) {
62 .getParcelableExtra(BasicAdminReceiver.EXTRA_USER_HANDLE);
67 + " WITHOUT " + BasicAdminReceiver.EXTRA_USER_HANDLE + " extra");
DCreateAndManageUserTest.java170 BasicAdminReceiver.ACTION_USER_STOPPED, BasicAdminReceiver.ACTION_USER_REMOVED); in testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser()
209 BasicAdminReceiver.ACTION_USER_STARTED, BasicAdminReceiver.ACTION_USER_STOPPED); in testCreateAndManageUser_LogoutUser()
457 getContext(), BasicAdminReceiver.ACTION_USER_ADDED); in createAndManageUser()
482 BasicAdminReceiver.ACTION_USER_STARTED, BasicAdminReceiver.ACTION_USER_SWITCHED); in switchUserAndWaitForBroadcasts()
502 getContext(), BasicAdminReceiver.ACTION_USER_SWITCHED); in logoutUserUsingSystemApiAndWaitForBroadcasts()
523 getContext(), BasicAdminReceiver.ACTION_USER_REMOVED); in removeUserAndWaitForBroadcasts()
561 getContext(), BasicAdminReceiver.ACTION_USER_STARTED); in startUserInBackgroundAndWaitForBroadcasts()
585 getContext(), BasicAdminReceiver.ACTION_USER_STOPPED); in stopUserAndWaitForBroadcasts()
DSetPolicyActivity.java58 ComponentName admin = BasicAdminReceiver.getComponentName(this); in handleIntent()
DDevicePolicySafetyCheckerIntegrationTest.java65 public static final String TEST_PACKAGE = BasicAdminReceiver.class.getPackage().getName();
67 TEST_PACKAGE, BasicAdminReceiver.class.getName());
DAffiliationTest.java55 mAdminComponent = BasicAdminReceiver.getComponentName(context); in setUp()
DNetworkLoggingTest.java96 if (!BasicAdminReceiver.ACTION_NETWORK_LOGS_AVAILABLE.equals(intent.getAction())) {
101 intent.getLongExtra(BasicAdminReceiver.EXTRA_NETWORK_LOGS_BATCH_TOKEN,
174 BasicAdminReceiver.ACTION_NETWORK_LOGS_AVAILABLE); in testNetworkLoggingAndRetrieval()
DHardwarePropertiesManagerTest.java118 .getHardwarePropertiesManager(getContext(), BasicAdminReceiver.class); in testHardwarePropertiesManager()
/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.java43 import com.android.cts.deviceandprofileowner.BaseDeviceAdminTest.BasicAdminReceiver;
56 public static final class BasicAdminReceiver extends DeviceAdminReceiver { class in BaseDeviceAdminTest
131 public static final String PACKAGE_NAME = BasicAdminReceiver.class.getPackage().getName();
133 PACKAGE_NAME, BasicAdminReceiver.class.getName());
163 BasicAdminReceiver.class, mIsDeviceOwnerTest); in setUp()
DPersonalAppsSuspensionTest.java19 import static com.android.cts.deviceandprofileowner.BaseDeviceAdminTest.BasicAdminReceiver.COMPLIAN…
20 import static com.android.cts.deviceandprofileowner.BaseDeviceAdminTest.BasicAdminReceiver.COMPLIAN…
21 import static com.android.cts.deviceandprofileowner.BaseDeviceAdminTest.BasicAdminReceiver.COMPLIAN…
DNetworkLoggingTest.java20 import static com.android.cts.deviceandprofileowner.BaseDeviceAdminTest.BasicAdminReceiver.ACTION_N…
21 import static com.android.cts.deviceandprofileowner.BaseDeviceAdminTest.BasicAdminReceiver.EXTRA_NE…
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DBaseProfileOwnerTest.java33 public static class BasicAdminReceiver extends DeviceAdminReceiver { class in BaseProfileOwnerTest
68 return new ComponentName(PACKAGE_NAME, BasicAdminReceiver.class.getName()); in getWho()
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DBasicAdminReceiver.java20 public class BasicAdminReceiver extends DeviceAdminReceiver { class
/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/hostsidetests/settings/app/DeviceOwnerApp/src/com/google/android/cts/deviceowner/
DDeviceOwnerTest.java65 public static final class BasicAdminReceiver extends DeviceAdminReceiver { class in DeviceOwnerTest
82 new ComponentName(PACKAGE_NAME, BasicAdminReceiver.class.getName());
97 BasicAdminReceiver.class, /* forDeviceOwner= */ true); in setUp()
DClearDeviceOwnerTest.java33 import com.google.android.cts.deviceowner.DeviceOwnerTest.BasicAdminReceiver;
82 BasicAdminReceiver.class, /* forDeviceOWner= */ true); in removeDeviceOwner()
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideMultipleProfileTest.java35 public static class BasicAdminReceiver extends DeviceAdminReceiver {} class in WebViewDeviceSideMultipleProfileTest

12