Home
last modified time | relevance | path

Searched refs:updates (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/docs/html/guide/topics/location/
Dstrategies.jd13 long you listen for updates</li>
26 <li><a href="#StartListening">Deciding when to start listening for updates</a></li>
28 <li><a href="#StopListening">Deciding when to stop listening for updates</a></li>
88 like to receive location updates from the {@link android.location.LocationManager} ("Location
96 and request location updates:
103 // Define a listener that responds to location updates
117 // Register the listener with the Location Manager to receive location updates
124 based location). You can control the frequency at which your listener receives updates
128 {@link android.location.LocationListener}, which receives callbacks for location updates.</p>
130 <p>To request location updates from the GPS provider,
[all …]
Dindex.jd10 device's location and bearing and register for updates</li>
49 <li>Register/unregister for periodic updates of the user's current location from a
/frameworks/base/docs/html/google/play-services/
Dindex.jd20 with automatic platform updates distributed as an APK through
21 the Google Play store. This makes it faster for your users to receive updates
51 app automatically receive updates to Google Play services. Enhance
81 these updates.
99updates to the services are not dependent on carrier or OEM system image updates. In general, devi…
100 … Android 2.2 (Froyo) or later and have the Google Play Store app installed receive updates within a
109 <p class="img-caption"><em>The Google Play services APK on user devices receives regular updates
Dsetup.jd76 introduction</a>, Google Play delivers service updates for users on
77 Android 2.2 through the Google Play Store app. However, updates might not reach
101 services updates, is present.
/frameworks/base/docs/html/training/basics/location/
Dcurrentlocation.jd44 …o work with {@link android.location.LocationManager}, you can begin to obtain location updates.</p>
48updates. In its simplest form, you register an event listener, identify the location manager from…
60 // we're sending the update to a handler which then updates the UI with the new
80updates from multiple location providers that may have different timestamps and varying levels of …
142 …ownLocation(java.lang.String) getLastKnownLocation()} and wait for fresh updates from the location…
148 from an activity where location updates are displayed, you should stop location update by calling
163 … For applications that need to continuously receive and process location updates like a near-real …
Dindex.jd38 …droid application. You'll learn a number of methods to receive location updates and related best …
44 <dd>Learn how to set up your application before it can receive location updates in Android.</dd>
Dlocationmanager.jd41 <p>Before your application can begin receiving location updates, it needs to perform some simple st…
59 …ystemService()} method. If your application intends to receive location updates in the foreground…
68 <p>While not required, most modern Android-powered devices can receive location updates through mul…
/frameworks/base/docs/html/training/monitoring-device-state/
Dbattery-monitoring.jd30 <p>When you're altering the frequency of your background updates to reduce the effect of those
31 updates on battery life, checking the current battery level and charging state is a good place to
34 <p>The battery-life impact of performing application updates depends on the battery level and
35 charging state of the device. The impact of performing updates while the device is charging over AC
41 even stopping&mdash;your updates when the battery charge is nearly exhausted.</p>
54 we'll be handling updates in a later section so it's not necessary.</p>
72 <p>Typically you should maximize the rate of your background updates in the case where the device is
117 the rate of your background updates if the battery charge is below a certain level.</p>
149 <p>It is generally good practice to disable all your background updates when the battery is
Dconnectivity-monitoring.jd34 updates of application data from Internet resources, cache data, or execute long running downloads.
69 <p>Having disabled your updates, it's important that you listen for changes in connectivity in order
79 suspend) your background updates accordingly.</p>
85 this broadcast only when you've previously suspended updates or downloads in order to resume them.
87 should there be none, suspend further updates until connectivity is restored.</p>
Dindex.jd31 <p>By taking steps such as disabling background service updates when you lose connectivity, or
32 reducing the rate of such updates when the battery level is low, you can ensure that the impact of
Ddocking-monitoring.jd38 your updates completely if the device is car docked. Conversely, you may choose to maximize your
39 updates while car docked if your background service is updating traffic conditions.</p>
/frameworks/base/services/input/
DSpriteController.cpp113 Vector<SpriteUpdate> updates; in doUpdateSprites() local
122 updates.push(SpriteUpdate(sprite, sprite->getStateLocked())); in doUpdateSprites()
131 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites()
149 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites()
190 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites()
243 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites()
329 const SpriteUpdate& update = updates.itemAt(i); in doUpdateSprites()
344 updates.clear(); in doUpdateSprites()
/frameworks/base/docs/html/training/efficient-downloads/
Dregular_updates.jd31 <p>The optimal frequency of regular updates will vary based on device state, network connectivity, …
33 …That includes disabling background service updates when you lose connectivity and reducing the rat…
35 …efresh frequency can be varied to best mitigate the effect of background updates on the underlying…
55 <p>When scheduling updates, use inexact repeating alarms that allow the system to "phase shift" the…
69 …mplement an exponential back-off pattern to reduce the frequency of your updates (and / or the deg…
102 <p>Alternatively, for transfers that are failure tolerant (such as regular updates), you can simply…
Dconnectivity_patterns.jd34 …icant downloads, preempt scheduled updates, and potentially even temporarily increase the frequenc…
42 …adio active for longer periods during each transfer session to reduce the frequency of updates.</p>
Dindex.jd43 …efresh frequency can be varied to best mitigate the effect of background updates on the underlying…
Defficient-network-access.jd122 … scheduled updates and prefetches, so that they are all executed when time-sensitive transfers are…
126 … to rank the most popular stories. To keep the news fresh, it checks for updates every hour. To co…
130 … downloading a full-sized image&mdash;should preempt regularly scheduled updates. The planned upda…
/frameworks/base/services/java/com/android/server/updates/
DSmsShortCodesInstallReceiver.java17 package com.android.server.updates;
DCertPinInstallReceiver.java17 package com.android.server.updates;
DConfigUpdateInstallReceiver.java17 package com.android.server.updates;
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
DProfiledWebView.java171 int updates = (updatesString == null) ? -1 : Integer.parseInt(updatesString); in animFramerate() local
180 return updates * 1000.0 / animationTime; in animFramerate()
/frameworks/base/docs/html/training/cloudsync/
Dgcm.jd32 on waking up the radio and polling the server when there are no updates. Also,
139 name, and the string you're using for that set of updates as the value.</p>
166 your server for updates simultaneously.</p>
210 transmit recent data from 100 different feeds, every time one updates.</li>
212 a specific feed for updates.</li>
/frameworks/base/docs/html/distribute/googleplay/about/
Ddistribution.jd8 <h2 id="instant">Instant publishing, instant updates</h2>
24 automatic updates of your app, so that your updates are delivered and installed
/frameworks/base/docs/html/guide/faq/
Dsecurity.jd130 <p>Google provides software updates for a number of Android devices, including
132 series of devices, using an "over the air" (OTA) update. These updates may include
148 properly support your customers by keeping abreast of software updates, please
/frameworks/base/docs/html/guide/topics/sensors/
Dindex.jd35 application. You'll learn a number of methods to receive location updates and related best
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java17 package com.android.server.updates;

1234