HomeSort by relevance Sort by last modified time
    Searched refs:intent (Results 576 - 600 of 4825) sorted by null

<<21222324252627282930>>

  /cts/tests/vr/src/android/vr/cts/
VrDisplayTest.java 19 import android.content.Intent;
38 Intent intent = new Intent(); local
39 intent.putExtra(OpenGLESActivity.EXTRA_LATCH_COUNT, latchCount);
40 intent.putExtra(OpenGLESActivity.EXTRA_VIEW_INDEX, viewIndex);
41 intent.putExtra(OpenGLESActivity.EXTRA_PROTECTED, 0);
42 intent.putExtra(OpenGLESActivity.EXTRA_PRIORITY, 0);
43 setActivityIntent(intent);
  /developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessageReplyReceiver.java 22 import android.content.Intent;
40 public void onReceive(Context context, Intent intent) {
41 if (MessagingService.REPLY_ACTION.equals(intent.getAction())) {
42 int conversationId = intent.getIntExtra(MessagingService.CONVERSATION_ID, -1);
43 CharSequence reply = getMessageText(intent);
64 * Get the message text from the intent.
65 * Note that you should call {@code RemoteInput#getResultsFromIntent(intent)} to process
68 private CharSequence getMessageText(Intent intent) {
    [all...]
  /developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/provider/
ComplicationToggleReceiver.java 22 import android.content.Intent;
44 public void onReceive(Context context, Intent intent) {
45 Bundle extras = intent.getExtras();
68 * Returns a pending intent, suitable for use as a tap intent, that causes a complication to be
73 Intent intent = new Intent(context, ComplicationToggleReceiver.class); local
74 intent.putExtra(EXTRA_PROVIDER_COMPONENT, provider)
    [all...]
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
DetailActivity.java 22 import android.content.Intent;
42 Intent intent = getLaunchIntent(activity, attraction); local
46 ActivityCompat.startActivity(activity, intent, options.toBundle());
48 activity.startActivity(intent);
52 public static Intent getLaunchIntent(Context context, String attraction) {
53 Intent intent = new Intent(context, DetailActivity.class); local
54 intent.putExtra(EXTRA_ATTRACTION, attraction)
    [all...]
  /developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessageReplyReceiver.java 22 import android.content.Intent;
40 public void onReceive(Context context, Intent intent) {
41 if (MessagingService.REPLY_ACTION.equals(intent.getAction())) {
42 int conversationId = intent.getIntExtra(MessagingService.CONVERSATION_ID, -1);
43 CharSequence reply = getMessageText(intent);
64 * Get the message text from the intent.
65 * Note that you should call {@code RemoteInput#getResultsFromIntent(intent)} to process
68 private CharSequence getMessageText(Intent intent) {
    [all...]
  /developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/provider/
ComplicationToggleReceiver.java 22 import android.content.Intent;
44 public void onReceive(Context context, Intent intent) {
45 Bundle extras = intent.getExtras();
68 * Returns a pending intent, suitable for use as a tap intent, that causes a complication to be
73 Intent intent = new Intent(context, ComplicationToggleReceiver.class); local
74 intent.putExtra(EXTRA_PROVIDER_COMPONENT, provider)
    [all...]
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
DetailActivity.java 22 import android.content.Intent;
42 Intent intent = getLaunchIntent(activity, attraction); local
46 ActivityCompat.startActivity(activity, intent, options.toBundle());
48 activity.startActivity(intent);
52 public static Intent getLaunchIntent(Context context, String attraction) {
53 Intent intent = new Intent(context, DetailActivity.class); local
54 intent.putExtra(EXTRA_ATTRACTION, attraction)
    [all...]
  /development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
MessageReplyReceiver.java 22 import android.content.Intent;
40 public void onReceive(Context context, Intent intent) {
41 if (MessagingService.REPLY_ACTION.equals(intent.getAction())) {
42 int conversationId = intent.getIntExtra(MessagingService.CONVERSATION_ID, -1);
43 CharSequence reply = getMessageText(intent);
64 * Get the message text from the intent.
65 * Note that you should call {@code RemoteInput#getResultsFromIntent(intent)} to process
68 private CharSequence getMessageText(Intent intent) {
    [all...]
  /development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DetailActivity.java 22 import android.content.Intent;
42 Intent intent = getLaunchIntent(activity, attraction); local
46 ActivityCompat.startActivity(activity, intent, options.toBundle());
48 activity.startActivity(intent);
52 public static Intent getLaunchIntent(Context context, String attraction) {
53 Intent intent = new Intent(context, DetailActivity.class); local
54 intent.putExtra(EXTRA_ATTRACTION, attraction)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/app/activity/
LocalReceiver.java 22 import android.content.Intent;
34 public void onReceive(Context context, Intent intent) {
36 if (BroadcastTest.BROADCAST_FAIL_REGISTER.equals(intent.getAction())) {
45 } else if (BroadcastTest.BROADCAST_FAIL_BIND.equals(intent.getAction())) {
55 context.bindService(new Intent(context, LocalService.class), sc, 0);
61 } else if (LaunchpadActivity.BROADCAST_REPEAT.equals(intent.getAction())) {
62 Intent newIntent = new Intent(intent);
    [all...]
  /frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
WakeLoopService.java 23 import android.content.Intent;
54 public IBinder onBind(Intent intent) {
55 // no binding, just start via intent
60 public int onStartCommand(Intent intent, int flags, int startId) {
61 // get wakeup interval from intent
62 long wakeupInterval = intent.getLongExtra(WAKEUP_INTERNAL, 0);
63 long maxLoop = intent.getLongExtra(MAX_LOOP, 0);
78 Intent wakupIntent = new Intent(WakeUpCall.WAKEUP_CALL
94 Intent intent = new Intent(WakeUpCall.WAKEUP_CALL) local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
InstallCarrierAppTrampolineActivity.java 22 import android.content.Intent;
55 /** Returns intent used to start this activity */
56 public static Intent get(Context context, String packageName) {
57 Intent intent = new Intent(context, InstallCarrierAppTrampolineActivity.class); local
58 intent.putExtra(BUNDLE_KEY_PACKAGE_NAME, packageName);
59 return intent;
67 Intent intent = getIntent() local
    [all...]
  /frameworks/support/compat/src/main/java/androidx/core/app/
CoreComponentFactory.java 25 import android.content.Intent;
41 public Activity instantiateActivity(ClassLoader cl, String className, Intent intent)
43 return checkCompatWrapper(super.instantiateActivity(cl, className, intent));
54 Intent intent)
56 return checkCompatWrapper(super.instantiateReceiver(cl, className, intent));
66 public Service instantiateService(ClassLoader cl, String className, Intent intent)
68 return checkCompatWrapper(super.instantiateService(cl, className, intent));
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
ActiveDeviceManager.java 27 import android.content.Intent;
130 public void onReceive(Context context, Intent intent) {
131 String action = intent.getAction();
133 Log.e(TAG, "Received intent with null action");
139 intent).sendToTarget();
143 intent).sendToTarget();
147 intent).sendToTarget();
151 intent).sendToTarget();
155 intent).sendToTarget()
177 Intent intent = (Intent) msg.obj; local
190 Intent intent = (Intent) msg.obj; local
233 Intent intent = (Intent) msg.obj; local
249 Intent intent = (Intent) msg.obj; local
292 Intent intent = (Intent) msg.obj; local
308 Intent intent = (Intent) msg.obj; local
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
SnoozeAlarmsService.java 24 import android.content.Intent;
44 public IBinder onBind(Intent intent) {
49 public void onHandleIntent(Intent intent) {
51 long eventId = intent.getLongExtra(AlertUtils.EVENT_ID_KEY, -1);
52 long eventStart = intent.getLongExtra(AlertUtils.EVENT_START_KEY, -1);
53 long eventEnd = intent.getLongExtra(AlertUtils.EVENT_END_KEY, -1);
57 int notificationId = intent.getIntExtra(AlertUtils.NOTIFICATION_ID_KEY,
  /packages/apps/Car/Messenger/src/com/android/car/messenger/
MapMessage.java 21 import android.content.Intent;
38 * Constructs Message from {@code intent} that was received from MAP service via
41 * @param intent Intent received from MAP service.
42 * @return Message constructed from extras in {@code intent}.
43 * @throws IllegalArgumentException If {@code intent} is missing any required fields.
45 public static MapMessage parseFrom(Intent intent) {
46 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
47 String handle = intent.getStringExtra(BluetoothMapClient.EXTRA_MESSAGE_HANDLE)
    [all...]
  /packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
BluetoothPairingDialog.java 24 import android.content.Intent;
45 public void onReceive(Context context, Intent intent) {
46 String action = intent.getAction();
48 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
55 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
66 Intent intent = getIntent(); local
67 mBluetoothPairingController = new BluetoothPairingController(intent, this);
  /packages/apps/Contacts/src/com/android/contacts/util/
PhoneCapabilityTester.java 21 import android.content.Intent;
45 * Tests whether the Intent has a receiver registered. This can be used to show/hide
48 public static boolean isIntentRegistered(Context context, Intent intent) {
50 final List<ResolveInfo> receiverList = packageManager.queryIntentActivities(intent,
86 final Intent intent = new Intent(Intent.ACTION_SENDTO, local
88 final List<ResolveInfo> resolveInfos = packageManager.queryIntentActivities(intent, 0)
102 final Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); local
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/shortcuts/
ShortcutInfoFactory.java 21 import android.content.Intent;
41 /** Key for the contact ID extra (a long) stored as part of the shortcut intent. */
54 * DialerShortcut} objects. This primarily means setting the intent and adding the icon, which
63 Intent intent = new Intent(); local
64 intent.setClassName(context, "com.android.dialer.shortcuts.CallContactActivity");
65 intent.setData(shortcut.getLookupUri());
66 intent.setAction("com.android.dialer.shortcuts.CALL_CONTACT");
67 intent.putExtra(EXTRA_CONTACT_ID, shortcut.getContactId())
    [all...]
  /packages/apps/Dialer/java/com/android/voicemail/impl/sync/
SyncTask.java 20 import android.content.Intent;
46 Intent intent = BaseTask.createIntent(context, SyncTask.class, phone); local
47 intent.putExtra(EXTRA_PHONE_ACCOUNT_HANDLE, phone);
48 context.sendBroadcast(intent);
71 public Intent createRestartIntent() {
73 Intent intent = super.createRestartIntent(); local
74 intent.putExtra(EXTRA_PHONE_ACCOUNT_HANDLE, phone);
75 return intent;
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
WidgetClickHandler.java 21 import android.content.Intent;
57 Intent intent; local
59 intent = new Intent(Intent.ACTION_VIEW, uri);
61 intent.putExtra(PhotoPage.KEY_TREAT_BACK_AS_UP, true);
66 intent = new Intent(this, GalleryActivity.class);
69 intent.setFlags
    [all...]
  /packages/apps/Settings/src/com/android/settings/
ManualDisplayActivity.java 21 import android.content.Intent;
64 final Intent intent = new Intent(Intent.ACTION_VIEW); local
65 intent.setDataAndType(Uri.fromFile(file), "text/html");
67 intent.putExtra(Intent.EXTRA_TITLE, getString(R.string.settings_manual_activity_title));
68 intent.addCategory(Intent.CATEGORY_DEFAULT)
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/manageapplications/
PhotosViewHolderController.java 21 import android.content.Intent;
80 Intent intent = new Intent(); local
81 intent.setAction(android.content.Intent.ACTION_VIEW);
82 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
83 intent.setType(IMAGE_MIME_TYPE);
84 intent.putExtra(Intent.EXTRA_FROM_STORAGE, true)
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPairingDialog.java 24 import android.content.Intent;
45 public void onReceive(Context context, Intent intent) {
46 String action = intent.getAction();
48 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
55 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
66 Intent intent = getIntent(); local
67 mBluetoothPairingController = new BluetoothPairingController(intent, this);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/password/
SetNewPasswordActivityTest.java 23 import android.content.Intent;
62 Intent intent = shadowActivity.getNextStartedActivityForResult().intent; local
64 assertThat(intent.getComponent())
76 Intent intent = shadowActivity.getNextStartedActivityForResult().intent; local
78 assertThat(intent.getComponent())

Completed in 818 milliseconds

<<21222324252627282930>>