HomeSort by relevance Sort by last modified time
    Searched refs:intent (Results 251 - 275 of 4825) sorted by null

<<11121314151617181920>>

  /cts/tests/app/app/src/android/app/stubs/
ActivityMonitorTestActivity.java 20 import android.content.Intent;
36 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
43 Intent intent; local
45 intent = new Intent(this, InstrumentationTestActivity.class);
47 intent = new Intent(InstrumentationTestActivity.START_INTENT);
49 startActivityForResult(intent, 42);
57 void onActivityResult(int requestCode, int resultCode, Intent data)
    [all...]
  /cts/tests/app/src/android/app/cts/
AliasActivityTest.java 23 import android.content.Intent;
39 Intent intent = new Intent(); local
40 intent.setClass(context, AliasActivityStub.class);
41 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
45 context.startActivity(intent);
  /cts/tests/framework/base/activitymanager/app/src/android/server/am/
AlwaysFocusablePipActivity.java 20 import static android.content.Intent.FLAG_ACTIVITY_CLEAR_TASK;
21 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
25 import android.content.Intent;
32 final Intent intent = new Intent(caller, AlwaysFocusablePipActivity.class); local
34 intent.setFlags(FLAG_ACTIVITY_CLEAR_TASK);
36 intent.addFlags(FLAG_ACTIVITY_NEW_TASK);
42 caller.startActivity(intent, options.toBundle());
TranslucentAssistantActivity.java 20 import static android.content.Intent.FLAG_ACTIVITY_CLEAR_TASK;
21 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
25 import android.content.Intent;
35 final Intent intent = new Intent(caller, TranslucentAssistantActivity.class); local
36 intent.setFlags(FLAG_ACTIVITY_CLEAR_TASK | FLAG_ACTIVITY_NEW_TASK);
38 intent.putExtras(extras);
43 caller.startActivity(intent, options.toBundle());
  /cts/tests/tests/alarmclock/service/src/android/alarmclock/service/
VoiceInteractionMain.java 21 import android.content.Intent;
32 Intent intent = new Intent(); local
35 intent.putExtra(Utils.TESTCASE_TYPE, testCaseType);
36 intent.setComponent(new ComponentName(this, MainInteractionService.class));
37 ComponentName serviceName = startService(intent);
  /cts/tests/tests/appwidget/packages/src/android/appwidget/cts/packages/
