/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
LocationTest.java | 3 import android.location.Location; 4 import android.location.LocationManager; 17 private Location location; field in class:LocationTest 21 location = new Location(LocationManager.GPS_PROVIDER); 22 location.setTime(1); 23 location.setLatitude(2); 24 location.setLongitude(3) [all...] |
/external/mockito/src/org/mockito/internal/debugging/ |
Localized.java | 8 import org.mockito.invocation.Location;
13 private final Location location;
field in class:Localized 17 location = new LocationImpl();
24 public Location getLocation() {
25 return location;
|
/cts/tests/tests/location/src/android/location/cts/ |
LocationTest.java | 17 package android.location.cts; 21 import android.location.Location; 22 import android.location.SettingInjectorService; 55 new Location("LocationProvider"); 57 Location l = createTestLocation(); 58 Location location = new Location(l); local 59 assertTestLocation(location); 72 Location location = new Location("LocationProvider"); local 78 Location location = new Location(""); local 213 Location location = new Location(""); local 262 Location location = new Location(""); local 275 Location location = new Location(""); local 288 Location location = new Location(""); local 309 Location location = createTestLocation(); local 318 Location location = new Location(""); local 331 Location location = new Location(""); local 344 Location location = new Location(""); local 355 Location location = new Location(""); local 368 Location location = new Location(""); local 381 Location location = new Location(""); local 405 Location location = createTestLocation(); local 411 Location location = createTestLocation(); local [all...] |
/frameworks/data-binding/compilerCommon/src/test/java/android/databinding/tool/store/ |
LocationTest.java | 30 assertFalse(new Location().isValid()); 35 Location location = new Location(0, 0, 1, 1); local 36 assertTrue(location.isValid()); 41 Location location1 = new Location(0, 0, 10, 1); 42 Location location2 = new Location(0, 0, 9, 1); 52 Location loc = new Location(1, 2, 3, 4) [all...] |
/frameworks/base/location/java/android/location/ |
package.html | 4 <p>Contains the framework API classes that define Android location-based and 7 <strong>This API is not the recommended method for accessing Android location.</strong><br> 9 <a href="{@docRoot}reference/com/google/android/gms/location/package-summary.html">Google Location Services API</a>, 10 part of Google Play services, is the preferred way to add location-awareness to 12 more. If you are currently using the android.location API, you are strongly 13 encouraged to switch to the Google Location Services API as soon as 16 To learn more about the Google Location Services API, see the 17 <a href="{@docRoot}google/play-services/location.html">Location API overview</a> [all...] |
/art/compiler/optimizing/ |
locations.cc | 28 output_overlaps_(Location::kOutputOverlap), 36 inputs_.Put(i, Location()); 47 Location Location::RegisterOrConstant(HInstruction* instruction) { 49 ? Location::ConstantLocation(instruction->AsConstant()) 50 : Location::RequiresRegister(); 53 Location Location::RegisterOrInt32LongConstant(HInstruction* instruction) { 55 return Location::RequiresRegister(); 62 ? Location::ConstantLocation(instruction->AsConstant() [all...] |
parallel_move_test.cc | 36 static void DumpLocationForTest(std::ostream& os, Location location) { 37 if (location.IsConstant()) { 39 } else if (location.IsPair()) { 40 DumpRegisterForTest(os, location.low()); 42 DumpRegisterForTest(os, location.high()); 43 } else if (location.IsRegister()) { 44 DumpRegisterForTest(os, location.reg()); 45 } else if (location.IsStackSlot()) { 46 os << location.GetStackIndex() << "(sp)" [all...] |
/dalvik/dx/tests/114-value-propagation/ |
info.txt | 2 stack location to a local variable. (regression test)
|
/device/htc/flounder/bluetooth/ |
bt_vendor.conf | 4 # Firmware patch file location
|
/hardware/broadcom/libbt/conf/asus/grouper/ |
bt_vendor.conf | 4 # Firmware patch file location
|
/hardware/broadcom/libbt/conf/moto/wingray/ |
bt_vendor.conf | 4 # Firmware patch file location
|
/hardware/broadcom/libbt/conf/samsung/crespo/ |
bt_vendor.conf | 4 # Firmware patch file location
|
/hardware/broadcom/libbt/conf/samsung/crespo4g/ |
bt_vendor.conf | 4 # Firmware patch file location
|
/hardware/broadcom/libbt/conf/samsung/maguro/ |
bt_vendor.conf | 4 # Firmware patch file location
|
/external/lldb/lldb.xcworkspace/ |
contents.xcworkspacedata | 5 location = "group:lldb.xcodeproj"> 8 location = "group:tools/debugserver/debugserver.xcodeproj"> 11 location = "group:tools/lldb-perf/lldbperf.xcodeproj">
|
/external/mockito/src/org/mockito/invocation/ |
Location.java | 10 * Describes the location of something in the source code. 13 public interface Location { 16 * @return the location
|
StubInfo.java | 10 * The information about stubbing, for example the location of stubbing. 16 * @return the location where the invocation was stubbed. 18 Location stubbedAt();
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/location/ |
UpdateCountryService.java | 1 package com.android.contacts.common.location; 8 import android.location.Address; 9 import android.location.Geocoder; 10 import android.location.Location; 19 * {@link Location}, convert it into a country code, and save it in shared preferences. 26 private static final String KEY_INTENT_LOCATION = "location"; 32 public static void updateCountry(Context context, Location location) { 35 serviceIntent.putExtra(UpdateCountryService.KEY_INTENT_LOCATION, location); 46 final Location location = (Location) intent.getParcelableExtra(KEY_INTENT_LOCATION); local [all...] |
/external/chromium-trace/trace-viewer/tracing/tracing/model/ |
comment_box_annotation.html | 8 <link rel="import" href="/model/location.html"> 18 function CommentBoxAnnotation(location, text) { 21 this.location = location; 27 var location = 28 new tr.model.Location(args.location.xWorld, args.location.yComponents); 29 return new tr.model.CommentBoxAnnotation(location, args.text); 44 location: this.location.toDict( [all...] |
/frameworks/base/docs/html/guide/topics/location/ |
strategies.jd | 1 page.title=Location Strategies 9 <li><a href="#Challenges">Challenges in Determining User Location</a></li> 10 <li><a href="#Updates">Requesting Location Updates</a> 17 <li><a href="#Flow">Flow for obtaining user location</a></li> 19 <li><a href="#FastFix">Getting a fast fix with the last known location</a></li> 25 <li><a href="#MockData">Providing Mock Location Data</a></li> 29 <li>{@link android.location.LocationManager}</li> 30 <li>{@link android.location.LocationListener}</li> 36 <strong>Note:</strong> The strategies described in this guide apply to the platform location 37 API in {@link android.location}. The Google Location Services API, part of Google Pla [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
LocationStatsAggregator.java | 25 import android.location.Criteria; 26 import android.location.Location; 27 import android.location.LocationListener; 28 import android.location.LocationManager; 29 import android.location.LocationProvider; 46 public static final String CURRENT_LOCATION = "Current Location"; 48 public static final String UNKNOWN_LOCATION = "Unknown Location"; 56 // record time when the location provider is set 73 // Fake location, used for testing 128 String location = mClusterManager.getSemanticLocation(); local 161 Location location = mLocationManager.getLastKnownLocation(provider); local 187 Location location = getLastKnownLocation(); local [all...] |
/frameworks/base/docs/html/training/location/ |
index.jd | 1 page.title=Making Your App Location-Aware 2 page.tags=location,geofence,geofencing,activity recognition,activity detection,gps 41 One of the unique features of mobile applications is location awareness. 42 Mobile users take their devices with them everywhere, and adding location 43 awareness to your app offers users a more contextual experience. The location 44 APIs available in Google Play services facilitate adding location awareness to 45 your app with automated location tracking, geofencing, and activity 50 <a href="{@docRoot}reference/com/google/android/gms/location/package-summary.html">Google 51 Play services location APIs</a> are preferred over the Android framework 52 location API [all...] |
/packages/apps/Camera2/src/com/android/camera/app/ |
LocationProvider.java | 19 import android.location.Location; 22 * A generic interface for a location provider {Fused, GPS, Network}. 27 * Report when connection fails so another location provider may be used. 37 * Get the current location. 39 public Location getCurrentLocation(); 42 * Turn on/off recording of location. 44 * @param recordLocation Whether or not to record location. 49 * Disconnect the location provider after use. The location provider can no longer acquir [all...] |
LegacyLocationProvider.java | 20 import android.location.Location; 27 * A class that handles legacy (network, gps) location providers, in the event 28 * the fused location provider from Google Play Services is unavailable. 34 private android.location.LocationManager mLocationManager; 38 new LocationListener(android.location.LocationManager.GPS_PROVIDER), 39 new LocationListener(android.location.LocationManager.NETWORK_PROVIDER) 47 public Location getCurrentLocation() { 54 Location l = mLocationListeners[i].current(); 59 Log.d(TAG, "No location received yet.") [all...] |
/packages/apps/Camera2/src_pd/com/android/camera/app/ |
LocationManager.java | 20 import android.location.Location; 25 * A class to select the best available location provider (fused location 26 * provider, or network/gps if the fused location provider is unavailable) 27 * and provide a common location interface. 35 Log.d(TAG, "Using legacy location provider."); 41 * Start/stop location recording. 49 * Returns the current location from the location provider or null, i [all...] |