/frameworks/native/libs/binder/ |
H A D | TextOutput.cpp | 40 TextOutput& operator<<(TextOutput& to, bool val) argument 42 if (val) to.print("true", 4); 47 TextOutput& operator<<(TextOutput& to, int val) argument 50 sprintf(buf, "%d", val); 55 TextOutput& operator<<(TextOutput& to, long val) argument 58 sprintf(buf, "%ld", val); 63 TextOutput& operator<<(TextOutput& to, unsigned int val) argument 66 sprintf(buf, "%u", val); 71 TextOutput& operator<<(TextOutput& to, unsigned long val) argument 74 sprintf(buf, "%lu", val); 79 operator <<(TextOutput& to, long long val) argument 87 operator <<(TextOutput& to, unsigned long long val) argument 107 operator <<(TextOutput& to, float val) argument 112 operator <<(TextOutput& to, double val) argument 117 operator <<(TextOutput& to, const void* val) argument 125 operator <<(TextOutput& to, const String8& val) argument 131 operator <<(TextOutput& to, const String16& val) argument 142 operator <<(TextOutput& to, const TypeCode& val) argument 161 operator <<(TextOutput& to, const HexDump& val) argument [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_seek_synch.cpp | 133 uint16 val; local 215 val = (tmp1 << 3); 216 val |= (tmp2 >> 5); 221 val = 0; // force mismatch 224 if (val == SYNC_WORD) 284 uint16 val; local 290 val = (uint16)getUpTo17bits(inputStream, SYNC_WORD_LNGTH); 292 while (((val&SYNC_WORD) != SYNC_WORD) && (inputStream->usedBits < availableBits)) 294 val <<= 8; 295 val | [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | Idmap_test.cpp | 72 Res_value val; local 73 ssize_t block = mTargetTable.getResource(base::R::string::test2, &val, false); 75 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType); 78 ASSERT_LT(val.data, pool->size()); 81 const char16_t* targetStr16 = pool->stringAt(val.data, &strLen); 87 ssize_t newBlock = mTargetTable.getResource(base::R::string::test2, &val, false); 90 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType); 93 ASSERT_LT(val.data, pool->size()); 95 targetStr16 = pool->stringAt(val.data, &strLen);
|
H A D | ResTable_test.cpp | 88 Res_value val; local 90 ssize_t index = theme.getAttribute(base::R::attr::attr1, &val, &specFlags); 92 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); 93 ASSERT_EQ(uint32_t(100), val.data); 95 index = theme.getAttribute(base::R::attr::attr2, &val, &specFlags); 97 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); 98 ASSERT_EQ(base::R::integer::number1, val.data); 108 Res_value val; local 110 ssize_t index = theme.getAttribute(base::R::attr::attr1, &val, &specFlags); 112 ASSERT_EQ(Res_value::TYPE_INT_DEC, val 128 Res_value val; local 145 Res_value val; local 161 Res_value val; local 189 Res_value val; local 221 Res_value val; local 313 Res_value val; local [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UnixCalendar.java | 34 public void addDays(int val) { argument 35 mTime += val * DAY_IN_MILLIS; 38 public void addWeeks(int val) { argument 39 mTime += val * WEEK_IN_MILLIS; 42 public void addMonths(int val) { argument 43 mTime += val * MONTH_IN_MILLIS; 46 public void addYears(int val) { argument 47 mTime += val * YEAR_IN_MILLIS;
|
/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.cpp | 29 AaptLocaleValue val; local 30 if (val.initFromFilterString(part)) { 33 val.writeTo(&entry.first);
|
/frameworks/native/services/batteryservice/ |
H A D | IBatteryPropertiesRegistrar.cpp | 48 status_t getProperty(int id, struct BatteryProperty *val) { argument 60 val->readFromParcel(&reply); 92 struct BatteryProperty val; local 93 status_t result = getProperty(id, &val); 97 val.writeToParcel(reply);
|
/frameworks/rs/cpp/util/ |
H A D | StrongPointer.h | 31 TextOutput& printStrongPointer(TextOutput& to, const void* val); 115 TextOutput& operator<<(TextOutput& to, const sp<T>& val); 212 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument 214 return printStrongPointer(to, val.get());
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_bug_char.java | 34 private Byte2 pack_b2(byte[] val) { argument 35 assert val.length == 2; 36 Log.i("bug_char", "pack_b2 " + val[0] + " " + val[1]); 37 return new Byte2(val[0], val[1]);
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | UT_bug_char.java | 34 private Byte2 pack_b2(byte[] val) { argument 35 assert val.length == 2; 36 Log.i("bug_char", "pack_b2 " + val[0] + " " + val[1]); 37 return new Byte2(val[0], val[1]);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UT_bug_char.java | 34 private Byte2 pack_b2(byte[] val) { argument 35 assert val.length == 2; 36 Log.i("bug_char", "pack_b2 " + val[0] + " " + val[1]); 37 return new Byte2(val[0], val[1]);
|
/frameworks/rs/server/ |
H A D | StrongPointer.h | 30 TextOutput& printStrongPointer(TextOutput& to, const void* val); 114 TextOutput& operator<<(TextOutput& to, const sp<T>& val); 211 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument 213 return printStrongPointer(to, val.get());
|
/frameworks/av/cmds/screenrecord/ |
H A D | TextRenderer.cpp | 62 static bool isPowerOfTwo(uint32_t val) { argument 64 return (val & (val -1)) == 0; 67 static uint32_t powerOfTwoCeil(uint32_t val) { argument 69 val--; 70 val |= val >> 1; 71 val |= val >> 2; 72 val | [all...] |
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AUtils.h | 90 inline static T periodicError(const T &val, const T &period) { argument 91 T err = abs(val) % period;
|
/frameworks/av/media/libeffects/loudness/common/core/ |
H A D | byte_swapper.h | 42 static T Swap(const T &val) { argument 43 T new_val = val; 56 static T Swap(const T &val) { argument 57 return val; 63 static T Swap(const T &val) { argument 65 const char *o = (const char *)&val; 75 static T Swap(const T &val) { argument 77 const char *o = (const char *)&val; 89 static T Swap(const T &val) { argument 90 T new_val = val; 106 SwapBytes(const T &val, bool force_swap) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | ConnectivityMetricsEvent.java | 126 public void setValue(long val) { argument 127 mValue = val;
|
/frameworks/base/core/java/android/os/ |
H A D | CommonTimeUtils.java | 70 public int transactSetInt(int method_code, int val) { argument 76 data.writeInt(val); 112 public int transactSetLong(int method_code, long val) { argument 118 data.writeLong(val); 154 public int transactSetString(int method_code, String val) { argument 160 data.writeString(val);
|
H A D | SystemProperties.java | 122 public static void set(String key, String val) { argument 126 if (val != null && val.length() > PROP_VALUE_MAX) { 127 throw new IllegalArgumentException("val.length > " + 130 native_set(key, val);
|
/frameworks/base/core/java/android/view/ |
H A D | RoundScrollbarRenderer.java | 97 private static float clamp(float val, float min, float max) { argument 98 if (val < min) { 100 } else if (val > max) { 103 return val;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | PorterDuff.java | 81 public static final Mode intToMode(int val) { argument 82 switch (val) {
|
/frameworks/base/libs/hwui/ |
H A D | Vertex.h | 47 static inline void set(Vertex* vertex, Vector2 val) { argument 48 set(vertex, val.x, val.y);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | TextureState.cpp | 68 float val = 1 - ratio; local 69 return exp(-val * val * 4.0) - 0.018;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | vec_types.h | 115 Vec<T, dim> operator + (const Vec<T,dim> &x, T val) { argument 118 out.data[i] = x.data[i] + val;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | stats_scorer.cpp | 33 float val = static_cast<float>(pImg[i]); local 34 sum += val; 35 sumSquares += val * val; 59 float val = static_cast<float>(*(pImg + disp + x)); local 60 sum += val; 61 sumSquares += val * val;
|
/frameworks/base/tools/aapt2/dump/ |
H A D | Dump.cpp | 141 void setVerbose(bool val) { argument 142 mVerbose = val;
|