HomeSort by relevance Sort by last modified time
    Searched defs:Intent (Results 26 - 50 of 101) sorted by null

12 3 4 5

  /packages/apps/Nfc/src/com/android/nfc/beam/
BluetoothOppHandover.java 23 import android.content.Intent;
46 "android.nfc.handover.intent.action.HANDOVER_SEND";
49 "android.nfc.handover.intent.action.HANDOVER_SEND_MULTIPLE";
99 Intent intent = new Intent(); local
100 intent.setPackage(mContext.getString(R.string.bluetooth_package));
102 intent.setType(mimeType);
103 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice);
110 Intent.FLAG_GRANT_READ_URI_PERMISSION)
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDebugActivity.java 20 import android.content.Intent;
183 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
191 Intent intent = new Intent(Intent.ACTION_SEND); local
192 intent.putExtra(Intent.EXTRA_SUBJECT, getString(R.string.debug_tool_email_subject));
193 intent.putExtra(Intent.EXTRA_TEXT, getString(R.string.debug_tool_email_body))
    [all...]
  /packages/providers/TvProvider/tests/src/com/android/providers/tv/
PackageRemovedReceiverTest.java 23 import android.content.Intent;
185 mReceiver.onReceive(getContext(), new Intent(Intent.ACTION_PACKAGE_FULLY_REMOVED,
192 mReceiver.onReceive(getContext(), new Intent(Intent.ACTION_PACKAGE_FULLY_REMOVED,
  /developers/build/prebuilts/gradle/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
ScopedDirectoryAccessFragment.java 22 import android.content.Intent;
86 public void onActivityResult(int requestCode, int resultCode, Intent data) {
90 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
121 Intent intent = storageVolume.createAccessIntent(directoryName);
122 startActivityForResult(intent, OPEN_DIRECTORY_REQUEST_CODE);
150 Intent intent = volume.createAccessIntent(directoryName);
151 startActivityForResult(intent, OPEN_DIRECTORY_REQUEST_CODE)
    [all...]
  /developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
ScopedDirectoryAccessFragment.java 22 import android.content.Intent;
94 public void onActivityResult(int requestCode, int resultCode, Intent data) {
98 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
126 // TODO: use API constant for intent name
127 Intent intent = new Intent("android.settings.DIRECTORY_ACCESS_SETTINGS");
128 startActivity(intent);
148 Intent intent = storageVolume.createAccessIntent(directoryName)
    [all...]
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
ContentFragment.java 24 import android.content.Intent;
180 Intent intent = new Intent(getActivity(), MainActivity.class); local
181 intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); // Reuse the existing instance
182 startActivity(intent);
298 * and then invoke the appropriate share intent.
346 * intent to share the photo. This code is run on the main (UI) thread.
354 Intent shareIntent = new Intent(Intent.ACTION_SEND)
    [all...]
  /development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/
ScopedDirectoryAccessFragment.java 22 import android.content.Intent;
86 public void onActivityResult(int requestCode, int resultCode, Intent data) {
90 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
121 Intent intent = storageVolume.createAccessIntent(directoryName);
122 startActivityForResult(intent, OPEN_DIRECTORY_REQUEST_CODE);
150 Intent intent = volume.createAccessIntent(directoryName);
151 startActivityForResult(intent, OPEN_DIRECTORY_REQUEST_CODE)
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
LogcatViewer.java 21 import android.content.Intent;
135 startActivity(new Intent(this, Preferences.class));
137 Intent intent = new Intent(Intent.ACTION_SEND); local
138 intent.putExtra(Intent.EXTRA_TEXT, getAsString().toString());
139 intent.putExtra(Intent.EXTRA_SUBJECT, "Logcat Dump")
    [all...]
ScriptEditor.java 24 import android.content.Intent;
203 Intent intent = new Intent(this, ScriptingLayerService.class); local
204 intent.setAction(Constants.ACTION_LAUNCH_FOREGROUND_SCRIPT);
205 intent.putExtra(Constants.EXTRA_SCRIPT_PATH, mScript.getAbsolutePath());
206 startService(intent);
213 startActivity(new Intent(this, Preferences.class));
215 Intent intent = new Intent(this, ApiBrowser.class) local
222 Intent intent = new Intent(Intent.ACTION_SEND); local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupUtil.java 22 import android.content.Intent;
142 /** Returns an Intent to send emails/phones to some activity/app */
145 final Intent intent = new Intent(Intent.ACTION_SENDTO, local
148 Intent.createChooser(intent, title), RESULT_SEND_TO_SELECTION);
151 /** Returns an Intent to pick emails/phones to send to selection (or group) */
152 public static Intent createSendToSelectionPickerIntent(Context context, long[] ids
154 final Intent intent = new Intent(context, ContactSelectionActivity.class); local
170 final Intent intent = new Intent(context, ContactSelectionActivity.class); local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStoreUiTest.java 23 import android.content.Intent;
90 Intent.FLAG_GRANT_READ_URI_PERMISSION
91 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
161 final Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); local
162 intent.putExtra(MediaStore.EXTRA_OUTPUT,
166 final ResolveInfo ri = context.getPackageManager().resolveActivity(intent, 0);
180 mActivity.startActivityForResult(intent, REQUEST_CODE);
287 final Intent intent = volume.createAccessIntent(directoryName) local
    [all...]
  /frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
NekoLand.java 24 import android.content.Intent;
298 Intent intent = new Intent(Intent.ACTION_SEND); local
299 intent.putExtra(Intent.EXTRA_STREAM, uri);
300 intent.putExtra(Intent.EXTRA_SUBJECT, cat.getName());
301 intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION)
    [all...]
  /frameworks/base/telephony/java/android/telephony/mbms/
MbmsDownloadReceiver.java 23 import android.content.Intent;
76 * Indicates that the intent sent had an invalid action. This will be the result if
77 * {@link Intent#getAction()} returns anything other than
88 * Indicates that the intent was missing some required extras.
142 public void onReceive(Context context, Intent intent) {
145 if (!verifyIntentContents(context, intent)) {
149 if (!Objects.equals(intent.getStringExtra(VendorUtils.EXTRA_TEMP_FILE_ROOT),
155 if (VendorUtils.ACTION_DOWNLOAD_RESULT_INTERNAL.equals(intent.getAction())) {
156 moveDownloadedFile(context, intent);
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
MenuExecutor.java 26 import android.content.Intent;
124 ((Activity) mActivity).startActivity((Intent) message.obj);
220 private Intent getIntentBySingleSelectedPath(String action) {
224 return new Intent(action).setDataAndType(manager.getContentUri(path), mimeType);
243 Intent intent = getIntentBySingleSelectedPath(CropActivity.CROP_ACTION); local
244 ((Activity) mActivity).startActivity(intent);
248 Intent intent = getIntentBySingleSelectedPath(Intent.ACTION_EDIT local
254 Intent intent = getIntentBySingleSelectedPath(Intent.ACTION_ATTACH_DATA) local
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/
MultiChoiceManager.java 21 import android.content.Intent;
167 // but apparently before the ArrayList is serialized in the intent
183 public boolean onShareTargetSelected(ShareActionProvider provider, Intent intent) {
230 Intent intent = new Intent(); local
235 intent.setDataAndType(uri, mime)
236 .setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
237 .setAction(Intent.ACTION_EDIT)
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
RunningServiceDetails.java 14 import android.content.Intent;
102 getActivity().stopService(new Intent().setComponent(si.mRunningService.service));
161 Intent result = new Intent(Intent.ACTION_APP_ERROR);
163 result.putExtra(Intent.EXTRA_BUG_REPORT, report);
164 result.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
172 Intent.FLAG_ACTIVITY_NEW_TASK
173 | Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET,
174 Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET, 0)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
WebViewContextMenu.java 24 import android.content.Intent;
105 new Intent(Intent.ACTION_DIAL, Uri.parse(WebView.SCHEME_TEL)),
108 new Intent(Intent.ACTION_SENDTO, Uri.parse("smsto:")),
156 * Sends an intent and reports the analytics event.
159 private Intent mIntent;
165 public SendIntent(Intent intent, String analyticsLabel) {
167 setIntent(intent);
285 final Intent intent = new Intent(Intent.ACTION_DIAL, local
296 final Intent intent = local
405 final Intent intent = mIntentBuilder.createInlineAttachmentViewIntent(mActivity, url, msg); local
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
AccessPermissionWithDiffSigTest.java 35 import android.content.Intent;
120 Intent intent = item.getIntent(); local
121 uri = intent.getData();
125 ClipData intentClip = intent.getClipData();
214 Intent intent = item.getIntent(); local
215 uri = intent.getData();
219 ClipData intentClip = intent.getClipData();
313 // Intent
315 Intent intent = new Intent(Intent.ACTION_VIEW, grantClip4Uri); local
327 Intent intent = new Intent(); local
466 Intent intent = new Intent(); local
561 Intent intent = new Intent(); local
568 Intent intent = new Intent(); local
577 Intent intent = new Intent(); local
585 Intent intent = new Intent(); local
592 Intent intent = new Intent(); local
608 Intent intent = item.getIntent(); local
720 Intent intent = item.getIntent(); local
1346 Intent intent = new Intent(); local
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/libs/
locale_platform.jar 
  /packages/apps/TV/src/com/android/tv/
MainActivity.java 28 import android.content.Intent;
207 SYSTEM_INTENT_FILTER.addAction(Intent.ACTION_SCREEN_OFF);
208 SYSTEM_INTENT_FILTER.addAction(Intent.ACTION_SCREEN_ON);
209 SYSTEM_INTENT_FILTER.addAction(Intent.ACTION_TIME_CHANGED);
313 public void onReceive(Context context, Intent intent) {
314 switch (intent.getAction()) {
315 case Intent.ACTION_SCREEN_OFF:
325 case Intent.ACTION_SCREEN_ON:
340 case Intent.ACTION_TIME_CHANGED
717 Intent intent = getIntent(); local
1106 Intent intent = CommonUtils.createSetupIntent(input); local
1154 Intent intent = new Intent(Settings.ACTION_CAPTIONING_SETTINGS); local
    [all...]
  /development/samples/Home/src/com/example/android/home/
Home.java 25 import android.content.Intent;
148 protected void onNewIntent(Intent intent) {
149 super.onNewIntent(intent);
152 if (Intent.ACTION_MAIN.equals(intent.getAction())) {
194 * Registers various intent receivers. The current implementation registers
195 * only a wallpaper intent receiver to let other applications change the
199 IntentFilter filter = new IntentFilter(Intent.ACTION_WALLPAPER_CHANGED);
202 filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED)
279 final Intent intent = new Intent(Intent.ACTION_MAIN, null); local
364 final Intent intent = recentTasks.get(i).baseIntent; local
    [all...]
  /external/pdfium/third_party/lcms/include/
lcms2_plugin.h 448 // a single LUT. Any custom intent in the chain redirects to custom function. If more than
449 // one custom intent is found, the one located first is invoked. Usually users should use only one
450 // custom intent, so mixing custom intents in same multiprofile transform is not supported.
461 // Each plug-in defines a single intent number.
464 cmsUInt32Number Intent;
550 cmsUInt32Number Intent,
  /external/pdfium/third_party/lcms/src/
cmscnvrt.c 86 cmsUInt32Number Intent;
162 // Search the list for a suitable intent. Returns NULL if not found
164 cmsIntentsList* SearchIntent(cmsContext ContextID, cmsUInt32Number Intent)
170 if (pt ->Intent == Intent) return pt;
173 if (pt ->Intent == Intent) return pt;
367 cmsUInt32Number Intent,
379 // If intent is abs. colorimetric,
380 if (Intent == INTENT_ABSOLUTE_COLORIMETRIC)
    [all...]
  /external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
MainActivity.java 21 import android.content.Intent;
99 Intent intent = new Intent(MainActivity.this, CrashLogActivity.class); local
100 intent.putExtra("crash_log", msg);
101 MainActivity.this.startActivity(intent);
114 Intent intent = getIntent(); local
115 if (intent != null && intent.getAction().equals(UsbManager.ACTION_USB_DEVICE_ATTACHED))
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropActivity.java 23 import android.content.Intent;
80 * The maximum bitmap size we allow to be returned through the intent.
83 * sure the intent stays below 1MB.We should consider just returning a byte
98 Intent intent = getIntent(); local
99 setResult(RESULT_CANCELED, new Intent());
100 mCropExtras = getExtrasFromIntent(intent);
121 if (intent.getData() != null) {
122 mSourceUri = intent.getData();
151 * in the CROP intent
154 Intent intent = new Intent(); local
    [all...]

Completed in 802 milliseconds

12 3 4 5