HomeSort by relevance Sort by last modified time
    Searched defs:intent (Results 301 - 325 of 1045) sorted by null

<<11121314151617181920>>

  /packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
LiveWallpaperChange.java 30 import android.content.Intent;
58 Intent queryIntent = new Intent(WallpaperService.SERVICE_INTERFACE);
78 Intent intent = new Intent(WallpaperService.SERVICE_INTERFACE); local
79 intent.setClassName(info.getPackageName(), info.getServiceName());
80 LiveWallpaperPreview.showPreview(this, 0, intent, info);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
IntentDrivenTestActivity.java 5 import android.content.Intent;
16 * A generic activity for intent based tests.
18 * This activity can be reused for various tests that are intent based. The activity consists of a
22 * The intents can either be generated statically and passed as an extra to the intent that started
23 * this activity or in some cases where the intent needs to be based on dynamic data (for example
24 * time of day), an {@link IntentFactory} class name can be passed instead. This intent factory
25 * will dynamically create the intent when the button is clicked based on the test id and the
44 final Intent intent = getIntent(); local
45 if (!intent.hasExtra(EXTRA_ID
    [all...]
ManifestTestListAdapter.java 20 import android.content.Intent;
42 * <li>REQUIRED: Add an activity to the AndroidManifest.xml with an intent filter with a
45 * <intent-filter>
46 * <action android:name="android.intent.action.MAIN" />
47 * <category android:name="android.cts.intent.category.MANUAL_TEST" />
48 * </intent-filter>
124 Intent mainIntent = new Intent(Intent.ACTION_MAIN);
153 Intent intent = getActivityIntent(info.activityInfo) local
202 Intent intent = new Intent(); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
ConnectionAccessServerActivity.java 27 import android.content.Intent;
65 startActivity(new Intent(Settings.ACTION_BLUETOOTH_SETTINGS));
86 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE); local
87 startActivityForResult(intent, ENABLE_BLUETOOTH_REQUEST);
92 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
116 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE) local
    [all...]
  /cts/suite/cts/deviceTests/browserbench/src/com/android/cts/browser/
BrowserBenchTest.java 19 import android.content.Intent;
145 Intent intent = new Intent(Intent.ACTION_VIEW, uri); local
146 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
148 intent.putExtra(Browser.EXTRA_APPLICATION_ID, getContext().getPackageName());
149 getContext().startActivity(intent);
  /cts/tests/tests/holo/src/android/holo/cts/
ThemeTestActivity.java 20 import android.content.Intent;
55 private Iterator<Intent> mIterator;
109 Intent intent = mIterator.next(); local
110 intent.setClass(this, LayoutTestActivity.class);
111 startActivityForResult(intent, mRequestCode);
126 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
144 private void handleResult(int resultCode, Intent data) {
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
GlVboPerfTest.java 20 import android.content.Intent;
91 Intent intent = new Intent(); local
92 intent.putExtra(GlPlanetsActivity.INTENT_EXTRA_NUM_FRAMES,
94 intent.putExtra(GlPlanetsActivity.INTENT_EXTRA_NUM_PLANETS, numPlanets);
95 intent.putExtra(GlPlanetsActivity.INTENT_EXTRA_USE_VBO_VERTICES, useVboVertex);
96 intent.putExtra(GlPlanetsActivity.INTENT_EXTRA_USE_VBO_INDICES, useVboIndex);
97 intent.putExtra(GlPlanetsActivity.INTENT_EXTRA_NUM_INDEX_BUFFERS, numIndexBuffers);
99 setActivityIntent(intent);
    [all...]
  /developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/BluetoothLeGattSample/src/main/java/com/example/android/bluetoothlegatt/
BluetoothLeService.java 30 import android.content.Intent;
118 final Intent intent = new Intent(action); local
119 sendBroadcast(intent);
124 final Intent intent = new Intent(action); local
141 intent.putExtra(EXTRA_DATA, String.valueOf(heartRate));
149 intent.putExtra(EXTRA_DATA, new String(data) + "\n" + stringBuilder.toString())
    [all...]
  /developers/samples/android/content/multiuser/AppRestrictions/AppRestrictionsSample/src/main/java/com/example/android/apprestrictions/
CustomRestrictionsFragment.java 21 import android.content.Intent;
100 activity.getIntent().getBundleExtra(Intent.EXTRA_RESTRICTIONS_BUNDLE);
113 Intent.EXTRA_RESTRICTIONS_LIST);
174 Intent intent = new Intent(getActivity().getIntent()); local
175 intent.putParcelableArrayListExtra(Intent.EXTRA_RESTRICTIONS_LIST,
177 getActivity().setResult(Activity.RESULT_OK, intent);
196 Intent intent = new Intent(getActivity().getIntent()) local
    [all...]
  /development/apps/Development/src/com/android/development/
PackageBrowser.java 23 import android.content.Intent;
89 public void onReceive(Context context, Intent intent) {
91 // from the intent and just add to or delete from the mPackageInfoList
180 IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED);
181 filter.addAction(Intent.ACTION_PACKAGE_REMOVED);
182 filter.addAction(Intent.ACTION_PACKAGE_CHANGED);
193 Intent intent = new Intent( local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
VoiceRecognition.java 24 import android.content.Intent;
45 * Sample code that invokes the speech recognition intent API.
80 new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);
104 * Fire an intent to start the speech recognition activity.
107 Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); local
110 intent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, getClass().getPackage().getName());
113 intent.putExtra(RecognizerIntent.EXTRA_PROMPT, "Speech recognition demo");
116 intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL
    [all...]
  /development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
