Searched refs:Intent (Results 226 - 250 of 820) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/content/pm/
H A DILauncherApps.aidl20 import android.content.Intent;
35 ResolveInfo resolveActivity(in Intent intent, in UserHandle user);
H A DLabeledIntent.java19 import android.content.Intent;
25 * A special subclass of Intent that can have a custom label/icon
26 * associated with it. Primarily for use with {@link Intent#ACTION_CHOOSER}.
28 public class LabeledIntent extends Intent {
38 * @param origIntent The original Intent to copy.
43 public LabeledIntent(Intent origIntent, String sourcePackage,
56 * @param origIntent The original Intent to copy.
61 public LabeledIntent(Intent origIntent, String sourcePackage,
132 * want to load the label from the underlying resolved info for the Intent.
150 * want to load the icon from the underlying resolved info for the Intent
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkScoreManager.java24 import android.content.Intent;
71 * {@link android.content.Intent#putExtra(String, String)}.
90 * {@link android.content.Intent#getParcelableArrayExtra(String)}}.
121 * {@link android.content.Intent#getStringExtra(String)}.
242 Intent intent = new Intent(ACTION_SCORE_NETWORKS);
244 intent.setFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
/frameworks/base/core/java/android/test/
H A DAndroidTestCase.java21 import android.content.Intent;
93 final Intent intent = new Intent();
95 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
/frameworks/base/core/java/com/android/internal/app/
H A DIVoiceInteractionManagerService.aidl19 import android.content.Intent;
32 int startVoiceActivity(IBinder token, in Intent intent, String resolvedType);
H A DResolverActivity.java36 import android.content.Intent;
81 * This activity is displayed when the system attempts to start an Intent for
105 private Intent mIntent;
122 VIEW(Intent.ACTION_VIEW,
125 EDIT(Intent.ACTION_EDIT,
128 SEND(Intent.ACTION_SEND,
131 SENDTO(Intent.ACTION_SENDTO,
134 SEND_MULTIPLE(Intent.ACTION_SEND_MULTIPLE,
140 HOME(Intent.ACTION_MAIN,
164 private Intent makeMyInten
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyChain.java22 import android.content.Intent;
77 * certificates via the {@code Intent} provided by {@link
79 * Intent} will be accessible via {@link #choosePrivateKeyAlias} while
145 * the {@code Intent} returned by {@link #createInstallIntent}.
152 * the {@code Intent} returned by {@link #createInstallIntent}.
164 * Optional extra for use with the {@code Intent} returned by
198 * Returns an {@code Intent} that can be used for credential
214 public static Intent createInstallIntent() {
215 Intent intent = new Intent(ACTION_INSTAL
[all...]
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusedLocationProvider.java29 import android.content.Intent;
70 intentFilter.addAction(Intent.ACTION_USER_SWITCHED);
73 public void onReceive(Context context, Intent intent) {
75 if (Intent.ACTION_USER_SWITCHED.equals(action)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DAirplaneModeTile.java21 import android.content.Intent;
101 filter.addAction(Intent.ACTION_AIRPLANE_MODE_CHANGED);
111 public void onReceive(Context context, Intent intent) {
112 if (Intent.ACTION_AIRPLANE_MODE_CHANGED.equals(intent.getAction())) {
H A DIntentTile.java22 import android.content.Intent;
98 final Intent intent = Intent.parseUri(uri, Intent.URI_INTENT_SCHEME);
108 if (!(arg instanceof Intent)) return;
109 final Intent intent = (Intent) arg;
140 public void onReceive(Context context, Intent intent) {
/frameworks/base/services/core/java/com/android/server/
H A DUpdateLockService.java20 import android.content.Intent;
77 Intent intent = new Intent(UpdateLock.UPDATE_LOCK_CHANGED)
80 .addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
H A DBatteryService.java30 import android.content.Intent;
62 * watching the {@link android.content.Intent#ACTION_BATTERY_CHANGED
64 * <p>The new values are stored in the Intent data and can be retrieved by
65 * calling {@link android.content.Intent#getExtra Intent.getExtra} with the
265 Intent intent = new Intent(Intent.ACTION_REQUEST_SHUTDOWN);
266 intent.putExtra(Intent.EXTRA_KEY_CONFIRM, false);
267 intent.setFlags(Intent
[all...]
/frameworks/base/services/core/java/com/android/server/media/
H A DRemoteDisplayProviderWatcher.java23 import android.content.Intent;
79 filter.addAction(Intent.ACTION_PACKAGE_ADDED);
80 filter.addAction(Intent.ACTION_PACKAGE_REMOVED);
81 filter.addAction(Intent.ACTION_PACKAGE_CHANGED);
82 filter.addAction(Intent.ACTION_PACKAGE_REPLACED);
83 filter.addAction(Intent.ACTION_PACKAGE_RESTARTED);
116 Intent intent = new Intent(RemoteDisplayState.SERVICE_INTERFACE);
200 public void onReceive(Context context, Intent intent) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DLauncherAppsService.java22 import android.content.Intent;
197 final Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
198 mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);
211 public ResolveInfo resolveActivity(Intent intent, UserHandle user)
271 Intent launchIntent = new Intent(Intent.ACTION_MAIN);
272 launchIntent.addCategory(Intent
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProviderProtocol.java19 import android.content.Intent;
28 * The {@link Intent} that must be declared as handled by the service.
/frameworks/webview/chromium/tools/WebViewShell/src/com/android/webview/chromium/shell/
H A DStartupTimeActivity.java20 import android.content.Intent;
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLaunchpadActivity.java23 import android.content.Intent;
69 public void activityFinished(int resultCode, Intent data,
144 private Intent mData = (new Intent()).setAction("No result received");
232 Intent intent = getIntent();
239 Intent intent = getIntent();
245 Intent intent = getIntent();
340 Intent data) {
351 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(
357 finishWithResult(RESULT_CANCELED, (new Intent())
[all...]
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java37 import android.content.Intent;
175 "am broadcast: send a broadcast Intent. Options are:\n" +
227 "am to-uri: print the given Intent specification as a URI.\n" +
229 "am to-intent-uri: print the given Intent specification as an intent: URI.\n" +
231 "am to-app-uri: print the given Intent specification as an android-app: URI.\n" +
343 runToUri(Intent.URI_INTENT_SCHEME);
345 runToUri(Intent.URI_ANDROID_APP_SCHEME);
375 private Intent makeIntent(int defUser) throws URISyntaxException {
376 Intent intent = new Intent();
[all...]
/frameworks/base/core/java/android/app/
H A DActivityGroup.java21 import android.content.Intent;
112 Intent data) {
/frameworks/base/core/java/android/content/
H A DUriPermission.java25 * created via {@link Intent#FLAG_GRANT_READ_URI_PERMISSION}, etc when sending
26 * an {@link Intent}, or explicitly through
66 return (mModeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0;
73 return (mModeFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0;
/frameworks/base/core/java/android/service/restrictions/
H A DRestrictionsReceiver.java22 import android.content.Intent;
74 public void onReceive(Context context, Intent intent) {
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/
H A DServicesTests.java19 import android.content.Intent;
50 getInstrumentation().getContext().startService(new Intent(SERVICE_BASE_ACTION + i));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkController.java19 import android.content.Intent;
58 void onSettingsActivityTriggered(Intent settingsIntent);
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbDisconnectedReceiver.java22 import android.content.Intent;
52 public void onReceive(Context context, Intent intent) {
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DDataVerify.java21 import android.content.Intent;
113 public IBinder onBind(Intent arg0) {

Completed in 653 milliseconds

1234567891011>>