Searched refs:Intent (Results 176 - 200 of 820) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/notificationtests/src/android/app/
H A DNotificationStressTest.java21 import android.content.Intent;
84 Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"));
/frameworks/base/media/java/android/media/session/
H A DISessionCallback.aidl19 import android.content.Intent;
29 void onMediaButton(in Intent mediaButtonIntent, int sequenceNumber, in ResultReceiver cb);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaMimeTest.java22 import android.content.Intent;
117 Intent viewIntent = new Intent(Intent.ACTION_VIEW);
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportWarningActivity.java27 import android.content.Intent;
41 private Intent mSendIntent;
48 mSendIntent = getIntent().getParcelableExtra(Intent.EXTRA_INTENT);
52 mSendIntent.hasExtra(Intent.EXTRA_STREAM);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNextAlarmController.java22 import android.content.Intent;
40 filter.addAction(Intent.ACTION_USER_SWITCHED);
60 public void onReceive(Context context, Intent intent) {
62 if (action.equals(Intent.ACTION_USER_SWITCHED)
/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java22 import android.content.Intent;
63 * {@link android.app.Service#startService(Intent) Service.startService(Intent)} or
64 * {@link android.app.Service#bindService(Intent, ServiceConnection, int)
65 * Service.bindService(Intent, ServiceConnection, int)}, as appropriate. It also stores
116 private Intent mServiceIntent = null;
177 * {@link android.content.Context#startService(Intent) Context.startService(Intent)} with
178 * an {@link android.content.Intent} that identifies a service.
182 * @param intent An Intent tha
[all...]
H A DActivityInstrumentationTestCase2.java20 import android.content.Intent;
33 * {@link #setActivityIntent(Intent)}).</li>
51 Intent mActivityIntent = null;
84 * {@link #setActivityIntent(Intent)} and/or {@link #setActivityInitialTouchMode(boolean)}
114 * Call this method before the first call to {@link #getActivity} to inject a customized Intent
122 * {@link #setActivityIntent(Intent)} from {@link #setUp()}.
124 * <p>The default Intent (if this method is not called) is:
125 * action = {@link Intent#ACTION_MAIN}
126 * flags = {@link Intent#FLAG_ACTIVITY_NEW_TASK}
129 * @param i The Intent t
[all...]
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerMeasurement.java19 import android.content.Intent;
44 Intent intent = new Intent(mInst.getContext(), PowerTestActivity.class);
45 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainInteractionService.java19 import android.content.Intent;
76 public int onStartCommand(Intent intent, int flags, int startId) {
78 args.putParcelable("intent", new Intent(this, TestInteractionActivity.class));
95 Intent enroll = mHotwordDetector.createEnrollIntent();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCellBroadcastHandler.java23 import android.content.Intent;
81 Intent intent;
84 intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION);
89 intent = new Intent(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRemotePlaybackClient.java21 import android.content.Intent;
74 Intent itemStatusIntent = new Intent(StatusReceiver.ACTION_ITEM_STATUS_CHANGED);
79 Intent sessionStatusIntent = new Intent(StatusReceiver.ACTION_SESSION_STATUS_CHANGED);
297 Intent intent = new Intent(action);
342 Intent intent = new Intent(MediaControlIntent.ACTION_SEEK);
373 Intent inten
[all...]
/frameworks/base/core/java/android/view/
H A DMenu.java21 import android.content.Intent;
246 * for a particular Intent. The Intent is most often configured with a null
248 * either the {@link Intent#CATEGORY_ALTERNATIVE} or
249 * {@link Intent#CATEGORY_SELECTED_ALTERNATIVE} to find activities that have
251 * use any Intent you want.
267 * appropriate Intent with the item; this means the activity will
282 * @param intent Intent describing the kinds of items to populate in the
296 ComponentName caller, Intent[] specifics,
297 Intent inten
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DAsyncService.java20 import android.content.Intent;
31 * The Start Intent arrives as CMD_ASYNC_SERVICE_ON_START_INTENT with msg.arg1 = flags,
94 public int onStartCommand(Intent intent, int flags, int startId) {
125 public IBinder onBind(Intent intent) {
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListManagedCursor.java20 import android.content.Intent;
56 Intent dummyIntent = new Intent(this, ListSimple.class);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DTaskDescription.java20 import android.content.Intent;
28 final Intent intent; // launch intent for application
39 ResolveInfo _resolveInfo, Intent _intent,
H A DRecents.java22 import android.content.Intent;
98 Intent intent = new Intent(RecentsActivity.CLOSE_RECENTS_INTENT);
118 Intent intent = new Intent(RecentsActivity.TOGGLE_RECENTS_INTENT);
121 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
122 | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
241 Intent intent =
242 new Intent(RecentsActivity.WINDOW_ANIMATION_START_INTENT);
267 Intent inten
[all...]
/frameworks/base/services/core/java/com/android/server/telecom/
H A DTelecomLoaderService.java21 import android.content.Intent;
97 Intent intent = new Intent(SERVICE_ACTION);
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
H A DAlarmImpl.java22 import android.content.Intent;
52 Intent wakupIntent = new Intent(WakeUpCall.WAKEUP_CALL);
/frameworks/opt/telephony/src/java/android/telephony/
H A DCarrierMessagingServiceManager.java21 import android.content.Intent;
61 Intent intent = new Intent(CarrierMessagingService.SERVICE_INTERFACE);
/frameworks/support/v4/api20/android/support/v4/app/
H A DRemoteInputCompatApi20.java20 import android.content.Intent;
55 static Bundle getResultsFromIntent(Intent intent) {
60 Intent intent, Bundle results) {
/frameworks/support/v4/java/android/support/v4/content/
H A DWakefulBroadcastReceiver.java22 import android.content.Intent;
67 * Do a {@link android.content.Context#startService(android.content.Intent)
69 * This will modify the Intent to hold an extra identifying the wake lock;
71 * Service.onStartCommand}, it should pass back the Intent it receives there to
72 * {@link #completeWakefulIntent(android.content.Intent)} in order to release
76 * @param intent The Intent with which to start the service, as per
77 * {@link android.content.Context#startService(android.content.Intent)
80 public static ComponentName startWakefulService(Context context, Intent intent) {
108 * @param intent The Intent as originally generated by {@link #startWakefulService}.
112 public static boolean completeWakefulIntent(Intent inten
[all...]
/frameworks/base/services/core/java/com/android/server/storage/
H A DDeviceStorageMonitorService.java28 import android.content.Intent;
109 private final Intent mStorageLowIntent;
110 private final Intent mStorageOkIntent;
111 private final Intent mStorageFullIntent;
112 private final Intent mStorageNotFullIntent;
333 mStorageLowIntent = new Intent(Intent.ACTION_DEVICE_STORAGE_LOW);
334 mStorageLowIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
335 mStorageOkIntent = new Intent(Intent
[all...]
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java27 import android.content.Intent;
67 private Map<String, Intent> mNameToIntent;
178 mNameToIntent = new LinkedHashMap<String, Intent>();
183 Intent intentToResolve = new Intent(Intent.ACTION_MAIN);
184 intentToResolve.addCategory(Intent.CATEGORY_LAUNCHER);
190 Intent startIntent = new Intent(intentToResolve);
191 startIntent.setFlags(Intent
[all...]
/frameworks/base/services/core/java/com/android/server/search/
H A DSearchables.java24 import android.content.Intent;
214 final Intent intent = new Intent(Intent.ACTION_SEARCH);
221 final Intent webSearchIntent = new Intent(Intent.ACTION_WEB_SEARCH);
284 Intent intent = new Intent(SearchManager.INTENT_ACTION_GLOBAL_SEARCH);
319 Intent inten
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalService.java20 import android.content.Intent;
52 public void onStart(Intent intent, int startId) {
87 public IBinder onBind(Intent intent) {
93 public boolean onUnbind(Intent intent) {
109 public void onRebind(Intent intent) {

Completed in 814 milliseconds

1234567891011>>