Searched refs:intent (Results 401 - 425 of 464) sorted by relevance

<<111213141516171819

/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuItemImpl.java172 Log.e(TAG, "Can't find activity to handle intent; ignoring", e);
227 public MenuItem setIntent(Intent intent) { argument
228 mIntent = intent;
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java62 * {@link android.content.Intent}. Failure to declare this intent will cause the system to
66 * can bind to it. Failure to declare this intent will cause the system to ignore the
71 * &lt;intent-filter&gt;
73 * &lt;/intent-filter&gt;
90 * &lt;intent-filter&gt;
92 * &lt;/intent-filter&gt;
542 public final IBinder onBind(Intent intent) { argument
/frameworks/base/core/java/android/content/
H A DBroadcastReceiver.java69 * android:priority} attribute of the matching intent-filter; receivers with
126 * intent-filters for it, any other application can send broadcasts to it regardless
486 * @param intent The Intent being received.
488 public abstract void onReceive(Context context, Intent intent); argument
/frameworks/base/core/java/android/provider/
H A DCalendarContract.java94 * Broadcast Action: This is the intent that gets fired when an alarm
99 public static final String ACTION_EVENT_REMINDER = "android.intent.action.EVENT_REMINDER";
109 * The custom app should have an intent filter like the following:
111 * &lt;intent-filter&gt;
113 * &lt;category android:name="android.intent.category.DEFAULT" /&gt;
115 * &lt;/intent-filter&gt;</pre>
131 * the {@link #ACTION_HANDLE_CUSTOM_EVENT} intent
2207 * will generate an intent using {@link #ACTION_EVENT_REMINDER}. Apps that
2367 * Schedules an alarm intent with the system AlarmManager that will
2371 * Scheduled alarms will generate an intent usin
[all...]
H A DSettings.java711 * Example: The {@link #ACTION_ADD_ACCOUNT} intent restricts the account types available based
724 * Example: The {@link #ACTION_ADD_ACCOUNT} intent restricts the account types to the specified
4424 * intent is fired to indicate a transition of network status from "active" to "idle". Any
4426 * ACTION_DATA_ACTIVITY_CHANGE} intent indicating transition from "idle" to "active".
5433 * URL for intent firewall updates
5440 * URL for intent firewall update metadata
5804 public static final String INTENT = "intent";
5834 Intent intent = null;
5841 while (intent == null && c.moveToNext()) {
5844 intent
5873 add(ContentResolver cr, Intent intent, String title, String folder, char shortcut, int ordering) argument
[all...]
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java176 public void onReceive(Context context, Intent intent) {
177 if (Intent.ACTION_SCREEN_ON.equals(intent.getAction())) {
180 } else if (Intent.ACTION_SCREEN_OFF.equals(intent.getAction())) {
1129 public final IBinder onBind(Intent intent) { argument
/frameworks/base/core/java/android/webkit/
H A DCallbackProxy.java264 Intent intent = new Intent(Intent.ACTION_VIEW,
266 intent.addCategory(Intent.CATEGORY_BROWSABLE);
270 intent.putExtra(Browser.EXTRA_APPLICATION_ID,
273 mContext.startActivity(intent);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DComponentTest.java117 mDisabledReceiverIntent = new Intent("android.intent.action.ENABLED_APP_DISABLED_RECEIVER");
119 mEnabledReceiverIntent = new Intent("android.intent.action.ENABLED_APP_ENABLED_RECEIVER");
712 Intent intent = new Intent(Intent.ACTION_MAIN, null);
713 intent.addCategory(TEST_CATEGORY);
716 mPackageManager.queryIntentActivities(intent, 0);
726 mPackageManager.queryIntentActivities(intent, 0);
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java289 public void onReceive(Context context, Intent intent) { argument
/frameworks/base/services/java/com/android/server/
H A DBootReceiver.java64 public void onReceive(final Context context, Intent intent) { argument
H A DCommonTimeManagementService.java129 public void onReceive(Context context, Intent intent) {
H A DStatusBarManagerService.java632 public void onReceive(Context context, Intent intent) {
633 String action = intent.getAction();
640 updateNetworkName(intent.getBooleanExtra(Telephony.Intents.EXTRA_SHOW_SPN, false),
641 intent.getStringExtra(Telephony.Intents.EXTRA_SPN),
642 intent.getBooleanExtra(Telephony.Intents.EXTRA_SHOW_PLMN, false),
643 intent.getStringExtra(Telephony.Intents.EXTRA_PLMN));
/frameworks/base/services/java/com/android/server/display/
H A DWifiDisplayController.java905 public void onReceive(Context context, Intent intent) {
906 final String action = intent.getAction();
910 boolean enabled = (intent.getIntExtra(WifiP2pManager.EXTRA_WIFI_STATE,
926 NetworkInfo networkInfo = (NetworkInfo)intent.getParcelableExtra(
/frameworks/base/services/java/com/android/server/updates/
H A DSELinuxPolicyInstallReceiver.java142 protected void postInstall(Context context, Intent intent) { argument
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java177 public void startActivity(Intent intent) {
648 final Intent intent = new Intent(ACTION_UID_REMOVED);
649 intent.putExtra(EXTRA_UID, UID_A);
650 mServiceContext.sendBroadcast(intent);
H A DNetworkStatsServiceTest.java521 final Intent intent = new Intent(ACTION_UID_REMOVED);
522 intent.putExtra(EXTRA_UID, UID_BLUE);
523 mServiceContext.sendBroadcast(intent);
524 intent.putExtra(EXTRA_UID, UID_RED);
525 mServiceContext.sendBroadcast(intent);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerTest.java44 public void onReceive(Context context, Intent intent) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneProxy.java208 Intent intent = new Intent(TelephonyIntents.ACTION_RADIO_TECHNOLOGY_CHANGED);
209 intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);
210 intent.putExtra(PhoneConstants.PHONE_NAME_KEY, mActivePhone.getPhoneName());
211 ActivityManagerNative.broadcastStickyIntent(intent, null, UserHandle.USER_ALL);
/frameworks/support/v4/java/android/support/v4/app/
H A DFragment.java844 public void startActivity(Intent intent) { argument
848 mActivity.startActivityFromFragment(this, intent, -1);
855 public void startActivityForResult(Intent intent, int requestCode) { argument
859 mActivity.startActivityFromFragment(this, intent, requestCode);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DSystemMediaRouteProvider.java185 public void onReceive(Context context, Intent intent) { argument
186 if (intent.getAction().equals(VOLUME_CHANGED_ACTION)) {
187 final int streamType = intent.getIntExtra(EXTRA_VOLUME_STREAM_TYPE, -1);
189 final int volume = intent.getIntExtra(EXTRA_VOLUME_STREAM_VALUE, -1);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardHostView.java269 int clientGeneration, boolean clearing, android.app.PendingIntent intent) {
816 android.util.Log.e(TAG, "Cannot send pending intent: ", e);
818 android.util.Log.e(TAG, "Cannot send pending intent due to " +
1670 final Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE))
1673 if (intent == null) return;
1679 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
1682 intent, false, opts.toBundle(), null, null);
/frameworks/base/services/java/com/android/server/power/
H A DPowerManagerService.java2329 public void onReceive(Context context, Intent intent) { argument
2338 public void onReceive(Context context, Intent intent) { argument
2351 public void onReceive(Context context, Intent intent) { argument
2360 public void onReceive(Context context, Intent intent) { argument
2369 public void onReceive(Context context, Intent intent) { argument
2371 int dockState = intent.getIntExtra(Intent.EXTRA_DOCK_STATE,
/frameworks/base/core/java/android/preference/
H A DPreference.java331 * @param intent The intent associated with this Preference.
333 public void setIntent(Intent intent) { argument
334 mIntent = intent;
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java781 public IBinder onBind(Intent intent) { argument
782 if (TextToSpeech.Engine.INTENT_ACTION_TTS_SERVICE.equals(intent.getAction())) {
/frameworks/base/core/java/android/net/
H A DDhcpStateMachine.java129 public void onReceive(Context context, Intent intent) {

Completed in 7287 milliseconds

<<111213141516171819