Home
last modified time | relevance | path

Searched refs:CommandReceiverActivity (Results 1 – 14 of 14) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DEnterprisePrivacyTestListActivity.java101 return new Intent(CommandReceiverActivity.ACTION_EXECUTE_COMMAND) in buildCommandIntent()
102 .putExtra(CommandReceiverActivity.EXTRA_COMMAND, command); in buildCommandIntent()
119 CommandReceiverActivity.COMMAND_SET_PERMISSION_GRANT_STATE) in buildAdminGrantedPermissionTest()
120 .putExtra(CommandReceiverActivity.EXTRA_PERMISSION, permission) in buildAdminGrantedPermissionTest()
121 .putExtra(CommandReceiverActivity.EXTRA_GRANT_STATE, in buildAdminGrantedPermissionTest()
124 CommandReceiverActivity.COMMAND_SET_PERMISSION_GRANT_STATE) in buildAdminGrantedPermissionTest()
125 .putExtra(CommandReceiverActivity.EXTRA_PERMISSION, permission) in buildAdminGrantedPermissionTest()
126 .putExtra(CommandReceiverActivity.EXTRA_GRANT_STATE, in buildAdminGrantedPermissionTest()
141 CommandReceiverActivity.COMMAND_RETRIEVE_NETWORK_LOGS)); in addTestsToAdapter()
146 CommandReceiverActivity.COMMAND_REQUEST_BUGREPORT)); in addTestsToAdapter()
[all …]
DDeviceOwnerPositiveTestActivity.java181 CommandReceiverActivity.createSetUserRestrictionIntent( in addTestsToAdapter()
211 CommandReceiverActivity.createSetUserRestrictionIntent( in addTestsToAdapter()
228 CommandReceiverActivity.createSetUserRestrictionIntent( in addTestsToAdapter()
242 CommandReceiverActivity.createSetUserRestrictionIntent( in addTestsToAdapter()
253 CommandReceiverActivity.createSetUserRestrictionIntent( in addTestsToAdapter()
267 CommandReceiverActivity.createSetUserRestrictionIntent( in addTestsToAdapter()
280 CommandReceiverActivity.COMMAND_SET_STATUSBAR_DISABLED, in addTestsToAdapter()
285 CommandReceiverActivity.COMMAND_SET_STATUSBAR_DISABLED, in addTestsToAdapter()
297 CommandReceiverActivity.COMMAND_SET_KEYGUARD_DISABLED, in addTestsToAdapter()
302 CommandReceiverActivity.COMMAND_SET_KEYGUARD_DISABLED, in addTestsToAdapter()
[all …]
DPolicyTransparencyTestActivity.java81 CommandReceiverActivity.COMMAND_SET_AUTO_TIME_REQUIRED)); in POLICY_TEST_ITEMS.put()
87 CommandReceiverActivity.COMMAND_DISALLOW_KEYGUARD_UNREDACTED_NOTIFICATIONS)); in POLICY_TEST_ITEMS.put()
93 CommandReceiverActivity.COMMAND_SET_LOCK_SCREEN_INFO)); in POLICY_TEST_ITEMS.put()
99 CommandReceiverActivity.COMMAND_SET_MAXIMUM_TO_LOCK)); in POLICY_TEST_ITEMS.put()
105 CommandReceiverActivity.COMMAND_SET_PASSWORD_QUALITY)); in POLICY_TEST_ITEMS.put()
111 CommandReceiverActivity.COMMAND_ALLOW_ONLY_SYSTEM_ACCESSIBILITY_SERVICES)); in POLICY_TEST_ITEMS.put()
117 CommandReceiverActivity.COMMAND_ALLOW_ONLY_SYSTEM_INPUT_METHODS)); in POLICY_TEST_ITEMS.put()
170 CommandReceiverActivity.EXTRA_USER_RESTRICTION); in updateTestInstructions()
227 final Intent intent = new Intent(CommandReceiverActivity.ACTION_EXECUTE_COMMAND); in onClick()
228 intent.putExtra(CommandReceiverActivity.EXTRA_COMMAND, testItem.command); in onClick()
[all …]
DWifiLockdownTestActivity.java75 new Intent(this, CommandReceiverActivity.class) in onCreate()
76 .putExtra(CommandReceiverActivity.EXTRA_COMMAND, in onCreate()
77 CommandReceiverActivity.COMMAND_SET_GLOBAL_SETTING) in onCreate()
78 .putExtra(CommandReceiverActivity.EXTRA_SETTING, in onCreate()
80 .putExtra(CommandReceiverActivity.EXTRA_VALUE, "0" in onCreate()
84 new Intent(this, CommandReceiverActivity.class) in onCreate()
85 .putExtra(CommandReceiverActivity.EXTRA_COMMAND, in onCreate()
86 CommandReceiverActivity.COMMAND_SET_GLOBAL_SETTING) in onCreate()
87 .putExtra(CommandReceiverActivity.EXTRA_SETTING, in onCreate()
89 .putExtra(CommandReceiverActivity.EXTRA_VALUE, "1" in onCreate()
DManagedUserPositiveTestActivity.java128 CommandReceiverActivity.COMMAND_SET_STATUSBAR_DISABLED, in addTestsToAdapter()
133 CommandReceiverActivity.COMMAND_SET_STATUSBAR_DISABLED, in addTestsToAdapter()
145 CommandReceiverActivity.COMMAND_SET_KEYGUARD_DISABLED, in addTestsToAdapter()
150 CommandReceiverActivity.COMMAND_SET_KEYGUARD_DISABLED, in addTestsToAdapter()
160 CommandReceiverActivity.createSetUserRestrictionIntent( in addTestsToAdapter()
189 return new Intent(this, CommandReceiverActivity.class) in createManagedUserIntentWithBooleanParameter()
190 .putExtra(CommandReceiverActivity.EXTRA_COMMAND, command) in createManagedUserIntentWithBooleanParameter()
191 .putExtra(CommandReceiverActivity.EXTRA_ENFORCED, value); in createManagedUserIntentWithBooleanParameter()
DLockscreenMessageTestActivity.java19 import static com.android.cts.verifier.managedprovisioning.CommandReceiverActivity.COMMAND_SET_LOCK…
20 import static com.android.cts.verifier.managedprovisioning.CommandReceiverActivity.EXTRA_COMMAND;
21 import static com.android.cts.verifier.managedprovisioning.CommandReceiverActivity.EXTRA_VALUE;
59 Intent intent = new Intent(this, CommandReceiverActivity.class) in setLockscreenMessage()
DDeviceOwnerRequestingBugreportTestActivity.java189 return new Intent(this, CommandReceiverActivity.class) in createTearDownIntent()
190 .putExtra(CommandReceiverActivity.EXTRA_COMMAND, in createTearDownIntent()
191 CommandReceiverActivity.COMMAND_REMOVE_DEVICE_OWNER); in createTearDownIntent()
195 return new Intent(this, CommandReceiverActivity.class) in createRequestBugreportIntent()
196 .putExtra(CommandReceiverActivity.EXTRA_COMMAND, in createRequestBugreportIntent()
197 CommandReceiverActivity.COMMAND_REQUEST_BUGREPORT); in createRequestBugreportIntent()
DCompTestActivity.java75 startActivity(new Intent(CommandReceiverActivity.ACTION_EXECUTE_COMMAND) in onActivityResult()
76 .putExtra(CommandReceiverActivity.EXTRA_COMMAND, in onActivityResult()
77 CommandReceiverActivity.COMMAND_REMOVE_MANAGED_PROFILE)); in onActivityResult()
DLockTaskUiTestActivity.java352 final Intent commandIntent = new Intent(CommandReceiverActivity.ACTION_EXECUTE_COMMAND); in createSetLockTaskFeaturesTest()
353 commandIntent.putExtra(CommandReceiverActivity.EXTRA_COMMAND, in createSetLockTaskFeaturesTest()
354 CommandReceiverActivity.COMMAND_SET_LOCK_TASK_FEATURES); in createSetLockTaskFeaturesTest()
355 commandIntent.putExtra(CommandReceiverActivity.EXTRA_VALUE, featureFlags); in createSetLockTaskFeaturesTest()
DPolicyTransparencyTestListActivity.java235 final Intent intent = new Intent(CommandReceiverActivity.ACTION_EXECUTE_COMMAND); in finish()
236 intent.putExtra(CommandReceiverActivity.EXTRA_COMMAND, in finish()
237 CommandReceiverActivity.COMMAND_CLEAR_POLICIES); in finish()
DByodFlowTestHelper.java62 CommandReceiverActivity.class.getName(), in setComponentsEnabledState()
DUserRestrictions.java225 .putExtra(CommandReceiverActivity.EXTRA_USER_RESTRICTION, restriction) in getUserRestrictionTestIntent()
DDeviceAdminTestReceiver.java182 filter.addAction(CommandReceiverActivity.ACTION_EXECUTE_COMMAND); in setupProfile()
DCommandReceiverActivity.java62 public class CommandReceiverActivity extends Activity { class