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

1 2

  /frameworks/base/core/java/android/hardware/location/
GeofenceHardwareRequest.java 22 * This class represents the characteristics of the geofence.
47 * Create a circular geofence.
49 * @param latitude Latitude of the geofence
50 * @param longitude Longitude of the geofence
51 * @param radius Radius of the geofence (in meters)
61 * Set the last known transition of the geofence.
63 * @param lastTransition The current state of the geofence. Can be one of
72 * Set the unknown timer for this geofence.
93 * Set the notification responsiveness of the geofence.
97 * associated with the Geofence is triggered. For instance, i
    [all...]
GeofenceHardware.java 32 * <p> There are 3 states associated with a Geofence: Inside, Outside, Unknown.
37 * the geofence. Outside state: The hardware subsystem is reasonably confident that the user
38 * is outside the geofence Unknown state: Unknown state can be interpreted as a state in which the
40 * outside the Geofence. If the accuracy does not improve for a sufficient period of time,
49 // Hardware systems that do geofence monitoring.
53 * Constant for geofence monitoring done by the GPS hardware.
58 * Constant for geofence monitoring done by the Fused hardware.
78 * for hardware geofence monitoring.
82 // The following constants need to match geofence flags in gps.h
84 * The constant to indicate that the user has entered the geofence
    [all...]
GeofenceHardwareCallback.java 27 * geofence.
29 * @param geofenceId The geofence ID of the geofence
44 * @param geofenceId The ID of the geofence.
57 * @param geofenceId The ID of the geofence.
68 * @param geofenceId The ID of the geofence.
79 * @param geofenceId The ID of the geofence.
GeofenceHardwareRequestParcelable.java 24 * Geofence Hardware Request used for internal location services communication.
45 * Returns the latitude of this geofence.
52 * Returns the longitude of this geofence.
59 * Returns the radius of this geofence.
66 * Returns transitions monitored for this geofence.
73 * Returns the unknownTimer of this geofence.
80 * Returns the notification responsiveness of this geofence.
87 * Returns the last transition of this geofence.
94 * Returns the type of the geofence for the current request.
111 String.format("Invalid Geofence type: %d", geofenceType))
    [all...]
GeofenceHardwareService.java 62 throw new SecurityException("Insufficient permissions to access hardware geofence for"
78 "Location Hardware permission not granted to access hardware geofence");
85 "Location Hardware permission not granted to access hardware geofence");
93 "Location Hardware permission not granted to access hardware geofence");
102 "Location Hardware permission not granted to access hardware geofence");
110 "Location Hardware permission not granted to access hardware geofence");
118 "Location Hardware permission not granted to access hardware geofence");
127 "Location Hardware permission not granted to access hardware geofence");
137 "Location Hardware permission not granted to access hardware geofence");
GeofenceHardwareImpl.java 161 Log.w(TAG, "GPS Geofence Hardware service seems to have crashed");
173 Log.w(TAG, "Fused Geofence Hardware service seems to have crashed");
216 // This API is not thread safe. Operations on the same geofence need to be serialized
229 // callback might not be called after the geofence is added in the geofence hardware.
290 // This API is not thread safe. Operations on the same geofence need to be serialized
292 if (DEBUG) Log.d(TAG, "Remove Geofence: GeofenceId: " + geofenceId);
297 throw new IllegalArgumentException("Geofence " + geofenceId + " not registered.");
330 // This API is not thread safe. Operations on the same geofence need to be serialized
332 if (DEBUG) Log.d(TAG, "Pause Geofence: GeofenceId: " + geofenceId)
    [all...]
  /frameworks/base/docs/downloads/training/
GeofenceDetection.zip 
  /frameworks/base/location/java/android/location/
