/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/ |
CrashingSuggestionLauncher.java | 20 import android.content.Intent; 30 Intent intent = getIntent(); local 31 Log.i(TAG, "Launched a crashing suggestion: " + intent);
|
HangingSuggestionLauncher.java | 19 import android.content.Intent; 29 Intent intent = getIntent(); local 30 Log.i(TAG, "Launched a hanging suggestion: " + intent);
|
/packages/apps/QuickSearchBox/tests/slow/src/com/android/quicksearchbox/tests/slow/ |
SlowSuggestionLauncher.java | 20 import android.content.Intent; 30 Intent intent = getIntent(); local 31 Log.i(TAG, "Launched a slow suggestion: " + intent);
|
/packages/apps/QuickSearchBox/tests/spammy/src/com/android/quicksearchbox/tests/spammy/ |
SpammySuggestionLauncher.java | 20 import android.content.Intent; 30 Intent intent = getIntent(); local 31 Log.i(TAG, "Launched a spammy suggestion: " + intent);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodDialogReceiver.java | 20 import android.content.Intent; 26 public void onReceive(Context context, Intent intent) { 27 if (Settings.ACTION_SHOW_INPUT_METHOD_PICKER.equals(intent.getAction())) {
|
/packages/apps/Stk/src/com/android/stk/ |
StkLauncherActivity.java | 20 import android.content.Intent; 24 * Launcher class. Serve as the app's MAIN activity, send an intent to the 35 startService(new Intent(this, StkAppService.class).putExtras(args));
|
StkCmdReceiver.java | 23 import android.content.Intent; 33 public void onReceive(Context context, Intent intent) { 34 String action = intent.getAction(); 37 handleCommandMessage(context, intent); 39 handleSessionEnd(context, intent); 43 private void handleCommandMessage(Context context, Intent intent) { 46 args.putParcelable(StkAppService.CMD_MSG, intent 48 context.startService(new Intent(context, StkAppService.class [all...] |
/packages/experimental/TestBack/src/foo/bar/testback/ |
IdleMaintenanceReceiver.java | 5 import android.content.Intent; 14 public void onReceive(Context context, Intent intent) { 16 Log.i(LOG_TAG, (intent.getAction() != null) ? intent.getAction() : "null");
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
SystemFacade.java | 19 import android.content.Intent; 56 * Send a broadcast intent. 58 public void sendBroadcast(Intent 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...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ContactsSelectInstrumentation.java | 21 import android.content.Intent; 50 Intent intent = new Intent(Intent.ACTION_MAIN); local 51 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 52 intent.setClassName(getTargetContext(), 54 Activity activity = startActivitySync(intent); 61 Intent.ACTION_VIEW, ContactsContract.Contacts.CONTENT_ITEM_TYPE), null, true) [all...] |
/external/droiddriver/samples/testapp/src/com/google/android/apps/common/testing/ui/testapp/ |
SendActivity.java | 6 import android.content.Intent; 23 * Simple activity used for validating intent sending and UI behavior. 57 Intent intent = new Intent(this, DisplayActivity.class); local 59 intent.putExtra(EXTRA_DATA, editText.getText().toString()); 60 startActivity(intent); 64 Intent intentToCall = new Intent(Intent.ACTION_CALL) [all...] |
/frameworks/base/core/java/android/app/ |
IntentService.java | 19 import android.content.Intent; 28 * requests (expressed as {@link Intent}s) on demand. Clients send requests 29 * through {@link android.content.Context#startService(Intent)} calls; the 30 * service is started as needed, handles each Intent in turn using a worker 36 * IntentService and implement {@link #onHandleIntent(Intent)}. IntentService 65 onHandleIntent((Intent)msg.obj); 81 * Sets intent redelivery preferences. Usually called from the constructor 85 * {@link #onStartCommand(Intent, int, int)} will return 87 * {@link #onHandleIntent(Intent)} returns, the process will be restarted 88 * and the intent redelivered. If multiple Intents have been sent, onl [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
ActivityHelper.java | 21 import android.content.Intent; 43 * (see android.webkit.CallbackProxy) with one addition of intent flags 63 // Handle most uri's via intent launch 65 Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); local 66 intent.addCategory(Intent.CATEGORY_BROWSABLE); 67 intent.putExtra(Browser.EXTRA_APPLICATION_ID, activity.getPackageName()) [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
SimFullReceiver.java | 25 import android.content.Intent; 33 * Receive Intent.SIM_FULL_ACTION. Handle notification that SIM is full. 38 public void onReceive(Context context, Intent intent) { 41 Telephony.Sms.Intents.SIM_FULL_ACTION.equals(intent.getAction())) { 46 Intent viewSimIntent = new Intent(context, ManageSimMessages.class); 47 viewSimIntent.setAction(Intent.ACTION_VIEW); 48 viewSimIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
/packages/apps/Settings/src/com/android/settings/ |
WallpaperTypeSettings.java | 21 import android.content.Intent; 41 Intent intent = new Intent(Intent.ACTION_SET_WALLPAPER); local 43 List<ResolveInfo> rList = pm.queryIntentActivities(intent, 51 Intent prefIntent = new Intent(intent);
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
ToastService.java | 22 import android.content.Intent; 43 public int onStartCommand(Intent intent, int flags, int startId) { 45 return super.onStartCommand(intent, flags, startId); 49 protected void onHandleIntent(Intent intent) { 50 Log.v(TAG, "clicked a thing! intent=" + intent.toString()); 51 if (intent.hasExtra("text")) { 52 final String text = intent.getStringExtra("text") [all...] |
/packages/services/Telephony/tests/src/com/android/phone/tests/ |
SendInstantTextTestService.java | 20 import android.content.Intent; 37 showMessageWithToast((Intent) msg.obj); 46 protected void onHandleIntent(Intent intent) { 47 String action = intent.getAction(); 48 Uri uri = intent.getData(); 49 String message = intent.getStringExtra(Intent.EXTRA_TEXT); 54 mHandler.sendMessageDelayed(Message.obtain(mHandler, 0, intent), 5 * 1000); 57 private void showMessageWithToast(Intent intent) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
BroadcastInterceptingContext.java | 22 import android.content.Intent; 39 * {@link Context#sendBroadcast(Intent)}. 46 public class BroadcastInterceptor extends AbstractFuture<Intent> { 55 public boolean dispatchBroadcast(Intent intent) { 56 if (mFilter.match(getContentResolver(), intent, false, TAG) > 0) { 59 mReceiver.onReceive(context, intent); 62 set(intent); 71 public Intent get() throws InterruptedException, ExecutionException { 84 public Future<Intent> nextBroadcastIntent(String action) [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
MenuHelper.java | 25 import android.content.Intent; 80 private static void startCameraActivity(Activity activity, Intent intent, 82 intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); 83 intent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); 84 intent.setClassName(activity.getPackageName(), className); 91 activity.startActivity(intent); 93 intent.setComponent(null) 122 Intent intent = new Intent(MediaStore.INTENT_ACTION_VIDEO_CAMERA); local 128 Intent intent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA); local 152 Intent intent = new Intent(Intent.ACTION_VIEW, target); local [all...] |
/packages/apps/Mms/src/com/android/mms/widget/ |
MmsWidgetProvider.java | 25 import android.content.Intent; 37 "com.android.mms.intent.action.ACTION_NOTIFY_DATASET_CHANGED"; 54 public void onReceive(Context context, Intent intent) { 56 Log.v(TAG, "onReceive intent: " + intent); 58 String action = intent.getAction(); 61 // we're looking for an intent sent by the messaging app when it knows a message has 73 super.onReceive(context, intent); 87 // Launch an intent to avoid ANR 88 final Intent intent = new Intent(context, MmsWidgetService.class); local 128 final Intent intent = new Intent(ACTION_NOTIFY_DATASET_CHANGED); local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
UninstallShortcutReceiver.java | 22 import android.content.Intent; 44 Intent data; 46 public PendingUninstallShortcutInfo(Intent rawData) { 51 public void onReceive(Context context, Intent data) { 79 final Intent data = pendingInfo.data; 88 private static void removeShortcut(Context context, Intent data) { 89 Intent intent = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT); local 90 String name = data.getStringExtra(Intent.EXTRA_SHORTCUT_NAME) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AbstractConversationWebViewClient.java | 22 import android.content.Intent; 41 * Handles proxying the view intent so that additional information can 42 * be sent with the intent when links are clicked. 77 final Intent intent; local 79 intent = generateProxyIntent(uri); 81 intent = new Intent(Intent.ACTION_VIEW, uri); 82 intent.putExtra(Browser.EXTRA_APPLICATION_ID, mActivity.getPackageName()) 100 final Intent intent = new Intent(Intent.ACTION_VIEW, mAccount.viewIntentProxyUri); local [all...] |
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
AccessPermissionWithDiffSigTest.java | 25 import android.content.Intent; 93 Intent intent = item.getIntent(); local 94 uri = intent.getData(); 98 ClipData intentClip = intent.getClipData(); 183 Intent intent = item.getIntent(); local 184 uri = intent.getData(); 188 ClipData intentClip = intent.getClipData(); 282 // Intent 284 Intent intent = new Intent(Intent.ACTION_VIEW, grantClip4Uri); local 296 Intent intent = new Intent(); local 504 Intent intent = new Intent(); local 593 Intent intent = new Intent(); local 612 Intent intent = item.getIntent(); local 724 Intent intent = item.getIntent(); local 1350 Intent intent = new Intent(); local [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/ |
SelectFileDialog.java | 9 import android.content.Intent; 50 * Creates and starts an intent based on the passed fileTypes and capture value. 60 Intent chooser = new Intent(Intent.ACTION_CHOOSER); 61 Intent camera = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); 64 Intent camcorder = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); 65 Intent soundRecorder = new Intent [all...] |