/frameworks/base/location/java/android/location/ |
D | LocationResult.java | 45 public static @NonNull LocationResult create(@NonNull List<Location> locations) { in create() argument 46 Preconditions.checkArgument(!locations.isEmpty()); in create() 47 ArrayList<Location> locationsCopy = new ArrayList<>(locations.size()); in create() 48 for (Location location : locations) { in create() 58 public static @NonNull LocationResult create(@NonNull Location... locations) { in create() argument 59 Preconditions.checkArgument(locations.length > 0); in create() 60 ArrayList<Location> locationsCopy = new ArrayList<>(locations.length); in create() 61 for (Location location : locations) { in create() 72 public static @NonNull LocationResult wrap(@NonNull List<Location> locations) { in wrap() argument 73 Preconditions.checkArgument(!locations.isEmpty()); in wrap() [all …]
|
D | LocationListener.java | 60 default void onLocationChanged(@NonNull List<Location> locations) { in onLocationChanged() argument 61 final int size = locations.size(); in onLocationChanged() 63 onLocationChanged(locations.get(i)); in onLocationChanged()
|
/frameworks/base/services/core/jni/gnss/ |
D | GnssBatchingCallback.cpp | 43 const std::vector<android::hardware::gnss::GnssLocation>& locations) { in gnssLocationBatchCb() argument 44 GnssBatchingCallbackUtil::gnssLocationBatchCbImpl(hidl_vec<GnssLocationAidl>(locations)); in gnssLocationBatchCb() 49 const hidl_vec<GnssLocation_V1_0>& locations) { in gnssLocationBatchCb() argument 50 return GnssBatchingCallbackUtil::gnssLocationBatchCbImpl(locations); in gnssLocationBatchCb() 54 const hidl_vec<GnssLocation_V2_0>& locations) { in gnssLocationBatchCb() argument 55 return GnssBatchingCallbackUtil::gnssLocationBatchCbImpl(locations); in gnssLocationBatchCb()
|
D | GnssBatchingCallback.h | 50 const std::vector<android::hardware::gnss::GnssLocation>& locations) override; 57 const hardware::hidl_vec<hardware::gnss::V1_0::GnssLocation>& locations) override; 64 const hardware::hidl_vec<hardware::gnss::V2_0::GnssLocation>& locations) override; 99 static hardware::Return<void> gnssLocationBatchCbImpl(const hardware::hidl_vec<T>& locations); 107 const hardware::hidl_vec<T>& locations) { in gnssLocationBatchCbImpl() argument 110 jobjectArray jLocations = env->NewObjectArray(locations.size(), class_location, nullptr); in gnssLocationBatchCbImpl() 112 for (uint16_t i = 0; i < locations.size(); ++i) { in gnssLocationBatchCbImpl() 113 jobject jLocation = translateGnssLocation(env, locations[i]); in gnssLocationBatchCbImpl()
|
/frameworks/base/location/java/android/location/provider/ |
D | LocationProviderBase.java | 224 public void reportLocations(@NonNull List<Location> locations) { in reportLocations() argument 230 manager.onReportLocations(stripExtras(locations)); in reportLocations() 278 private static List<Location> stripExtras(List<Location> locations) { in stripExtras() argument 279 List<Location> mapped = locations; in stripExtras() 280 final int size = locations.size(); in stripExtras() 282 for (Location location : locations) { in stripExtras() 284 if (mapped != locations) { in stripExtras() 289 for (Location copiedLocation : locations) { in stripExtras()
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | LocationProviderBase.java | 269 public void reportLocations(@NonNull List<Location> locations) { in reportLocations() argument 273 manager.onReportLocations(stripExtras(locations)); in reportLocations() 430 private static List<Location> stripExtras(List<Location> locations) { in stripExtras() argument 431 List<Location> mapped = locations; in stripExtras() 432 final int size = locations.size(); in stripExtras() 434 for (Location location : locations) { in stripExtras() 436 if (mapped != locations) { in stripExtras() 441 for (Location copiedLocation : locations) { in stripExtras()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/ |
D | LocationUtils.java | 49 Location[] locations = new Location[numLocations]; in createLocationResult() local 51 locations[i] = createLocation(provider, random); in createLocationResult() 53 return LocationResult.create(Arrays.asList(locations)); in createLocationResult()
|
/frameworks/base/services/core/xsd/vts/ |
D | ValidateDefaultPermissions.cpp | 53 std::vector<const char*> locations = {"/vendor/etc/default-permissions", in TEST() local 56 for (const char* dir_path : locations) { in TEST()
|
/frameworks/rs/tests/java_api/ComputePerf/ |
D | Android.bp | 50 cmd: "for f in $(locations src/**/*.rscript); do " + 52 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 53 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/RsCameraDemo/ |
D | Android.bp | 49 cmd: "for f in $(locations src/**/*.rscript); do " + 51 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 52 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/SampleTest/ |
D | Android.bp | 50 cmd: "for f in $(locations src/**/*.rscript); do " + 52 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 53 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/VrDemo/ |
D | Android.bp | 49 cmd: "for f in $(locations src/**/*.rscript); do " + 51 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 52 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/ComputeBenchmark/ |
D | Android.bp | 50 cmd: "for f in $(locations src/**/*.rscript); do " + 52 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 53 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/MathErr/ |
D | Android.bp | 50 cmd: "for f in $(locations src/**/*.rscript); do " + 52 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 53 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/LivePreview/ |
D | Android.bp | 49 cmd: "for f in $(locations src/**/*.rscript); do " + 51 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 52 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/ |
D | Android.bp | 55 cmd: "for f in $(locations src/**/*.rscript); do " + 57 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 58 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/ScriptGroupTest/ |
D | Android.bp | 50 cmd: "for f in $(locations src/**/*.rscript); do " + 53 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 54 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/SSHealingBrush/ |
D | Android.bp | 50 cmd: "for f in $(locations src/**/*.rscript); do " + 53 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 54 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/Refocus/ |
D | Android.bp | 56 cmd: "for f in $(locations src/**/*.rscript); do " + 59 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 60 … " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/HealingBrush/ |
D | Android.bp | 53 cmd: "for f in $(locations src/**/*.rscript); do " + 56 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 57 … " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/RsNbody/ |
D | Android.bp | 50 cmd: "for f in $(locations src/**/*.rscript); do " + 53 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 54 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/RSTest_CompatLib/ |
D | Android.bp | 58 cmd: "for f in $(locations :RSUnitTests_rscript_supportlibsrc_gen); do " + 61 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 62 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/base/tests/CanvasCompare/ |
D | Android.bp | 56 cmd: "for f in $(locations src/**/*.rscript); do " + 58 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 59 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/LatencyBenchmark/ |
D | Android.bp | 50 cmd: "for f in $(locations src/**/*.rscript); do " + 53 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 54 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|
/frameworks/rs/tests/java_api/RsTest/ |
D | Android.bp | 55 cmd: "for f in $(locations :RSUnitTests_rscript_srcs); do " + 57 " -I $$(dirname $$(echo $(locations :rs_script_api) | awk '{ print $$1 }')) " + 58 " -I $$(dirname $$(echo $(locations :rs_clang_headers) | awk '{ print $$1 }')) $${f}; " +
|