/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_mdct_18.cpp | 133 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 …]
|
D | pvmp3_imdct_synth.cpp | 244 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 …]
|
D | pvmp3_mdct_6.cpp | 122 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()
|
D | pvmp3_mdct_18.h | 92 void pvmp3_mdct_18(int32 vec[], int32 *history, const int32 *window);
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 308 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 …]
|
D | NetworkStatsServiceTest.java | 374 NetworkStatsHistory history = null; 396 history = mSession.getHistoryForNetwork(sTemplateWifi, FIELD_ALL); 397 assertValues(history, Long.MIN_VALUE, Long.MAX_VALUE, 512L, 4L, 512L, 4L, 0); 398 assertEquals(HOUR_IN_MILLIS, history.getBucketDuration()); 399 assertEquals(2, history.size()); 410 history = mSession.getHistoryForNetwork(sTemplateWifi, FIELD_ALL); 411 assertValues(history, Long.MIN_VALUE, Long.MAX_VALUE, 512L, 4L, 512L, 4L, 0); 412 assertEquals(30 * MINUTE_IN_MILLIS, history.getBucketDuration()); 413 assertEquals(4, history.size()); 1209 final NetworkStatsHistory history = mSession.getHistoryForNetwork(template, FIELD_ALL); [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationHistoryTest.java | 112 NotificationHistory history = new NotificationHistory(); in testAddNotificationToWrite() local 116 history.addNotificationToWrite(n2); in testAddNotificationToWrite() 117 history.addNotificationToWrite(n); in testAddNotificationToWrite() 119 assertThat(history.getNotificationsToWrite().size()).isEqualTo(2); in testAddNotificationToWrite() 120 assertThat(history.getNotificationsToWrite().get(0)).isSameAs(n2); in testAddNotificationToWrite() 121 assertThat(history.getNotificationsToWrite().get(1)).isSameAs(n); in testAddNotificationToWrite() 122 assertThat(history.getHistoryCount()).isEqualTo(2); in testAddNotificationToWrite() 127 NotificationHistory history = new NotificationHistory(); in testAddNotificationsToWrite() local 131 history.addNotificationToWrite(n2); in testAddNotificationsToWrite() 132 history.addNotificationToWrite(n); in testAddNotificationsToWrite() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerHistoryTest.cpp | 52 impl::LayerHistory& history() { return *mScheduler->mutableLayerHistory(); } in history() function in android::scheduler::LayerHistoryTest 53 const impl::LayerHistory& history() const { return *mScheduler->mutableLayerHistory(); } in history() function in android::scheduler::LayerHistoryTest 56 size_t activeLayerCount() const NO_THREAD_SAFETY_ANALYSIS { return history().mActiveLayersEnd; } in activeLayerCount() 59 const auto& infos = history().mLayerInfos; in frequentLayerCount() 60 return std::count_if(infos.begin(), infos.begin() + history().mActiveLayersEnd, in frequentLayerCount() 94 ASSERT_TRUE(history().summarize(mTime).empty()); in TEST_F() 99 history().record(layer.get(), 0, mTime, LayerHistory::LayerUpdateType::Buffer); in TEST_F() 100 ASSERT_TRUE(history().summarize(mTime).empty()); in TEST_F() 106 history().record(layer.get(), 0, mTime, LayerHistory::LayerUpdateType::Buffer); in TEST_F() 107 ASSERT_EQ(1, history().summarize(mTime).size()); in TEST_F() [all …]
|
D | LayerHistoryTestV2.cpp | 53 impl::LayerHistoryV2& history() { return *mScheduler->mutableLayerHistoryV2(); } in history() function in android::scheduler::LayerHistoryTestV2 54 const impl::LayerHistoryV2& history() const { return *mScheduler->mutableLayerHistoryV2(); } in history() function in android::scheduler::LayerHistoryTestV2 57 size_t activeLayerCount() const NO_THREAD_SAFETY_ANALYSIS { return history().mActiveLayersEnd; } in activeLayerCount() 60 const auto& infos = history().mLayerInfos; in frequentLayerCount() 62 infos.begin() + static_cast<long>(history().mActiveLayersEnd), in frequentLayerCount() 67 const auto& infos = history().mLayerInfos; in animatingLayerCount() 69 infos.begin() + static_cast<long>(history().mActiveLayersEnd), in animatingLayerCount() 75 for (auto& [weak, info] : history().mLayerInfos) { in setLayerInfoVote() 94 history().record(layer.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in recordFramesAndExpect() 97 summary = history().summarize(time); in recordFramesAndExpect() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHistoryTest.java | 70 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/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationHistoryProtoHelperTest.java | 82 NotificationHistory history = new NotificationHistory(); in testReadWriteNotifications() local 89 history.addNotificationToWrite(n); in testReadWriteNotifications() 91 history.poolStringsFromNotifications(); in testReadWriteNotifications() 94 NotificationHistoryProtoHelper.write(baos, history, 1); in testReadWriteNotifications() 102 assertThat(actualHistory.getHistoryCount()).isEqualTo(history.getHistoryCount()); in testReadWriteNotifications() 109 NotificationHistory history = new NotificationHistory(); in testReadWriteNotifications_stringFieldsPersistedEvenIfNoPool() local 116 history.addNotificationToWrite(n); in testReadWriteNotifications_stringFieldsPersistedEvenIfNoPool() 120 NotificationHistoryProtoHelper.write(baos, history, 1); in testReadWriteNotifications_stringFieldsPersistedEvenIfNoPool() 128 assertThat(actualHistory.getHistoryCount()).isEqualTo(history.getHistoryCount()); in testReadWriteNotifications_stringFieldsPersistedEvenIfNoPool() 135 NotificationHistory history = new NotificationHistory(); in testReadNotificationsWithPkgFilter() local [all …]
|
D | NotificationHistoryFilterTest.java | 86 NotificationHistory history = new NotificationHistory(); in testMatchesCountFilter() local 87 assertThat(filter.matchesCountFilter(history)).isTrue(); in testMatchesCountFilter() 88 history.addNotificationToWrite(getHistoricalNotification(1)); in testMatchesCountFilter() 89 assertThat(filter.matchesCountFilter(history)).isTrue(); in testMatchesCountFilter() 90 history.addNotificationToWrite(getHistoricalNotification(2)); in testMatchesCountFilter() 91 assertThat(filter.matchesCountFilter(history)).isTrue(); in testMatchesCountFilter() 92 history.addNotificationToWrite(getHistoricalNotification(3)); in testMatchesCountFilter() 93 assertThat(filter.matchesCountFilter(history)).isFalse(); in testMatchesCountFilter() 101 NotificationHistory history = new NotificationHistory(); in testMatchesCountFilter_noCountFilter() local 102 assertThat(filter.matchesCountFilter(history)).isTrue(); in testMatchesCountFilter_noCountFilter() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsSuppServiceNotification.java | 50 public final String[] history; field in ImsSuppServiceNotification 54 String number, String[] history) { in ImsSuppServiceNotification() argument 60 this.history = history; in ImsSuppServiceNotification() 70 history = in.createStringArray(); in ImsSuppServiceNotification() 81 ", history=" + Arrays.toString(history) + in toString() 97 out.writeStringArray(history); in writeToParcel()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 403 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 …]
|
/frameworks/base/services/robotests/src/com/android/server/location/ |
D | LocationRequestStatisticsTest.java | 67 statistics.history.addRequest("com.example", FEATURE_ID, "gps", 1000); in testSummaryList() 68 assertThat(statistics.history.mList.size()).isEqualTo(1); in testSummaryList() 71 statistics.history.addRequest("com.example", FEATURE_ID, "gps", 1000); in testSummaryList() 73 assertThat(statistics.history.mList.size()).isEqualTo( in testSummaryList()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppIdleHistory.java | 319 AppUsageHistory history = getPackageHistory(userHistory, packageName, nowElapsed, true); in reportUsage() local 320 return reportUsage(history, packageName, userId, newBucket, usageReason, nowElapsed, in reportUsage() 709 AppUsageHistory history = userHistory.valueAt(i); in writeAppIdleTimes() local 713 Long.toString(history.lastUsedElapsedTime)); in writeAppIdleTimes() 715 Long.toString(history.lastUsedByUserElapsedTime)); in writeAppIdleTimes() 717 Long.toString(history.lastUsedScreenTime)); in writeAppIdleTimes() 719 Long.toString(history.lastPredictedTime)); in writeAppIdleTimes() 721 Integer.toString(history.currentBucket)); in writeAppIdleTimes() 723 Integer.toHexString(history.bucketingReason)); in writeAppIdleTimes() 724 if (history.bucketActiveTimeoutTime > 0) { in writeAppIdleTimes() [all …]
|
/frameworks/base/core/proto/android/service/ |
D | batterystats.proto | 33 // 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/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | SuppServiceNotification.java | 39 public String[] history; field in SuppServiceNotification 203 + " history: " + history in toString()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | ChartDataLoader.java | 138 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/ |
D | NetworkStatsHistoryTest.java | 83 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/ |
D | NetworkPolicyManagerServiceTest.java | 1103 final NetworkStatsHistory history = new NetworkStatsHistory(TimeUnit.HOURS.toMillis(1)); 1109 final NetworkStatsHistory.Entry entry = history.getValues( 1139 history.clear(); 1140 history.recordData(start, end, 1156 history.clear(); 1157 history.recordData(start, end, 1174 history.clear(); 1175 history.recordData(start, end, 1193 history.clear(); 1194 history.recordData(start, end, [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationRequestStatistics.java | 45 public final RequestSummaryLimitedHistory history = new RequestSummaryLimitedHistory(); field in LocationRequestStatistics 65 history.addRequest(packageName, featureId, providerName, intervalMs); in startRequesting() 82 history.removeRequest(packageName, featureId, providerName); in stopRequesting()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 477 History history[2]; member 494 history[historyCurrent].initializeFrom(msg); in addHistory() 498 return &history[(historyCurrent + index) & 1]; in getHistory()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStats.java | 574 NetworkStatsHistory history = mSession.getHistoryIntervalForUid(mTemplate, uid, in startUserUidEnumeration() local 577 if (history != null && history.size() > 0) { in startUserUidEnumeration()
|
/frameworks/native/libs/gui/tests/ |
D | BLASTBufferQueue_test.cpp | 682 ProducerFrameEventHistory history; in TEST_F() local 689 history.applyDelta(qbOutput.frameTimestamps); in TEST_F() 692 events = history.getFrame(1); in TEST_F() 704 history.applyDelta(qbOutput.frameTimestamps); in TEST_F() 705 events = history.getFrame(1); in TEST_F() 720 events = history.getFrame(2); in TEST_F()
|