OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LocationListener
(Results
1 - 25
of
27
) sorted by null
1
2
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
ExternalSharedPermsFLTest.java
21
import android.location.
LocationListener
;
36
new
LocationListener
() {
/frameworks/base/location/java/android/location/
LocationListener.java
24
*
LocationListener
has been registered with the location manager service
25
* using the {@link LocationManager#requestLocationUpdates(String, long, float,
LocationListener
)}
35
public interface
LocationListener
{
LocationManager.java
164
private HashMap<
LocationListener
,ListenerTransport> mListeners =
165
new HashMap<
LocationListener
,ListenerTransport>();
173
private
LocationListener
mListener;
176
ListenerTransport(
LocationListener
listener, Looper looper) {
403
* the named provider. Periodically, the supplied
LocationListener
will
411
* and the {@link
LocationListener
#onProviderDisabled(String)}
413
* the {@link
LocationListener
#onProviderEnabled(String)} method will
437
* @param listener a {#link
LocationListener
} whose
438
* {@link
LocationListener
#onLocationChanged} method will be called for
446
long minTime, float minDistance,
LocationListener
listener)
[
all
...]
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
ExternalSharedPermsTest.java
21
import android.location.
LocationListener
;
41
new
LocationListener
() {
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
ExternalSharedPermsDiffKeyTest.java
22
import android.location.
LocationListener
;
39
new
LocationListener
() {
/frameworks/base/services/java/com/android/server/location/
LocationBasedCountryDetector.java
24
import android.location.
LocationListener
;
61
protected List<
LocationListener
> mLocationListeners;
97
protected void registerListener(String provider,
LocationListener
listener) {
104
protected void unregisterListener(
LocationListener
listener) {
154
mLocationListeners = new ArrayList<
LocationListener
>(totalProviders);
158
LocationListener
listener = new
LocationListener
() {
205
for (
LocationListener
listener : mLocationListeners) {
/packages/apps/Camera/src/com/android/camera/
LocationManager.java
36
LocationListener
[] mLocationListeners = new
LocationListener
[] {
37
new
LocationListener
(android.location.LocationManager.GPS_PROVIDER),
38
new
LocationListener
(android.location.LocationManager.NETWORK_PROVIDER)
121
private class
LocationListener
122
implements android.location.
LocationListener
{
127
public
LocationListener
(String provider) {
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
LocationBasedCountryDetectorTest.java
21
import android.location.
LocationListener
;
44
private Map<String,
LocationListener
> mListeners;
55
mListeners = new HashMap<String,
LocationListener
>();
96
protected void registerListener(String provider,
LocationListener
listener) {
102
protected void unregisterListener(
LocationListener
listener) {
103
for (Entry<String,
LocationListener
> entry : mListeners.entrySet()) {
112
public Map<String,
LocationListener
> getListeners() {
128
LocationListener
[] listeners = new
LocationListener
[mListeners.size()];
130
for (
LocationListener
listener :listeners)
[
all
...]
/development/tools/emulator/test-apps/GpsLocationTest/src/com/android/emulator/gps/test/
GpsLocationTest.java
20
import android.location.
LocationListener
;
33
public class GpsLocationTest extends AndroidTestCase implements
LocationListener
{
/cts/tests/tests/permission/src/android/permission/cts/
NoLocationPermissionTest.java
25
import android.location.
LocationListener
;
96
LocationListener
mockListener = new MockLocationListener();
399
private static class MockLocationListener implements
LocationListener
{
/frameworks/base/core/java/android/webkit/
GeolocationService.java
22
import android.location.
LocationListener
;
34
final class GeolocationService implements
LocationListener
{
97
*
LocationListener
implementation.
111
*
LocationListener
implementation.
128
*
LocationListener
implementation.
143
*
LocationListener
implementation.
/cts/tests/tests/location/src/android/location/cts/
LocationManagerTest.java
34
import android.location.
LocationListener
;
313
args = {String.class, long.class, float.class,
LocationListener
.class}
318
args = {
LocationListener
.class}
337
(
LocationListener
) null);
351
mManager.removeUpdates( (
LocationListener
) null );
433
args = {String.class, long.class, float.class,
LocationListener
.class, Looper.class}
438
args = {
LocationListener
.class}
474
(
LocationListener
) null, Looper.myLooper());
488
mManager.removeUpdates( (
LocationListener
) null );
683
@ToBeFixed(bug = "", explanation = "The callbacks of
LocationListener
can not be tested
[
all
...]
/frameworks/base/services/java/com/android/server/
UiModeManagerService.java
37
import android.location.
LocationListener
;
252
// A
LocationListener
to initialize the network location provider. The location updates
254
private final
LocationListener
mEmptyLocationListener = new
LocationListener
() {
268
private final
LocationListener
mLocationListener = new
LocationListener
() {
[
all
...]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
TrackerService.java
29
import android.location.
LocationListener
;
291
private class LocationTrackingListener implements
LocationListener
{
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/
GrassRS.java
33
import android.location.
LocationListener
;
357
private class LocationUpdater implements
LocationListener
{
/prebuilt/darwin-x86/swt/
swt.jar
/prebuilt/darwin-x86_64/swt/
swt.jar
/prebuilt/linux-x86/swt/
swt.jar
/prebuilt/linux-x86_64/swt/
swt.jar
/prebuilt/windows/swt/
swt.jar
/prebuilt/windows-x86_64/swt/
swt.jar
/prebuilt/sdk/11/
android.jar
/prebuilt/sdk/14/
android.jar
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/6/
android.jar
Completed in 2615 milliseconds
1
2