HomeSort by relevance Sort by last modified time
    Searched refs:intent (Results 201 - 225 of 1354) sorted by null

1 2 3 4 5 6 7 891011>>

  /frameworks/base/core/tests/coretests/src/android/app/activity/
LocalGrantedReceiver.java 21 import android.content.Intent;
30 public void onReceive(Context context, Intent intent) {
32 IBinder caller = intent.getIBinderExtra("caller");
RemoteDeniedReceiver.java 21 import android.content.Intent;
30 public void onReceive(Context context, Intent intent) {
32 IBinder caller = intent.getIBinderExtra("caller");
RemoteGrantedReceiver.java 21 import android.content.Intent;
30 public void onReceive(Context context, Intent intent) {
32 IBinder caller = intent.getIBinderExtra("caller");
  /frameworks/ex/common/java/com/android/common/
NetworkConnectivityListener.java 21 import android.content.Intent;
64 public void onReceive(Context context, Intent intent) {
65 String action = intent.getAction();
69 Log.w(TAG, "onReceived() called with " + mState.toString() + " and " + intent);
74 intent.getBooleanExtra(ConnectivityManager.EXTRA_NO_CONNECTIVITY, false);
83 intent.getParcelableExtra(ConnectivityManager.EXTRA_NETWORK_INFO);
85 intent.getParcelableExtra(ConnectivityManager.EXTRA_OTHER_NETWORK_INFO);
87 mReason = intent.getStringExtra(ConnectivityManager.EXTRA_REASON);
89 intent.getBooleanExtra(ConnectivityManager.EXTRA_IS_FAILOVER, false)
    [all...]
  /frameworks/support/v4/ics/android/support/v4/app/
ShareCompatICS.java 20 import android.content.Intent;
28 public static void configureMenuItem(MenuItem item, Activity callingActivity, Intent intent) {
38 provider.setShareIntent(intent);
  /frameworks/support/volley/src/com/android/volley/
AuthFailureError.java 19 import android.content.Intent;
29 /** An intent that can be used to resolve this exception. (Brings up the password dialog.) */
30 private Intent mResolutionIntent;
34 public AuthFailureError(Intent intent) {
35 mResolutionIntent = intent;
50 public Intent getResolutionIntent() {
  /gdk/samples/quake/src/com/android/quake/llvm/
PreconditionActivityHelper.java 4 import android.content.Intent;
9 * Intent intent = PreconditionActivityHelper.createPreconditionIntent(
11 * // Optionally add extras to pass arguments to the intent
12 * intent.putExtra(Utils.EXTRA_ACCOUNT, account);
13 * PreconditionActivityHelper.startPreconditionActivityAndFinish(this, intent);
22 * Create a precondition activity intent.
25 * @return an intent which will launch the precondition activity.
27 public static Intent createPreconditionIntent(Activity activity,
29 Intent newIntent = new Intent()
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
DismissAlarmsService.java 25 import android.content.Intent;
46 public IBinder onBind(Intent intent) {
51 public void onHandleIntent(Intent intent) {
53 long eventId = intent.getLongExtra(AlertUtils.EVENT_ID_KEY, -1);
54 long eventStart = intent.getLongExtra(AlertUtils.EVENT_START_KEY, -1);
55 long eventEnd = intent.getLongExtra(AlertUtils.EVENT_END_KEY, -1);
56 boolean showEvent = intent.getBooleanExtra(AlertUtils.SHOW_EVENT_KEY, false);
57 long[] eventIds = intent.getLongArrayExtra(AlertUtils.EVENT_IDS_KEY)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
GroupBrowserActivity.java 22 import android.content.Intent;
42 protected void onNewIntent(Intent intent) {
43 setIntent(intent);
48 // TODO: Create Intent Resolver to handle the different ways users can get to this list.
ContactDetailActivity.java 36 import android.content.Intent;
73 // PeopleActivity instead ==> Create a forward intent and finish
74 final Intent originalIntent = getIntent();
75 Intent intent = new Intent(); local
76 intent.setAction(originalIntent.getAction());
77 intent.setDataAndType(originalIntent.getData(), originalIntent.getType());
82 if (shouldUpRecreateTask(intent)) {
83 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
PhotoSelectionHandler.java 23 import android.content.Intent;
112 * @param data The intent that was returned.
115 public boolean handlePhotoActivityResult(int requestCode, int resultCode, Intent data) {
190 protected abstract void startPhotoActivity(Intent intent, int requestCode, String photoFile);
210 final Intent intent = getCropImageIntent(newPath, croppedPath); local
211 startPhotoActivity(intent, REQUEST_CODE_PHOTO_PICKED_WITH_DATA, fileName);
225 final Intent intent = getTakePhotoIntent(photoFile) local
236 final Intent intent = getPhotoPickIntent(photoFile); local
258 final Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null); local
270 Intent intent = new Intent("com.android.camera.action.CROP"); local
280 Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE, null); local
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
TestAuthenticationService.java 20 import android.content.Intent;
40 public IBinder onBind(Intent intent) {
41 Log.v(TestauthConstants.LOG_TAG, this + " getBinder() intent=" + intent);
  /packages/apps/Email/src/com/android/email/provider/
WidgetProvider.java 24 import android.content.Intent;
51 context.stopService(new Intent(context, WidgetService.class));
74 public void onReceive(final Context context, Intent intent) {
78 super.onReceive(context, intent);
80 if (EmailProvider.ACTION_NOTIFY_MESSAGE_LIST_DATASET_CHANGED.equals(intent.getAction())) {
87 // the account had the change, but the current intent doesn't include this information.
103 public RemoteViewsFactory onGetViewFactory(Intent intent) {
105 int widgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1)
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
ApplicationInfo.java 20 import android.content.Intent;
42 * The intent used to start the application.
44 Intent intent; field in class:ApplicationInfo
77 Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
100 intent = new Intent(info.intent);
105 /** Returns the package name that the shortcut's intent will resolve to, or an empty string i
    [all...]
  /packages/apps/Phone/src/com/android/phone/
CallerInfoCacheUpdateReceiver.java 21 import android.content.Intent;
40 public void onReceive(Context context, Intent intent) {
41 if (DBG) log("CallerInfoCacheUpdateReceiver#onReceive(). Intent: " + intent);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
AbstractSource.java 25 import android.content.Intent;
79 public Intent createSearchIntent(String query, Bundle appData) {
83 public static Intent createSourceSearchIntent(ComponentName activity, String query,
86 Log.w(TAG, "Tried to create search intent with no target activity");
89 Intent intent = new Intent(Intent.ACTION_SEARCH); local
90 intent.setComponent(activity);
91 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
    [all...]
  /packages/apps/Settings/src/com/android/settings/
TestingSettingsBroadcastReceiver.java 7 import android.content.Intent;
19 public void onReceive(Context context, Intent intent) {
20 if (intent.getAction().equals(SECRET_CODE_ACTION)) {
21 Intent i = new Intent(Intent.ACTION_MAIN);
23 i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDiscoveryReceiver.java 22 import android.content.Intent;
38 public void onReceive(Context context, Intent intent) {
39 String action = intent.getAction();
  /packages/apps/Stk/src/com/android/stk/
BootCompletedReceiver.java 21 import android.content.Intent;
31 public void onReceive(Context context, Intent intent) {
32 String action = intent.getAction();
35 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) {
38 context.startService(new Intent(context, StkAppService.class)
  /frameworks/base/core/java/com/android/internal/content/
PackageMonitor.java 21 import android.content.Intent;
44 sPackageFilt.addAction(Intent.ACTION_PACKAGE_ADDED);
45 sPackageFilt.addAction(Intent.ACTION_PACKAGE_REMOVED);
46 sPackageFilt.addAction(Intent.ACTION_PACKAGE_CHANGED);
47 sPackageFilt.addAction(Intent.ACTION_QUERY_PACKAGE_RESTART);
48 sPackageFilt.addAction(Intent.ACTION_PACKAGE_RESTARTED);
49 sPackageFilt.addAction(Intent.ACTION_UID_REMOVED);
51 sNonDataFilt.addAction(Intent.ACTION_UID_REMOVED);
52 sExternalFilt.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE);
53 sExternalFilt.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE)
    [all...]
  /frameworks/base/keystore/java/android/security/
Credentials.java 21 import android.content.Intent;
78 * Intent extra: name for the user's private key.
83 * Intent extra: data for the user's private key in PEM-encoded PKCS#8.
88 * Intent extra: name for the user's certificate.
93 * Intent extra: data for the user's certificate in PEM-encoded X.509.
98 * Intent extra: name for CA certificate chain
103 * Intent extra: data for CA certificate chain in PEM-encoded X.509.
152 Intent intent = new Intent(UNLOCK_ACTION) local
161 Intent intent = KeyChain.createInstallIntent(); local
170 Intent intent = KeyChain.createInstallIntent(); local
181 Intent intent = KeyChain.createInstallIntent(); local
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/
WifiStateTracker.java 21 import android.content.Intent;
209 public void onReceive(Context context, Intent intent) {
211 if (intent.getAction().equals(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION)) {
212 mNetworkInfo = (NetworkInfo) intent.getParcelableExtra(
214 mLinkProperties = intent.getParcelableExtra(
219 mLinkCapabilities = intent.getParcelableExtra(
224 } else if (intent.getAction().equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) {
225 mNetworkInfo = (NetworkInfo) intent.getParcelableExtra(
227 mLinkProperties = intent.getParcelableExtra
    [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/Browser/src/com/android/browser/
IntentHandler.java 24 import android.content.Intent;
66 void onNewIntent(Intent intent) {
74 // No tabs at all so just ignore this intent.
79 final String action = intent.getAction();
80 final int flags = intent.getFlags();
81 if (Intent.ACTION_MAIN.equals(action) ||
82 (flags & Intent.FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY) != 0) {
94 if (Intent.ACTION_VIEW.equals(action)
96 || Intent.ACTION_SEARCH.equals(action
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PhoneStatusBarPolicy.java 23 import android.content.Intent;
113 public void onReceive(Context context, Intent intent) {
114 String action = intent.getAction();
115 if (action.equals(Intent.ACTION_ALARM_CHANGED)) {
116 updateAlarm(intent);
118 else if (action.equals(Intent.ACTION_SYNC_STATE_CHANGED)) {
119 updateSyncState(intent);
123 updateBluetooth(intent);
129 updateSimState(intent);
    [all...]

Completed in 430 milliseconds

1 2 3 4 5 6 7 891011>>