Home
last modified time | relevance | path

Searched refs:getIncomingMms (Results 1 – 4 of 4) sorted by relevance

/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/
DPersistMmsAtomsStorageTest.java195 mTestablePersistMmsAtomsStorage.getIncomingMms(0L)); in loadAtoms_pullTimeMissing()
209 mTestablePersistMmsAtomsStorage.getIncomingMms(0L)); in loadAtoms_validContents()
229 mTestablePersistMmsAtomsStorage.getIncomingMms(0L)); in addIncomingMms_emptyProto()
246 mTestablePersistMmsAtomsStorage.getIncomingMms(0L)); in addIncomingMms_withExistingEntries()
269 mTestablePersistMmsAtomsStorage.getIncomingMms(0L)); in addIncomingMms_updateExistingEntries()
306 assertHasMmsAndCountAvg(mTestablePersistMmsAtomsStorage.getIncomingMms(0L), in addIncomingMms_tooManyEntries()
319 .getIncomingMms(100L); in getIncomingMms_tooFrequent()
331 .getIncomingMms(50L); in getIncomingMms_withSavedAtoms()
334 .getIncomingMms(50L); in getIncomingMms_withSavedAtoms()
365 assertProtoListIsEmpty(mTestablePersistMmsAtomsStorage.getIncomingMms(0L)); in addOutgoingMms_emptyProto()
[all …]
DMmsMetricsCollectorTest.java69 doReturn(new ArrayList<>()).when(mPersistMmsAtomsStorage).getIncomingMms(anyLong()); in onPullAtom_incomingMms_empty()
80 doReturn(null).when(mPersistMmsAtomsStorage).getIncomingMms(anyLong()); in onPullAtom_incomingMms_tooFrequent()
88 .getIncomingMms(eq(MIN_COOLDOWN_MILLIS)); in onPullAtom_incomingMms_tooFrequent()
96 .when(mPersistMmsAtomsStorage).getIncomingMms(anyLong()); in onPullAtom_incomingMms_multipleMms()
/packages/services/Mms/src/com/android/mms/service/metrics/
DPersistMmsAtomsStorage.java139 IncomingMms existingMms = mPersistMmsAtoms.getIncomingMms(existingMmsIndex); in addIncomingMms()
199 public synchronized List<IncomingMms> getIncomingMms(long minIntervalMillis) { in getIncomingMms() method in PersistMmsAtomsStorage
307 IncomingMms mms = mPersistMmsAtoms.getIncomingMms(i); in findIndex()
DMmsMetricsCollector.java130 List<IncomingMms> incomingMmsList = mStorage.getIncomingMms(MIN_COOLDOWN_MILLIS); in pullIncomingMms()