Searched defs:loc (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerDataHelper.java83 public void writeEntry(Location loc, float distFromNetLoc) { argument
84 writeEntry(TrackerEntry.createEntry(loc, distFromNetLoc));
H A DTrackerEntry.java87 private TrackerEntry(Location loc) { argument
88 this(loc.getProvider(), EntryType.LOCATION_TYPE);
89 mLocation = new Location(loc);
95 static TrackerEntry createEntry(Location loc, float distFromNetLocation) { argument
96 TrackerEntry entry = new TrackerEntry(loc);
/frameworks/base/tools/stats_log_api_gen/
H A DCollation.cpp73 SourceLocation loc; local
74 if (field->GetSourceLocation(&loc)) {
76 fprintf(stderr, "%s:%d: ", file->name().c_str(), loc.start_line);
/frameworks/native/opengl/tests/gl_perf/
H A Dfill_common.cpp192 GLint loc = glGetUniformLocation(pgm, var); local
193 if (loc >= 0) {
198 glUniform4f(loc, x, y, z, w);
214 GLint loc = glGetUniformLocation(pgm, "u_texOff"); local
215 glUniform2f(loc, ((float)ct) / passCount, ((float)ct) / 2.f / passCount);
274 GLint loc = glGetUniformLocation(pgm, "u_tex0"); local
275 if (loc >= 0) glUniform1i(loc, 0);
276 loc = glGetUniformLocation(pgm, "u_tex1");
277 if (loc >
[all...]
/frameworks/ml/nn/runtime/
H A DExecutionBuilder.cpp424 DataLocation& loc = info.locationAndLength; local
426 total += alignBytesNeeded(static_cast<uint32_t>(total), loc.length);
427 loc.poolIndex = nextPoolIndex;
428 loc.offset = static_cast<uint32_t>(total);
429 total += loc.length;
601 DataLocation& loc = info.locationAndLength; local
607 memcpy(data + loc.offset, info.buffer, loc.length);
666 DataLocation& loc = info.locationAndLength; local
672 memcpy(info.buffer, data + loc
[all...]
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java1844 * @param loc The locale. Can be null.
1846 public void setLocale(@Nullable Locale loc) { argument
1847 setLocales(loc == null ? LocaleList.getEmptyLocaleList() : new LocaleList(loc));
1875 * @param loc The Locale. If null will set the layout direction to
1882 public void setLayoutDirection(Locale loc) { argument
1885 final int layoutDirection = 1 + TextUtils.getLayoutDirectionFromLocale(loc);
1935 final Locale loc = locs.get(i);
1936 final int l = loc.getLanguage().length();
1940 final int s = loc
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java1466 * @param loc The locale describing the language to be used.
1472 public int setLanguage(final Locale loc) { argument
1476 if (loc == null) {
1481 language = loc.getISO3Language();
1483 Log.w(TAG, "Couldn't retrieve ISO 639-2/T language code for locale: " + loc, e);
1488 country = loc.getISO3Country();
1490 Log.w(TAG, "Couldn't retrieve ISO 3166 country code for locale: " + loc, e);
1494 String variant = loc.getVariant();
1776 * @param loc The Locale describing the language to be used.
1782 public int isLanguageAvailable(final Locale loc) { argument
[all...]
/frameworks/base/location/java/android/location/
H A DLocationManager.java1483 * @param loc the mock location
1491 public void setTestProviderLocation(String provider, Location loc) { argument
1492 if (!loc.isComplete()) {
1494 "Incomplete location object, missing timestamp or accuracy? " + loc);
1498 loc.makeComplete();
1506 mService.setTestProviderLocation(provider, loc, mContext.getOpPackageName());
/frameworks/compile/slang/
H A Dslang_rs_object_ref_count.cpp1739 clang::SourceLocation loc; local
1759 FD = clang::FunctionDecl::Create(mCtx, DC, loc, loc, N, T, nullptr,
1779 clang::CompoundStmt *CS = BuildCompoundStmt(mCtx, StmtList, loc);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java1285 private void setInstallLoc(int loc) { argument
1287 Settings.Global.DEFAULT_INSTALL_LOCATION, loc);
/frameworks/base/services/core/java/com/android/server/
H A DLocationManagerService.java2229 Log.d(TAG, "not returning last loc for blacklisted app: " +
2237 Log.d(TAG, "not returning last loc for no op app: " +
2851 Location loc, Location lastLoc, UpdateRecord record, long now) {
2859 long delta = (loc.getElapsedRealtimeNanos() - lastLoc.getElapsedRealtimeNanos())
2868 if (loc.distanceTo(lastLoc) <= minDistance) {
2943 Log.d(TAG, "skipping loc update for background user " + receiverUserId +
2952 Log.d(TAG, "skipping loc update for blacklisted app: " +
2964 Log.d(TAG, "skipping loc update for no op app: " +
3242 public void setTestProviderLocation(String provider, Location loc, String opPackageName) { argument
3254 // handleLocationChanged(), but it fails if loc ha
2850 shouldBroadcastSafe( Location loc, Location lastLoc, UpdateRecord record, long now) argument
[all...]
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DGridWidgetTest.java6091 ItemAt(int scrollPosition, int position, ItemLocation loc) { argument
6094 mLocation = loc;
6097 ItemAt(int position, ItemLocation loc) { argument
6100 mLocation = loc;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java15440 int loc = pkgLite.recommendedInstallLocation;
15441 if (loc == PackageHelper.RECOMMEND_FAILED_INVALID_LOCATION) {
15443 } else if (loc == PackageHelper.RECOMMEND_FAILED_ALREADY_EXISTS) {
15445 } else if (loc == PackageHelper.RECOMMEND_FAILED_INSUFFICIENT_STORAGE) {
15447 } else if (loc == PackageHelper.RECOMMEND_FAILED_INVALID_APK) {
15449 } else if (loc == PackageHelper.RECOMMEND_FAILED_INVALID_URI) {
15451 } else if (loc == PackageHelper.RECOMMEND_MEDIA_UNAVAILABLE) {
15455 loc = installLocationPolicy(pkgLite);
15456 if (loc == PackageHelper.RECOMMEND_FAILED_VERSION_DOWNGRADE) {
15460 if (loc
23120 setInstallLocation(int loc) argument
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 155 milliseconds