/frameworks/base/services/core/java/com/android/server/am/ |
UriPermission.java | 32 * Description of a permission granted to an app to access a particular URI. 54 final GrantUri uri; field in class:UriPermission 88 UriPermission(String sourcePkg, String targetPkg, int targetUid, GrantUri uri) { 93 this.uri = uri; 102 "Permission for " + targetPkg + " to " + uri + " is changing from 0x" 312 sb.append(uri); 367 final GrantUri uri; field in class:UriPermission.Snapshot 375 this.uri = perm.uri; [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
CalendarTracker.java | 24 import android.net.Uri; 115 final Uri.Builder uriBuilder = Instances.CONTENT_URI.buildUpon(); 118 final Uri uri = uriBuilder.build(); local 119 final Cursor cursor = mUserContext.getContentResolver().query(uri, INSTANCE_PROJECTION, 264 public void onChange(boolean selfChange, Uri u) { 265 if (DEBUG) Log.d(TAG, "onChange selfChange=" + selfChange + " uri=" + u
|
/frameworks/ex/common/java/com/android/common/contacts/ |
DataUsageStatUpdater.java | 23 import android.net.Uri; 56 static final Uri FEEDBACK_URI = 57 Uri.withAppendedPath(Data.CONTENT_URI, "usagefeedback"); 211 final Uri uri = DataUsageFeedback.FEEDBACK_URI.buildUpon() local 215 if (mResolver.update(uri, new ContentValues(), null, null) > 0) {
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipProfile.java | 33 import javax.sip.address.URI; 116 * @param uriString the URI string as "sip:<user_name>@<domain>" 117 * @throws ParseException if the string is not a valid URI 123 URI uri = mAddressFactory.createURI(fix(uriString)); local 124 if (uri instanceof SipURI) { 125 mUri = (SipURI) uri; 127 throw new ParseException(uriString + " is not a SIP URI", 0); 280 // remove password from URI 285 SipURI uri = (SipURI local [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
ImportTestProvider.java | 21 import android.net.Uri; 68 Uri uri = Uri.withAppendedPath(RawContacts.CONTENT_URI, String.valueOf(i)); local 69 fakeResultArray[i] = new ContentProviderResult(uri); 81 final Uri uri = operation.getUri(); local 82 if (uri.equals(RawContacts.CONTENT_URI)) { 85 } else if (uri.equals(Data.CONTENT_URI)) { 148 TestCase.fail("Unexpected Uri has come: " + uri) [all...] |
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
RGBZ.java | 24 import android.net.Uri; 48 * Creates an RGBZ from a content uri. 50 * @param uri The uri name of the RGBZ 53 public RGBZ(Uri uri, ContentResolver contentResolver, Context context) throws IOException { 54 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uri)); 56 throw new FileNotFoundException(uri.toString()); 58 depthImage = DepthImage.createFromXMPMetadata(context, uri); 68 * @param uriImage The uri name of the imag [all...] |
/frameworks/support/compat/tests/java/android/support/v4/app/ |
RemoteInputTest.java | 26 import android.net.Uri; 102 Uri uri = Uri.parse("Some Uri"); local 105 Map<String, Uri> putResults = new HashMap<>(); 106 putResults.put(MIME_TYPE, uri); 109 verifyIntentHasDataResults(intent, uri); 134 Uri uri = Uri.parse("Some Uri") local 161 Uri uri = Uri.parse("Some Uri"); local [all...] |
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/ui/ |
MainFragment.java | 20 import android.net.Uri; 94 Uri uri = Uri.parse("android.resource://" + getActivity().getPackageName() + "/" local 96 Intent videoIntent = new Intent(Intent.ACTION_VIEW, uri, getActivity(),
|
/frameworks/wilhelm/tests/listening/ |
slesTest_playMuteSolo.cpp | 63 * a resource, for instance because a file URI is invalid, or an HTTP server doesn't respond. 173 SLDataLocator_URI uri; local 225 /* Setup the data source structure for the URI */ 226 uri.locatorType = SL_DATALOCATOR_URI; 227 uri.URI = (SLchar*) path; 235 audioSource.pLocator = (void*)&uri; 244 fprintf(stdout, "URI example: after Realize\n");
|
/frameworks/wilhelm/tests/mimeUri/ |
slesTestSlowDownUri.cpp | 46 * a resource, for instance because a file URI is invalid, or an HTTP server doesn't respond. 177 /* Play some music from a URI */ 185 SLDataLocator_URI uri; local 220 /* Setup the data source structure for the URI */ 221 uri.locatorType = SL_DATALOCATOR_URI; 222 uri.URI = (SLchar*) path; 228 audioSource.pLocator = (void *)&uri; 249 fprintf(stdout, "URI example: after Realize\n"); 335 /* Play the URI */ [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTest.java | 98 // see if it is an absolute URI 153 throw new DOMTestLoadException(new Exception("Unrecognized URI scheme " + 169 Object uri = method.invoke(tempFile, (Class<?>) null); local 170 return uri.toString(); 196 throw new DOMTestLoadException(new Exception("Unrecognized URI scheme " +
|
JUnitTestCaseAdapter.java | 18 import java.net.URI; 60 URI uri = new URI(name); local 61 String path = uri.getPath();
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
NamespaceSupport.java | 46 * System.out.println("Namespace URI: " + parts[0]); 51 * System.out.println("Namespace URI: " + parts[0]); 60 * prefix/URI mapping is repeated for each context (for example), this 83 * The XML Namespace URI as a constant. 87 * <p>This is the Namespace URI that is automatically mapped 95 * The namespace declaration URI as a constant. 99 * to the original recommendation, and does not normally use this URI. 102 * <p>This is the Namespace URI that is optionally applied to 289 * @param uri The Namespace URI to associate with the prefix 687 String uri; local [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
DOMTestCase.java | 69 // see if it is an absolute URI 106 // URI must be non-null 109 String uri = actual; local 117 uri = actual.substring(0, lastPound); 124 int lastQuestion = uri.lastIndexOf("?"); 130 uri = actual.substring(0, lastQuestion); 137 int firstColon = uri.indexOf(":"); 138 int firstSlash = uri.indexOf("/"); 139 String actualPath = uri; 142 actualScheme = uri.substring(0, firstColon) [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
OCSP.java | 30 import java.net.URI; 102 * common defaults. The OCSP responder URI is retrieved from the 118 URI responderURI = null; 124 ("No OCSP Responder URI in certificate"); 142 * @param responderURI the URI of the OCSP responder 154 URI responderURI, 166 URI responderURI, 188 * @param responderURI the URI of the OCSP responder 199 static OCSPResponse check(List<CertId> certIds, URI responderURI, 297 * Returns the URI of the OCSP Responder as specified in th 330 URIName uri = (URIName) generalName.getName(); local [all...] |
RevocationChecker.java | 30 import java.net.URI; 60 private URI responderURI; 103 URI uri = getOcspResponder(); local 104 responderURI = (uri == null) ? toURI(rp.ocspUrl) : uri; 166 private static URI toURI(String uriString) 171 return new URI(uriString); 713 URI responderURI = (this.responderURI != null) [all...] |
URICertStore.java | 31 import java.net.URI; 63 * <code>CRL</code>s from a URI, for example, as specified in an X.509 66 * For CRLs, this implementation retrieves a single DER encoded CRL per URI. 83 * consider adding a standard "URI" CertStore type. 116 // the URI of this CertStore 117 private URI uri; field in class:URICertStore 119 // true if URI is ldap 155 * @param parameters specifying the URI 164 this.uri = ((URICertStoreParameters) params).uri 219 URI uri = ((URIName) gn).getURI(); local 452 private final URI uri; field in class:URICertStore.URICertStoreParameters [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapAccountLoader.java | 31 import android.net.Uri; 160 Uri.parse(app.mBase_uri_no_account)); 166 Uri uri = Uri.parse(app.mBase_uri_no_account + "/" local 170 c = mProviderClient.query(uri, BluetoothMapContract.BT_IM_ACCOUNT_PROJECTION, 173 c = mProviderClient.query(uri, BluetoothMapContract.BT_ACCOUNT_PROJECTION,
|
SmsMmsContacts.java | 25 import android.net.Uri; 45 private static final Uri ADDRESS_URI = 169 Uri uri = Uri.withAppendedPath(PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI, local 170 Uri.encode(phone)); 178 Cursor c = resolver.query(uri, CONTACT_PROJECTION, selection, selectionArgs, null);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppReceiver.java | 47 import android.net.Uri; 88 Uri uri = intent.getData(); local 91 in.setDataAndNormalize(uri); 97 Uri uri = intent.getData(); local 100 context.getContentResolver().update(uri, values, null, null); 106 Uri uri = intent.getData(); local 109 context.getContentResolver().update(uri, values, null, null) 120 Uri uri = intent.getData(); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
ContactsAsyncHelper.java | 23 import android.net.Uri; 69 public Uri uri; field in class:ContactsAsyncHelper.WorkerArgs 95 args.context.getContentResolver(), args.uri); 101 args.result = Drawable.createFromStream(inputStream, args.uri.toString()); 104 " token: " + msg.what + " image URI: " + args.uri); 108 " token: " + msg.what + " image URI: " + args.uri + 139 ImageView imageView, Uri contact, int placeholderImageResource) [all...] |
GoogleCalendarUriIntentFilter.java | 28 import android.net.Uri; 59 * Extracts the ID and calendar email from the eid parameter of a URI. 61 * The URI contains an "eid" parameter, which is comprised of an ID, followed 64 * added to the URI. 66 * @param uri incoming request 69 private String[] extractEidAndEmail(Uri uri) { 71 String eidParam = uri.getQueryParameter("eid"); 131 Log.w(TAG, "Punting malformed URI " + uri); 142 Uri uri = intent.getData(); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectCalendarsSyncFragment.java | 32 import android.net.Uri; 170 Uri uri = ContentUris.withAppendedId(Calendars.CONTENT_URI, row.id); local 176 mService.startUpdate((int) id, null, uri, values, null, null, 0);
|
SelectVisibleCalendarsFragment.java | 24 import android.net.Uri; 160 Uri uri = ContentUris.withAppendedId(Calendars.CONTENT_URI, mAdapter.getItemId(position)); local 165 mService.startUpdate(mUpdateToken, null, uri, values, null, null, 0);
|
/packages/apps/Camera2/src/com/android/camera/ |
MediaSaverImpl.java | 23 import android.net.Uri; 137 private class ImageSaveTask extends AsyncTask <Void, Void, Uri> { 172 protected Uri doInBackground(Void... v) { 192 protected void onPostExecute(Uri uri) { 194 listener.onMediaSaved(uri); 204 private class VideoSaveTask extends AsyncTask <Void, Void, Uri> { 219 protected Uri doInBackground(Void... v) { 220 Uri uri = null local [all...] |