HomeSort by relevance Sort by last modified time
    Searched defs:intent (Results 326 - 350 of 1045) sorted by null

<<11121314151617181920>>

  /frameworks/base/services/java/com/android/server/
DockObserver.java 21 import android.content.Intent;
52 private int mDockState = Intent.EXTRA_DOCK_STATE_UNDOCKED;
53 private int mPreviousDockState = Intent.EXTRA_DOCK_STATE_UNDOCKED;
119 if (mDockState != Intent.EXTRA_DOCK_STATE_UNDOCKED) {
135 // Skip the dock intent if not yet provisioned.
144 Intent intent = new Intent(Intent.ACTION_DOCK_EVENT); local
145 intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING)
    [all...]
  /frameworks/base/services/java/com/android/server/am/
BroadcastRecord.java 22 import android.content.Intent;
37 * An active intent broadcast.
40 final Intent intent; // the original intent that generated us field in class:BroadcastRecord
41 final ComponentName targetComp; // original component name set on the intent
89 pw.print(prefix); pw.println(intent.toInsecureString());
90 if (targetComp != null && targetComp != intent.getComponent()) {
93 Bundle bundle = intent.getExtras();
176 Intent _intent, ProcessRecord _callerApp, String _callerPackage
    [all...]
  /frameworks/base/services/java/com/android/server/search/
SearchManagerService.java 29 import android.content.Intent;
76 new IntentFilter(Intent.ACTION_BOOT_COMPLETED));
78 new IntentFilter(Intent.ACTION_USER_REMOVED));
117 public void onReceive(Context context, Intent intent) {
131 public void onReceive(Context context, Intent intent) {
132 onUserRemoved(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_OWNER));
163 Intent intent = new Intent(SearchManager.INTENT_ACTION_SEARCHABLES_CHANGED) local
189 Intent intent = new Intent(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED); local
    [all...]
  /frameworks/base/tests/StatusBar/src/com/android/statusbartest/
NotificationBuilderTest.java 27 import android.content.Intent;
496 Intent intent = new Intent(this, ConfirmationActivity.class); local
497 intent.setData(Uri.fromParts("content", "//status_bar_test/delete/" + id, null));
498 intent.putExtra(ConfirmationActivity.EXTRA_TITLE, "Delete intent");
499 intent.putExtra(ConfirmationActivity.EXTRA_TEXT, "id: " + id);
500 return PendingIntent.getActivity(this, 0, intent, 0);
504 Intent intent = new Intent(this, ConfirmationActivity.class) local
    [all...]
  /frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
AppWidgetHostActivity.java 22 import android.content.Intent;
84 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_PICK); local
85 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mHost.allocateAppWidgetId());
86 startActivityForResult(intent, requestCode);
90 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_CONFIGURE); local
91 intent.setComponent(configure)
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/
SupplicantStateTracker.java 24 import android.content.Intent;
148 Intent intent = new Intent(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); local
149 intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT
150 | Intent.FLAG_RECEIVER_REPLACE_PENDING);
151 intent.putExtra(WifiManager.EXTRA_NEW_STATE, (Parcelable) state);
153 intent.putExtra(
157 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL)
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
CdmaSMSDispatcher.java 22 import android.content.Intent;
88 PendingIntent intent = tracker.mDeliveryIntent; local
89 Intent fillIn = new Intent();
93 intent.send(mContext, Activity.RESULT_OK, fillIn);
  /packages/apps/Browser/src/com/android/browser/
