OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:geofence
(Results
1 - 7
of
7
) sorted by null
/developers/build/prebuilts/gradle/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/
SimpleGeofenceStore.java
33
* Storage for
geofence
values, implemented in SharedPreferences.
50
* Returns a stored
geofence
by its id, or returns null if it's not found.
51
* @param id The ID of a stored
geofence
.
55
// Get the latitude for the
geofence
identified by id, or INVALID_FLOAT_VALUE if it doesn't
81
* Save a
geofence
.
82
* @param
geofence
The SimpleGeofence with the values you want to save in SharedPreferences.
84
public void setGeofence(String id, SimpleGeofence
geofence
) {
88
// Write the
Geofence
values to SharedPreferences.
89
prefs.putFloat(getGeofenceFieldKey(id, KEY_LATITUDE), (float)
geofence
.getLatitude());
90
prefs.putFloat(getGeofenceFieldKey(id, KEY_LONGITUDE), (float)
geofence
.getLongitude())
[
all
...]
/developers/samples/android/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/
SimpleGeofenceStore.java
33
* Storage for
geofence
values, implemented in SharedPreferences.
50
* Returns a stored
geofence
by its id, or returns null if it's not found.
51
* @param id The ID of a stored
geofence
.
55
// Get the latitude for the
geofence
identified by id, or INVALID_FLOAT_VALUE if it doesn't
81
* Save a
geofence
.
82
* @param
geofence
The SimpleGeofence with the values you want to save in SharedPreferences.
84
public void setGeofence(String id, SimpleGeofence
geofence
) {
88
// Write the
Geofence
values to SharedPreferences.
89
prefs.putFloat(getGeofenceFieldKey(id, KEY_LATITUDE), (float)
geofence
.getLatitude());
90
prefs.putFloat(getGeofenceFieldKey(id, KEY_LONGITUDE), (float)
geofence
.getLongitude())
[
all
...]
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
SimpleGeofenceStore.java
33
* Storage for
geofence
values, implemented in SharedPreferences.
50
* Returns a stored
geofence
by its id, or returns null if it's not found.
51
* @param id The ID of a stored
geofence
.
55
// Get the latitude for the
geofence
identified by id, or INVALID_FLOAT_VALUE if it doesn't
81
* Save a
geofence
.
82
* @param
geofence
The SimpleGeofence with the values you want to save in SharedPreferences.
84
public void setGeofence(String id, SimpleGeofence
geofence
) {
88
// Write the
Geofence
values to SharedPreferences.
89
prefs.putFloat(getGeofenceFieldKey(id, KEY_LATITUDE), (float)
geofence
.getLatitude());
90
prefs.putFloat(getGeofenceFieldKey(id, KEY_LONGITUDE), (float)
geofence
.getLongitude())
[
all
...]
/frameworks/base/services/core/java/com/android/server/location/
GeofenceManager.java
30
import android.location.
Geofence
;
151
public void addFence(LocationRequest request,
Geofence
geofence
, PendingIntent intent,
154
Slog.d(TAG, "addFence: request=" + request + ",
geofence
=" +
geofence
158
GeofenceState state = new GeofenceState(
geofence
,
164
if (
geofence
.equals(w.mFence) && intent.equals(w.mIntent)) {
175
public void removeFence(
Geofence
fence, PendingIntent intent) {
266
* The
geofence
update loop. This function removes expired fences, then tests the most
293
Slog.d(TAG, "skipping
geofence
processing for blacklisted app:
[
all
...]
/hardware/libhardware/include/hardware/
fused_location.h
511
* There are 3 states associated with a
Geofence
: Inside, Outside, Unknown.
528
* Inside state: We are 95% confident that the user is inside the
geofence
.
529
* Outside state: We are 95% confident that the user is outside the
geofence
544
* whether it is inside or outside the
geofence
. If the accuracy remains the
551
* outside the
Geofence
. It moves to Unknown state only after the expiry of the
554
* The
geofence
callback needs to be triggered for the ENTERED and EXITED
556
* (Inside state) or exited (Outside state) the
Geofence
. An implementation
567
* appropriate (ENTERED or EXITED) transition for every
Geofence
it knows about.
573
* UNKNOWN transition described above is per
geofence
.
584
* The callback associated with the
geofence
701
}
geofence
;
member in struct:__anon43091
[
all
...]
/frameworks/base/location/java/android/location/
ILocationManager.aidl
23
import android.location.
Geofence
;
46
void requestGeofence(in LocationRequest request, in
Geofence
geofence
,
48
void removeGeofence(in
Geofence
fence, in PendingIntent intent, String packageName);
/frameworks/base/services/core/java/com/android/server/
LocationManagerService.java
68
import android.location.
Geofence
;
698
// bind to
geofence
provider
707
Slog.d(TAG, "Unable to bind FLP
Geofence
proxy.");
[
all
...]
Completed in 108 milliseconds