Home
last modified time | relevance | path

Searched refs:deltas (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLongSamplingCounterArrayTest.java143 final long[] deltas = {123, 234, 345, 456}; in testAddCountLocked() local
145 mCounterArray.addCountLocked(deltas); in testAddCountLocked()
146 assertArrayEquals(deltas, mCounterArray.mCounts); in testAddCountLocked()
149 mCounterArray.addCountLocked(deltas, false); in testAddCountLocked()
151 mCounterArray.addCountLocked(deltas, true); in testAddCountLocked()
152 assertArrayEquals(deltas, mCounterArray.mCounts); in testAddCountLocked()
155 final long[] newCounts = new long[deltas.length]; in testAddCountLocked()
156 for (int i = 0; i < deltas.length; ++i) { in testAddCountLocked()
157 newCounts[i] = COUNTS[i] + deltas[i]; in testAddCountLocked()
159 mCounterArray.addCountLocked(deltas); in testAddCountLocked()
[all …]
/frameworks/av/media/libstagefright/
DVideoFrameSchedulerBase.cpp188 Vector<nsecs_t> deltas; in prime() local
196 deltas.push(time - lastTime); in prime()
203 deltas.sort(compare<nsecs_t>); in prime()
204 size_t numDeltas = deltas.size(); in prime()
206 nsecs_t deltaMinLimit = max(deltas[0] / kMultiplesThresholdDiv, kMinPeriod); in prime()
207 nsecs_t deltaMaxLimit = deltas[numDeltas / 2] * kMultiplesThresholdDiv; in prime()
209 if (deltas[i] > deltaMaxLimit) { in prime()
210 deltas.resize(i); in prime()
216 nsecs_t delta2nd = deltas[i] - deltas[i - 1]; in prime()
219 deltas.push(delta2nd); in prime()
[all …]
/frameworks/ml/nn/runtime/test/specs/V1_3/
Dbbox_graph_quant8_signed.mod.py21 deltas = Input("deltas", "TENSOR_FLOAT32", "{1, 1, 1, 4}") variable
27 model = Model("zero_sized").Operation("GENERATE_PROPOSALS", scores, deltas, anchors, image, 1.0, 1.…
59 deltas: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.1, 0),
81 deltas: [0, 0, -10, -10],
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dbbox_graph.mod.py21 deltas = Input("deltas", "TENSOR_FLOAT32", "{1, 1, 1, 4}") variable
27 model = Model("zero_sized").Operation("GENERATE_PROPOSALS", scores, deltas, anchors, image, 1.0, 1.…
59 deltas: ("TENSOR_QUANT8_ASYMM", 0.1, 128),
81 deltas: [0, 0, -10, -10],
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp86 const auto iter = deltas.find("present2present"); in toString()
87 if (iter != deltas.end()) { in toString()
90 for (const auto& ele : deltas) { in toString()
128 for (const auto& ele : deltas) { in toProto()
Dtimestats.proto65 // histograms of deltas between different combinations of those timestamps.
66 repeated SFTimeStatsDeltaProto deltas = 6; field
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp855 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFlattenedSize()
856 size += getFlattenedSize(t.deltas[i]); in getFlattenedSize()
871 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFdCount()
872 numFds += getFdCount(t.deltas[i]); in getFdCount()
908 t->deltas.resize(deltaCount); in unflatten()
912 &(t->deltas[deltaIndex]), &((*nh)[deltaIndex]), in unflatten()
936 if (t.deltas.size() > ::android::FrameEventHistory::MAX_FRAME_HISTORY) { in flatten()
945 FlattenableUtils::write(buffer, size, static_cast<uint32_t>(t.deltas.size())); in flatten()
946 for (size_t deltaIndex = 0; deltaIndex < t.deltas.size(); ++deltaIndex) { in flatten()
947 status_t status = flatten(t.deltas[deltaIndex], buffer, size, fds, numFds); in flatten()
DH2BGraphicBufferProducer.cpp789 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFlattenedSize()
790 size += getFlattenedSize(t.deltas[i]); in getFlattenedSize()
805 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFdCount()
806 numFds += getFdCount(t.deltas[i]); in getFdCount()
832 if (t.deltas.size() > ::android::FrameEventHistory::MAX_FRAME_HISTORY) { in flatten()
841 FlattenableUtils::write(buffer, size, static_cast<uint32_t>(t.deltas.size())); in flatten()
842 nh->resize(t.deltas.size()); in flatten()
843 for (size_t deltaIndex = 0; deltaIndex < t.deltas.size(); ++deltaIndex) { in flatten()
845 t.deltas[deltaIndex], &((*nh)[deltaIndex]), in flatten()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp191 timeStatsLayer.deltas["post2acquire"].insert(postToAcquireMs); in flushAvailableRecordsToStatsLocked()
197 timeStatsLayer.deltas["post2present"].insert(postToPresentMs); in flushAvailableRecordsToStatsLocked()
203 timeStatsLayer.deltas["acquire2present"].insert(acquireToPresentMs); in flushAvailableRecordsToStatsLocked()
209 timeStatsLayer.deltas["latch2present"].insert(latchToPresentMs); in flushAvailableRecordsToStatsLocked()
215 timeStatsLayer.deltas["desired2present"].insert(desiredToPresentMs); in flushAvailableRecordsToStatsLocked()
221 timeStatsLayer.deltas["present2present"].insert(presentToPresentMs); in flushAvailableRecordsToStatsLocked()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
DTimeStatsHelper.h49 std::unordered_map<std::string, Histogram> deltas; variable
/frameworks/base/core/java/android/view/
DFocusFinder.java691 public View findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) { in findNearestTouchable() argument
742 deltas[0] = -distance; in findNearestTouchable()
745 deltas[0] = distance; in findNearestTouchable()
748 deltas[1] = -distance; in findNearestTouchable()
751 deltas[1] = distance; in findNearestTouchable()
/frameworks/base/core/java/android/widget/
DGridLayout.java1263 public int[] deltas; field in GridLayout.Axis
1752 if (deltas == null) {
1753 deltas = new int[getChildCount()];
1755 return deltas;
1759 Arrays.fill(deltas, 0);
1770 deltas[i] = delta;
1916 deltas = null;
/frameworks/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp294 for (const SFTimeStatsDeltaProto& deltaProto : layerProto.deltas()) { in TEST_F()
358 for (const SFTimeStatsDeltaProto& deltaProto : layerProto.deltas()) { in TEST_F()
/frameworks/base/cmds/statsd/src/guardrail/
DStatsdStats.h297 void noteUidMapDropped(int deltas);
DStatsdStats.cpp308 void StatsdStats::noteUidMapDropped(int deltas) { in noteUidMapDropped() argument
310 mUidMapStats.dropped_changes += mUidMapStats.dropped_changes + deltas; in noteUidMapDropped()
/frameworks/ml/nn/common/operations/
DGenerateProposals.cpp71 const float* deltas = bboxDeltasData; in bboxTransformFloat32() local
90 auto roiAfter = toBoxEncodingCorner({.w = std::exp(deltas[2]) * roiBefore.w, in bboxTransformFloat32()
91 .h = std::exp(deltas[3]) * roiBefore.h, in bboxTransformFloat32()
92 .x = roiBefore.x + deltas[0] * roiBefore.w, in bboxTransformFloat32()
93 .y = roiBefore.y + deltas[1] * roiBefore.h}); in bboxTransformFloat32()
102 deltas += roiLength; in bboxTransformFloat32()
/frameworks/ml/nn/tools/api/
Dtypes.spec3057 * Transform axis-aligned bounding box proposals using bounding box deltas.
3060 * bounding box deltas for each class, return the refined bounding box
3077 * bounding box deltas are organized in the following order
3758 * of predefined anchors with the bounding box deltas from bounding box
3772 * box deltas. The box deltas are encoded in the order of [dy, dx, dh, dw],
3783 * factor for dy in bounding box deltas.
3785 * factor for dx in bounding box deltas.
3787 * factor for dh in bounding box deltas.
3789 * factor for dw in bounding box deltas.
3970 * of predefined anchors with the bounding box deltas from bounding box
[all …]
/frameworks/ml/nn/runtime/test/
DTestValidateOperations.cpp3499 ANeuralNetworksOperandType deltas = getOpType(inputOperandCode, 3, deltasDims); in detectionPostprocessingOpTest() local
3525 {input, deltas, anchors, scaleScalar, scaleScalar, scaleScalar, in detectionPostprocessingOpTest()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt82178 Landroid/widget/GridLayout$Axis;->deltas:[I