Home
last modified time | relevance | path

Searched full:url (Results 1 – 25 of 116) sorted by relevance

12345

/development/samples/devbytes/telephony/SmsSampleProject/app/
Dapp.iml28 <output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
29 <output-test url="file://$MODULE_DIR$/build/intermediates/classes/androidTest/debug" />
31 <content url="file://$MODULE_DIR$">
32 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/debug" isTestSource="false" genera…
33 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" gen…
34 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="fal…
35 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" gener…
36 <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" />
37 …<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/debug" type="java-resource" />
38 …<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/androidTest/debug" isTestSource="t…
[all …]
/development/tools/repo_diff/service/repodiff/repositories/
Dsource.go22 func (s source) getOrCreateURLBranchID(url, branch string) (int16, error) {
23 url = protocolStrippedURL(url)
24 id, ok := cacheSingleton.Get(cacheKey(url, branch))
28 val, err := s.getOrCreateURLBranchIDPersistence(url, branch)
32 cacheSingleton.Add(cacheKey(url, branch), val)
36 func (s source) getOrCreateURLBranchIDPersistence(url, branch string) (int16, error) {
37 id, err := s.getIDByURLBranch(url, branch)
41 s.insertIgnoreError(url, branch)
42 return s.getIDByURLBranch(url, branch)
45 func (s source) insertIgnoreError(url, branch string) {
[all …]
Dcommon.go11 URL: protocolStrippedURL(target.Upstream.URL),
15 URL: protocolStrippedURL(target.Downstream.URL),
21 func protocolStrippedURL(url string) string {
22 startIndex := strings.Index(url, "//")
23 return url[startIndex:]
Dsource_test.go35 url := "https://keystone-qcom.googlesource.com/platform/manifest"
39 id, err := sourceRepo.getOrCreateURLBranchID(url, branch)
43 idSecondFetch, err := sourceRepo.getOrCreateURLBranchID(url, branch)
50 url := "https://keystone-qcom.googlesource.com/platform/manifest"
54 id, _ := sourceRepo.getOrCreateURLBranchID(url, branch)
58 nextURL := "https://totally-new-url-to-replace-first-row/platform/manifest"
63 id, _ = sourceRepo.getOrCreateURLBranchID(url, branch)
69 url := "https://keystone-qcom.googlesource.com/platform/manifest"
73 id, _ := sourceRepo.getOrCreateURLBranchID(url, branch)
78 …assert.Equal(t, "//keystone-qcom.googlesource.com/platform/manifest", fetchedURL, "Fetched URL sho…
[all …]
/development/ide/intellij/moduleDefinitions/
Dtesting.iml5 <content url="file://$MODULE_DIR$/../../../device/dalvik/libcore">
6 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/android/src/main/java" isTes…
7 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/annotation/src/main/java" is…
8 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/apache-commons-logging/src/m…
9 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/apache-commons/src/main/java…
10 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/archive/src/main/java" isTes…
11 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/auth/src/main/java" isTestSo…
12 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/awt/src/main/java" isTestSou…
13 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/beans/src/main/java" isTestS…
14 …<sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/concurrent/src/main/java" is…
[all …]
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Dapp.yaml16 # it's been migrated to HR. But it's still accessible under the old URL,
28 - url: /static
34 - url: /auth
37 - url: /sync
40 - url: /reset_database
46 - url: /
49 - url: /add_contact
52 - url: /edit_contact
55 - url: /delete_contact
58 - url: /avatar
[all …]
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DImageDownloader.java94 * @param url The URL of the image to download.
97 public void download(String url, ImageView imageView) { in download() argument
98 download(url, imageView, null); in download()
105 * @param url The URL of the image to download.
109 public void download(String url, ImageView imageView, String cookie) { in download() argument
111 Bitmap bitmap = getBitmapFromCache(url); in download()
114 forceDownload(url, imageView, cookie); in download()
116 cancelPotentialDownload(url, imageView); in download()
124 private void forceDownload(String url, ImageView view) {
125 forceDownload(url, view, null);
[all …]
DUrlIntentListener.java27 * A listener which expects a URL as a tag of the view it is associated with. It then opens the URL
33 final String url = view.getTag().toString(); in onItemClick() local
34 final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); in onItemClick()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoFragment.java30 import java.net.URL;
44 * Converts the stored URL string to a URL, and then tries to download the picture from that
45 * URL.
48 // If setPhoto() was called to store a URL, proceed in loadPhoto()
54 // Converts the URL string to a valid URL in loadPhoto()
55 URL localURL = new URL(mURLString); in loadPhoto()
58 * setImageURL(url,false,null) attempts to download and decode the picture at in loadPhoto()
59 * at "url" without caching and without providing a Drawable. The result will be in loadPhoto()
64 // Catches an invalid URL format in loadPhoto()
71 * Returns the stored URL string
[all …]
DPhotoView.java31 import java.net.URL;
61 // The URL that points to the source of the image for this ImageView
62 private URL mImageURL;
144 * Returns the URL of the picture associated with this ImageView
145 * @return a URL
147 final URL getLocation() { in getLocation()
180 // Clears out the image drawable, turns off the cache, disconnects the view from a URL in onDetachedFromWindow()
205 * already drawn, and its URL isn't null, it invokes a Thread to download the image. Otherwise,
210 // If the image isn't already drawn, and the URL is set in onDraw()
278 * Attempts to set the picture URL for this ImageView and then download the picture.
[all …]
DRSSPullService.java30 import java.net.URL;
36 * This service pulls RSS content from a web site URL contained in the incoming Intent (see
64 * URL of the web site from which the RSS parser gets data.
68 // Gets a URL to read from the incoming Intent's "data" value in onHandleIntent()
78 // A URL that's local to this method in onHandleIntent()
79 URL localURL; in onHandleIntent()
85 * A block that tries to connect to the Picasa featured picture URL passed as the "data" in onHandleIntent()
90 // Convert the incoming data string to a URL. in onHandleIntent()
91 localURL = new URL(localUrlString); in onHandleIntent()
94 * Tries to open a connection to the URL. If an IO error occurs, this throws an in onHandleIntent()
[all …]
DRSSPullParser.java103 // Creates a new store for image URL data in parseXml()
144 // Defines a place to store the filename of a URL, in parseXml()
150 // Stores the image URL and image name column names as keys in parseXml()
157 // Stores the thumbnail URL and thumbnail name column names as keys in parseXml()
166 // It's not an ITEM. Gets the URL attribute from the event in parseXml()
167 String urlValue = localXmlPullParser.getAttributeValue(null, "url"); in parseXml()
173 // Puts the URL and the key into the ContentValues in parseXml()
176 // Gets the filename of the URL and puts it into the ContentValues in parseXml()
/development/tools/repo_diff/service/repodiff/
Dconfig.json6 "url": "https://keystone-qcom.googlesource.com/platform/manifest", string
12 …"url": "https://keystone-samsung-slsi-review.googlesource.com/platform/vendor/pdk/generic/fs/manif… string
16 …"url": "https://keystone-samsung-slsi-review.googlesource.com/platform/vendor/pdk/generic/fs/manif… string
22 "url": "https://keystone-qcom.googlesource.com/platform/manifest", string
26 "url": "https://keystone-mtk.googlesource.com/platform/manifest", string
33 "url": "https://keystone-qcom.googlesource.com/platform/manifest", string
37 "url": "https://keystone-qcom.googlesource.com/platform/manifest", string
44 "url": "https://keystone-qcom.googlesource.com/platform/manifest", string
48 "url": "https://keystone-qcom.googlesource.com/platform/manifest", string
55 "url": "https://keystone-qcom.googlesource.com/platform/manifest", string
[all …]
/development/tools/repo_pull/
Dgerrit.py121 """Load username and password from .gitcookies and return a URL opener with
128 # Create URL opener with authentication handler
135 """Create URL opener from command line arguments."""
144 print('error: Please check the Gerrit Code Review URL or follow the '
182 url = gerrit + '/a/changes/?' + urlencode(data)
184 response_file = url_opener.open(url)
191 def _make_json_post_request(url_opener, url, data, method='POST'): argument
192 """Open an URL request and decode its response.
205 request = Request(url, data, headers)
228 url = '{}/a/changes/{}/revisions/current/review'.format(
[all …]
/development/tools/idegen/src/
DIntelliJ.java41 sourceRootsXml.append("<sourceFolder url=\"file://$MODULE_DIR$/") in generateFrom()
54 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/") in generateFrom()
61 + "url=\"file://$MODULE_DIR$/out/eclipse\"/>\n"); in generateFrom()
64 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/.repo\"/>\n"); in generateFrom()
65 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/bluetooth\"/>\n"); in generateFrom()
66 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/chromium\"/>\n"); in generateFrom()
67 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/icu4c\"/>\n"); in generateFrom()
68 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/webkit\"/>\n"); in generateFrom()
69 … sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/frameworks/base/docs\"/>\n"); in generateFrom()
70 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/out/host\"/>\n"); in generateFrom()
[all …]
/development/tools/rmtypedefs/
Drmtypedefs.iml4 <output url="file://$MODULE_DIR$/../../../out/rmtypedefs" />
5 <output-test url="file://$MODULE_DIR$/../../../out/rmtypedefs" />
7 <content url="file://$MODULE_DIR$">
8 <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
15 <root url="jar://$MODULE_DIR$/../../../prebuilts/tools/common/asm-tools/asm-4.0.jar!/" />
19 <root url="jar://$MODULE_DIR$/../../../prebuilts/tools/common/asm-tools/src-4.0.zip!/" />
26 … <root url="jar://$MODULE_DIR$/../../../prebuilts/tools/common/guava-tools/guava-13.0.1.jar!/" />
30 <root url="jar://$MODULE_DIR$/../../../prebuilts/tools/common/guava-tools/src.zip!/" />
37 …<root url="jar://$MODULE_DIR$/../../../prebuilts/tools/common/m2/repository/junit/junit/3.8.1/juni…
41 …<root url="jar://$MODULE_DIR$/../../../prebuilts/tools/common/m2/repository/junit/junit/3.8.1/juni…
[all …]
/development/tools/repo_diff/
Drepo_diff_android.py5 1. Downloads a repo source tree with specified manifest URL, branch
36 parser.add_argument("-u", "--manifest-url",
37 help="manifest url",
42 parser.add_argument("-r", "--upstream-manifest-url",
43 help="upstream manifest url",
62 def repo_init(url, rev, workspace): argument
63 """Repo init with specific url and rev.
66 url: manifest url
80 print("repo init:\n url: %s\n rev: %s\n workspace: %s" %
81 (url, rev, workspace))
[all …]
/development/tools/idegen/
Didegen.iml6 <content url="file://$MODULE_DIR$">
7 <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
9 <content url="file://$MODULE_DIR$/../../../out/target/common/obj/APPS/idegen_intermediates/src">
10 …<sourceFolder url="file://$MODULE_DIR$/../../../out/target/common/obj/APPS/idegen_intermediates/sr…
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssService.java33 import java.net.URL;
148 // Get the URL for the feed from the cursor. in queryRssItems()
149 int urlColumnIndex = mCur.getColumnIndex(RssContentProvider.URL); in queryRssItems()
150 String url = mCur.getString(urlColumnIndex); in queryRssItems() local
151 queryItem(url); in queryRssItems()
162 private boolean queryItem(String url) { in queryItem() argument
164 URL wrappedUrl = new URL(url); in queryItem()
166 mLogger.info("RSS Feed " + url + ":\n " + rssFeed); in queryItem()
193 mLogger.warning("Error in queryItem: Bad url"); in queryItem()
223 String readRss(URL url){ in readRss() argument
[all …]
DRssItem.java23 public String url; field in RssItem
29 public RssItem(String url, String title){ in RssItem() argument
30 this.url = url; in RssItem()
DAddRssItem.java39 String url = ((TextView) findViewById(R.id.url_textbox)).getText().toString();
40 if(TextUtils.isEmpty(title) || TextUtils.isEmpty(url)){
42 "You must specify both a title and a URL value",
49 res.putExtra(RssContentProvider.URL, url);
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
DNetworkFragment.java33 import java.net.URL;
50 * Static initializer for NetworkFragment that sets the URL of the host it will be downloading
53 public static NetworkFragment getInstance(FragmentManager fragmentManager, String url) { in getInstance() argument
64 args.putString(URL_KEY, url); in getInstance()
167 URL url = new URL(urlString); in doInBackground() local
168 String resultString = downloadUrl(url); in doInBackground()
215 * Given a URL, sets up a connection and gets the HTTP response body from the server.
219 private String downloadUrl(URL url) throws IOException { in downloadUrl() argument
224 connection = (HttpsURLConnection) url.openConnection(); in downloadUrl()
/development/tools/axl/
Dchewie.py20 def add(self, url, time): argument
21 self.queue.append([url, time])
23 def get(self, url): argument
26 if rec[0] == url:
94 time, url = x[0], x[3]
95 queued.add(url, time)
102 time, thread, url = x[0], x[1], x[3]
104 qtime = queued.get(url)
105 record = [thread, qtime, opentime, time, None, None, None, url, host, connection]
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DBitmapHelper.java25 import java.net.URL;
66 URL url = new URL(uri); in fetchAndRescaleBitmap() local
69 HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); in fetchAndRescaleBitmap()
/development/samples/RSSReader/src/com/example/android/rssreader/
DRssReader.java44 import java.net.URL;
63 * <li>Override of onListItemClick() creates an intent to open the url for that
80 * Url edit text field.
108 public static final String URL_KEY = "url";
212 * open the url for that item.
218 // Creates and starts an intent to open the item.link url. in onListItemClick()
258 * Given an rss url string, starts the rss-download-thread going.
293 * Worker thread takes in an rss url string, downloads its data, parses
299 public RSSWorker(CharSequence url) { in RSSWorker() argument
300 mUrl = url; in RSSWorker()
[all …]

12345