/frameworks/base/services/java/com/android/server/ |
H A D | IntentResolver.java | 215 public List<R> queryIntentFromList(Intent intent, String resolvedType, argument 220 ((intent.getFlags() & Intent.FLAG_DEBUG_LOG_RESOLUTION) != 0); 222 FastImmutableArraySet<String> categories = getFastIntentCategories(intent); 223 final String scheme = intent.getScheme(); 226 buildResolveList(intent, categories, debug, defaultOnly, 233 public List<R> queryIntent(Intent intent, String resolvedType, boolean defaultOnly, argument 235 String scheme = intent.getScheme(); 240 ((intent.getFlags() & Intent.FLAG_DEBUG_LOG_RESOLUTION) != 0); 244 + " of intent " + intent); 526 getFastIntentCategories(Intent intent) argument 534 buildResolveList(Intent intent, FastImmutableArraySet<String> categories, boolean debug, boolean defaultOnly, String resolvedType, String scheme, F[] src, List<R> dest, int userId) argument [all...] |
H A D | UiModeManagerService.java | 94 Intent intent = new Intent(Intent.ACTION_MAIN); 95 intent.addCategory(category); 96 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK 98 return intent; 104 // to RESULT_CANCELED, then the intent to start a dock app will not be sent. 107 public void onReceive(Context context, Intent intent) { 110 Slog.v(TAG, "Handling broadcast result for action " + intent.getAction() 116 final int enableFlags = intent.getIntExtra("enableFlags", 0); 117 final int disableFlags = intent.getIntExtra("disableFlags", 0); 119 updateAfterBroadcastLocked(intent [all...] |
H A D | DockObserver.java | 135 // Skip the dock intent if not yet provisioned. 144 Intent intent = new Intent(Intent.ACTION_DOCK_EVENT); 145 intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING); 146 intent.putExtra(Intent.EXTRA_DOCK_STATE, mDockState); 186 // Send the dock event intent. 189 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL);
|
H A D | ServiceWatcher.java | 140 public void onReceive(Context context, Intent intent) { 141 String action = intent.getAction(); 164 Intent intent = new Intent(mAction); 166 intent.setPackage(justCheckThisPackage); 168 List<ResolveInfo> rInfos = mPm.queryIntentServicesAsUser(intent, 215 if (D) Log.d(mTag, "Unable to query intent services for action: " + mAction); 238 Intent intent = new Intent(mAction); 239 intent.setPackage(packageName); 245 mContext.bindServiceAsUser(intent, this, Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND
|
/frameworks/base/core/java/android/preference/ |
H A D | RingtonePreference.java | 137 Intent intent = new Intent(RingtoneManager.ACTION_RINGTONE_PICKER); 138 onPrepareRingtonePickerIntent(intent); 141 owningFragment.startActivityForResult(intent, mRequestCode); 143 getPreferenceManager().getActivity().startActivityForResult(intent, mRequestCode); 148 * Prepares the intent to launch the ringtone picker. This can be modified 151 * @param ringtonePickerIntent The ringtone picker intent that can be
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
H A D | IAppWidgetService.aidl | 59 void bindRemoteViewsService(int appWidgetId, in Intent intent, in IBinder connection, int userId); 60 void unbindRemoteViewsService(int appWidgetId, in Intent intent, int userId);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | BinderThreadPriorityService.java | 59 public IBinder onBind(Intent intent) { argument
|
H A D | MessengerService.java | 46 public IBinder onBind(Intent intent) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BootReceiver.java | 34 public void onReceive(final Context context, Intent intent) { argument
|
H A D | SearchPanelView.java | 105 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) 107 if (intent == null) return; 119 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 120 mContext.startActivityAsUser(intent, opts.toBundle(), 123 Slog.w(TAG, "Activity not found for " + intent.getAction()); 182 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) 184 if (intent != null) { 185 ComponentName component = intent.getComponent();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | TakeScreenshotService.java | 56 public IBinder onBind(Intent intent) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | BluetoothController.java | 81 public void onReceive(Context context, Intent intent) { argument 82 final String action = intent.getAction(); 86 intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR)); 89 intent.getIntExtra(BluetoothAdapter.EXTRA_CONNECTION_STATE,
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardUpdateMonitorCallback.java | 125 void onMusicClientIdChanged(int clientGeneration, boolean clearing, PendingIntent intent) { } argument
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityRecord.java | 64 final Intent intent; // the original intent that generated us field in class:ActivityRecord 65 final ComponentName realActivity; // the intent component, or target of an alias. 66 final String shortComponentName; // the short component name of the intent 68 final String packageName; // the package implementing intent's component 142 pw.print(prefix); pw.println(intent.toInsecureStringWithClip()); 185 Intent intent = (Intent)newIntents.get(i); 187 if (intent == null) { 190 pw.println(intent.toShortString(false, true, false, true)); 341 intent 564 addNewIntentLocked(Intent intent) argument 575 deliverNewIntentLocked(int callingUid, Intent intent) argument [all...] |
/frameworks/base/services/java/com/android/server/firewall/ |
H A D | SenderPermissionFilter.java | 36 public boolean matches(IntentFirewall ifw, Intent intent, ApplicationInfo callerApp, argument
|
H A D | PortFilter.java | 44 public boolean matches(IntentFirewall ifw, Intent intent, ApplicationInfo callerApp, argument 47 Uri uri = intent.getData();
|
/frameworks/base/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 95 public void sendBroadcast(Intent intent) { argument 96 mBroadcastIntents.add(intent); 100 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { argument 101 mBroadcastIntents.add(intent);
|
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 219 * intent is delivered -- so the code in these methods should be fairly 761 /** Return the intent that started this activity. */ 767 * Change the intent returned by {@link #getIntent}. This holds a 768 * reference to the given intent; it does not copy it. Often used in 1123 * <p>An activity will always be paused before receiving a new intent, so 1129 * @param intent The new intent that was started for the activity. 1135 protected void onNewIntent(Intent intent) { argument 2108 Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + str)); 2109 intent 3350 startActivityForResult(Intent intent, int requestCode) argument 3388 startActivityForResult(Intent intent, int requestCode, Bundle options) argument 3423 startActivityAsUser(Intent intent, UserHandle user) argument 3430 startActivityAsUser(Intent intent, Bundle options, UserHandle user) argument 3460 startIntentSenderForResult(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument 3492 startIntentSenderForResult(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument 3509 startIntentSenderForResultInner(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, Activity activity, Bundle options) argument 3554 startActivity(Intent intent) argument 3581 startActivity(Intent intent, Bundle options) argument 3648 startIntentSender(IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument 3675 startIntentSender(IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument 3704 startActivityIfNeeded(Intent intent, int requestCode) argument 3738 startActivityIfNeeded(Intent intent, int requestCode, Bundle options) argument 3787 startNextMatchingActivity(Intent intent) argument 3810 startNextMatchingActivity(Intent intent, Bundle options) argument 3840 startActivityFromChild(Activity child, Intent intent, int requestCode) argument 3864 startActivityFromChild(Activity child, Intent intent, int requestCode, Bundle options) argument 3890 startActivityFromFragment(Fragment fragment, Intent intent, int requestCode) argument 3915 startActivityFromFragment(Fragment fragment, Intent intent, int requestCode, Bundle options) argument 3932 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument 3946 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument 5074 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, NonConfigurationInstances lastNonConfigurationInstances, Configuration config) argument 5082 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, int ident, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, NonConfigurationInstances lastNonConfigurationInstances, Configuration config) argument [all...] |
/frameworks/base/core/java/android/service/dreams/ |
H A D | Sandman.java | 51 * Returns true if the specified dock app intent should be started. 54 public static boolean shouldStartDockApp(Context context, Intent intent) { argument 55 ComponentName name = intent.resolveActivity(context.getPackageManager());
|
/frameworks/base/core/tests/notificationtests/src/android/app/ |
H A D | NotificationStressTest.java | 84 Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")); 85 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0);
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GeofenceState.java | 47 int allowedResolutionLevel, int uid, String packageName, PendingIntent intent) { 56 mIntent = intent; 46 GeofenceState(Geofence fence, long expireAt, int allowedResolutionLevel, int uid, String packageName, PendingIntent intent) argument
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SipManager.java | 71 * Key to retrieve the call ID from an incoming call intent. 78 * intent. 91 * Action string for the incoming call intent for the Phone app. 98 * Action string for the add-phone intent. 105 * Action string for the remove-phone intent. 192 * receives a new call, it will send out an intent with the provided action 193 * string. The intent contains a call ID extra and an offer session 201 * intent to the caller with {@link #INCOMING_CALL_RESULT_CODE} as the 202 * result code and the intent to fill in the call ID and session 373 * @param incomingCallIntent the incoming call broadcast intent 417 isIncomingCallIntent(Intent intent) argument [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipWakeupTimer.java | 215 Intent intent = new Intent(getAction()); 216 intent.putExtra(TRIGGER_TIME, event.mTriggerTime); 218 PendingIntent.getBroadcast(mContext, 0, intent, 225 public synchronized void onReceive(Context context, Intent intent) { argument 227 String action = intent.getAction(); 229 && intent.getExtras().containsKey(TRIGGER_TIME)) { 231 long triggerTime = intent.getLongExtra(TRIGGER_TIME, -1L); 234 log("onReceive: unrecognized intent: " + intent);
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | AndroidAuthenticator.java | 84 Intent intent = result.getParcelable(AccountManager.KEY_INTENT); 85 throw new AuthFailureError(intent);
|
/frameworks/base/core/java/android/speech/ |
H A D | RecognitionService.java | 94 private void dispatchStartListening(Intent intent, IRecognitionListener listener) { argument 98 RecognitionService.this.onStartListening(intent, mCurrentCallback); 146 public StartListeningArgs(Intent intent, IRecognitionListener listener) { argument 147 this.mIntent = intent; 176 * @param recognizerIntent contains parameters for the recognition to be performed. The intent 196 public final IBinder onBind(final Intent intent) { argument 197 if (DBG) Log.d(TAG, "onBind, intent=" + intent);
|