CustomRestrictionsFragment.java 21 import android.content.Intent;
100 activity.getIntent().getBundleExtra(Intent.EXTRA_RESTRICTIONS_BUNDLE);
113 Intent.EXTRA_RESTRICTIONS_LIST);
174 Intent intent = new Intent(getActivity().getIntent()); local
175 intent.putParcelableArrayListExtra(Intent.EXTRA_RESTRICTIONS_LIST,
177 getActivity().setResult(Activity.RESULT_OK, intent);
196 Intent intent = new Intent(getActivity().getIntent()) local
    [all...]
  /development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
BluetoothLeService.java 30 import android.content.Intent;
118 final Intent intent = new Intent(action); local
119 sendBroadcast(intent);
124 final Intent intent = new Intent(action); local
141 intent.putExtra(EXTRA_DATA, String.valueOf(heartRate));
149 intent.putExtra(EXTRA_DATA, new String(data) + "\n" + stringBuilder.toString())
    [all...]
  /development/samples/training/NavigationDrawer/src/com/example/android/navigationdrawerexample/
MainActivity.java 25 import android.content.Intent;
152 // create intent to perform web search for this planet
153 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); local
154 intent.putExtra(SearchManager.QUERY, getActionBar().getTitle());
155 // catch event that there's no activity to handle intent
156 if (intent.resolveActivity(getPackageManager()) != null) {
157 startActivity(intent);
    [all...]
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
SelectActionModeCallback.java 11 import android.content.Intent;
143 Intent send = new Intent(Intent.ACTION_SEND);
145 send.putExtra(Intent.EXTRA_TEXT, selection);
147 Intent i = Intent.createChooser(send, getContext().getString(
149 i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
158 Intent i = new Intent(Intent.ACTION_WEB_SEARCH)
190 Intent intent = new Intent(Intent.ACTION_SEND); local
197 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); local
    [all...]
  /external/droiddriver/samples/testapp/src/com/google/android/apps/common/testing/ui/testapp/
SendActivity.java 6 import android.content.Intent;
23 * Simple activity used for validating intent sending and UI behavior.
57 Intent intent = new Intent(this, DisplayActivity.class); local
59 intent.putExtra(EXTRA_DATA, editText.getText().toString());
60 startActivity(intent);
64 Intent intentToCall = new Intent(Intent.ACTION_CALL)
    [all...]
  /frameworks/base/core/java/android/test/
InstrumentationTestCase.java 21 import android.content.Intent;
75 * <p>The {@link Intent} used to launch the Activity is:
76 * action = {@link Intent#ACTION_MAIN}
93 Intent intent = new Intent(Intent.ACTION_MAIN); local
95 intent.putExtras(extras);
97 return launchActivityWithIntent(pkg, activityCls, intent);
101 * Utility method for launching an activity with a specific Intent
    [all...]
  /frameworks/base/keystore/java/android/security/
Credentials.java 21 import android.content.Intent;
88 * Intent extra: install the certificate bundle as this UID instead of
94 * Intent extra: name for the user's private key.
99 * Intent extra: data for the user's private key in PEM-encoded PKCS#8.
104 * Intent extra: name for the user's certificate.
109 * Intent extra: data for the user's certificate in PEM-encoded X.509.
114 * Intent extra: name for CA certificate chain
119 * Intent extra: data for CA certificate chain in PEM-encoded X.509.
175 Intent intent = new Intent(UNLOCK_ACTION) local
184 Intent intent = KeyChain.createInstallIntent(); local
193 Intent intent = KeyChain.createInstallIntent(); local
204 Intent intent = KeyChain.createInstallIntent(); local
    [all...]
KeyChain.java 22 import android.content.Intent;
75 * certificates via the {@code Intent} provided by {@link
77 * Intent} will be accessible via {@link #choosePrivateKeyAlias} while
81 // TODO reference intent for credential installation when public
133 * the {@code Intent} returned by {@link #createInstallIntent}.
140 * the {@code Intent} returned by {@link #createInstallIntent}.
152 * Optional extra for use with the {@code Intent} returned by
186 * Returns an {@code Intent} that can be used for credential
187 * installation. The intent may be used without any extras, in
202 public static Intent createInstallIntent()
203 Intent intent = new Intent(ACTION_INSTALL); local
269 Intent intent = new Intent(ACTION_CHOOSER); local
448 Intent intent = new Intent(IKeyChainService.class.getName()); local
    [all...]
  /frameworks/base/media/java/android/media/
MediaScannerConnection.java 21 import android.content.Intent;
115 Intent intent = new Intent(IMediaScannerService.class.getName()); local
116 intent.setComponent(
119 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
MediaFrameworkTest.java 21 import android.content.Intent;
124 Intent intent = new Intent(Intent.ACTION_VIEW); local
125 intent.setDataAndType(path, mimetype);
126 startActivity(intent);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
Recents.java 21 import android.content.Intent;
54 Intent intent = new Intent(RecentsActivity.TOGGLE_RECENTS_INTENT); local
55 intent.setClassName("com.android.systemui",
57 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
58 | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
65 mContext.startActivityAsUser(intent, opts.toBundle(), new UserHandle(
69 mContext.startActivityAsUser(intent, new UserHandle
196 Intent intent = new Intent(RecentsActivity.PRELOAD_INTENT); local
207 Intent intent = new Intent(RecentsActivity.CANCEL_PRELOAD_INTENT); local
218 Intent intent = new Intent(RecentsActivity.CLOSE_RECENTS_INTENT); local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
StorageNotification.java 23 import android.content.Intent;
131 Intent intent = new Intent(); local
132 intent.setClass(mContext, com.android.systemui.usb.UsbStorageActivity.class);
133 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0);
199 Intent intent = new Intent(); local
200 intent.setClass(mContext, com.android.internal.app.ExternalMediaFormatActivity.class)
213 Intent intent = new Intent(); local
255 Intent intent = new Intent(); local
308 Intent intent = new Intent(); local
397 Intent intent = new Intent(); local
    [all...]
UsbPermissionActivity.java 23 import android.content.Intent;
65 Intent intent = getIntent(); local
66 mDevice = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE);
67 mAccessory = (UsbAccessory)intent.getParcelableExtra(UsbManager.EXTRA_ACCESSORY);
68 mPendingIntent = (PendingIntent)intent.getParcelableExtra(Intent.EXTRA_INTENT);
69 mUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
70 mPackageName = intent.getStringExtra("package")
123 Intent intent = new Intent(); local
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
PhoneFallbackEventHandler.java 23 import android.content.Intent;
121 Intent intent = new Intent(Intent.ACTION_VOICE_COMMAND); local
122 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
125 mContext.startActivity(intent);
143 // Broadcast an intent that the Camera button was longpressed
144 Intent intent = new Intent(Intent.ACTION_CAMERA_BUTTON, null) local
163 Intent intent = new Intent(Intent.ACTION_SEARCH_LONG_PRESS); local
250 Intent intent = new Intent(Intent.ACTION_CALL_BUTTON); local
    [all...]

Completed in 1038 milliseconds

<<11121314151617181920>>