HomeSort by relevance Sort by last modified time
    Searched full:geofences (Results 1 - 25 of 37) sorted by null

1 2

  /frameworks/base/location/java/android/location/
IFusedGeofenceHardware.aidl 40 * Adds a given list of geofences to the system.
42 * @param geofenceRequestsArray The list of geofences to add.
47 * Removes a give list of geofences from the system.
49 * @param geofences The list of geofences to remove.
Geofence.java 25 * <p>Currently only circular geofences are supported and they do not support altitude changes.
161 * Two geofences are equal if they have identical properties.
  /developers/samples/android/wearable/wear/Geofencing/Application/src/main/java/com/example/android/geofencing/
MainActivity.java 58 // These will store hard-coded geofences in this sample app.
62 // Persistent storage for geofences.
69 // Defines the allowable request types (in this example, we only add geofences).
85 // Instantiate the current List of geofences.
97 * In this sample, the geofences are predetermined and are hard-coded here. A real app might
98 * dynamically create geofences based on the user's location.
130 // Start a request to add geofences.
134 Log.e(TAG, "Unable to add geofences - Google Play services unavailable.");
183 * Once the connection is available, send a request to add the Geofences.
191 // Send a request to add the current geofences
    [all...]
Constants.java 36 // For the purposes of this demo, the geofences are hard-coded and should not expire.
37 // An app with dynamically-created geofences would want to include a reasonable expiration time.
61 // Keys for flattened geofences stored in SharedPreferences.
72 // Invalid values, used to test geofence storage when retrieving geofences.
GeofenceTransitionsIntentService.java 75 // Create a DataItem when a user enters one of the geofences. The wearable app will
82 // of geofences triggered.
SimpleGeofenceStore.java 37 // The SharedPreferences object in which geofences are stored.
  /development/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/
MainActivity.java 58 // These will store hard-coded geofences in this sample app.
62 // Persistent storage for geofences.
69 // Defines the allowable request types (in this example, we only add geofences).
85 // Instantiate the current List of geofences.
97 * In this sample, the geofences are predetermined and are hard-coded here. A real app might
98 * dynamically create geofences based on the user's location.
130 // Start a request to add geofences.
134 Log.e(TAG, "Unable to add geofences - Google Play services unavailable.");
183 * Once the connection is available, send a request to add the Geofences.
191 // Send a request to add the current geofences
    [all...]
Constants.java 36 // For the purposes of this demo, the geofences are hard-coded and should not expire.
37 // An app with dynamically-created geofences would want to include a reasonable expiration time.
61 // Keys for flattened geofences stored in SharedPreferences.
72 // Invalid values, used to test geofence storage when retrieving geofences.
GeofenceTransitionsIntentService.java 75 // Create a DataItem when a user enters one of the geofences. The wearable app will
82 // of geofences triggered.
SimpleGeofenceStore.java 37 // The SharedPreferences object in which geofences are stored.
  /frameworks/base/docs/html/training/location/
geofencing.jd 1 page.title=Creating and Monitoring Geofences
38 You can have multiple active geofences at one time.
41 Location Services treats a geofences as an area rather than as a points and proximity. This
48 Send geofences to Location Services
203 To use geofencing, start by defining the geofences you want to monitor. Although you usually
227 you may want to keep permanent geofences for the user's home or place of work.
336 // Keys for flattened geofences stored in SharedPreferences
352 * retrieving geofences
357 // The SharedPreferences object in which geofences are stored
538 // Persistent storage for geofences
    [all...]
index.jd 41 get periodic location updates, look up addresses, create and monitor geofences, and
74 <a href="geofencing.html">Creating and Monitoring Geofences</a>
78 Learn how to define one or more geographic areas as locations of interest, called geofences,
display-address.jd 277 The next lesson, <a href="geofencing.html">Creating and Monitoring Geofences</a>, demonstrates
278 how to define locations of interest called <b>geofences</b> and how to use geofence monitoring
  /frameworks/base/docs/html/reference/com/google/android/gms/location/
