Home
last modified time | relevance | path

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

/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/
DPersistMmsAtomsStorageTest.java197 mTestablePersistMmsAtomsStorage.getOutgoingMms(0L)); in loadAtoms_pullTimeMissing()
211 mTestablePersistMmsAtomsStorage.getOutgoingMms(0L)); in loadAtoms_validContents()
225 assertProtoListIsEmpty(mTestablePersistMmsAtomsStorage.getOutgoingMms(0L)); in addIncomingMms_emptyProto()
369 mTestablePersistMmsAtomsStorage.getOutgoingMms(0L)); in addOutgoingMms_emptyProto()
386 mTestablePersistMmsAtomsStorage.getOutgoingMms(0L)); in addOutgoingMms_withExistingEntries()
409 mTestablePersistMmsAtomsStorage.getOutgoingMms(0L)); in addOutgoingMms_updateExistingEntries()
447 assertHasMmsAndCountAvg(mTestablePersistMmsAtomsStorage.getOutgoingMms(0L), in addOutgoingMms_tooManyEntries()
460 .getOutgoingMms(100L); in getOutgoingMms_tooFrequent()
472 .getOutgoingMms(50L); in getOutgoingMms_withSavedAtoms()
475 .getOutgoingMms(50L); in getOutgoingMms_withSavedAtoms()
[all …]
DMmsMetricsCollectorTest.java107 doReturn(new ArrayList<>()).when(mPersistMmsAtomsStorage).getOutgoingMms(anyLong()); in onPullAtom_outgoingMms_empty()
118 doReturn(null).when(mPersistMmsAtomsStorage).getOutgoingMms(anyLong()); in onPullAtom_outgoingMms_tooFrequent()
126 .getOutgoingMms(eq(MIN_COOLDOWN_MILLIS)); in onPullAtom_outgoingMms_tooFrequent()
134 .when(mPersistMmsAtomsStorage).getOutgoingMms(anyLong()); in onPullAtom_outgoingMms_multipleMms()
/packages/services/Mms/src/com/android/mms/service/metrics/
DPersistMmsAtomsStorage.java169 OutgoingMms existingMms = mPersistMmsAtoms.getOutgoingMms(existingMmsIndex); in addOutgoingMms()
219 public synchronized List<OutgoingMms> getOutgoingMms(long minIntervalMillis) { in getOutgoingMms() method in PersistMmsAtomsStorage
329 OutgoingMms mms = mPersistMmsAtoms.getOutgoingMms(i); in findIndex()
DMmsMetricsCollector.java142 List<OutgoingMms> outgoingMmsList = mStorage.getOutgoingMms(MIN_COOLDOWN_MILLIS); in pullOutgoingMms()