/packages/apps/TV/tests/input/src/com/android/tv/testinput/ |
TestTvInputSetupActivity.java | 29 import android.net.Uri; 88 Uri uri = TvContract.buildChannelsUriForInput(inputId); local 91 contentResolver.update(uri, values, null, null);
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
UriRecord.java | 33 import android.net.Uri; 53 * A parsed record containing a Uri. 60 private final Uri mUri; 62 private UriRecord(Uri uri) { 63 this.mUri = Preconditions.checkNotNull(uri); 124 public Uri getUri() { 129 * Convert {@link android.nfc.NdefRecord} into a {@link android.net.Uri}. This will handle 133 * record containing a URI. 136 Uri uri = record.toUri() local [all...] |
VCardRecord.java | 44 import android.net.Uri; 86 Uri uri = activity.getIntent().getData(); local 87 uri = Uri.withAppendedPath(uri, Integer.toString(offset)); 88 uri = Uri.withAppendedPath(uri, "mime"); 91 Intent intent = new Intent(Intent.ACTION_VIEW, uri); [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
ReplyFromAccount.java | 19 import android.net.Uri; 46 Uri baseAccountUri; 53 public ReplyFromAccount(Account account, Uri baseAccountUri, String address, String name, 82 Uri uri = Utils.getValidUri(json.getString(BASE_ACCOUNT_URI)); local 88 replyFromAccount = new ReplyFromAccount(account, uri, addressString, nameString,
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AbstractConversationWebViewClient.java | 29 import android.net.Uri; 81 * @param uri the raw URI from the HTML document in the Webview 86 protected final WebResourceResponse loadCIDUri(Uri uri, ConversationMessage message) { 88 if (!"cid".equals(uri.getScheme())) { 93 final String cid = uri.getSchemeSpecificPart(); 102 final Uri queryUri = Uri.withAppendedPath(message.attachmentByCidUri, cid); 139 final Uri uri = Uri.parse(url) local [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
ConversationCursorTests.java | 27 import android.net.Uri; 76 private static final String URI_COLUMN = "uri"; 93 private Uri setupConvoList() throws RemoteException, OperationApplicationException { 94 // The Uri is content://com.android.canhaz/pony 95 Uri uri = new Uri.Builder().scheme("content").authority(TestProvider.AUTHORITY) local 101 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); 103 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); 105 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()) 133 Uri uri = setupConvoList(); local [all...] |
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
RawContactUtil.java | 24 import android.net.Uri; 34 private static final Uri URI = ContactsContract.RawContacts.CONTENT_URI; 38 Uri uri = ContentUris.withAppendedId(URI, rawContactId); local 39 resolver.update(uri, values, null, null); 44 Uri uri = ContentUris.withAppendedId(ContactsContract.RawContacts.CONTENT_URI, local 46 Cursor cursor = resolver.query(uri, projection, null, null, null) 52 Uri uri = ContentUris.withAppendedId(ContactsContract.RawContacts.CONTENT_URI, rawContactId) local 80 final Uri uri = TestUtil.maybeAddAccountQueryParameters( local 90 final Uri uri = TestUtil.maybeAddAccountWithDataSetQueryParameters( local 124 final Uri uri = ContactsContract.RawContacts.CONTENT_URI local [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
OpenHelper.java | 33 import android.net.Uri; 83 final Uri documentUri = DocumentsContract.buildDocumentUri( 93 final Uri remoteUri = getCursorUri(cursor, COLUMN_URI); 105 private static Uri getRefererUri(Context context, long id) { 106 final Uri headersUri = Uri.withAppendedPath( 125 final Uri uri = ContentUris.withAppendedId(ALL_DOWNLOADS_CONTENT_URI, id); local 126 final Cursor cursor = context.getContentResolver().query(uri, new String[]{Constants.UID}, 147 private static Uri getCursorUri(Cursor cursor, String column) [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CallGatewayManager.java | 20 import android.net.Uri; 57 * Intent extra to specify the URI of the provider to place the 63 // TODO: Should the value be a Uri (Parcelable)? Need to make sure 64 // MMI code '#' don't get confused as URI fragments. 170 * Return the gateway uri from the intent. 171 * @param intent With the gateway uri extra. 172 * @return The gateway URI or null if not found. 174 public static Uri getProviderGatewayUri(Intent intent) { 175 final String uri = intent.getStringExtra(EXTRA_GATEWAY_URI); local 176 return TextUtils.isEmpty(uri) ? null : Uri.parse(uri) [all...] |
/packages/services/Telephony/tests/src/com/android/phone/tests/ |
CallDialTest.java | 22 import android.net.Uri; 118 // - if it's a fully qualified URI (with scheme), use it directly 123 Uri uri = null; local 126 uri = Uri.parse(number); 128 uri = Uri.fromParts(PhoneAccount.SCHEME_SIP, number, null); 130 uri = Uri.fromParts(PhoneAccount.SCHEME_TEL, number, null) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_Playlists_MembersTest.java | 23 import android.net.Uri; 105 Uri uri = which.insertToExternal(mContentResolver); local 106 Cursor c = mContentResolver.query(uri, null, null, null, null); 142 private Uri insertPlaylistItem(Uri playlistMembersUri, long itemid, int order) { 152 private void verifyPlaylist(Uri playlistMembersUri, long [] members, int [] ordering) { 194 Uri uri = mContentResolver.insert(Playlists.EXTERNAL_CONTENT_URI, values); local 195 assertNotNull(uri); 463 Uri uri = mContentResolver.insert(Playlists.INTERNAL_CONTENT_URI, values); local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-apache-resolver.jar | |
/frameworks/base/media/java/android/media/ |
MediaExtractor.java | 28 import android.net.Uri; 93 * Sets the data source as a content Uri. 95 * @param context the Context to use when resolving the Uri 96 * @param uri the Content URI of the data you want to extract from. 98 * <p>When <code>uri</code> refers to a network file the 106 @NonNull Context context, @NonNull Uri uri, @Nullable Map<String, String> headers) 108 String scheme = uri.getScheme(); 110 setDataSource(uri.getPath()) [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
OAuthAuthenticationActivity.java | 8 import android.net.Uri; 74 final Uri uri = Uri.parse(url); local 75 // Check the params of this uri, they contain success/failure info, 77 final String error = uri.getQueryParameter("error"); 84 mAuthenticationCode = uri.getQueryParameter("code"); 114 final Uri uri = AccountSettingsUtils.createOAuthRegistrationRequest(this, mProvider, email); local 115 mWv.loadUrl(uri.toString()) [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
NotificationPlayer.java | 23 import android.net.Uri; 49 Uri uri; field in class:NotificationPlayer.Command 59 + " uri=" + uri + " }"; 91 player.setDataSource(Factory.get().getApplicationContext(), mCmd.uri); 95 if ((mCmd.uri != null) && (mCmd.uri.getEncodedPath() != null) 96 && (mCmd.uri.getEncodedPath().length() > 0)) { 108 LogUtil.w(mTag, "error loading sound for " + mCmd.uri, e) [all...] |
/prebuilts/tools/common/m2/repository/org/glassfish/jaxb/txw2/2.2.11/ |
txw2-2.2.11.jar | |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
URITest.java | 21 import java.net.URI; 28 private URI[] uris; 30 private URI[] getUris() throws URISyntaxException { 35 uris = new URI[] { 37 new URI( 40 new URI( 43 new URI( 46 // URI("ascheme://user\u00df\u00a3info@host:0/a\u0080path?qu\u00a9\u00aeery#fr\u00e4\u00e8g"), 49 new URI("http", "user%60%20info", "host", 80, "/a%20path", //$NON-NLS-4$ 52 new URI("http", "user%C3%9F%C2%A3info", "host", -1 231 URI uri = new URI("http:\/\/host:-8096\/path\/index.html"); local 265 URI uri = new URI("path[one"); local 273 URI uri = new URI(" "); local 287 URI uri = new URI("mailto", "mduerst@ifi.unizh.ch", null); local 378 URI uri; local 403 URI uri = new URI(scheme, userinfo, host, port, path, query, local 429 URI uri; local 478 URI uri = new URI("ht12-3+tp", "", "\/p#a%E2%82%ACth", "q^u%25ery", local 513 URI uri = new URI("ftp", "[0001:1234::0001]", "\/dir1\/dir2", "query", local 615 URI uri, uri2; local 727 URI uri = new URI("http:\/\/\/~\/dictionary"); local 784 URI uri = new URI("file:\/\/\/tmp\/"); local 917 URI uri = new URI("http:\/\/myhost:-8096\/site\/index.html"); local 1497 URI uri = uris[i].parseServerAuthority(); local 1518 URI uri = new URI("http:\/\/us[er@host:80\/"); local 1525 URI uri = new URI("http:\/\/[ddd::hgghh]\/"); local 1532 URI uri = new URI("http", "[3ffe:2a00:100:7031:2e:1:80:80]a:80", local 1540 URI uri = new URI("http", "host:80", "\/path", "fragment"); local 1603 URI uri = new URI("file", null, "\/test\/location", null); local 1837 URI uri = new URI("http:\/\/harmony.apache.org\/"); local [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
HostAuth.java | 23 import android.net.Uri; 35 import java.net.URI; 40 public static Uri CONTENT_URI; 43 CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/hostauth"); 159 * Builds a URI scheme name given the parameters for a {@code HostAuth}. If 308 * Sets the user name and password from URI user info string 370 // Set protocol, security, and additional flags based on uri scheme 521 * Legacy URI parser. Used in parsing template from provider.xml 525 * Note that the use of client certificate is specified in the URI, a secure connection type 530 URI uri = new URI(uriString) local 566 final Uri uri = Uri.parse(uriString); local [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/ |
ComposeActivityTest.java | 24 import android.net.Uri; 67 private Message getRefMessage(ContentResolver resolver, Uri folderListUri) { 70 Uri convUri = null; 73 convUri = Uri.parse(foldersCursor 80 Uri messagesUri = null; 83 messagesUri = Uri.parse(convCursor 141 ReplyFromAccount a = new ReplyFromAccount(mAccount, mAccount.uri, customFrom, 146 final ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, 181 final ReplyFromAccount currentAccount = new ReplyFromAccount(mAccount, mAccount.uri, 218 ReplyFromAccount a = new ReplyFromAccount(mAccount, mAccount.uri, customFrom 1079 final Uri uri = Uri.parse("mailto:test@test.com?body=" + encodeMailtoParam(query)); local 1094 final Uri uri = Uri.parse("mailto:test@test.com?body=" + encodeMailtoParam(query)); local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResultsProvider.java | 31 import android.net.Uri; 43 * Get the URI from the result content. 45 * @return Uri 47 public static Uri getResultContentUri(Context context) { 49 final Uri contentUri = Uri.parse("content://" + packageName + ".testresultsprovider"); 50 return Uri.withAppendedPath(contentUri, RESULTS_PATH); 54 * Get the URI from the test name. 57 * @return Uri 59 public static Uri getTestNameUri(Context context) 236 final Uri uri = getResultContentUri(context); local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
NfcTestActivity.java | 31 import android.net.Uri; 92 final Uri uri = createUriForImage(SAMPLE_IMAGE_FILENAME, SAMPLE_IMAGE_CONTENT); local 93 Uri[] uris = new Uri[]{uri}; 97 shareIntent.putExtra(Intent.EXTRA_STREAM, uri); 160 private Uri createUriForImage(String name, String text) {
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
ApplicationHiddenTest.java | 23 import android.net.Uri; 91 Uri uri = intent.getData(); local 92 if (uri == null) { 95 String pkgName = uri.getSchemeSpecificPart();
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
IntentReceiverActivity.java | 23 import android.net.Uri; 38 * Class to receive intents sent across profile boundaries, and read/write to content uri specified 76 final Uri uri = clipData != null ? clipData.getItemAt(0).getUri() : null; local 89 message = getFirstLineFromUri(uri); 91 Log.i(TAG, "Caught a SecurityException while trying to read " + uri, e); 94 Log.i(TAG, "Caught a IOException while trying to read " + uri, e); 100 Log.i(TAG, "Taking persistable uri permission to " + uri); 101 getContentResolver().takePersistableUriPermission(uri, [all...] |
/cts/hostsidetests/services/activityandwindowmanager/windowmanager/dndtargetapp/src/android/wm/cts/dndtargetapp/ |
DropTarget.java | 24 import android.net.Uri; 124 // Try accessing the Uri without the permissions grant. 127 // Try accessing the Uri with the permission grant (if required); 130 // Try accessing the Uri after the permissions have been released. 168 Uri uri = item.getUri(); local 169 if (uri == null) { 170 return "Null Uri"; 182 return processUri(uri); 190 abstract protected String processUri(Uri uri) [all...] |
/cts/tests/app/src/android/app/cts/ |
RemoteInputTest.java | 21 import android.net.Uri; 78 Uri uri = Uri.parse("Some Uri"); local 81 Map<String, Uri> putResults = new HashMap<>(); 82 putResults.put(MIME_TYPE, uri); 85 verifyIntentHasDataResults(intent, uri); 104 Uri uri = Uri.parse("Some Uri") local 128 Uri uri = Uri.parse("Some Uri"); local [all...] |