Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DLongSamplingCounterArrayTest.java129 final long[] deltas = {123, 234, 345, 456}; in testAddCountLocked() local
131 mCounterArray.addCountLocked(deltas); in testAddCountLocked()
132 assertArrayEquals(deltas, mCounterArray.mCounts); in testAddCountLocked()
135 mCounterArray.addCountLocked(deltas, false); in testAddCountLocked()
137 mCounterArray.addCountLocked(deltas, true); in testAddCountLocked()
138 assertArrayEquals(deltas, mCounterArray.mCounts); in testAddCountLocked()
141 final long[] newCounts = new long[deltas.length]; in testAddCountLocked()
142 for (int i = 0; i < deltas.length; ++i) { in testAddCountLocked()
143 newCounts[i] = COUNTS[i] + deltas[i]; in testAddCountLocked()
145 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 …]
DMediaCodec.cpp2841 sp<AMessage> deltas = updatedFormat->changesFrom(format, false /* deep */); in shapeMediaFormat() local
2842 size_t changeCount = deltas->countEntries(); in shapeMediaFormat()
2843 ALOGD("shapeMediaFormat: deltas(%zu): %s", changeCount, deltas->debugString(2).c_str()); in shapeMediaFormat()
2880 format->extend(deltas); in shapeMediaFormat()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp180 const auto& present2PresentHist = layer->deltas.find("present2present"); in populateLayerAtom()
181 if (present2PresentHist != layer->deltas.cend()) { in populateLayerAtom()
185 const auto& present2PresentDeltaHist = layer->deltas.find("present2presentDelta"); in populateLayerAtom()
186 if (present2PresentDeltaHist != layer->deltas.cend()) { in populateLayerAtom()
191 const auto& post2presentHist = layer->deltas.find("post2present"); in populateLayerAtom()
192 if (post2presentHist != layer->deltas.cend()) { in populateLayerAtom()
196 const auto& acquire2presentHist = layer->deltas.find("acquire2present"); in populateLayerAtom()
197 if (acquire2presentHist != layer->deltas.cend()) { in populateLayerAtom()
201 const auto& latch2presentHist = layer->deltas.find("latch2present"); in populateLayerAtom()
202 if (latch2presentHist != layer->deltas.cend()) { in populateLayerAtom()
[all …]
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp120 const auto iter = deltas.find("present2present"); in toString()
121 if (iter != deltas.end()) { in toString()
126 for (const auto& ele : deltas) { in toString()
201 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.cpp835 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFlattenedSize()
836 size += getFlattenedSize(t.deltas[i]); in getFlattenedSize()
851 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFdCount()
852 numFds += getFdCount(t.deltas[i]); in getFdCount()
887 t->deltas.resize(deltaCount); in unflatten()
891 &(t->deltas[deltaIndex]), &((*nh)[deltaIndex]), in unflatten()
915 if (t.deltas.size() > UINT8_MAX) { in flatten()
924 FlattenableUtils::write(buffer, size, static_cast<uint32_t>(t.deltas.size())); in flatten()
925 for (size_t deltaIndex = 0; deltaIndex < t.deltas.size(); ++deltaIndex) { in flatten()
926 status_t status = flatten(t.deltas[deltaIndex], buffer, size, fds, numFds); in flatten()
DH2BGraphicBufferProducer.cpp788 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFlattenedSize()
789 size += getFlattenedSize(t.deltas[i]); in getFlattenedSize()
804 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFdCount()
805 numFds += getFdCount(t.deltas[i]); in getFdCount()
831 if (t.deltas.size() > UINT8_MAX) { in flatten()
840 FlattenableUtils::write(buffer, size, static_cast<uint32_t>(t.deltas.size())); in flatten()
841 nh->resize(t.deltas.size()); in flatten()
842 for (size_t deltaIndex = 0; deltaIndex < t.deltas.size(); ++deltaIndex) { in flatten()
844 t.deltas[deltaIndex], &((*nh)[deltaIndex]), in flatten()
/frameworks/base/core/java/android/view/
DFocusFinder.java705 public View findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) { in findNearestTouchable() argument
756 deltas[0] = -distance; in findNearestTouchable()
759 deltas[0] = distance; in findNearestTouchable()
762 deltas[1] = -distance; in findNearestTouchable()
765 deltas[1] = distance; in findNearestTouchable()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
DTimeStatsHelper.h100 std::unordered_map<std::string, Histogram> deltas; variable
/frameworks/base/data/keyboards/
DVendor_054c_Product_09cc.idc46 # time deltas between received reports) to vary dramatically even if it's
DVendor_054c_Product_05c4.idc46 # time deltas between received reports) to vary dramatically even if it's
/frameworks/proto_logging/stats/atoms/art/
Dart_extension_atoms.proto130 // Indicates which kind of measurement ART is reporting as increments / deltas.
136 // but for reporting increments / deltas.
/frameworks/base/core/java/android/widget/
DGridLayout.java1269 public int[] deltas; field in GridLayout.Axis
1758 if (deltas == null) {
1759 deltas = new int[getChildCount()];
1761 return deltas;
1765 Arrays.fill(deltas, 0);
1776 deltas[i] = delta;
1922 deltas = null;
/frameworks/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp657 for (const SFTimeStatsDeltaProto& deltaProto : layerProto.deltas()) { in TEST_F()
700 Property(&LayerProto::deltas, in TEST_F()
761 for (const SFTimeStatsDeltaProto& deltaProto : layerProto.deltas()) { in TEST_F()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp1395 void CCodecBufferChannel::processRenderedFrames(const FrameEventHistoryDelta& deltas) { in processRenderedFrames() argument
1397 for (const auto& delta : deltas) { in processRenderedFrames()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt67106 Landroid/widget/GridLayout$Axis;->deltas:[I