Home
last modified time | relevance | path

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

12345

/frameworks/base/docs/html/training/location/
Dreceive-location-updates.jd41 a more direct approach is to request periodic updates from Location Services. In
42 response, Location Services automatically updates your app with the best available location,
46 To get periodic location updates from Location Services, you send a request using a location
50 frequency of the updates are affected by the location permissions you've requested and the
59 permission you choose affects the accuracy of the location updates you receive.
216 Before you request location updates, you must first implement the interfaces that Location
248 * request the current location or start periodic updates
306 Location Services sends location updates to your app either as an {@link android.content.Intent}
309 to receive updates in the form of an {@link android.content.Intent}, read the lesson
329 // Define the callback method that receives location updates
[all …]
Dactivity-recognition.jd20 <a href="receive-location-updates.html">Receiving Location Updates</a>
35 driving, or standing still. Requests for updates go through an activity recognition client,
39 each one. This lesson shows you how to request activity recognition updates from Location
44 Requesting activity recognition updates from Location Services is similar to requesting
45 periodic location updates. You send the request through a client, and Location Services sends
46 updates back to your app by means of a {@link android.app.PendingIntent}. However, you need to
47 request a special permission before you request activity updates, and you use a different type
49 connect the client, and request updates.
51 <h3>Request permission to receive updates</h3>
53 An app that wants to get activity recognition updates must have the permission
[all …]
Dindex.jd41 get periodic location updates, look up addresses, create and monitor geofences, and
60 <b><a href="receive-location-updates.html">Receiving Location Updates</a></b>
63 Learn how to request and receive periodic location updates.
/frameworks/base/docs/html/guide/topics/location/
Dstrategies.jd18 <li><a href="#StartListening">Deciding when to start listening for updates</a></li>
20 <li><a href="#StopListening">Deciding when to stop listening for updates</a></li>
94 like to receive location updates from the {@link android.location.LocationManager} ("Location
102 and request location updates:
109 // Define a listener that responds to location updates
123 // Register the listener with the Location Manager to receive location updates
130 based location). You can control the frequency at which your listener receives updates
134 {@link android.location.LocationListener}, which receives callbacks for location updates.</p>
136 <p>To request location updates from the GPS provider,
138 location updates from both the GPS and the Network Location Provider by calling {@link
[all …]
/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.
70 <p>Having disabled your updates, it's important that you listen for changes in connectivity in order
80 suspend) your background updates accordingly.</p>
86 this broadcast only when you've previously suspended updates or downloads in order to resume them.
88 should there be none, suspend further updates until connectivity is restored.</p>
Dindex.jd30 <p>By taking steps such as disabling background service updates when you lose connectivity, or
31 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/libs/input/
DSpriteController.cpp115 Vector<SpriteUpdate> updates; in doUpdateSprites() local
124 updates.push(SpriteUpdate(sprite, sprite->getStateLocked())); in doUpdateSprites()
133 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites()
151 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites()
192 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>
/frameworks/base/docs/html/distribute/engage/
Dnotifications.jd17 important notifications and status updates. Notifications are like a news
19 updates since last review.
25 In addition to status updates from friends and family, notifications can also
Dapp-updates.jd3 page.tags="updates"
27 Check out the video below see how Kiwi uses frequent updates to engage and
Dcommunity.jd22 updates that users want to check out, you can also use communities to
/frameworks/base/services/core/java/com/android/server/updates/
DSmsShortCodesInstallReceiver.java17 package com.android.server.updates;
DCarrierProvisioningUrlsInstallReceiver.java17 package com.android.server.updates;
DCertPinInstallReceiver.java17 package com.android.server.updates;
DIntentFirewallInstallReceiver.java17 package com.android.server.updates;
DTZInfoInstallReceiver.java17 package com.android.server.updates;
/frameworks/base/docs/html/distribute/essentials/best-practices/
Dgames.jd176 Provide content updates regularly to give users limited edition items to
200 Analyze in-game use</a> to steer content updates and prolong the life of your
237 "{@docRoot}distribute/engage/app-updates.html">updates on a regular
/frameworks/base/docs/html/google/play-services/
Dlocation.jd54 … location to background uses that need periodic location updates with negligible power impact.
70 … <em>Optimized for battery</em>: Adjusts location updates based on user’s proximity to the geofence
87 navigation app can request more frequent updates when the user is driving.
Dindex.jd18 with automatic platform updates distributed as an APK through
19 the Google Play store. This makes it faster for your users to receive updates
49 app will automatically receive updates to Google Play services. Enhance
374 these updates.
392updates to the services are not dependent on carrier or OEM system image updates. In general, devi…
393 …id 2.3 (Gingerbread) or later and have the Google Play Store app installed receive updates within a
402 <p class="img-caption"><em>The Google Play services APK on user devices receives regular updates
/frameworks/base/docs/html/distribute/users/
Dbuild-community.jd138 you continue to gather feedback, answer questions, and get input on updates.
139 Use social media to get the conversation started. Post updates to your
186 let users influence product updates. Use competitions to inspire and reward
/frameworks/base/docs/html/training/cloudsync/
Dgcm.jd27 on waking up the radio and polling the server when there are no updates. Also,
134 name, and the string you're using for that set of updates as the value.</p>
161 your server for updates simultaneously.</p>
205 transmit recent data from 100 different feeds, every time one updates.</li>
207 a specific feed for updates.</li>
/frameworks/base/docs/html/guide/topics/sensors/
Dindex.jd36 application. You'll learn a number of methods to receive location updates and related best

12345