GeofencingApi.html 849 <span class="sympad"><a href="/reference/com/google/android/gms/location/GeofencingApi.html#addGeofences(com.google.android.gms.common.api.GoogleApiClient, java.util.List<com.google.android.gms.location.Geofence>, android.app.PendingIntent)">addGeofences</a></span>(<a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html">GoogleApiClient</a> client, List&lt;<a href="/reference/com/google/android/gms/location/Geofence.html">Geofence</a>&gt; geofences, PendingIntent pendingIntent)</nobr>
852 specified geofences.</div>
870 <div class="jd-descrdiv">Removes geofences by their request IDs.</div>
888 <div class="jd-descrdiv">Removes all geofences associated with the given <code>pendingIntent</code>.</div>
954 <span class="normal">(<a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html">GoogleApiClient</a> client, List&lt;<a href="/reference/com/google/android/gms/location/Geofence.html">Geofence</a>&gt; geofences, PendingIntent pendingIntent)</span>
965 specified geofences. If an existing geofence with the same request ID is
969 <code><a href="/reference/com/google/android/gms/common/api/Status.html">Status</a></code> is returned when geofences are successfully added or failed to be added.
970 Refer to <code><a href="/reference/com/google/android/gms/location/GeofenceStatusCodes.html">GeofenceStatusCodes</a></code> for possible errors when adding geofences.
977 geofences that triggered this intent and the location that triggered the geofence
981 service will stop updating, all registered geofences will be removed an
    [all...]
LocationClient.html 842 <li>Request/remove geofences.
889 <td class="jd-descrcol" width="100%">The listener for receiving callbacks when the operation to add geofences
903 geofences completes.&nbsp;</td>
1002 <span class="sympad"><a href="/reference/com/google/android/gms/location/LocationClient.html#addGeofences(java.util.List<com.google.android.gms.location.Geofence>, android.app.PendingIntent, com.google.android.gms.location.LocationClient.OnAddGeofencesResultListener)">addGeofences</a></span>(List&lt;<a href="/reference/com/google/android/gms/location/Geofence.html">Geofence</a>&gt; geofences, PendingIntent pendingIntent, <a href="/reference/com/google/android/gms/location/LocationClient.OnAddGeofencesResultListener.html">LocationClient.OnAddGeofencesResultListener</a> listener)</nobr>
1005 specified geofences.</div>
1114 <div class="jd-descrdiv">Returns a list of geofences that triggers this geofence transition alert.</div>
    [all...]
Geofence.html 767 <p itemprop="articleBody">Represents a geographical region, also known as a geofence. Geofences can be
839 geofences for a given period of time.</td>
961 geofences for a given period of time. If
1146 identify this geofence inside your application. When two geofences with
1148 regardless the geographical region these two geofences represent.
GeofencingEvent.html 813 <li>An error happens after geofences are registered and being monitored.</li>
942 <div class="jd-descrdiv">Returns a list of geofences that triggered this geofence transition
    [all...]
  /frameworks/base/services/core/jni/
com_android_server_location_FlpHardwareProvider.cpp 851 ALOGE("Invalid Geofences to add: %p", geofenceRequestsArray);
864 Geofence* geofences = new Geofence[geofenceRequestsCount]; local
865 if (geofences == NULL) {
870 geofences[i].data = new GeofenceData();
871 geofences[i].options = new GeofenceOptions();
874 TranslateGeofenceFromGeofenceHardwareRequestParcelable(env, geofenceObject, geofences[i]);
878 sFlpGeofencingInterface->add_geofences(geofenceRequestsCount, &geofences);
879 if (geofences != NULL) {
881 delete geofences[i].data;
882 delete geofences[i].options
    [all...]
  /hardware/libhardware/include/hardware/
fused_location.h 462 * In the diagram above, "a" and "b" are 2 geofences and "c" is the accuracy
486 * Startup Scenario: When the device boots up, if an application adds geofences,
489 * By default, all the Geofences will be in the Unknown state.
529 * monitor geofences because of lack of reliability or unavailability of the GPS signals,
661 * The sources to use for monitoring geofences. Its a BITWISE-OR
686 * Add a list of geofences.
688 * number_of_geofences - The number of geofences that needed to be added.
689 * geofences - Pointer to array of pointers to Geofence structure.
691 void (*add_geofences) (int32_t number_of_geofences, Geofence** geofences);
722 * Remove a list of geofences. After the function returns, no notification
    [all...]
  /frameworks/base/services/core/java/com/android/server/location/
GeofenceManager.java 81 * A list containing all registered geofences.
236 * {@link Intent}s for geofences that have been tripped. It also adjusts the active location
237 * update request with {@link LocationManager} as appropriate for any active geofences.
414 pw.println(" Geofences:");
  /frameworks/base/docs/html/google/play-services/
location.jd 65 <em>Simple but powerful APIs</em>: Allows batch addition and removal of geofences. Ability to manage
66 multiple geofences at the same time. Ability to filter alerts for both entry and exit or
  /frameworks/base/core/java/android/hardware/location/
GeofenceHardware.java 27 * This class handles geofences managed by various hardware subsystems. It contains
69 * available for monitoring geofences.
75 * unavailable for monitoring geofences.
108 * The constant used to indicate that too many geofences have been registered.
201 * for monitoring geofences in certain scenarios. For example, when a user
203 * geofences and will change from {@link #MONITOR_CURRENTLY_AVAILABLE} to
GeofenceHardwareImpl.java 35 * This class manages the geofences which are handled by hardware.
619 // Find all geofences associated with this callback and remove them.
    [all...]
  /cts/tests/tests/location/src/android/location/cts/
LocationManagerTest.java 748 // Adding geofences is asynchronous, the return of LocationManager.addProximityAlert
749 // doesn't mean that geofences are already being monitored. Wait for a few milliseconds
    [all...]
  /device/htc/flounder/gps/bcm/
gps.bcm47521.so 

Completed in 399 milliseconds

1 2