/frameworks/base/libs/hwui/jni/ |
D | android_graphics_ColorSpace.cpp | 27 xyzMatrix.vals[0][0] = array[0]; in getNativeXYZMatrix() 28 xyzMatrix.vals[1][0] = array[1]; in getNativeXYZMatrix() 29 xyzMatrix.vals[2][0] = array[2]; in getNativeXYZMatrix() 30 xyzMatrix.vals[0][1] = array[3]; in getNativeXYZMatrix() 31 xyzMatrix.vals[1][1] = array[4]; in getNativeXYZMatrix() 32 xyzMatrix.vals[2][1] = array[5]; in getNativeXYZMatrix() 33 xyzMatrix.vals[0][2] = array[6]; in getNativeXYZMatrix() 34 xyzMatrix.vals[1][2] = array[7]; in getNativeXYZMatrix() 35 xyzMatrix.vals[2][2] = array[8]; in getNativeXYZMatrix()
|
D | Graphics.cpp | 598 xyzMatrix.vals[0][0], in getColorSpace() 599 xyzMatrix.vals[1][0], in getColorSpace() 600 xyzMatrix.vals[2][0], in getColorSpace() 601 xyzMatrix.vals[0][1], in getColorSpace() 602 xyzMatrix.vals[1][1], in getColorSpace() 603 xyzMatrix.vals[2][1], in getColorSpace() 604 xyzMatrix.vals[0][2], in getColorSpace() 605 xyzMatrix.vals[1][2], in getColorSpace() 606 xyzMatrix.vals[2][2] in getColorSpace()
|
/frameworks/av/media/libeffects/loudness/common/core/ |
D | byte_swapper.h | 123 const T *SwapBytes(const T *vals, unsigned int num_items, bool force_swap) { 126 T *writeable_vals = const_cast<T *>(vals); 128 writeable_vals[i] = ByteSwapper<T, sizeof(T)>::Swap(vals[i]); 132 return vals; 136 return vals; 138 T *writeable_vals = const_cast<T *>(vals); 140 writeable_vals[i] = ByteSwapper<T, sizeof(T)>::Swap(vals[i]);
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/whitebalance/ |
D | AmbientLuxTest.java | 539 private void setBrightnesses(float... vals) { in setBrightnesses() argument 540 setFloatArrayResource(mBrightnesses, vals); in setBrightnesses() 543 private void setBrightnessesStrong(float... vals) { in setBrightnessesStrong() argument 544 setFloatArrayResource(mBrightnessesStrong, vals); in setBrightnessesStrong() 547 private void setBiases(float... vals) { in setBiases() argument 548 setFloatArrayResource(mBiases, vals); in setBiases() 551 private void setBiasesStrong(float... vals) { in setBiasesStrong() argument 552 setFloatArrayResource(mBiasesStrong, vals); in setBiasesStrong() 555 private void setHighLightBrightnesses(float... vals) { in setHighLightBrightnesses() argument 556 setFloatArrayResource(mHighLightBrightnesses, vals); in setHighLightBrightnesses() [all …]
|
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.cpp | 284 std::vector<uint64_t> vals(gNCpus); in getTotalCpuFreqTimes() local 288 if (findMapEntry(gTisTotalMapFd, &freqIdx, vals.data())) return {}; in getTotalCpuFreqTimes() 292 out[policyIdx][freqIdx] += vals[gCpuIndexMap[cpu]]; in getTotalCpuFreqTimes() 314 std::vector<tis_val_t> vals(gNCpus); in getUidCpuFreqTimes() local 317 if (findMapEntry(gTisMapFd, &key, vals.data())) { in getUidCpuFreqTimes() 331 std::transform(begin, end, std::begin(vals[gCpuIndexMap[cpu]].ar), begin, in getUidCpuFreqTimes() 380 std::vector<tis_val_t> vals(gNCpus); in getUidsUpdatedCpuFreqTimes() local 387 if (findMapEntry(gTisMapFd, &key, vals.data())) return {}; in getUidsUpdatedCpuFreqTimes() 398 std::transform(begin, end, std::begin(vals[gCpuIndexMap[cpu]].ar), begin, in getUidsUpdatedCpuFreqTimes() 428 std::vector<concurrent_val_t> vals(gNCpus); in getUidConcurrentTimes() local [all …]
|
D | testtimeinstate.cpp | 473 std::vector<concurrent_val_t> vals(nCpus); in TEST_F() local 474 ASSERT_FALSE(writeToMapEntry(fd, &key, vals.data(), BPF_NOEXIST)); in TEST_F() 514 std::vector<tis_val_t> vals(get_nprocs_conf()); in TEST_F() local 515 ASSERT_FALSE(findMapEntry(fd, &k, vals.data())); in TEST_F() 518 ASSERT_FALSE(writeToMapEntry(fd, &k, vals.data(), BPF_NOEXIST)); in TEST_F()
|
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessConfiguration.java | 720 private static void checkMonotonic(float[] vals, boolean strictlyIncreasing, String name) { in checkMonotonic() argument 721 if (vals.length <= 1) { in checkMonotonic() 724 float prev = vals[0]; in checkMonotonic() 725 for (int i = 1; i < vals.length; i++) { in checkMonotonic() 726 if (prev > vals[i] || prev == vals[i] && strictlyIncreasing) { in checkMonotonic() 730 prev = vals[i]; in checkMonotonic()
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
D | RcsConfigTest.java | 280 String[] vals = new String[]{"0", "1", "2"}; in testIsRcsVolteSingleRegistrationSupported() local 283 for (int i = 0; i < vals.length; i++) { in testIsRcsVolteSingleRegistrationSupported() 286 + vals[i] + "\"/>\n" + "\t\t\t\t</characteristic>\n"; in testIsRcsVolteSingleRegistrationSupported()
|
/frameworks/libs/binary_translation/tests/perf_tests/ |
D | perf_test.cc | 186 static const float vals[] = {0.5, 1.2}; in TEST() local 189 sum += static_cast<int>(vals[i & 1]); in TEST()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 540 private TypedArray createFloatTypedArray(float[] vals) { in createFloatTypedArray() argument 543 return vals.length; in createFloatTypedArray() 547 if (vals == null) { in createFloatTypedArray() 551 if (idx >= 0 && idx < vals.length) { in createFloatTypedArray() 552 return vals[idx]; in createFloatTypedArray()
|
D | DisplayDeviceConfigTest.java | 1854 private TypedArray createFloatTypedArray(float[] vals) { in createFloatTypedArray() argument 1857 return vals.length; in createFloatTypedArray() 1861 if (vals == null) { in createFloatTypedArray() 1865 if (idx >= 0 && idx < vals.length) { in createFloatTypedArray() 1866 return vals[idx]; in createFloatTypedArray()
|
D | LocalDisplayAdapterTest.java | 1514 private TypedArray createFloatTypedArray(float[] vals) { in createFloatTypedArray() argument 1517 return vals.length; in createFloatTypedArray() 1521 if (vals == null) { in createFloatTypedArray() 1525 if (idx >= 0 && idx < vals.length) { in createFloatTypedArray() 1526 return vals[idx]; in createFloatTypedArray()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SlicePermissionManager.java | 417 String[] vals = pkgUserStr.split(SEPARATOR, 2); in PkgUser() local 418 mPkg = vals[0]; in PkgUser() 419 mUserId = Integer.parseInt(vals[1]); in PkgUser()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 670 vec2 vals = mTransform.transform(getRawXCursorPosition(), getRawYCursorPosition()); in getXCursorPosition() local 671 return roundTransformedCoords(vals.x); in getXCursorPosition() 675 vec2 vals = mTransform.transform(getRawXCursorPosition(), getRawYCursorPosition()); in getYCursorPosition() local 676 return roundTransformedCoords(vals.y); in getYCursorPosition() 681 vec2 vals = inverse.transform(x, y); in setCursorPosition() local 682 mRawXCursorPosition = vals.x; in setCursorPosition() 683 mRawYCursorPosition = vals.y; in setCursorPosition()
|
/frameworks/base/libs/hwui/utils/ |
D | Color.cpp | 151 if (!nearlyEqual(x.vals[i][j], y.vals[i][j])) return false; in nearlyEqual()
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2InterfaceUtils.cpp | 203 std::vector<T> vals(c2_max(_mValues.size(), 1u) - 1); in flags() local 205 std::transform(_mValues.cbegin() + 1, _mValues.cend(), vals.begin(), in flags() 210 return vals; in flags() 306 std::vector<T> vals(_mValues.size()); in values() local 307 …std::transform(_mValues.cbegin(), _mValues.cend(), vals.begin(), [](const C2Value::Primitive &p) -… in values() 310 return vals; in values()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDeviceMetricsCollector_test.cpp | 74 std::set<gui::Uid> uids(std::initializer_list<int32_t> vals) { in uids() argument 76 for (const auto val : vals) { in uids()
|
D | InputDispatcher_test.cpp | 9345 vec2 vals = windowInfo->transform.transform(point.x, point.y); in getPointInWindow() local 9346 return {vals.x, vals.y}; in getPointInWindow()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessMappingStrategy.java | 169 float[] vals = new float[N]; in getFloatArray() local 171 vals[i] = array.getFloat(i, PowerManager.BRIGHTNESS_OFF_FLOAT); in getFloatArray() 174 return vals; in getFloatArray()
|
D | DisplayDeviceConfig.java | 2848 float[] vals = new float[n]; in getFloatArray() local 2850 vals[i] = array.getFloat(i, defaultValue); in getFloatArray() 2853 return vals; in getFloatArray()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 2837 int vals[NUM_FIELDS]; in parseAreas() local 2840 vals[i] = strtol(area, &numEnd, 10); in parseAreas() 2845 vals[0], vals[1], vals[2], vals[3], vals[4]) ); in parseAreas()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppStartInfoTracker.java | 1312 private long calculateAverage(List<Long> vals) { in calculateAverage() argument 1313 return (long) vals.stream().mapToDouble(a -> a).average().orElse(0.0); in calculateAverage()
|
D | ActivityManagerShellCommand.java | 4010 final String[] vals = pair[1].split(":"); 4011 if (vals.length != BATTERY_USAGE_COUNT) { 4015 values[i] = new double[vals.length]; 4016 for (int j = 0; j < vals.length; j++) { 4017 values[i][j] = Double.parseDouble(vals[j]);
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BackgroundRestrictionTest.java | 2819 private LinkedList<Integer> createIntLinkedList(int[] vals) { in createIntLinkedList() argument 2820 return Arrays.stream(vals).collect(LinkedList<Integer>::new, LinkedList<Integer>::add, in createIntLinkedList()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.cpp | 3430 JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray vals) { in android_media_MediaCodec_setParameters() argument 3441 status_t err = ConvertKeyValueArraysToMessage(env, keys, vals, ¶ms); in android_media_MediaCodec_setParameters()
|