Home
last modified time | relevance | path

Searched refs:history (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_mdct_18.cpp133 void pvmp3_mdct_18(int32 vec[], int32 *history, const int32 *window) in pvmp3_mdct_18() argument
195 tmp = history[ i]; in pvmp3_mdct_18()
201 history[i ] = -(tmp2 + tmp1); in pvmp3_mdct_18()
205 tmp = history[ 6]; in pvmp3_mdct_18()
210 tmp = history[ 7]; in pvmp3_mdct_18()
211 history[6] = -(tmp2 + tmp1); in pvmp3_mdct_18()
212 history[7] = -(tmp1 + vec[8]); in pvmp3_mdct_18()
214 tmp1 = history[ 8]; in pvmp3_mdct_18()
217 history[8] = -(vec[8] + vec[9]); in pvmp3_mdct_18()
220 tmp = history[9]; in pvmp3_mdct_18()
[all …]
Dpvmp3_imdct_synth.cpp244 int32 * history = overlap + (band * FILTERBANK_BANDS); in pvmp3_imdct_synth() local
250 pvmp3_mdct_18(out, history, normal_win); in pvmp3_imdct_synth()
256 pvmp3_mdct_18(out, history, start_win); in pvmp3_imdct_synth()
262 pvmp3_mdct_18(out, history, stop_win); in pvmp3_imdct_synth()
284 int32 temp = history[i]; in pvmp3_imdct_synth()
286 history[i] = fxp_mul32_Q32(tmp_prev_ovr[ 6+i] << 1, short_win[6+i]); in pvmp3_imdct_synth()
287 history[i] += fxp_mul32_Q32(Scratch_mem[12+i] << 1, short_win[ i]); in pvmp3_imdct_synth()
294 out[i+6] += history[i+6]; in pvmp3_imdct_synth()
296 history[i+6] = fxp_mul32_Q32(tmp_prev_ovr[12+i] << 1, short_win[6+i]); in pvmp3_imdct_synth()
303 out[i+12] += history[i+12]; in pvmp3_imdct_synth()
[all …]
Dpvmp3_mdct_6.cpp122 void pvmp3_mdct_6(int32 vec[], int32 *history) in pvmp3_mdct_6() argument
148 history[3] = tmp; in pvmp3_mdct_6()
149 history[2] = tmp; in pvmp3_mdct_6()
153 history[4] = tmp; in pvmp3_mdct_6()
154 history[1] = tmp; in pvmp3_mdct_6()
157 history[5] = tmp; in pvmp3_mdct_6()
158 history[0] = tmp; in pvmp3_mdct_6()
Dpvmp3_mdct_18.h92 void pvmp3_mdct_18(int32 vec[], int32 *history, const int32 *window);
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsCollectionTest.java308 NetworkStatsHistory history; in testAugmentPlan() local
311 history = getHistory(emptyCollection, plan, TIME_A, TIME_C); in testAugmentPlan()
312 assertEquals(0L, history.getTotalBytes()); in testAugmentPlan()
315 history = getHistory(collection, plan, TIME_A, TIME_C); i = 0; in testAugmentPlan()
316 assertEntry(100647, 197, 23649, 185, history.getValues(i++, null)); in testAugmentPlan()
317 assertEntry(100647, 196, 23648, 185, history.getValues(i++, null)); in testAugmentPlan()
318 assertEntry(18323, 76, 15032, 76, history.getValues(i++, null)); in testAugmentPlan()
319 assertEntry(18322, 75, 15031, 75, history.getValues(i++, null)); in testAugmentPlan()
320 assertEntry(527798, 761, 78570, 652, history.getValues(i++, null)); in testAugmentPlan()
321 assertEntry(527797, 760, 78570, 651, history.getValues(i++, null)); in testAugmentPlan()
[all …]
DNetworkStatsServiceTest.java361 NetworkStatsHistory history = null; in testStatsBucketResize() local
385 history = mSession.getHistoryForNetwork(sTemplateWifi, FIELD_ALL); in testStatsBucketResize()
386 assertValues(history, Long.MIN_VALUE, Long.MAX_VALUE, 512L, 4L, 512L, 4L, 0); in testStatsBucketResize()
387 assertEquals(HOUR_IN_MILLIS, history.getBucketDuration()); in testStatsBucketResize()
388 assertEquals(2, history.size()); in testStatsBucketResize()
399 history = mSession.getHistoryForNetwork(sTemplateWifi, FIELD_ALL); in testStatsBucketResize()
400 assertValues(history, Long.MIN_VALUE, Long.MAX_VALUE, 512L, 4L, 512L, 4L, 0); in testStatsBucketResize()
401 assertEquals(30 * MINUTE_IN_MILLIS, history.getBucketDuration()); in testStatsBucketResize()
402 assertEquals(4, history.size()); in testStatsBucketResize()
1153 final NetworkStatsHistory history = mSession.getHistoryForNetwork(template, FIELD_ALL); in assertNetworkTotal() local
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHistoryTest.java70 BatteryStatsHistory history = in testConstruct() local
72 createActiveFile(history); in testConstruct()
73 verifyFileNumbers(history, Arrays.asList(0)); in testConstruct()
74 verifyActiveFile(history, "0.bin"); in testConstruct()
79 BatteryStatsHistory history = in testStartNextFile() local
84 createActiveFile(history); in testStartNextFile()
89 history.startNextFile(); in testStartNextFile()
90 createActiveFile(history); in testStartNextFile()
91 verifyFileNumbers(history, fileList); in testStartNextFile()
92 verifyActiveFile(history, i + ".bin"); in testStartNextFile()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/
DImsSuppServiceNotification.java47 public final String[] history; field in ImsSuppServiceNotification
51 String number, String[] history) { in ImsSuppServiceNotification() argument
57 this.history = history; in ImsSuppServiceNotification()
67 history = in.createStringArray(); in ImsSuppServiceNotification()
77 ", history=" + Arrays.toString(history) + in toString()
93 out.writeStringArray(history); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java403 final NetworkStatsHistory history = findOrCreateHistory(ident, uid, set, tag); in recordData() local
404 history.recordData(start, end, entry); in recordData()
405 noteRecordedHistory(history.getStart(), history.getEnd(), entry.rxBytes + entry.txBytes); in recordData()
411 private void recordHistory(Key key, NetworkStatsHistory history) { in recordHistory() argument
412 if (history.size() == 0) return; in recordHistory()
413 noteRecordedHistory(history.getStart(), history.getEnd(), history.getTotalBytes()); in recordHistory()
417 target = new NetworkStatsHistory(history.getBucketDuration()); in recordHistory()
420 target.recordEntireHistory(history); in recordHistory()
483 final NetworkStatsHistory history = new NetworkStatsHistory(in); in read() local
484 recordHistory(key, history); in read()
[all …]
DNetworkStatsObservers.java409 NetworkStatsHistory history = mCollection.getHistory(template, null, uid, in getTotalBytesForNetworkUid() local
414 return history.getTotalBytes(); in getTotalBytesForNetworkUid()
/frameworks/base/core/proto/android/service/
Dbatterystats.proto33 // Dump of batterystats history data (dumpsys batterystats --proto --history).
53 // Dump of battery history in csv format (equivalent of
54 // 'batterystats -c --history', with the hsp lines extracted).
/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java284 AppUsageHistory history = getPackageHistory(userHistory, packageName, nowElapsed, true); in reportUsage() local
285 return reportUsage(history, packageName, newBucket, usageReason, nowElapsed, timeout); in reportUsage()
611 AppUsageHistory history = userHistory.valueAt(i); in writeAppIdleTimes() local
615 Long.toString(history.lastUsedElapsedTime)); in writeAppIdleTimes()
617 Long.toString(history.lastUsedScreenTime)); in writeAppIdleTimes()
619 Long.toString(history.lastPredictedTime)); in writeAppIdleTimes()
621 Integer.toString(history.currentBucket)); in writeAppIdleTimes()
623 Integer.toHexString(history.bucketingReason)); in writeAppIdleTimes()
624 if (history.bucketActiveTimeoutTime > 0) { in writeAppIdleTimes()
625 xml.attribute(null, ATTR_BUCKET_ACTIVE_TIMEOUT_TIME, Long.toString(history in writeAppIdleTimes()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DSuppServiceNotification.java39 public String[] history; field in SuppServiceNotification
203 + " history: " + history in toString()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java291 LinkedList<String> history; in dump() local
293 history = new LinkedList<>(mLinkMetricsHistory); in dump()
297 for (String line : history) { in dump()
300 history.clear(); in dump()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DChartDataLoader.java138 final NetworkStatsHistory history = mSession.getHistoryForUid( in collectHistoryForUid() local
142 existing.recordEntireHistory(history); in collectHistoryForUid()
145 return history; in collectHistoryForUid()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsHistoryTest.java83 final NetworkStatsHistory history = new NetworkStatsHistory(in); in testReadOriginalVersion() local
84 assertEquals(15 * SECOND_IN_MILLIS, history.getBucketDuration()); in testReadOriginalVersion()
86 entry = history.getValues(0, entry); in testReadOriginalVersion()
90 entry = history.getValues(history.size() - 1, entry); in testReadOriginalVersion()
94 entry = history.getValues(Long.MIN_VALUE, Long.MAX_VALUE, entry); in testReadOriginalVersion()
367 final NetworkStatsHistory history = new NetworkStatsHistory( in testIgnoreFields() local
370 history.recordData(0, MINUTE_IN_MILLIS, in testIgnoreFields()
372 history.recordData(0, 2 * MINUTE_IN_MILLIS, in testIgnoreFields()
375 assertFullValues(history, UNKNOWN, 1026L, UNKNOWN, 2050L, UNKNOWN, UNKNOWN); in testIgnoreFields()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1024 final NetworkStatsHistory history = new NetworkStatsHistory(TimeUnit.HOURS.toMillis(1));
1030 final NetworkStatsHistory.Entry entry = history.getValues(
1060 history.clear();
1061 history.recordData(start, end,
1077 history.clear();
1078 history.recordData(start, end,
1095 history.clear();
1096 history.recordData(start, end,
1114 history.clear();
1115 history.recordData(start, end,
[all …]
/frameworks/native/include/input/
DInputTransport.h441 History history[2]; member
458 history[historyCurrent].initializeFrom(msg); in addHistory()
462 return &history[(historyCurrent + index) & 1]; in getHistory()
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java574 NetworkStatsHistory history = mSession.getHistoryIntervalForUid(mTemplate, uid, in startUserUidEnumeration() local
577 if (history != null && history.size() > 0) { in startUserUidEnumeration()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp954 std::vector<OccupancyTracker::Segment> history; in TEST_F() local
955 ASSERT_EQ(OK, mConsumer->getOccupancyHistory(false, &history)); in TEST_F()
960 ASSERT_EQ(2u, history.size()); in TEST_F()
966 const auto& firstSegment = history[1]; in TEST_F()
975 const auto& secondSegment = history[0]; in TEST_F()
983 ASSERT_EQ(OK, mConsumer->getOccupancyHistory(false, &history)); in TEST_F()
984 ASSERT_EQ(0u, history.size()); in TEST_F()
988 ASSERT_EQ(OK, mConsumer->getOccupancyHistory(true, &history)); in TEST_F()
989 ASSERT_EQ(1u, history.size()); in TEST_F()
994 const auto& thirdSegment = history[0]; in TEST_F()
/frameworks/base/tests/DataIdleTest/
DAndroid.bp26 // We need to sign it to get access to the network usage history.
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp55 std::vector<OccupancyTracker::Segment> history; in getOccupancyHistory() local
56 status_t result = mConsumer->getOccupancyHistory(forceFlush, &history); in getOccupancyHistory()
61 return history; in getOccupancyHistory()
/frameworks/base/tests/LegacyRestoreTest/
DREADME18 archives from various points in Android's history can be successfully restored.
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java596 String[] history = passwordHistory.split(HISTORY_DELIMITER); in checkPasswordHistory() local
598 for (int i = 0; i < Math.min(passwordHistoryLength, history.length); i++) { in checkPasswordHistory()
599 if (history[i].equals(legacyHash) || history[i].equals(passwordHash)) { in checkPasswordHistory()
1057 String[] history = passwordHistory.split(HISTORY_DELIMITER); in updatePasswordHistory() local
1060 for (int i = 0; i < passwordHistoryLength - 1 && i < history.length; i++) { in updatePasswordHistory()
1061 joiner.add(history[i]); in updatePasswordHistory()
/frameworks/base/cmds/statsd/src/guardrail/
DStatsdStats.cpp265 int64_t history = getElapsedRealtimeNs() - oldestEventTimestampNs; in noteEventQueueOverflow() local
267 if (history > mMaxQueueHistoryNs) { in noteEventQueueOverflow()
268 mMaxQueueHistoryNs = history; in noteEventQueueOverflow()
271 if (history < mMinQueueHistoryNs) { in noteEventQueueOverflow()
272 mMinQueueHistoryNs = history; in noteEventQueueOverflow()

12