/packages/services/Telephony/src/com/android/phone/ |
InCallScreenShowActivation.java | 22 import android.content.Intent; 34 * Invisible activity that handles the com.android.phone.PERFORM_CDMA_PROVISIONING intent. 55 Intent intent = getIntent(); local 56 if (DBG) Log.d(LOG_TAG, "onCreate: intent = " + intent); 57 Bundle extras = intent.getExtras(); 72 if (intent.getAction().equals(OtaUtils.ACTION_PERFORM_CDMA_PROVISIONING)) { 90 // Testing: this intent extra allows test apps manually 94 if (intent.hasExtra(OtaUtils.EXTRA_OVERRIDE_INTERACTIVE_MODE 165 Intent intent = new Intent("android.intent.action.DEVICE_INITIALIZATION_WIZARD"); local 183 final Intent intent = new Intent(); local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestListActivity.java | 20 import android.content.Intent; 77 Intent intent = new Intent(this, ReportViewerActivity.class); local 78 intent.putExtra(ReportViewerActivity.EXTRA_REPORT_CONTENTS, report.getContents()); 79 startActivity(intent);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
RequesterTestListActivity.java | 21 import android.content.Intent; 100 Intent intent = new Intent(this, getRequesterActivityClass()); local 101 intent.putExtra(TestCase.EXTRA_TEST_NAME, 104 intent, null)); local
|
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/primitive/ |
GLPrimitiveBenchmark.java | 21 import android.content.Intent; 114 Intent intent = new Intent(); local 115 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_BENCHMARK_NAME, benchmarkName); 116 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_OFFSCREEN, offscreen); 117 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, numFrames); 118 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_ITERATIONS, numIterations); 119 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_TIMEOUT, timeout); 122 setActivityIntent(intent); [all...] |
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/ |
GLReferenceActivity.java | 19 import android.content.Intent; 41 Intent intent = getIntent(); local 42 mNumFrames = intent.getIntExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, 0); 43 mTimeout = intent.getIntExtra(GLActivityIntentKeys.INTENT_EXTRA_TIMEOUT, 0); 46 intent = new Intent(this, GLGameActivity.class); 47 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, mNumFrames); 48 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_TIMEOUT, mTimeout); 49 startActivityForResult(intent, GAME_ACTIVITY_CODE) [all...] |
GLReferenceBenchmark.java | 23 import android.content.Intent; 44 Intent intent = new Intent(); local 45 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_NUM_FRAMES, NUM_FRAMES); 46 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_TIMEOUT, TIMEOUT); 49 setActivityIntent(intent);
|
/cts/tests/src/android/opengl/cts/ |
OpenGlEsVersionStubActivity.java | 20 import android.content.Intent; 47 public static Intent createIntent(int eglContextClientVersion) { 48 Intent intent = new Intent(Intent.ACTION_MAIN); local 49 intent.putExtra(EGL_CONTEXT_CLIENT_VERSION, eglContextClientVersion); 50 return intent; 59 Intent intent = getIntent() local [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerMemoryClassTest.java | 21 import android.content.Intent; 108 Intent intent = new Intent(); local 109 intent.putExtra(ActivityManagerMemoryClassLaunchActivity.MEMORY_CLASS_EXTRA, 111 setActivityIntent(intent);
|
LauncherActivityTest.java | 23 import android.content.Intent; 53 final Intent intent = new Intent(Intent.ACTION_MAIN); local 54 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 55 intent.setClassName(packageName, LauncherActivityStub.class.getName()); 56 mActivity = (LauncherActivityStub) mInstrumentation.startActivitySync(intent); 60 // Test getTargetIntent. LaunchActivity#getTargetIntent() just returns a Intent() instanc [all...] |
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
NativeMediaTest.java | 19 import android.content.Intent; 58 Intent intent = new Intent(); local 59 intent.putExtra(NativeMediaActivity.EXTRA_VIDEO_QUALITY, 61 setActivityIntent(intent);
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
AttachShaderTest.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);
|
NativeAttachShaderTest.java | 18 import android.content.Intent; 32 Intent intent = new Intent(); local 33 intent.putExtra(OpenGLES20NativeActivityOne.EXTRA_VIEW_TYPE, viewType); 34 intent.putExtra(OpenGLES20NativeActivityOne.EXTRA_VIEW_INDEX, viewIndex); 35 setActivityIntent(intent);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
IncomingMessage.java | 29 import android.content.Intent; 62 * This method creates an array of Intent objects representing the 66 static Intent[] makeMessageIntentStack(Context context, CharSequence from, 72 Intent[] intents = new Intent[4]; 75 // This is a convenient way to make the proper Intent to launch and 77 intents[0] = Intent.makeRestartActivityTask(new ComponentName(context, 81 intents[1] = new Intent(context, com.example.android.apis.ApiDemos.class); 84 intents[2] = new Intent(context, com.example.android.apis.ApiDemos.class); 89 intents[3] = new Intent(context, IncomingMessageView.class) 167 Intent intent = new Intent(this, IncomingMessageInterstitial.class); local [all...] |
LauncherShortcuts.java | 20 import android.content.Intent; 35 * 2. Any time the user clicks on an installed shortcut, an intent is sent. 40 * of an {@link android.content.Intent} that the launcher will use to create the shortcut. 47 * of the incoming {@link android.content.Intent}. 49 * In a real application, you would probably use the shortcut intent to display specific content 60 // Resolve the intent 62 final Intent intent = getIntent(); local 63 final String action = intent.getAction(); 65 // If the intent is a request to create a shortcut, we'll do that and exi 130 Intent intent = new Intent(); local [all...] |
/development/samples/Support4Demos/src/com/example/android/supportv4/content/ |
FileProviderExample.java | 19 import android.content.Intent; 55 final Intent intent = new Intent(Intent.ACTION_SEND); local 56 intent.setType("image/png"); 57 intent.putExtra(Intent.EXTRA_STREAM, uri); 58 startActivity(intent);
|
/frameworks/base/core/java/android/test/ |
AndroidTestCase.java | 21 import android.content.Intent; 93 final Intent intent = new Intent(); local 94 intent.setClassName(packageName, className); 95 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 98 getContext().startActivity(intent);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListEmptyViewTest.java | 20 import android.content.Intent; 73 Intent intent = new Intent(); local 74 intent.setClass(mActivity, ListWithEmptyView.class); 75 mActivity.startActivity(intent); 116 Intent intent = new Intent(); local 117 intent.setClass(mActivity, ListWithEmptyView.class) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserPreferencesPage.java | 20 import android.content.Intent; 68 if (Intent.ACTION_MANAGE_NETWORK_USAGE.equals(action)) { 95 public Intent onBuildStartFragmentIntent(String fragmentName, Bundle args, 97 Intent intent = super.onBuildStartFragmentIntent(fragmentName, args, local 100 intent.putExtra(CURRENT_PAGE, url); 101 return intent;
|
/packages/apps/Browser/tests/src/com/android/browser/ |
IntentHandlerTests.java | 19 import android.content.Intent; 38 Intent intent = new Intent(Intent.ACTION_VIEW); local 39 intent.setData(Uri.parse("http://google.com/")); 40 sendIntent(intent); 46 intent.setData(Uri.parse("http://maps.google.com/")); 47 sendIntent(intent); 52 intent.setData(Uri.parse("http://google.com/")) 59 Intent intent = BookmarkUtils.createShortcutIntent("http:\/\/google.com\/"); local 84 Intent intent = new Intent(Intent.ACTION_VIEW); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectVisibleCalendarsActivity.java | 21 import android.content.Intent; 91 Intent intent = new Intent(Intent.ACTION_VIEW); local 92 intent.setClass(this, SelectSyncedCalendarsMultiAccountActivity.class); 93 intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_SINGLE_TOP); 94 startActivity(intent); [all...] |
/packages/apps/Camera/tests/src/com/android/camera/functional/ |
CameraTest.java | 22 import android.content.Intent; 37 Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); local 38 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 39 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 40 intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.parse("file://" 43 getInstrumentation().startActivitySync(intent).finish(); 58 Intent intent = new Intent(action) local [all...] |
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
CameraTest.java | 22 import android.content.Intent; 37 Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); local 38 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 39 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 40 intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.parse("file://" 43 getInstrumentation().startActivitySync(intent).finish(); 58 Intent intent = new Intent(action) local [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
NonPhoneActivity.java | 25 import android.content.Intent; 86 final Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT); local 87 intent.setType(Contacts.CONTENT_ITEM_TYPE); 88 intent.putExtra(Insert.PHONE, getArgumentPhoneNumber()); 89 startActivity(intent);
|
/packages/apps/Email/src/com/android/email/service/ |
EasTestAuthenticatorService.java | 26 import android.content.Intent; 65 // activity. In this case, we add an intent that will be used to gather the 69 Intent intent = local 72 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response); 73 b.putParcelable(AccountManager.KEY_INTENT, intent); 116 public IBinder onBind(Intent intent) { 117 if (AccountManager.ACTION_AUTHENTICATOR_INTENT.equals(intent.getAction())) {
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
CameraTest.java | 24 import android.content.Intent; 43 Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); local 44 intent.setClass(getInstrumentation().getTargetContext(), VideoCamera.class); 45 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 46 intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.parse("file://" 49 getInstrumentation().startActivitySync(intent).finish(); 64 Intent intent = new Intent() local [all...] |