OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:geofenceId
(Results
1 - 11
of
11
) sorted by null
/developers/build/prebuilts/gradle/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/
HomeListenerService.java
77
String
geofenceId
= DataMap.fromByteArray(event.getDataItem().getData())
79
postNotificationForGeofenceId(
geofenceId
, event.getDataItem().getUri());
98
* @param
geofenceId
The geofence id that the user has triggered.
102
private void postNotificationForGeofenceId(String
geofenceId
, Uri dataItemUri) {
103
// Use the
geofenceId
to determine the title and background of the check-in notification.
107
if (ANDROID_BUILDING_ID.equals(
geofenceId
)) {
111
} else if (YERBA_BUENA_ID.equals(
geofenceId
)) {
116
Log.e(TAG, "Unrecognized geofence id: " +
geofenceId
);
/developers/samples/android/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/
HomeListenerService.java
77
String
geofenceId
= DataMap.fromByteArray(event.getDataItem().getData())
79
postNotificationForGeofenceId(
geofenceId
, event.getDataItem().getUri());
98
* @param
geofenceId
The geofence id that the user has triggered.
102
private void postNotificationForGeofenceId(String
geofenceId
, Uri dataItemUri) {
103
// Use the
geofenceId
to determine the title and background of the check-in notification.
107
if (ANDROID_BUILDING_ID.equals(
geofenceId
)) {
111
} else if (YERBA_BUENA_ID.equals(
geofenceId
)) {
116
Log.e(TAG, "Unrecognized geofence id: " +
geofenceId
);
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
HomeListenerService.java
77
String
geofenceId
= DataMap.fromByteArray(event.getDataItem().getData())
79
postNotificationForGeofenceId(
geofenceId
, event.getDataItem().getUri());
98
* @param
geofenceId
The geofence id that the user has triggered.
102
private void postNotificationForGeofenceId(String
geofenceId
, Uri dataItemUri) {
103
// Use the
geofenceId
to determine the title and background of the check-in notification.
107
if (ANDROID_BUILDING_ID.equals(
geofenceId
)) {
111
} else if (YERBA_BUENA_ID.equals(
geofenceId
)) {
116
Log.e(TAG, "Unrecognized geofence id: " +
geofenceId
);
/frameworks/base/services/core/java/com/android/server/location/
GnssGeofenceProvider.java
26
public int
geofenceId
;
59
boolean added = mNative.addGeofence(entry.
geofenceId
, entry.latitude,
65
mNative.pauseGeofence(entry.
geofenceId
);
88
public boolean addCircularHardwareGeofence(int
geofenceId
, double latitude,
92
boolean added = mNative.addGeofence(
geofenceId
, latitude, longitude, radius,
97
entry.
geofenceId
=
geofenceId
;
105
mGeofenceEntries.put(
geofenceId
, entry);
112
public boolean removeHardwareGeofence(int
geofenceId
) {
114
boolean removed = mNative.removeGeofence(
geofenceId
);
[
all
...]
/frameworks/base/core/java/android/hardware/location/
GeofenceHardwareImpl.java
258
int
geofenceId
= request.getId();
276
mGeofences.put(
geofenceId
, callback);
319
mGeofences.remove(
geofenceId
);
327
public boolean removeGeofence(int
geofenceId
, int monitoringType) {
330
if (DEBUG) Log.d(TAG, "Remove Geofence:
GeofenceId
: " +
geofenceId
);
334
if (mGeofences.get(
geofenceId
) == null) {
335
throw new IllegalArgumentException("Geofence " +
geofenceId
+ " not registered.");
342
result = mGpsService.removeHardwareGeofence(
geofenceId
);
353
mFusedService.removeGeofences(new int[] {
geofenceId
});
[
all
...]
/external/robolectric/v1/lib/main/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/system_23/
android.jar
/prebuilts/sdk/system_28/
android.jar
/prebuilts/sdk/system_current/
android.jar
Completed in 227 milliseconds