Searched defs:loc (Results 1 - 12 of 12) 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/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/av/media/libstagefright/
H A DOMXClient.cpp243 node_location loc = mNodeLocation.valueFor(node); local
244 if (loc == LOCAL) {
246 } else if (loc == MEDIAPROCESS) {
248 } else if (loc == CODECPROCESS) {
251 ALOGE("Couldn't determine node location for node %d: %d, using local", node, loc);
277 node_location loc = getPreferredCodecLocation(name); local
278 if (loc == CODECPROCESS) {
280 } else if (loc == MEDIAPROCESS) {
298 mNodeLocation.add(*node, loc);
/frameworks/base/location/java/android/location/
H A DLocationManager.java1268 * @param loc the mock location
1276 public void setTestProviderLocation(String provider, Location loc) { argument
1277 if (!loc.isComplete()) {
1279 "Incomplete location object, missing timestamp or accuracy? " + loc);
1283 loc.makeComplete();
1291 mService.setTestProviderLocation(provider, loc, mContext.getOpPackageName());
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java1481 * @param loc The locale. Can be null.
1483 public void setLocale(@Nullable Locale loc) { argument
1484 setLocales(loc == null ? LocaleList.getEmptyLocaleList() : new LocaleList(loc));
1512 * @param loc The Locale. If null will set the layout direction to
1519 public void setLayoutDirection(Locale loc) { argument
1522 final int layoutDirection = 1 + TextUtils.getLayoutDirectionFromLocale(loc);
1548 Locale loc = locs.get(i);
1549 boolean l = (loc.getLanguage().length() != 0);
1550 boolean c = (loc
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java1459 * @param loc The locale describing the language to be used.
1465 public int setLanguage(final Locale loc) { argument
1469 if (loc == null) {
1474 language = loc.getISO3Language();
1476 Log.w(TAG, "Couldn't retrieve ISO 639-2/T language code for locale: " + loc, e);
1481 country = loc.getISO3Country();
1483 Log.w(TAG, "Couldn't retrieve ISO 3166 country code for locale: " + loc, e);
1487 String variant = loc.getVariant();
1769 * @param loc The Locale describing the language to be used.
1775 public int isLanguageAvailable(final Locale loc) { argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DLocationManagerService.java1788 if (D) Log.d(TAG, "not returning last loc for blacklisted app: " +
1794 if (D) Log.d(TAG, "not returning last loc for no op app: " +
2165 Location loc, Location lastLoc, UpdateRecord record, long now) {
2173 long delta = (loc.getElapsedRealtimeNanos() - lastLoc.getElapsedRealtimeNanos())
2182 if (loc.distanceTo(lastLoc) <= minDistance) {
2272 Log.d(TAG, "skipping loc update for background user " + receiverUserId +
2280 if (D) Log.d(TAG, "skipping loc update for blacklisted app: " +
2287 if (D) Log.d(TAG, "skipping loc update for no op app: " +
2540 public void setTestProviderLocation(String provider, Location loc, String opPackageName) { argument
2552 mockProvider.setLocation(loc);
2164 shouldBroadcastSafe( Location loc, Location lastLoc, UpdateRecord record, long now) argument
[all...]
/frameworks/compile/slang/
H A Dslang_rs_object_ref_count.cpp1590 clang::SourceLocation loc; local
1610 FD = clang::FunctionDecl::Create(mCtx, DC, loc, loc, N, T, nullptr,
1630 clang::CompoundStmt *CS = BuildCompoundStmt(mCtx, StmtList, loc);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java1597 private void setInstallLoc(int loc) { argument
1599 Settings.Global.DEFAULT_INSTALL_LOCATION, loc);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java12920 int loc = pkgLite.recommendedInstallLocation;
12921 if (loc == PackageHelper.RECOMMEND_FAILED_INVALID_LOCATION) {
12923 } else if (loc == PackageHelper.RECOMMEND_FAILED_ALREADY_EXISTS) {
12925 } else if (loc == PackageHelper.RECOMMEND_FAILED_INSUFFICIENT_STORAGE) {
12927 } else if (loc == PackageHelper.RECOMMEND_FAILED_INVALID_APK) {
12929 } else if (loc == PackageHelper.RECOMMEND_FAILED_INVALID_URI) {
12931 } else if (loc == PackageHelper.RECOMMEND_MEDIA_UNAVAILABLE) {
12935 loc = installLocationPolicy(pkgLite);
12936 if (loc == PackageHelper.RECOMMEND_FAILED_VERSION_DOWNGRADE) {
12940 if (loc
20267 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 444 milliseconds