/external/mockito/src/org/mockito/invocation/ |
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();
|
/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...] |
receive-location-updates.jd | 1 page.title=Receiving Location Updates 10 <li><a href="#get-last-location">Get the Last Known Location</a></li> 11 <li><a href="#updates">Request Location Updates</a></li> 12 <li><a href="#callback">Define the Location Update Callback</a></li> 13 <li><a href="#stop-updates">Stop Location Updates</a></li> 24 <a href="retrieve-current.html">Getting the Last Known Location</a> 32 <a href="https://github.com/googlesamples/android-play-location/tree/master/LocationUpdates" class="external-link">LocationUpdates</a> 38 <p>If your app can continuously track location, it can deliver more relevant 40 way while walking or driving, or if your app tracks the location of assets, i [all...] |
/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/catapult/tracing/tracing/model/ |
comment_box_annotation.html | 8 <link rel="import" href="/tracing/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...] |
/cts/tests/tests/location/src/android/location/cts/ |
TestLocationListener.java | 16 package android.location.cts; 18 import android.location.Location; 19 import android.location.LocationListener; 20 import android.location.LocationManager; 27 * Used for receiving notifications from the LocationManager when the location has changed. 41 public void onLocationChanged(Location location) { 69 * Check if location provider is enabled. 71 * @return {@code true} if the location provider is enabled and {@code false [all...] |
/external/libweave/src/ |
error.cc | 13 inline void LogError(const tracked_objects::Location& location, 17 // the current error location with the location passed in to the Error object. 18 // This way the log will contain the actual location of the error, and not 20 logging::LogMessage(location.file_name(), location.line_number(), 23 << location.function_name() << "(...): " 28 ErrorPtr Error::Create(const tracked_objects::Location& location, [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...] |
/external/bison/examples/calc++/ |
location.hh | 34 ** \file ../../../../examples/calc++/location.hh 35 ** Define the yy::location class. 45 /* Line 166 of location.cc */ 46 #line 47 "../../../../examples/calc++/location.hh" 48 /// Abstract a location. 49 class location class in namespace:yy 53 /// Construct a location from \a b to \a e. 54 location (const position& b, const position& e) function in class:yy::location 60 /// Construct a 0-width location in \a p. 61 explicit location (const position& p = position () function in class:yy::location 68 explicit location (std::string* f, function in class:yy::location [all...] |
/art/compiler/optimizing/ |
locations.h | 30 class Location; 32 std::ostream& operator<<(std::ostream& os, const Location& location); 35 * A Location is an abstraction over the potential location 38 class Location : public ValueObject { 65 // Unallocated location represents a location that is not fixed and can be 66 // allocated by a register allocator. Each unallocated location has 67 // a policy that specifies what kind of location is suitable. Payloa [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
search_test.cpp | 45 int* location; local 46 location = search((int*)v1, (int*)v1 + 6, (int*)v3, (int*)v3 + 2); 47 CPPUNIT_ASSERT(location == v1 + 6); 49 location = search((int*)v2, (int*)v2 + 6, (int*)v3, (int*)v3 + 2); 50 CPPUNIT_ASSERT(location != v2 + 6); 51 CPPUNIT_ASSERT(location - v2 == 3); 61 IntVec::iterator location; local 62 location = search(v1.begin(), v1.end(), v2.begin(), v2.end()); 64 CPPUNIT_ASSERT(location == v1.end()); 68 location = search(v1.begin(), v1.end(), v2.begin(), v2.end()) 79 char const** location = search((char const**)grades, (char const**)grades + gradeCount, (char const**)letters, (char const**)letters + letterCount, str_equal); local [all...] |
/ndk/tests/device/test-stlport/unit/ |
search_test.cpp | 45 int* location; local 46 location = search((int*)v1, (int*)v1 + 6, (int*)v3, (int*)v3 + 2); 47 CPPUNIT_ASSERT(location == v1 + 6); 49 location = search((int*)v2, (int*)v2 + 6, (int*)v3, (int*)v3 + 2); 50 CPPUNIT_ASSERT(location != v2 + 6); 51 CPPUNIT_ASSERT(location - v2 == 3); 61 IntVec::iterator location; local 62 location = search(v1.begin(), v1.end(), v2.begin(), v2.end()); 64 CPPUNIT_ASSERT(location == v1.end()); 68 location = search(v1.begin(), v1.end(), v2.begin(), v2.end()) 79 char const** location = search((char const**)grades, (char const**)grades + gradeCount, (char const**)letters, (char const**)letters + letterCount, str_equal); local [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
LocationBasedCountryDetector.java | 17 package com.android.server.location; 20 import android.location.Address; 21 import android.location.Country; 22 import android.location.Geocoder; 23 import android.location.Location; 24 import android.location.LocationListener; 25 import android.location.LocationManager; 38 * location providers and the GeoCoder 40 * Use {@link #detectCountry} to start querying. If the location can not b [all...] |
/frameworks/base/location/java/android/location/ |
ILocationListener.aidl | 1 /* //device/java/android/android/location/ILocationListener.aidl 18 package android.location; 20 import android.location.Location; 28 void onLocationChanged(in Location location);
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
LocationManagerTest.java | 17 package android.location; 20 import android.location.Criteria; 21 import android.location.Location; 22 import android.location.LocationManager; 23 import android.location.LocationProvider; 88 String loc1 = Location.convert(-80.075, Location.FORMAT_DEGREES); 92 String loc1b = Location.convert(-80.0, Location.FORMAT_DEGREES) [all...] |
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
Location.java | 40 public class Location { 51 public Location parentLocation; 54 public Location() { 58 public Location(Location other) { 65 public Location(Token start, Token end) { 84 public Location(ParserRuleContext context) { 89 public Location(int startLine, int startOffset, int endLine, int endOffset) { 98 return "Location{" + 107 public void setParentLocation(Location parentLocation) 206 Location location = new Location(); local [all...] |
/external/deqp/android/cts/master/src/ |
gles31-spec-issues.txt | 12 dEQP-GLES31.functional.program_interface_query.program_output.location.interface_blocks.out.block_array.var_array_explicit_location 13 dEQP-GLES31.functional.program_interface_query.program_output.location.interface_blocks.out.block_array.var_explicit_location 14 dEQP-GLES31.functional.program_interface_query.program_output.location.interface_blocks.out.block_array.var_struct_explicit_location 15 dEQP-GLES31.functional.program_interface_query.program_output.location.interface_blocks.patch_out.block_array.var_array_explicit_location 16 dEQP-GLES31.functional.program_interface_query.program_output.location.interface_blocks.patch_out.block_array.var_explicit_location 17 dEQP-GLES31.functional.program_interface_query.program_output.location.interface_blocks.patch_out.block_array.var_struct_explicit_location 19 dEQP-GLES31.functional.program_interface_query.program_input.location.interface_blocks.in.block_array.var_array_explicit_location 20 dEQP-GLES31.functional.program_interface_query.program_input.location.interface_blocks.in.block_array.var_explicit_location 21 dEQP-GLES31.functional.program_interface_query.program_input.location.interface_blocks.in.block_array.var_struct_explicit_location 22 dEQP-GLES31.functional.program_interface_query.program_input.location.interface_blocks.patch_in.block_array.var_array_explicit_locatio [all...] |
/external/deqp/external/vulkancts/data/vulkan/draw/ |
VertexFetchInstanced.vert | 3 layout(location = 0) in vec4 in_position; 4 layout(location = 1) in vec4 in_color; 6 layout(location = 0) out vec4 out_color;
|
VertexFetchInstancedFirstInstance.vert | 3 layout(location = 0) in vec4 in_position; 4 layout(location = 1) in vec4 in_color; 6 layout(location = 0) out vec4 out_color;
|
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/ |
ClassFileDumper.java | 26 private final File location; field in class:ClassFileDumper 29 * Create a new dumper for the given location. 31 * @param location 35 ClassFileDumper(final String location) { 36 if (location == null) { 37 this.location = null; 39 this.location = new File(location); 45 * <code>null</code> location has been specified. 55 if (location != null) [all...] |
/external/libchrome/base/profiler/ |
scoped_tracker.cc | 22 ScopedTracker::ScopedTracker(const Location& location) 23 : scoped_profile_(location, g_scoped_profile_mode) {
|