/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | EventRecurrence.java | 685 int val = Integer.parseInt(str); 686 if (val < minVal || val > maxVal || (val == 0 && !allowZero)) { 689 return val;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 710 int val = mCount.get(); 712 val -= mUnpluggedCount; 714 val -= mLoadedCount; 717 return val; 814 long val = mCount; 816 val -= mUnpluggedCount; 818 val -= mLoadedCount; 821 return val; 1010 long val = computeRunTimeLocked(mTimeBase.getRealtime(elapsedRealtimeUs)); 1012 val [all...] |
/frameworks/base/core/java/android/app/admin/ |
H A D | DeviceAdminInfo.java | 299 Integer val = sKnownPolicies.get(policyName); 300 if (val != null) { 301 mUsesPolicies |= 1 << val.intValue();
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessList.java | 309 private static String buildOomTag(String prefix, String space, int val, int base) { argument 310 if (val == base) { 314 return prefix + "+" + Integer.toString(val-base);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCamera2Settings.java | 152 T val = mTemplateSettings.get(key); 153 if (val != null) { 154 return val;
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 1372 Rational val(d * f, d); // Lower, because double to int cast truncates 1374 if ((val.numerator() < nRange.lower()) 1375 || (val.numerator() > nRange.upper())) { continue; } 1377 if (((double) val > (double) bestLower) && ((double) val <= f)) { 1378 bestLower = val; 1381 val.setNumerator(val.numerator() + 1); 1382 if (val.numerator() > nRange.upper()) { continue; } 1384 if (((double) val < (doubl [all...] |
H A D | hwcTestLib.cpp | 267 uint32_t val; local 278 in >> val; local 280 dim.setWidth(val); 285 in >> val; local 287 dim.setHeight(val); 671 uint32_t val = pixel; local
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccRecords.java | 572 protected void setSystemProperty(String key, String val) { argument 573 TelephonyManager.getDefault().setTelephonyProperty(mParentApp.getPhoneId(), key, val); 575 log("[key, value]=" + key + ", " + val);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 129 char val[PROPERTY_VALUE_MAX]; local 130 if (property_get(propName, val, NULL)) { 132 unsigned long x = strtoul(val, &end, 10); 134 if (*end == '\0' && end > val && x > 0) {
|
H A D | WifiDisplaySource.cpp | 268 char val[PROPERTY_VALUE_MAX]; 269 if (property_get("media.wfd.trigger", val, NULL)) { 270 if (!strcasecmp(val, "pause") && mState == PLAYING) { 273 } else if (!strcasecmp(val, "play") 908 char val[PROPERTY_VALUE_MAX]; local 910 && property_get("media.wfd.use-pcm-audio", val, NULL) 911 && (!strcasecmp("true", val) || !strcmp("1", val))) {
|
H A D | PlaybackSession.cpp | 683 char val[PROPERTY_VALUE_MAX]; local 685 && property_get("media.wfd.video-bitrate", val, NULL) 686 && !strcasecmp("adaptive", val)) { 717 char val[PROPERTY_VALUE_MAX]; local 719 && property_get("media.wfd.video-framerate", val, NULL) 720 && !strcasecmp("adaptive", val)) {
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | LegacyRequestMapper.java | 673 T val = ParamsUtils.getOrDefault(r, key, defaultValue); 676 if (!Objects.equals(val, allowedValue)) { 677 Log.w(TAG, key.getName() + " is not supported; ignoring requested value " + val); 682 return val;
|
/frameworks/rs/cpp/util/ |
H A D | RefBase.h | 34 TextOutput& printWeakPointer(TextOutput& to, const void* val); 288 TextOutput& operator<<(TextOutput& to, const wp<T>& val); 449 inline TextOutput& operator<<(TextOutput& to, const wp<T>& val) 451 return printWeakPointer(to, val.unsafe_get());
|
/frameworks/rs/server/ |
H A D | RefBase.h | 33 TextOutput& printWeakPointer(TextOutput& to, const void* val); 287 TextOutput& operator<<(TextOutput& to, const wp<T>& val); 448 inline TextOutput& operator<<(TextOutput& to, const wp<T>& val) 450 return printWeakPointer(to, val.unsafe_get());
|
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseStatementTest.java | 213 String val = c.getString(valCol); 214 assertEquals(Integer.toHexString(1), val);
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | VisualizerTest.java | 244 private void displayVal(int viewId, int val) { argument 246 String text = Integer.toString(val);
|
/frameworks/native/services/surfaceflinger/ |
H A D | EventThread.cpp | 41 static void vsyncOffCallback(union sigval val) { argument 42 EventThread *ev = (EventThread *)val.sival_ptr;
|
/frameworks/compile/slang/ |
H A D | slang_rs_reflection_cpp.cpp | 560 const clang::APValue &val = EV->getInit(); local 563 genInitValue(val, isBool); 595 const clang::APValue &val = EV->getInit(); local 598 genInitValue(val, isBool); 627 const clang::APValue &val = EV->getInit(); local 629 genInitValue(val, false);
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 955 nScriptSetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jint val) argument 957 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", (RsContext)con, (void *)script, slot, val); 958 rsScriptSetVarI((RsContext)con, (RsScript)script, slot, val); 971 nScriptSetVarObj(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val) argument 973 LOG_API("nScriptSetVarObj, con(%p), s(%p), slot(%i), val(%i)", (RsContext)con, (void *)script, slot, val); 974 rsScriptSetVarObj((RsContext)con, (RsScript)script, slot, (RsObjectBase)val); 978 nScriptSetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val) argument 980 LOG_API("nScriptSetVarJ, con(%p), s(%p), slot(%i), val( 994 nScriptSetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, float val) argument 1010 nScriptSetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, double val) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 1422 AString val; local 1423 CHECK(GetAttribute(range.c_str(), "npt", &val)); 1426 if (!ASessionDescription::parseNTPRange(val.c_str(), &npt1, &npt2)) { 1446 CHECK(GetAttribute((*it).c_str(), "url", &val)); 1450 && !(val == mTracks.editItemAt(trackIndex).mURL)) { 1455 CHECK(GetAttribute((*it).c_str(), "seq", &val)); 1458 unsigned long seq = strtoul(val.c_str(), &end, 10); 1464 CHECK(GetAttribute((*it).c_str(), "rtptime", &val)); 1466 uint32_t rtpTime = strtoul(val.c_str(), &end, 10);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 1493 * @param val the value of the tag to set. 1497 public ExifTag buildTag(int tagId, int ifdId, Object val) { argument 1499 if (info == 0 || val == null) { 1509 if (!t.setValue(val)) { 1519 * @param val the tag's value. 1522 public ExifTag buildTag(int tagId, Object val) { argument 1524 return buildTag(tagId, ifdId, val); 1546 * @param val the value to set. 1551 public boolean setTagValue(int tagId, int ifdId, Object val) { argument 1556 return t.setValue(val); 1568 setTagValue(int tagId, Object val) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_reconstruct.c | 124 u32 x, y, tmp1, tmp2, tmp3, tmp4, c, val; local 154 val = 8 - xFrac; 172 c = ((val * tmp1 + xFrac * tmp3) << 3) + 32; 175 c = ((val * tmp2 + xFrac * tmp4) << 3) + 32; 180 c = ((val * tmp3 + xFrac * tmp1) << 3) + 32; 183 c = ((val * tmp4 + xFrac * tmp2) << 3) + 32; 220 u32 x, y, tmp1, tmp2, tmp3, c, val; local 250 val = 8 - yFrac; 267 c = ((val * tmp2 + yFrac * tmp3) << 3) + 32; 270 c = ((val * tmp [all...] |
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 869 static void SC_SetElementAt1_##T(android::renderscript::rs_allocation a, const T *val, uint32_t x) { \ 871 if (r != NULL) ((T *)r)[0] = *val; \ 874 static void SC_SetElementAt2_##T(android::renderscript::rs_allocation a, const T * val, uint32_t x, uint32_t y) { \ 876 if (r != NULL) ((T *)r)[0] = *val; \ 879 static void SC_SetElementAt3_##T(android::renderscript::rs_allocation a, const T * val, uint32_t x, uint32_t y, uint32_t z) { \ 881 if (r != NULL) ((T *)r)[0] = *val; \ 884 static void SC_GetElementAt1_##T(android::renderscript::rs_allocation a, T *val, uint32_t x) { \ 886 if (r != NULL) *val = ((T *)r)[0]; \ 889 static void SC_GetElementAt2_##T(android::renderscript::rs_allocation a, T *val, uint32_t x, uint32_t y) { \ 891 if (r != NULL) *val [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewTreeObserver.java | 251 public void setTouchableInsets(int val) { argument 252 mTouchableInsets = val;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | RankingHelper.java | 286 final String val = parser.getAttributeValue(null, att); 287 return tryParseInt(val, defValue);
|