Searched refs:Intent (Results 126 - 150 of 820) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/app/
H A DService.java21 import android.content.Intent;
168 * {@link Context#startService(Intent) Context.startService(Intent)}, you can
169 * also set {@link Intent#FLAG_GRANT_READ_URI_PERMISSION
170 * Intent.FLAG_GRANT_READ_URI_PERMISSION} and/or {@link Intent#FLAG_GRANT_WRITE_URI_PERMISSION
171 * Intent.FLAG_GRANT_WRITE_URI_PERMISSION} on the Intent. This will grant the
172 * Service temporary access to the specific URIs in the Intent. Access will
233 * re-deliver an Intent fo
[all...]
H A DAliasActivity.java22 import android.content.Intent;
67 Intent intent = parseAlias(parser);
87 private Intent parseAlias(XmlPullParser parser)
91 Intent intent = null;
114 Intent gotIntent = Intent.parseIntent(getResources(), parser, attrs);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDocumentsApplication.java25 import android.content.Intent;
75 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED);
76 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED);
77 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED);
78 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED);
83 localeFilter.addAction(Intent.ACTION_LOCALE_CHANGED);
100 public void onReceive(Context context, Intent intent) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbAccessoryUriActivity.java22 import android.content.Intent;
52 Intent intent = getIntent();
87 Intent intent = new Intent(Intent.ACTION_VIEW, mUri);
88 intent.addCategory(Intent.CATEGORY_BROWSABLE);
89 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
/frameworks/base/core/java/android/widget/
H A DRemoteViewsService.java22 import android.content.Intent;
41 private static final HashMap<Intent.FilterComparison, RemoteViewsFactory> sRemoteViewFactories =
42 new HashMap<Intent.FilterComparison, RemoteViewsFactory>();
214 public void onDestroy(Intent intent) {
216 Intent.FilterComparison fc = new Intent.FilterComparison(intent);
235 public IBinder onBind(Intent intent) {
237 Intent.FilterComparison fc = new Intent.FilterComparison(intent);
257 public abstract RemoteViewsFactory onGetViewFactory(Intent inten
[all...]
H A DShareActionProvider.java20 import android.content.Intent;
58 * public void doShare(Intent shareIntent) {
95 public boolean onShareTargetSelected(ShareActionProvider source, Intent intent);
248 * private void doShare(Intent intent) {
268 * Intent shareIntent = new Intent(Intent.ACTION_SEND);
271 * shareIntent.putExtra(Intent.EXTRA_STREAM, uri));</pre>
275 * @see Intent#ACTION_SEND
276 * @see Intent#ACTION_SEND_MULTIPL
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DIntentSenderTest.java21 import android.content.Intent;
41 final Intent intent = makeBroadcastIntent(BROADCAST_REGISTERED);
48 public void onSendFinished(PendingIntent pi, Intent intent,
70 final Intent intent = makeBroadcastIntent(BROADCAST_LOCAL_DENIED);
75 public void onSendFinished(PendingIntent pi, Intent intent,
H A DLocalReceiver.java22 import android.content.Intent;
34 public void onReceive(Context context, Intent intent) {
55 context.bindService(new Intent(context, LocalService.class), sc, 0);
62 Intent newIntent = new Intent(intent);
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
H A DEffectsVideoCapture.java22 import android.content.Intent;
27 import android.content.Intent;
60 Intent intent = new Intent();
63 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DEmergencyButton.java20 import android.content.Intent;
101 Intent intent = new Intent(ACTION_EMERGENCY_DIAL);
102 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
103 | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModel.java24 import android.content.Intent;
97 public void onActivityResult(int requestCode, int resultCode, Intent data) {
108 Intent intent = new Intent();
109 intent.setAction(Intent.ACTION_PICK);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestApp.java24 import android.content.Intent;
96 public void onActivityResult(int requestCode, int resultCode, Intent data) {
107 Intent intent = new Intent();
108 intent.setAction(Intent.ACTION_PICK);
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
H A DVersionDialog.java25 import android.content.Intent;
60 activity.startActivity(new Intent(Intent.ACTION_VIEW,
64 activity.startActivity(new Intent(Intent.ACTION_VIEW,
/frameworks/webview/chromium/tests/UbWebViewJankTests/src/com/android/webview/chromium/tests/jank/
H A DWebViewFlingTest.java19 import android.content.Intent;
78 Intent intent = new Intent(Intent.ACTION_DEFAULT,
81 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java30 import android.content.Intent;
63 private int mDockState = Intent.EXTRA_DOCK_STATE_UNDOCKED;
65 private int mLastBroadcastState = Intent.EXTRA_DOCK_STATE_UNDOCKED;
97 private static Intent buildHomeIntent(String category) {
98 Intent intent = new Intent(Intent.ACTION_MAIN);
100 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
101 | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
111 public void onReceive(Context context, Intent inten
[all...]
/frameworks/base/services/core/java/com/android/server/dreams/
H A DDreamController.java21 import android.content.Intent;
59 private final Intent mDreamingStartedIntent = new Intent(Intent.ACTION_DREAMING_STARTED)
60 .addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
61 private final Intent mDreamingStoppedIntent = new Intent(Intent.ACTION_DREAMING_STOPPED)
62 .addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
64 private final Intent mCloseNotificationShadeInten
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DClock.java22 import android.content.Intent;
90 filter.addAction(Intent.ACTION_TIME_TICK);
91 filter.addAction(Intent.ACTION_TIME_CHANGED);
92 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED);
93 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED);
94 filter.addAction(Intent.ACTION_USER_SWITCHED);
121 public void onReceive(Context context, Intent intent) {
123 if (action.equals(Intent.ACTION_TIMEZONE_CHANGED)) {
129 } else if (action.equals(Intent.ACTION_CONFIGURATION_CHANGED)) {
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRegisteredMediaRouteProviderWatcher.java22 import android.content.Intent;
60 filter.addAction(Intent.ACTION_PACKAGE_ADDED);
61 filter.addAction(Intent.ACTION_PACKAGE_REMOVED);
62 filter.addAction(Intent.ACTION_PACKAGE_CHANGED);
63 filter.addAction(Intent.ACTION_PACKAGE_REPLACED);
64 filter.addAction(Intent.ACTION_PACKAGE_RESTARTED);
96 Intent intent = new Intent(MediaRouteProviderService.SERVICE_INTERFACE);
141 public void onReceive(Context context, Intent intent) {
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DHwTests.java20 import android.content.Intent;
45 Intent intent = getIntent();
61 Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
125 protected Intent activityIntent(String pkg, String componentName) {
126 Intent result = new Intent();
131 protected Intent browseIntent(String path) {
132 Intent resul
[all...]
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
H A DVectorDrawableTest.java19 import android.content.Intent;
44 Intent intent = getIntent();
60 Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
124 protected Intent activityIntent(String pkg, String componentName) {
125 Intent result = new Intent();
130 protected Intent browseIntent(String path) {
131 Intent resul
[all...]
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
H A DMemoryUsageTest.java25 import android.content.Intent;
65 private Map<String, Intent> mNameToIntent;
111 Intent intent = new Intent(Intent.ACTION_MAIN);
112 intent.addCategory(Intent.CATEGORY_HOME);
153 mNameToIntent = new HashMap<String, Intent>();
158 Intent intentToResolve = new Intent(Intent
[all...]
/frameworks/base/core/java/android/content/
H A DContextWrapper.java322 public void startActivity(Intent intent) {
328 public void startActivityAsUser(Intent intent, UserHandle user) {
333 public void startActivity(Intent intent, Bundle options) {
339 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) {
344 public void startActivities(Intent[] intents) {
349 public void startActivities(Intent[] intents, Bundle options) {
355 public void startActivitiesAsUser(Intent[] intents, Bundle options, UserHandle userHandle) {
361 Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)
369 Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags,
376 public void sendBroadcast(Intent inten
[all...]
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
H A DProcessErrorsTest.java23 import android.content.Intent;
45 private final Intent mHomeIntent;
58 mHomeIntent = new Intent(Intent.ACTION_MAIN);
59 mHomeIntent.addCategory(Intent.CATEGORY_HOME);
60 mHomeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
156 final Intent intent = intentForActivity(app);
237 final Intent launchable = new Intent(Intent
[all...]
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/
H A DDemoModeController.java21 import android.content.Intent;
225 final Intent intent = new Intent("com.android.systemui.demo");
234 final Intent intent = new Intent("com.android.systemui.demo");
256 final Intent intent = new Intent("com.android.systemui.demo");
269 final Intent intent = new Intent("com.android.systemui.demo");
294 final Intent inten
[all...]
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DBatteryController.java23 import android.content.Intent;
146 Intent intent = new Intent(ACTION_CHARGING_STABLE);
154 filter.addAction(Intent.ACTION_BATTERY_LOW);
155 filter.addAction(Intent.ACTION_BATTERY_OKAY);
157 filter.addAction(Intent.ACTION_POWER_CONNECTED);
158 filter.addAction(Intent.ACTION_POWER_DISCONNECTED);
175 public void onReceive(Context context, Intent intent) {
180 public void onReceiveInternal(Intent intent) {
182 if (Intent
[all...]

Completed in 841 milliseconds

1234567891011>>