Home
last modified time | relevance | path

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

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileIntentFiltersTest.java70 private static final String ACTION = "com.android.testapp.UNIQUE_ACTIVITY_ACTION"; field in CrossProfileIntentFiltersTest
77 intentFilter().where().actions().contains(ACTION)
94 new Intent(ACTION), /* flags = */ 0).size()).isEqualTo(0); in queryIntentActivities_doesntIncludeAppInOtherUser()
110 testIntentFilter.addAction(ACTION); in queryIntentActivities_intentFilterIsSet_includesAppInOtherUser()
117 new Intent(ACTION), /* flags = */ 0); in queryIntentActivities_intentFilterIsSet_includesAppInOtherUser()
137 testIntentFilter.addAction(ACTION); in queryIntentActivities_intentFilterIsSet_includesAppInOwnUser()
144 new Intent(ACTION), /* flags = */ 0); in queryIntentActivities_intentFilterIsSet_includesAppInOwnUser()
165 testIntentFilter.addAction(ACTION); in startActivity_intentFilterIsSet_startsAppInOtherUser()
171 Intent intent = new Intent(ACTION) in startActivity_intentFilterIsSet_startsAppInOtherUser()
178 intentFilter().where().actions().contains(ACTION) in startActivity_intentFilterIsSet_startsAppInOtherUser()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DActionTriggeredReceiver.java31 public static String ACTION = "com.android.cts.verifier.notifications.ActionTriggeredReceiver"; field in ActionTriggeredReceiver
35 if (ACTION.equals(intent.getAction())) { in onReceive()
55 nm.notify(ACTION, 0, n1); in sendNotification()
59 Intent intent = new Intent(ACTION); in makeBroadcastIntent()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
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
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DHideOverlayWindowsActivity.java19 import static android.server.wm.app.Components.HideOverlayWindowsActivity.ACTION;
43 registerReceiver(mBroadcastReceiver, new IntentFilter(ACTION), Context.RECEIVER_EXPORTED); in onCreate()
49 if (ACTION.equals(intent.getAction())) {
DComponents.java693 public static final String ACTION = "hide_action"; field in Components.HideOverlayWindowsActivity
/cts/tests/location/common/src/android/location/cts/common/
DProximityPendingIntentCapture.java17 private static final String ACTION = "android.location.cts.LOCATION_BROADCAST"; field in ProximityPendingIntentCapture
29 new Intent(ACTION) in ProximityPendingIntentCapture()
35 register(ACTION); in ProximityPendingIntentCapture()
DLocationPendingIntentCapture.java38 private static final String ACTION = "android.location.cts.LOCATION_BROADCAST"; field in LocationPendingIntentCapture
52 new Intent(ACTION) in LocationPendingIntentCapture()
60 register(ACTION); in LocationPendingIntentCapture()
/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()
94 Intent intent = new Intent(ACTION).setPackage(mContext.getPackageName()); 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/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java108 private static final String ACTION = "testAction"; field in IntentFilterTest
143 filter = new IntentFilter(ACTION); in testConstructor()
144 verifyContent(filter, ACTION, null); in testConstructor()
146 final IntentFilter actionTypeFilter = new IntentFilter(ACTION, DATA_STATIC_TYPE); in testConstructor()
147 verifyContent(actionTypeFilter, ACTION, DATA_STATIC_TYPE); in testConstructor()
150 verifyContent(filter, ACTION, DATA_STATIC_TYPE); in testConstructor()
154 new IntentFilter(ACTION, dataType); in testConstructor()
436 IntentFilter filter = IntentFilter.create(ACTION, DATA_STATIC_TYPE); in testCreate()
438 verifyContent(filter, ACTION, DATA_STATIC_TYPE); in testCreate()
784 IntentFilter filter = new Match(new String[]{ACTION}, null, null, new String[]{"scheme1"}, in testAppEnumerationMatchesMimeGroups()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DContentCaptureActivity.java51 registerReceiver(mReceiver, new IntentFilter(ContentCaptureActivityReceiver.ACTION), in onCreate()
80 private static final String ACTION = "ContentCaptureActivityReceiver"; field in ContentCaptureActivity.ContentCaptureActivityReceiver
/cts/apps/CtsVerifier/src/com/android/cts/verifier/capturecontentfornotes/
DCaptureContentForNotesVerifierActivity.java19 …t static com.android.cts.verifier.capturecontentfornotes.DeviceAdminCommandExecutorActivity.ACTION;
62 new Intent(ACTION).putExtra(EXTRA_COMMAND, COMMAND_CLEAR_DEVICE_OWNER);
79 new Intent(ACTION)
82 new Intent(ACTION)
DDeviceAdminCommandExecutorActivity.java39 static final String ACTION = field in DeviceAdminCommandExecutorActivity
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt52 private const val ACTION = "NoPermissionTests.install_cb" in <lambda>() constant
93 context.registerReceiver(receiver, IntentFilter(ACTION), in <lambda>()
126 Intent(ACTION).setPackage(context.packageName) 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
112 final IntentFilter filter = new IntentFilter(ACTION); in setUp()
134 .setIntentAction(ACTION) in scheduleAlarm()
/cts/hostsidetests/gputools/layers/
DLICENSE_MIT16 DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/preferred/
DPreferredActivitiesTest.java63 private static final String ACTION = "android.dynamicmime.preferred.TEST_ACTION"; field in PreferredActivitiesTest
420 sendIntent.setAction(ACTION); in sendIntent()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DHideOverlayWindowsTest.java20 import static android.server.wm.app.Components.HideOverlayWindowsActivity.ACTION;
270 Intent intent = new Intent(ACTION); in setHideOverlayWindowsAndWaitForPong()
/cts/hostsidetests/sustainedperf/dhrystone/
DLICENSE.TXT41 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt35934 field @Deprecated public static final String ACTION = "android.intent.action.INSERT";
36724 field public static final String ACTION = "android.intent.action.INSERT";