Searched refs:intent (Results 351 - 375 of 464) sorted by relevance

<<111213141516171819

/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouter.java206 * {@link RouteInfo#getControlFilters media control intent filters} to assess the
220 * Intent intent = new Intent(MediaControlIntent.ACTION_PLAY);
221 * intent.addCategory(MediaControlIntent.CATEGORY_REMOTE_PLAYBACK);
222 * intent.setDataAndType("http://example.com/videos/movie.mp4", "video/mp4");
223 * if (route.supportsControlRequest(intent)) {
224 * route.sendControlRequest(intent, null);
345 * {@link MediaControlIntent#CATEGORY_LIVE_AUDIO live audio media control intent category}
548 * {@link #getControlFilters intent filters} that describe the capabilities of the
708 * Gets a list of {@link MediaControlIntent media control intent} filters that
712 * @return A list of intent filter
786 supportsControlRequest(Intent intent) argument
819 sendControlRequest(Intent intent, ControlRequestCallback callback) argument
1367 sendControlRequest(RouteInfo route, Intent intent, ControlRequestCallback callback) argument
[all...]
H A DRegisteredMediaRouteProvider.java371 public boolean onControlRequest(Intent intent, ControlRequestCallback callback) { argument
373 return mConnection.sendControlRequest(mControllerId, intent, callback);
545 public boolean sendControlRequest(int controllerId, Intent intent, argument
549 requestId, controllerId, intent, null)) {
/frameworks/base/services/java/com/android/server/
H A DDevicePolicyManagerService.java151 public void onReceive(Context context, Intent intent) {
152 final String action = intent.getAction();
153 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE,
670 Intent intent = new Intent(action);
671 intent.setComponent(admin.info.getComponent());
673 intent.putExtra("expiration", admin.passwordExpirationDate);
676 mContext.sendOrderedBroadcastAsUser(intent, admin.getUserHandle(),
679 mContext.sendBroadcastAsUser(intent, UserHandle.OWNER);
703 public void onReceive(Context context, Intent intent) {
826 Intent intent
[all...]
H A DTwilightService.java529 public void onReceive(Context context, Intent intent) {
530 if (Intent.ACTION_AIRPLANE_MODE_CHANGED.equals(intent.getAction())
531 && !intent.getBooleanExtra("state", false)) {
H A DVibratorService.java169 public void onReceive(Context context, Intent intent) {
594 public void onReceive(Context context, Intent intent) {
595 if (intent.getAction().equals(Intent.ACTION_SCREEN_OFF)) {
H A DEntropyMixer.java79 public void onReceive(Context context, Intent intent) {
H A DInputMethodManagerService.java427 public void onReceive(Context context, Intent intent) { argument
428 final String action = intent.getAction();
444 Slog.w(TAG, "Unexpected intent " + intent);
462 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { argument
635 Intent intent = new Intent(Settings.ACTION_SHOW_INPUT_METHOD_PICKER);
636 mImeSwitchPendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);
706 public void onReceive(Context context, Intent intent) {
1569 // TODO: Do not send the intent if the process of the targetImi is already dead.
1574 final Intent intent
[all...]
H A DNotificationManagerService.java706 Intent intent = new Intent(NotificationListenerService.SERVICE_INTERFACE);
707 intent.setComponent(name);
709 intent.putExtra(Intent.EXTRA_CLIENT_LABEL,
711 intent.putExtra(Intent.EXTRA_CLIENT_INTENT, PendingIntent.getActivity(
715 if (DBG) Slog.v(TAG, "binding: " + intent);
716 if (!mContext.bindServiceAsUser(intent,
744 Slog.w(TAG, "Unable to bind listener service: " + intent);
748 Slog.e(TAG, "Unable to bind listener service: " + intent, ex);
1132 public void onReceive(Context context, Intent intent) {
1133 String action = intent
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfigStore.java584 Intent intent = new Intent(WifiManager.CONFIGURED_NETWORKS_CHANGED_ACTION);
585 intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
586 intent.putExtra(WifiManager.EXTRA_MULTIPLE_NETWORKS_CHANGED, false);
587 intent.putExtra(WifiManager.EXTRA_WIFI_CONFIGURATION, network);
588 intent.putExtra(WifiManager.EXTRA_CHANGE_REASON, reason);
589 mContext.sendBroadcastAsUser(intent, UserHandle.ALL);
596 Intent intent = new Intent(WifiManager.CONFIGURED_NETWORKS_CHANGED_ACTION);
597 intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
598 intent.putExtra(WifiManager.EXTRA_MULTIPLE_NETWORKS_CHANGED, true);
599 mContext.sendBroadcastAsUser(intent, UserHandl
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java167 /* Table of Application Launch keys. Maps from key codes to intent categories.
897 Intent intent = context.registerReceiver(mDockReceiver, filter);
898 if (intent != null) {
900 mDockMode = intent.getIntExtra(Intent.EXTRA_DOCK_STATE,
2019 Intent intent = new Intent(Intent.ACTION_BUG_REPORT);
2020 mContext.sendOrderedBroadcastAsUser(intent, UserHandle.CURRENT,
2146 Intent intent = Intent.makeMainSelectorActivity(Intent.ACTION_MAIN, category);
2147 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
2149 mContext.startActivity(intent);
2287 Intent intent
[all...]
/frameworks/base/services/java/com/android/server/content/
H A DSyncManager.java194 public void onReceive(Context context, Intent intent) {
195 String action = intent.getAction();
214 public void onReceive(Context context, Intent intent) {
220 public void onReceive(Context context, Intent intent) {
232 public void onReceive(Context context, Intent intent) {
300 public void onReceive(Context context, Intent intent) {
303 // don't use the intent to figure out if network is connected, just check
325 public void onReceive(Context context, Intent intent) {
333 public void onReceive(Context context, Intent intent) {
334 String action = intent
782 onReceive(Context context, Intent intent) argument
2711 isActivityAvailable(Intent intent) argument
[all...]
/frameworks/base/core/java/android/content/
H A DIntentFilter.java46 * using {@link android.R.styleable#AndroidManifestIntentFilter intent-filter}
190 * The filter matched an intent that had no data specified.
194 * The filter matched an intent with the same data URI scheme.
198 * The filter matched an intent with the same data URI scheme and
203 * The filter matched an intent with the same data URI scheme and
208 * The filter matched an intent with the same data URI scheme,
213 * The filter matched an intent with the same data MIME type.
842 * Match this intent filter against the given Intent data. This ignores
869 * schemes/paths, the match will only succeed if the intent does not
970 * the intent
1069 match(ContentResolver resolver, Intent intent, boolean resolve, String logTag) argument
[all...]
/frameworks/base/services/java/com/android/server/connectivity/
H A DTethering.java462 Intent intent = new Intent();
463 intent.setClassName("com.android.settings", "com.android.settings.TetherSettings");
464 intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
466 PendingIntent pi = PendingIntent.getActivityAsUser(mContext, 0, intent, 0,
499 public void onReceive(Context content, Intent intent) { argument
500 String action = intent.getAction();
503 boolean usbConnected = intent.getBooleanExtra(UsbManager.USB_CONNECTED, false);
504 mRndisEnabled = intent.getBooleanExtra(UsbManager.USB_FUNCTION_RNDIS, false);
512 NetworkInfo networkInfo = (NetworkInfo)intent.getParcelableExtra(
/frameworks/base/core/java/android/app/
H A DApplicationErrorReport.java211 Intent intent = new Intent(Intent.ACTION_APP_ERROR);
212 intent.setPackage(receiverPackage);
213 ResolveInfo info = pm.resolveActivity(intent, 0);
H A DNotification.java150 * The intent to execute when the expanded status entry is clicked. If
163 * The intent to execute when the notification is explicitly dismissed by the user, either with
172 * An intent to launch instead of posting the notification to the status bar.
875 * @param contentIntent The intent to launch when the user clicks the expanded notification.
1232 public Builder setContentIntent(PendingIntent intent) { argument
1233 mContentIntent = intent;
1242 public Builder setDeleteIntent(PendingIntent intent) { argument
1243 mDeleteIntent = intent;
1248 * An intent to launch instead of posting the notification to the status bar.
1256 * @param intent Th
1262 setFullScreenIntent(PendingIntent intent, boolean highPriority) argument
1470 addAction(int icon, CharSequence title, PendingIntent intent) argument
[all...]
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java61 * intent will contain the URI in its data field. If a MIME record is found the intent will
64 * most specific intent filters possible to avoid the activity chooser dialog, which can
67 * <p>If the tag has an NDEF payload this intent is started before
68 * {@link #ACTION_TECH_DISCOVERED}. If any activities respond to this intent neither
71 * <p>The MIME type or data URI of this intent are normalized before dispatch -
81 * <p>To receive this intent an activity must include an intent filter
87 * &lt;intent-filter&gt;
89 * &lt;/intent
1029 enableForegroundDispatch(Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists) argument
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java90 private final static String ARG_INTENT = "arg-intent";
104 /** The intent we were launched with */
139 * @param intent
144 Intent intent, int position, boolean onlyShowSpinner) {
146 b.putParcelable(ARG_INTENT, intent);
551 public void onReceive(Context context, Intent intent) { argument
143 newInstance( Intent intent, int position, boolean onlyShowSpinner) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java825 PendingIntent intent = apnContext.getReconnectIntent();
827 if (intent != null) {
830 am.cancel(intent);
1199 Intent intent = new Intent(INTENT_RECONNECT_ALARM + "." + apnType);
1200 intent.putExtra(INTENT_RECONNECT_ALARM_EXTRA_REASON, apnContext.getReason());
1201 intent.putExtra(INTENT_RECONNECT_ALARM_EXTRA_TYPE, apnType);
1204 log("startAlarmForReconnect: delay=" + delay + " action=" + intent.getAction()
1209 intent, PendingIntent.FLAG_UPDATE_CURRENT);
1217 Intent intent = new Intent(INTENT_RESTART_TRYSETUP_ALARM + "." + apnType);
1218 intent
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java45 * intent that always includes data about the calling activity and app.
47 * content. Constructing an intent this way can be done in a method-chaining style.
52 * within an {@link Intent#ACTION_SEND} or {@link Intent#ACTION_SEND_MULTIPLE} intent
60 * Intent extra that stores the name of the calling package for an ACTION_SEND intent.
72 * an ACTION_SEND intent.
161 * Retrieve the name of the package that launched calledActivity from a share intent.
181 * Retrieve the ComponentName of the activity that launched calledActivity from a share intent.
215 * <p>During the calling activity's lifecycle, if data within the share intent must
225 * and call configureMenuItem to update the associated sharing intent as needed.</li>
290 * <p>To create an intent tha
[all...]
/frameworks/base/core/java/android/widget/
H A DTabHost.java542 * Specify an intent to use to launch an activity as the tab content.
544 public TabSpec setContent(Intent intent) { argument
545 mContentStrategy = new IntentContentStrategy(mTag, intent);
740 private IntentContentStrategy(String tag, Intent intent) { argument
742 mIntent = intent;
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DObbBackupService.java148 public IBinder onBind(Intent intent) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSystemUIService.java115 public IBinder onBind(Intent intent) { argument
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMockAccessibilityService.java160 public boolean onUnbind(Intent intent) { argument
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java275 public void onReceive(Context context, Intent intent) {
300 public void onReceive(Context context, Intent intent) {
308 public void onReceive(Context context, Intent intent) {
697 final Intent intent = new Intent("android.settings.INPUT_METHOD_SETTINGS");
698 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
702 intent, 0, null, UserHandle.CURRENT);
803 Intent intent = new Intent(InputManager.ACTION_QUERY_KEYBOARD_LAYOUTS);
804 for (ResolveInfo resolveInfo : pm.queryBroadcastReceivers(intent,
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsService.java717 public void onReceive(Context context, Intent intent) {
729 public void onReceive(Context context, Intent intent) {
738 public void onReceive(Context context, Intent intent) {
750 public void onReceive(Context context, Intent intent) {
754 final int uid = intent.getIntExtra(EXTRA_UID, -1);
770 public void onReceive(Context context, Intent intent) {
774 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1);
790 public void onReceive(Context context, Intent intent) {

Completed in 869 milliseconds

<<111213141516171819