IFusedGeofenceHardware.aidl 22 * Fused Geofence Hardware interface.
54 * Pauses monitoring a particular geofence.
56 * @param geofenceId The geofence to pause monitoring.
61 * Resumes monitoring a particular geofence.
63 * @param geofenceid The geofence to resume monitoring.
66 * Remarks: keep naming of geofence request options consistent with the naming used in
72 * Modifies the request options if a geofence that is already known by the
75 * @param geofenceId The geofence to modify.
77 * the geofence.
Geofence.java 23 * Represents a geographical boundary, also known as a geofence.
29 public final class Geofence implements Parcelable {
39 * Create a circular geofence (on a flat, horizontal plane).
44 * @return a new geofence
47 public static Geofence createCircle(double latitude, double longitude, float radius) {
48 return new Geofence(latitude, longitude, radius);
51 private Geofence(double latitude, double longitude, float radius) {
101 public static final Parcelable.Creator<Geofence> CREATOR = new Parcelable.Creator<Geofence>() {
103 public Geofence createFromParcel(Parcel in)
    [all...]
Geofence.aidl 19 parcelable Geofence;
IGpsGeofenceHardware.aidl 20 * GPS hardware geofence
ILocationManager.aidl 23 import android.location.Geofence;
44 void requestGeofence(in LocationRequest request, in Geofence geofence,
46 void removeGeofence(in Geofence fence, in PendingIntent intent, String packageName);
  /frameworks/base/docs/html/training/location/
geofencing.jd 12 <li><a href="#RequestGeofences">Request Geofence Monitoring</a></li>
13 <li><a href="#HandleGeofenceTransitions">Handle Geofence Transitions</a></li>
14 <li><a href="#StopGeofenceMonitoring">Stop Geofence Monitoring</a></li>
37 location, you add a radius. The latitude, longitude, and radius define a geofence.
42 allows it to detect when the user enters or exits a geofence. For each geofence, you can ask
44 duration of a geofence by specifying an expiration duration in milliseconds. After the geofence
50 <h2 id="RequestGeofences">Request Geofence Monitoring</h2>
52 The first step in requesting geofence monitoring is to request the necessary permission
    [all...]
index.jd 2 page.tags="location","geofence", "geofencing", "activity recognition", "activity detection", "gps"
79 and detect when the user is close to or inside a geofence.
  /frameworks/base/location/lib/java/com/android/location/provider/
GeofenceProvider.java 29 * Base class for geofence providers implemented as unbundled services.
31 * <p>Geofence providers can be implemented as services and return the result of
50 * Returns the Binder interface for the geofence provider.
52 * a service that implements a geofence service.
63 * @param geofenceHardware Geofence Hardware object. This can be null
  /hardware/libhardware/include/hardware/
fused_location.h 432 * There are 3 states associated with a Geofence: Inside, Outside, Unknown.
449 * Inside state: We are 95% confident that the user is inside the geofence.
450 * Outside state: We are 95% confident that the user is outside the geofence
465 * whether it is inside or outside the geofence. If the accuracy remains the
472 * outside the Geofence. It moves to Unknown state only after the expiry of the
475 * The geofence callback needs to be triggered for the ENTERED and EXITED
477 * (Inside state) or exited (Outside state) the Geofence. An implementation
488 * appropriate (ENTERED or EXITED) transition for every Geofence it knows about.
494 * UNKNOWN transition described above is per geofence.
505 * The callback associated with the geofence
621 } geofence; member in struct:__anon32926
    [all...]
gps.h 685 * GPS Geofence.
686 * There are 3 states associated with a Geofence: Inside, Outside, Unknown.
703 * Inside state: We are 95% confident that the user is inside the geofence.
704 * Outside state: We are 95% confident that the user is outside the geofence
719 * whether it is inside or outside the geofence. If the accuracy remains the
726 * outside the Geofence. It moves to Unknown state only after the expiry of the
729 * The geofence callback needs to be triggered for the ENTERED and EXITED
731 * (Inside state) or exited (Outside state) the Geofence. An implementation
742 * appropriate (ENTERED or EXITED) transition for every Geofence it knows about.
748 * UNKNOWN transition described above is per geofence
    [all...]
  /frameworks/base/docs/html/reference/com/google/android/gms/location/
Geofence.Builder.html 86 <title>Geofence.Builder | Android Developers</title>
686 <h1 itemprop="name">Geofence.Builder</h1>
719 <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.location.Geofence.Builder</td>
735 <p itemprop="articleBody">A builder that builds <code><a href="/reference/com/google/android/gms/location/Geofence.html">Geofence</a></code>.
802 <span class="sympad"><a href="/reference/com/google/android/gms/location/Geofence.Builder.html#Geofence.Builder()">Geofence.Builder</a></span>()</nobr>
828 <a href="/reference/com/google/android/gms/location/Geofence.html">Geofence</a></nobr
    [all...]
Geofence.html 86 <title>Geofence | Android Developers</title>
655 <h1 itemprop="name">Geofence</h1>
674 <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.location.Geofence</td>
690 <p itemprop="articleBody">Represents a geographical region, also known as a geofence. Geofences can be
692 geofence, an alert will be generated.
735 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/location/Geofence.Builder.html">Geofence.Builder</a></td>
736 <td class="jd-descrcol" width="100%">A builder that builds <code><a href="/reference/com/google/android/gms/location/Geofence.html">Geofence</a></code>.&nbsp;</td>
760 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/location/Geofence.html#GEOFENCE_TRANSITION_ENTER">GEOFENCE_TRANSITION_ENTER</a></td
    [all...]
  /frameworks/base/services/java/com/android/server/location/
GeofenceState.java 21 import android.location.Geofence;
25 * Represents state associated with a geofence
35 public final Geofence mFence;
46 public GeofenceState(Geofence fence, long expireAt,
GeofenceManager.java 28 import android.location.Geofence;
119 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent,
122 Slog.d(TAG, "addFence: request=" + request + ", geofence=" + geofence
126 GeofenceState state = new GeofenceState(geofence,
132 if (geofence.equals(w.mFence) && intent.equals(w.mIntent)) {
143 public void removeFence(Geofence fence, PendingIntent intent) {
234 * The geofence update loop. This function removes expired fences, then tests the most
261 Slog.d(TAG, "skipping geofence processing for blacklisted app:
    [all...]
  /device/lge/hammerhead/
gps.conf 42 # GEOFENCE = 0x20
43 # default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
  /device/lge/mako/
gps.conf 42 # GEOFENCE = 0x20
43 # default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
  /frameworks/base/services/jni/
com_android_server_location_FlpHardwareProvider.cpp 268 * Helper function to unwrap Geofence structures from the Java Runtime calls.
273 Geofence& geofence) {
277 geofence.geofence_id = env->CallIntMethod(geofenceRequestObject, getId);
281 // the same notion of geofence types
286 geofence.data->type = type;
287 GeofenceCircle& circle = geofence.data->geofence.circle;
304 GeofenceOptions* options = geofence.options;
858 Geofence* geofences = new Geofence[geofenceRequestsCount]
    [all...]
  /prebuilts/sdk/17/
framework.aidl 44 parcelable android.location.Geofence;

Completed in 986 milliseconds

1 2