Searched refs:url (Results 26 - 50 of 194) sorted by relevance

12345678

/frameworks/base/core/java/android/content/
H A DIContentProvider.java38 public Cursor query(String callingPkg, Uri url, @Nullable String[] projection, argument
41 public String getType(Uri url) throws RemoteException; argument
42 public Uri insert(String callingPkg, Uri url, ContentValues initialValues) argument
44 public int bulkInsert(String callingPkg, Uri url, ContentValues[] initialValues) argument
46 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) argument
48 public int update(String callingPkg, Uri url, ContentValues values, String selection, argument
51 String callingPkg, Uri url, String mode, ICancellationSignal signal,
55 String callingPkg, Uri url, String mode, ICancellationSignal signal)
68 public boolean refresh(String callingPkg, Uri url, @Nullable Bundle args, argument
72 public String[] getStreamTypes(Uri url, Strin argument
50 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
54 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument
73 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
[all...]
H A DContentProviderNative.java84 Uri url = Uri.CREATOR.createFromParcel(data);
102 Cursor cursor = query(callingPkg, url, projection, queryArgs, cancellationSignal);
137 Uri url = Uri.CREATOR.createFromParcel(data);
138 String type = getType(url);
149 Uri url = Uri.CREATOR.createFromParcel(data);
152 Uri out = insert(callingPkg, url, values);
162 Uri url = Uri.CREATOR.createFromParcel(data);
165 int count = bulkInsert(callingPkg, url, values);
191 Uri url = Uri.CREATOR.createFromParcel(data);
195 int count = delete(callingPkg, url, selectio
392 query(String callingPkg, Uri url, @Nullable String[] projection, @Nullable Bundle queryArgs, @Nullable ICancellationSignal cancellationSignal) argument
442 getType(Uri url) argument
463 insert(String callingPkg, Uri url, ContentValues values) argument
486 bulkInsert(String callingPkg, Uri url, ContentValues[] values) argument
533 delete(String callingPkg, Uri url, String selection, String[] selectionArgs) argument
557 update(String callingPkg, Uri url, ContentValues values, String selection, String[] selectionArgs) argument
582 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token) argument
610 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument
661 getStreamTypes(Uri url, String mimeTypeFilter) argument
683 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
730 canonicalize(String callingPkg, Uri url) argument
752 uncanonicalize(String callingPkg, Uri url) argument
773 refresh(String callingPkg, Uri url, Bundle args, ICancellationSignal signal) argument
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockIContentProvider.java46 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) { argument
52 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) argument
58 public String getType(Uri url) { argument
64 public Uri insert(String callingPackage, Uri url, ContentValues initialValues) argument
71 String callingPackage, Uri url, String mode, ICancellationSignal signal,
89 public Cursor query(String callingPackage, Uri url, @Nullable String[] projection, argument
94 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, argument
100 public int update(String callingPackage, Uri url, ContentValues values, String selection, argument
117 public String[] getStreamTypes(Uri url, String mimeTypeFilter) throws RemoteException { argument
122 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, Strin argument
70 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
143 refresh(String callingPkg, Uri url, Bundle args, ICancellationSignal cancellationSignal) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DCookieManager.java94 * @param url the URL for which the cookie is to be set
98 public abstract void setCookie(String url, String value); argument
114 * @param url the URL for which the cookie is to be set
119 public abstract void setCookie(String url, String value, ValueCallback<Boolean> callback); argument
124 * @param url the URL for which the cookies are requested
128 public abstract String getCookie(String url); argument
133 * @param url the URL for which the cookies are requested
140 public abstract String getCookie(String url, boolean privateBrowsing); argument
H A DUrlInterceptRegistry.java48 * set the flag to control whether url intercept is enabled or disabled
62 * get the state of the url intercept, enabled or disabled
114 * Given an url, returns the CacheResult of the first
125 String url, Map<String, String> headers) {
132 CacheResult result = handler.service(url, headers);
141 * Given an url, returns the PluginData of the first
153 String url, Map<String, String> headers) {
160 PluginData data = handler.getPluginData(url, headers);
124 getSurrogate( String url, Map<String, String> headers) argument
152 getPluginData( String url, Map<String, String> headers) argument
H A DCacheManager.java283 * @param url the URL for which a cache entry is requested
290 public static CacheResult getCacheFile(String url, argument
299 * @param url the URL for which the cache entry should be added
304 public static void saveCacheFile(String url, CacheResult cacheResult) { argument
305 saveCacheFile(url, 0, cacheResult);
308 static void saveCacheFile(String url, long postIdentifier, argument
H A DWebViewClient.java30 * url is about to be loaded in the current WebView. If WebViewClient is not
32 * proper handler for the url. If WebViewClient is provided, return true
33 * means the host application handles the url, while return false means the
34 * current WebView handles the url.
38 * @param url The url to be loaded.
40 * and handle the url itself, otherwise return false.
45 public boolean shouldOverrideUrlLoading(WebView view, String url) { argument
51 * url is about to be loaded in the current WebView. If WebViewClient is not
53 * proper handler for the url
90 onPageStarted(WebView view, String url, Bitmap favicon) argument
102 onPageFinished(WebView view, String url) argument
112 onLoadResource(WebView view, String url) argument
142 onPageCommitVisible(WebView view, String url) argument
163 shouldInterceptRequest(WebView view, String url) argument
308 doUpdateVisitedHistory(WebView view, String url, boolean isReload) argument
[all...]
/frameworks/support/buildSrc/
H A Drepos.gradle41 url repo
51 url androidPluginRepoOverride
/frameworks/base/core/java/android/net/
H A DMailTo.java47 * @param url string to be tested
50 public static boolean isMailTo(String url) { argument
51 if (url != null && url.startsWith(MAILTO_SCHEME)) {
60 * @param url String containing a mailto URL
64 public static MailTo parse(String url) throws ParseException { argument
65 if (url == null) {
68 if (!isMailTo(url)) {
72 String noScheme = url.substring(MAILTO_SCHEME.length());
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp104 const char* url) {
105 GET_PLAYER_TYPE_IMPL(client, url);
174 const char* url,
181 if (!strncasecmp("http://", url, 7)
182 || !strncasecmp("https://", url, 8)
183 || !strncasecmp("file://", url, 7)) {
184 size_t len = strlen(url);
185 if (len >= 5 && !strcasecmp(".m3u8", &url[len - 5])) {
189 if (strstr(url,"m3u8")) {
193 if ((len >= 4 && !strcasecmp(".sdp", &url[le
103 getPlayerType(const sp<IMediaPlayer>& client, const char* url) argument
173 scoreFactory(const sp<IMediaPlayer>& , const char* url, float curScore) argument
226 scoreFactory(const sp<IMediaPlayer>& , const char* url, float ) argument
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DHTTPHandler.java85 public OSUResponse exchangeSOAP(URL url, String message) throws IOException { argument
86 HTTPResponse response = exchangeWithRetry(url, message, HTTPMessage.Method.POST,
103 public ByteBuffer exchangeBinary(URL url, String message, String contentType) argument
106 exchangeWithRetry(url, message, HTTPMessage.Method.POST, contentType);
110 public InputStream doGet(URL url) throws IOException { argument
111 HTTPResponse response = exchangeWithRetry(url, null, HTTPMessage.Method.GET, null);
115 public HTTPResponse doGetHTTP(URL url) throws IOException { argument
116 return exchangeWithRetry(url, null, HTTPMessage.Method.GET, null);
119 private HTTPResponse exchangeWithRetry(URL url, String message, HTTPMessage.Method method, argument
125 response = httpExchange(url, messag
145 httpExchange(URL url, String message, HTTPMessage.Method method, String contentType) argument
[all...]
H A DUserInputListener.java43 * @param url a URL to which to redirect the user
45 public void deAuthNotification(String spIdentity, boolean ess, int delay, URL url); argument
/frameworks/av/media/libstagefright/rtsp/
H A DSDPLoader.cpp51 void SDPLoader::load(const char *url, const KeyedVector<String8, String8> *headers) { argument
55 msg->setString("url", url);
87 AString url; local
88 CHECK(msg->findString("url", &url));
93 ALOGV("onLoad %s", uriDebugString(url, mFlags & kFlagIncognito).c_str());
96 err = mHTTPDataSource->connect(url.c_str(), headers);
/frameworks/base/core/java/android/text/util/
H A DLinkify.java157 public final String transformUrl(final Matcher match, String url) {
204 * @param url The text that was matched
208 String transformUrl(final Matcher match, String url); argument
263 applyLink(link.url, link.start, link.end, text);
465 String url = makeUrl(m.group(0), schemesCopy, m, transformFilter);
467 applyLink(url, start, end, spannable);
475 private static final void applyLink(String url, int start, int end, Spannable text) { argument
476 URLSpan span = new URLSpan(url);
481 private static final String makeUrl(@NonNull String url, @NonNull String[] prefixes, argument
484 url
641 String url; field in class:LinkSpec
[all...]
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
H A DCaptivePortalLoginActivity.java86 // getUrl() failed to parse the url provided in the intent: bail out in a way that
246 final String url = mUrl.toString();
248 Log.d(TAG, "starting activity with intent ACTION_VIEW for " + url);
250 startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
255 String url = getIntent().getStringExtra(ConnectivityManager.EXTRA_CAPTIVE_PORTAL_URL);
256 if (url == null) {
257 url = mCm.getCaptivePortalServerUrl();
259 return makeURL(url);
262 private static URL makeURL(String url) { argument
264 return new URL(url);
331 onPageStarted(WebView view, String url, Bitmap favicon) argument
351 onPageFinished(WebView view, String url) argument
450 shouldOverrideUrlLoading(WebView view, String url) argument
[all...]
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
H A DUtils.java51 URL url = new URL(source);
52 HttpURLConnection httpConnection = (HttpURLConnection) url.openConnection();
/frameworks/multidex/
H A Dbuild.gradle21 maven { url '../../prebuilts/gradle-plugin' }
22 maven { url '../../prebuilts/tools/common/m2/repository' }
23 maven { url '../../prebuilts/tools/common/m2/internal' }
87 repository(url: uri("$rootProject.supportRepoOut"))
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
H A DPacService.java73 public String resolvePacFile(String host, String url) throws RemoteException { argument
78 if (url == null) {
82 new URL(url);
88 return mPacNative.makeProxyRequest(url, host);
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DTestUtils.java52 URL url = new URL("https://" + host + ":" + port);
53 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
65 URL url = new URL("https://" + host + ":" + port);
66 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
/frameworks/data-binding/extensions/
H A Dbuild.gradle33 repository(url: "file://${dataBindingConfig.internalPrebuiltsRepoDir}")
42 println "changing ${deployer.url} to ${rootProject.ext.supportRepoOut}"
43 deployer.url = "file://${rootProject.ext.supportRepoOut}"
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccProvider.java88 public Cursor query(Uri url, String[] projection, String selection, argument
92 switch (URL_MATCHER.match(url)) {
98 return loadFromEf(IccConstants.EF_ADN, getRequestSubId(url));
105 return loadFromEf(IccConstants.EF_FDN, getRequestSubId(url));
112 return loadFromEf(IccConstants.EF_SDN, getRequestSubId(url));
118 throw new IllegalArgumentException("Unknown URL " + url);
144 public String getType(Uri url) { argument
145 switch (URL_MATCHER.match(url)) {
156 throw new IllegalArgumentException("Unknown URL " + url);
161 public Uri insert(Uri url, ContentValue argument
258 delete(Uri url, String where, String[] whereArgs) argument
339 update(Uri url, ContentValues values, String where, String[] whereArgs) argument
543 getRequestSubId(Uri url) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DHTTPDownloader.cpp71 * | `url` file |<--------- buffer size --------->|<--- `block_size` -->| | |
81 const char *url, sp<ABuffer> *out,
93 if (!strncasecmp(url, "file://", 7)) {
94 mDataSource = new FileSource(url + 7);
95 } else if (strncasecmp(url, "http://", 7)
96 && strncasecmp(url, "https://", 8)) {
112 status_t err = mHTTPDataSource->connect(url, &headers);
207 *actualUrl = url;
215 const char *url, sp<ABuffer> *out, String8 *actualUrl) {
216 ssize_t err = fetchBlock(url, ou
80 fetchBlock( const char *url, sp<ABuffer> *out, int64_t range_offset, int64_t range_length, uint32_t block_size, String8 *actualUrl, bool reconnect ) argument
214 fetchFile( const char *url, sp<ABuffer> *out, String8 *actualUrl) argument
224 fetchPlaylist( const char *url, uint8_t *curPlaylistHash, bool *unchanged) argument
[all...]
H A DHTTPDownloader.h54 const char *url,
65 const char *url,
71 const char *url, uint8_t *curPlaylistHash, bool *unchanged);
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
H A DBitmapRequestKeyImpl.java34 URL url = null;
36 url = new URL(uriString);
40 mUrl = url;
/frameworks/support/compat/java/android/support/v4/text/util/
H A DLinkifyCompat.java141 applyLink(link.url, link.start, link.end, text);
334 String url = makeUrl(m.group(0), schemesCopy, m, transformFilter);
336 applyLink(url, start, end, spannable);
354 private static String makeUrl(@NonNull String url, @NonNull String[] prefixes, argument
357 url = filter.transformUrl(matcher, url);
363 if (url.regionMatches(true, 0, prefixes[i], 0, prefixes[i].length())) {
367 if (!url.regionMatches(false, 0, prefixes[i], 0, prefixes[i].length())) {
368 url = prefixes[i] + url
404 applyLink(String url, int start, int end, Spannable text) argument
504 String url; field in class:LinkifyCompat.LinkSpec
[all...]

Completed in 3345 milliseconds

12345678