Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DManagedProfileTest.java65 testIntentFilter.addAction(PrimaryUserActivity.ACTION); in testClearCrossProfileIntentFilters()
69 new Intent(PrimaryUserActivity.ACTION), /* flags = */ 0).size()); in testClearCrossProfileIntentFilters()
74 new Intent(PrimaryUserActivity.ACTION), /* flags = */ 0).isEmpty()); in testClearCrossProfileIntentFilters()
75 getActivity().startActivity(ManagedProfileActivity.ACTION); in testClearCrossProfileIntentFilters()
81 new Intent(PrimaryUserActivity.ACTION), /* flags = */ 0).size()); in testAddCrossProfileIntentFilter_primary()
84 testIntentFilter.addAction(PrimaryUserActivity.ACTION); in testAddCrossProfileIntentFilter_primary()
89 new Intent(PrimaryUserActivity.ACTION), /* flags = */ 0).size()); in testAddCrossProfileIntentFilter_primary()
90 getActivity().startActivity(PrimaryUserActivity.ACTION); in testAddCrossProfileIntentFilter_primary()
96 new Intent(AllUsersActivity.ACTION), /* flags = */ 0).size()); in testAddCrossProfileIntentFilter_all()
99 testIntentFilter.addAction(AllUsersActivity.ACTION); in testAddCrossProfileIntentFilter_all()
[all …]
DPrimaryUserTest.java57 new Intent(PrimaryUserActivity.ACTION), /* flags = */ 0).size()); in testAddCrossProfileIntentFilter_primary()
58 getActivity().startActivity(PrimaryUserActivity.ACTION); in testAddCrossProfileIntentFilter_primary()
64 new Intent(AllUsersActivity.ACTION), /* flags = */ 0).size()); in testAddCrossProfileIntentFilter_all()
72 new Intent(ManagedProfileActivity.ACTION), /* flags = */ 0).size()); in testAddCrossProfileIntentFilter_managed()
73 getActivity().startActivity(ManagedProfileActivity.ACTION); in testAddCrossProfileIntentFilter_managed()
DPrimaryUserFilterSetterActivity.java28 testIntentFilter.addAction(PrimaryUserActivity.ACTION); in onCreate()
33 testIntentFilter.addAction(ManagedProfileActivity.ACTION); in onCreate()
38 testIntentFilter.addAction(AllUsersActivity.ACTION); in onCreate()
DAllUsersActivity.java28 public static final String ACTION = field in AllUsersActivity
DPrimaryUserActivity.java29 public static final String ACTION = field in PrimaryUserActivity
DManagedProfileActivity.java28 public static final String ACTION = field in ManagedProfileActivity
DDisallowSharingIntoProfileTest.java77 private static final String KNOWN_ACTION_TO_PROFILE = ManagedProfileActivity.ACTION;
78 private static final String KNOWN_ACTION_TO_PERSONAL = PrimaryUserActivity.ACTION;
/cts/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java59 private static final String ACTION = "testAction"; field in IntentFilterTest
80 filter = new IntentFilter(ACTION); in testConstructor()
81 verifyContent(filter, ACTION, null); in testConstructor()
83 final IntentFilter actionTypeFilter = new IntentFilter(ACTION, DATA_TYPE); in testConstructor()
84 verifyContent(actionTypeFilter, ACTION, DATA_TYPE); in testConstructor()
87 verifyContent(filter, ACTION, DATA_TYPE); in testConstructor()
91 new IntentFilter(ACTION, dataType); in testConstructor()
258 IntentFilter filter = IntentFilter.create(ACTION, DATA_TYPE); in testCreate()
260 verifyContent(filter, ACTION, DATA_TYPE); in testCreate()
544 mIntentFilter.addAction(ACTION + i); in testActions()
[all …]
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DAlarmOperation.java44 private static final String ACTION = "AlarmOperationAction"; field in AlarmOperation
81 IntentFilter intentFilter = new IntentFilter(ACTION); in execute()
93 Intent intent = new Intent(ACTION); in execute()
/cts/hostsidetests/devicepolicy/app/ContentCaptureApp/src/com/android/cts/devicepolicy/contentcaptureapp/
DSimpleActivity.java40 registerReceiver(mReceiver, new IntentFilter(SimpleActivityReceiver.ACTION)); in onCreate()
61 private static final String ACTION = "SimpleActivityReceiver"; field in SimpleActivity.SimpleActivityReceiver
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DContentCaptureActivity.java51 registerReceiver(mReceiver, new IntentFilter(ContentCaptureActivityReceiver.ACTION)); in onCreate()
79 private static final String ACTION = "ContentCaptureActivityReceiver"; field in ContentCaptureActivity.ContentCaptureActivityReceiver
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt54 private const val ACTION = "NoPermissionTests.install_cb" in <lambda>() constant
102 context.registerReceiver(receiver, IntentFilter(ACTION)) in <lambda>()
133 val pendingIntent = PendingIntent.getBroadcast(context, 0, Intent(ACTION), in <lambda>()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverAlarmTest.java92 private final String ACTION = "BATTERY_SAVER_ALARM_TEST_ALARM_ACTION_" + Values.getRandomInt(); field in BatterySaverAlarmTest
108 final IntentFilter filter = new IntentFilter(ACTION); in setUp()
129 .setIntentAction(ACTION) in scheduleAlarm()
/cts/hostsidetests/sustainedperf/dhrystone/
DLICENSE.TXT41 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,