UrlHandler.java 21 import android.content.Intent;
72 Intent intent = new Intent(Intent.ACTION_VIEW, local
75 mActivity.startActivity(intent);
130 Intent intent; local
131 // perform generic parsing of the URI to turn it into an Intent.
133 intent = Intent.parseUri(url, Intent.URI_INTENT_SCHEME)
    [all...]
WebStorageSizeManager.java 25 import android.content.Intent;
404 Intent intent = new Intent(mContext, BrowserPreferencesPage.class); local
405 intent.putExtra(PreferenceActivity.EXTRA_SHOW_FRAGMENT,
408 PendingIntent.getActivity(mContext, 0, intent, 0);
  /packages/apps/Contacts/src/com/android/contacts/activities/
AttachPhotoActivity.java 20 import android.content.Intent;
87 Intent intent = new Intent(Intent.ACTION_PICK); local
88 intent.setType(Contacts.CONTENT_TYPE);
89 startActivityForResult(intent, REQUEST_PICK_CONTACT);
120 protected void onActivityResult(int requestCode, int resultCode, Intent result) {
128 final Intent myIntent = getIntent();
132 android.os.Process.myUid(), Intent.FLAG_GRANT_READ_URI_PERMISSION
147 final Intent intent = new Intent("com.android.camera.action.CROP", toCrop); local
248 Intent intent = ContactSaveService.createSaveContactIntent( local
    [all...]
ContactDetailActivity.java 24 import android.content.Intent;
71 // PeopleActivity instead ==> Create a forward intent and finish
72 final Intent originalIntent = getIntent();
73 Intent intent = new Intent(); local
74 intent.setAction(originalIntent.getAction());
75 intent.setDataAndType(originalIntent.getData(), originalIntent.getType());
80 if (shouldUpRecreateTask(intent)) {
81 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
ImportExportDialogFragment.java 25 import android.content.Intent;
132 Intent exportIntent = new Intent(getActivity(), ExportVCardActivity.class);
185 final Intent intent = new Intent(Intent.ACTION_SEND); local
186 intent.setType(Contacts.CONTENT_VCARD_TYPE);
187 intent.putExtra(Intent.EXTRA_STREAM, uri)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
ExportVCardActivity.java 24 import android.content.Intent;
170 Intent intent = new Intent(this, VCardService.class); local
171 intent.putExtra(VCardCommonArguments.ARG_CALLING_ACTIVITY, callingActivity);
173 if (startService(intent) == null) {
180 if (!bindService(intent, this, Context.BIND_AUTO_CREATE)) {
  /packages/apps/Email/src/com/android/email/
AttachmentInfo.java 25 import android.content.Intent;
58 /** No receiving intent to handle attachment type */
171 Intent intent = getAttachmentIntent(context, 0); local
173 List<ResolveInfo> activityList = pm.queryIntentActivities(intent, 0 /*no account*/);
187 * Returns an <code>Intent</code> to load the given attachment.
191 * @return an Intent suitable for viewing the attachment
193 public Intent getAttachmentIntent(Context context, long accountId) {
195 Intent intent = new Intent(Intent.ACTION_VIEW) local
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupIncoming.java 21 import android.content.Intent;
54 // Extras for AccountSetupIncoming intent
57 final Intent intent = new Intent(fromActivity, AccountSetupIncoming.class); local
58 // Add the additional information to the intent, in case the Email process is killed.
59 intent.putExtra(SetupData.EXTRA_SETUP_DATA, setupData);
60 fromActivity.startActivity(intent);
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
MovieActivity.java 24 import android.content.Intent;
50 * The client of this activity can pass a logo bitmap in the intent (KEY_LOGO_BITMAP)
86 Intent intent = getIntent(); local
87 initializeActionBar(intent);
88 mFinishOnCompletion = intent.getBooleanExtra(
90 mTreatUpAsBack = intent.getBooleanExtra(KEY_TREAT_UP_AS_BACK, false);
91 mPlayer = new MoviePlayer(rootView, this, intent.getData(), savedInstanceState,
100 if (intent.hasExtra(MediaStore.EXTRA_SCREEN_ORIENTATION)) {
101 int orientation = intent.getIntExtra
188 Intent intent = new Intent(Intent.ACTION_SEND); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
PhotoAppWidgetProvider.java 24 import android.content.Intent;
84 Intent intent = new Intent(context, WidgetService.class); local
85 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, widgetId);
86 intent.putExtra(WidgetService.EXTRA_WIDGET_TYPE, entry.type);
87 intent.putExtra(WidgetService.EXTRA_ALBUM_PATH, entry.albumPath);
88 intent.setData(Uri.parse("widget://gallery/" + widgetId));
92 views.setRemoteAdapter(widgetId, R.id.appwidget_stack_view, intent);
96 Intent clickIntent = new Intent(context, WidgetClickHandler.class)
    [all...]
  /packages/apps/Mms/apptests/src/com/android/mms/tests/
SmsSendIntentTestActivity.java 21 import android.content.Intent;
37 // without the user having to confirm or press a send button. This app uses the intent:
38 // com.android.mms.intent.action.SENDTO_NO_CONFIRMATION
103 Intent intent =
104 new Intent("com.android.mms.intent.action.MESSAGING_APP_NOTIFICATIONS");
105 startActivityForResult(intent, NOTIFICATIONS_REQUEST_CODE);
133 Intent intent = new Intent("com.android.mms.intent.action.SENDTO_NO_CONFIRMATION", uri) local
163 Intent intent = new Intent("com.android.mms.intent.action.SENDTO_NO_CONFIRMATION", uri); local
195 Intent intent = 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/Settings/src/com/android/settings/
ConfirmLockPassword.java 27 import android.content.Intent;
48 public Intent getIntent() {
49 Intent modIntent = new Intent(super.getIntent());
159 Intent intent = new Intent(); local
160 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD, pin);
162 getActivity().setResult(RESULT_OK, intent);
  /packages/apps/Settings/src/com/android/settings/accounts/
ChooseAccountActivity.java 23 import android.content.Intent;
246 Intent intent = new Intent(); local
247 intent.putExtra(AddAccountSettings.EXTRA_SELECTED_ACCOUNT, accountType);
248 setResult(RESULT_OK, intent);
SyncSettings.java 25 import android.content.Intent;
108 Intent intent = new Intent("android.settings.ACCOUNT_SYNC_SETTINGS"); local
109 intent.putExtra(AccountSyncSettings.ACCOUNT_KEY, acctPref.getAccount());
110 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
111 startActivity(intent);
  /packages/apps/Settings/src/com/android/settings/applications/
AppOpsDetails.java 23 import android.content.Intent;
87 Intent intent = (args == null) ? local
88 getActivity().getIntent() : (Intent) args.getParcelable("intent");
89 if (intent != null) {
90 packageName = intent.getData().getSchemeSpecificPart();
162 Intent intent = new Intent(); local
    [all...]
  /packages/apps/Tag/canon/src/com/android/apps/tagcanon/
TagCanon.java 24 import android.content.Intent;
151 Intent intent = new Intent(NfcAdapter.ACTION_TAG_DISCOVERED); local
152 intent.putExtra(NfcAdapter.EXTRA_NDEF_MESSAGES, description.msgs);
153 startActivity(intent);
  /packages/experimental/BugReportSender/src/com/android/bugreportsender/
BugReportListActivity.java 20 import android.content.Intent;
110 Intent intent = new Intent(Intent.ACTION_SEND); local
111 intent.putExtra("subject", file.getName());
112 intent.putExtra("body", "Build: " + Build.DISPLAY + "\n(Sent by BugReportSender)");
113 intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file));
115 intent.setType("application/x-gzip")
140 Intent intent = new Intent(Intent.ACTION_VIEW); local
    [all...]

Completed in 1386 milliseconds

<<11121314151617181920>>