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.cpp88 const auto iter = deltas.find("present2present"); in toString()
89 if (iter != deltas.end()) { in toString()
94 for (const auto& ele : deltas) { in toString()
145 for (const auto& ele : deltas) { in toProto()
Dtimestats.proto69 // histograms of deltas between different combinations of those timestamps.
70 repeated SFTimeStatsDeltaProto deltas = 6; field
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp841 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFlattenedSize()
842 size += getFlattenedSize(t.deltas[i]); in getFlattenedSize()
857 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFdCount()
858 numFds += getFdCount(t.deltas[i]); in getFdCount()
894 t->deltas.resize(deltaCount); in unflatten()
898 &(t->deltas[deltaIndex]), &((*nh)[deltaIndex]), in unflatten()
922 if (t.deltas.size() > ::android::FrameEventHistory::MAX_FRAME_HISTORY) { in flatten()
931 FlattenableUtils::write(buffer, size, static_cast<uint32_t>(t.deltas.size())); in flatten()
932 for (size_t deltaIndex = 0; deltaIndex < t.deltas.size(); ++deltaIndex) { in flatten()
933 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.cpp150 const auto& histogram = layer->deltas.find(name); in populateLayerAtom()
151 if (histogram == layer->deltas.cend()) { in populateLayerAtom()
418 timeStatsLayer.deltas["post2acquire"].insert(postToAcquireMs); in flushAvailableRecordsToStatsLocked()
424 timeStatsLayer.deltas["post2present"].insert(postToPresentMs); in flushAvailableRecordsToStatsLocked()
430 timeStatsLayer.deltas["acquire2present"].insert(acquireToPresentMs); in flushAvailableRecordsToStatsLocked()
436 timeStatsLayer.deltas["latch2present"].insert(latchToPresentMs); in flushAvailableRecordsToStatsLocked()
442 timeStatsLayer.deltas["desired2present"].insert(desiredToPresentMs); in flushAvailableRecordsToStatsLocked()
448 timeStatsLayer.deltas["present2present"].insert(presentToPresentMs); in flushAvailableRecordsToStatsLocked()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
DTimeStatsHelper.h51 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/base/cmds/statsd/src/guardrail/
DStatsdStats.h307 void noteUidMapDropped(int deltas);
DStatsdStats.cpp310 void StatsdStats::noteUidMapDropped(int deltas) { in noteUidMapDropped() argument
312 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/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp540 for (const SFTimeStatsDeltaProto& deltaProto : layerProto.deltas()) { in TEST_F()
604 for (const SFTimeStatsDeltaProto& deltaProto : layerProto.deltas()) { in TEST_F()
/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.cpp3498 ANeuralNetworksOperandType deltas = getOpType(inputOperandCode, 3, deltasDims); in detectionPostprocessingOpTest() local
3524 {input, deltas, anchors, scaleScalar, scaleScalar, scaleScalar, in detectionPostprocessingOpTest()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...