SimpleProvider.java 9 import android.content.Intent;
14 public void onReceive(Context context, Intent intent) {
15 super.onReceive(context, intent);
17 if (Constants.ACTION_APPLY_OVERRIDE.equals(intent.getAction())) {
18 String request = intent.getStringExtra(Constants.EXTRA_REQUEST);
  /cts/tests/tests/net/src/android/net/cts/
ConnectivityReceiver.java 21 import android.content.Intent;
58 public void onReceive(Context context, Intent intent) {
59 Log.i("ConnectivityReceiver", "Received: " + intent.getAction());
60 if (ConnectivityManager.CONNECTIVITY_ACTION.equals(intent.getAction())) {
62 } else if (FINAL_ACTION.equals(intent.getAction())) {
  /cts/tests/tests/opengl/src/android/opengl/cts/
ProgramTest.java 18 import android.content.Intent;
31 Intent intent = new Intent(); local
32 intent.putExtra(OpenGLES20NativeActivityOne.EXTRA_VIEW_TYPE, viewType);
33 intent.putExtra(OpenGLES20NativeActivityOne.EXTRA_VIEW_INDEX, viewIndex);
34 setActivityIntent(intent);
  /cts/tests/tests/permission/src/android/permission/cts/
TelephonyManagerPermissionTest.java 24 import android.content.Intent;
208 Intent intent = new Intent("android.intent.action.SIM_STATE_CHANGED"); local
209 getContext().sendBroadcast(intent);
213 Intent intent = new Intent("android.intent.action.SERVICE_STATE") local
218 Intent intent = new Intent("android.telephony.action.DEFAULT_SUBSCRIPTION_CHANGED"); local
223 Intent intent = new Intent( local
229 Intent intent = new Intent( local
235 Intent intent = new Intent( local
241 Intent intent = new Intent("android.intent.action.SIG_STR"); local
246 Intent intent = new Intent("android.provider.Telephony.SECRET_CODE"); local
    [all...]
  /cts/tests/tests/telephony/src/android/telephony/cts/
MmsReceiver.java 21 import android.content.Intent;
31 public void onReceive(Context context, Intent intent) {
  /cts/tests/tests/voicesettings/service/src/android/voicesettings/service/
VoiceInteractionMain.java 22 import android.content.Intent;
33 Intent intent = new Intent(); local
36 intent.putExtra(BroadcastUtils.TESTCASE_TYPE, testCaseType);
37 intent.setComponent(new ComponentName(this, MainInteractionService.class));
38 ComponentName serviceName = startService(intent);
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/
UtilityService.java 22 import android.content.Intent;
54 Intent intent = new Intent(context, UtilityService.class); local
55 intent.setAction(UtilityService.ACTION_CLEAR_NOTIFICATION);
56 context.startService(intent);
63 public static Intent getClearRemoteNotificationsIntent(Context context) {
64 Intent intent = new Intent(context, UtilityService.class) local
78 Intent intent = new Intent(context, UtilityService.class); local
    [all...]
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/
UtilityService.java 22 import android.content.Intent;
54 Intent intent = new Intent(context, UtilityService.class); local
55 intent.setAction(UtilityService.ACTION_CLEAR_NOTIFICATION);
56 context.startService(intent);
63 public static Intent getClearRemoteNotificationsIntent(Context context) {
64 Intent intent = new Intent(context, UtilityService.class) local
78 Intent intent = new Intent(context, UtilityService.class); local
    [all...]
  /development/samples/AppNavigation/src/com/example/android/appnavigation/app/
ContentViewActivity.java 22 import android.content.Intent;
34 Intent intent = getIntent(); local
35 if (Intent.ACTION_VIEW.equals(intent.getAction())) {
38 } else if (intent.hasExtra(EXTRA_TEXT)) {
40 tv.setText(intent.getStringExtra(EXTRA_TEXT));
  /development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/provider/
UpdateComplicationDataService.java 5 import android.content.Intent;
28 protected void onHandleIntent(Intent intent) {
30 if (intent != null) {
32 final String action = intent.getAction();
36 int complicationId = intent.getIntExtra(EXTRA_COMPLICATION_ID, -1);
  /development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
UtilityService.java 22 import android.content.Intent;
54 Intent intent = new Intent(context, UtilityService.class); local
55 intent.setAction(UtilityService.ACTION_CLEAR_NOTIFICATION);
56 context.startService(intent);
63 public static Intent getClearRemoteNotificationsIntent(Context context) {
64 Intent intent = new Intent(context, UtilityService.class) local
78 Intent intent = new Intent(context, UtilityService.class); local
    [all...]
  /external/robolectric/v1/src/main/java/com/foo/
Receiver.java 5 import android.content.Intent;
10 public void onReceive(Context context, Intent intent) {
  /external/robolectric/v1/src/main/java/com/xtremelabs/
ConfigTestReceiver.java 5 import android.content.Intent;
10 public void onReceive(Context context, Intent intent) {
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
DotConfigTestReceiver.java 5 import android.content.Intent;
10 public void onReceive(Context context, Intent intent) {
  /external/robolectric-shadows/robolectric/src/test/java/com/foo/
Receiver.java 5 import android.content.Intent;
10 public void onReceive(Context context, Intent intent) {
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DotConfigTestReceiver.java 5 import android.content.Intent;
10 public void onReceive(Context context, Intent intent) {
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
ConfigTestReceiver.java 5 import android.content.Intent;
10 public void onReceive(Context context, Intent intent) {
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/tester/
ConfigTestReceiverPermissionsAndActions.java 5 import android.content.Intent;
9 public void onReceive(Context context, Intent intent) {
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowBroadcastReceiver.java 5 import android.content.Intent;
24 public void onReceive(Context context, Intent intent) {
26 receiver.onReceive(context, intent);
30 public void onReceive(Context context, Intent intent, AtomicBoolean abort) {
32 onReceive(context, intent);
  /frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
RemotePlaybackClient.java 21 import android.content.Intent;
79 Intent itemStatusIntent = new Intent(ActionReceiver.ACTION_ITEM_STATUS_CHANGED);
84 Intent sessionStatusIntent = new Intent(ActionReceiver.ACTION_SESSION_STATUS_CHANGED);
89 Intent messageIntent = new Intent(ActionReceiver.ACTION_MESSAGE_RECEIVED);
276 * {@link MediaControlIntent#ACTION_PLAY} intent, or null if none.
310 * {@link MediaControlIntent#ACTION_ENQUEUE} intent, or null if none.
337 Intent intent = new Intent(action) local
382 Intent intent = new Intent(MediaControlIntent.ACTION_SEEK); local
413 Intent intent = new Intent(MediaControlIntent.ACTION_GET_STATUS); local
446 Intent intent = new Intent(MediaControlIntent.ACTION_REMOVE); local
473 Intent intent = new Intent(MediaControlIntent.ACTION_PAUSE); local
500 Intent intent = new Intent(MediaControlIntent.ACTION_RESUME); local
527 Intent intent = new Intent(MediaControlIntent.ACTION_STOP); local
556 Intent intent = new Intent(MediaControlIntent.ACTION_START_SESSION); local
587 Intent intent = new Intent(MediaControlIntent.ACTION_SEND_MESSAGE); local
616 Intent intent = new Intent(MediaControlIntent.ACTION_GET_SESSION_STATUS); local
647 Intent intent = new Intent(MediaControlIntent.ACTION_END_SESSION); local
    [all...]

Completed in 385 milliseconds

<<11121314151617181920>>