Searched refs:statsId (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Telephony/libs/TelephonyStatsLib/src/com/android/telephony/statslib/ |
D | StatsLibStorage.java | 88 void init(int statsId) { in init() argument 89 List<AtomsPushed> pushed = mPushed.get(statsId); in init() 93 ConcurrentHashMap<String, AtomsPulled> pulled = mPulled.get(statsId); in init() 112 AtomsPushed[] popPushedAtoms(int statsId) { in popPushedAtoms() argument 113 List<AtomsPushed> atoms = mPushed.computeIfAbsent(statsId, k -> new ArrayList<>()); in popPushedAtoms() 142 AtomsPulled[] popPulledAtoms(int statsId) { in popPulledAtoms() argument 143 ConcurrentHashMap<String, AtomsPulled> atoms = mPulled.get(statsId); in popPulledAtoms() 150 saveToFile(statsId); in popPulledAtoms() 155 void saveToFile(int statsId) { in saveToFile() argument 156 mHandler.post(() -> saveToFileImmediately(statsId)); in saveToFile() [all …]
|
D | StatsLib.java | 63 public void registerPulledAtomCallback(int statsId) { in registerPulledAtomCallback() argument 64 mStatsLibPulledAtomCallback.registerAtom(statsId); in registerPulledAtomCallback() 73 public void registerPulledAtomCallback(int statsId, PulledCallback callback) { in registerPulledAtomCallback() argument 74 mStatsLibPulledAtomCallback.registerAtom(statsId, callback); in registerPulledAtomCallback() 83 public boolean isRegisteredPulledAtomCallback(int statsId) { in isRegisteredPulledAtomCallback() argument 84 return mStatsLibPulledAtomCallback.isRegisteredAtom(statsId); in isRegisteredPulledAtomCallback() 92 public void unregisterPulledAtomCallback(int statsId) { in unregisterPulledAtomCallback() argument 93 if (isRegisteredPulledAtomCallback(statsId)) { in unregisterPulledAtomCallback() 94 mStatsLibPulledAtomCallback.unregisterAtom(statsId); in unregisterPulledAtomCallback()
|
/packages/modules/Telephony/libs/TelephonyStatsLib/tests/com/android/telephony/statslib/ |
D | StatsLibStorageTest.java | 156 int statsId = first.getStatsId(); in testPulledAtomsBaseInfo() local 157 assertEquals(statsId, second.getStatsId()); in testPulledAtomsBaseInfo() 158 assertEquals(statsId, third.getStatsId()); in testPulledAtomsBaseInfo() 162 assertEquals(expectedLen, mPulled.get(statsId).size()); in testPulledAtomsBaseInfo() 168 assertEquals(expectedLen, mPulled.get(statsId).size()); in testPulledAtomsBaseInfo() 174 assertEquals(expectedLen, mPulled.get(statsId).size()); in testPulledAtomsBaseInfo() 176 AtomsPulled[] infos = mStorage.popPulledAtoms(statsId); in testPulledAtomsBaseInfo() 177 assertEquals(0, mPulled.get(statsId).size()); in testPulledAtomsBaseInfo() 212 int statsId = first.getStatsId(); in testSerializableAtoms() local 213 assertEquals(statsId, second.getStatsId()); in testSerializableAtoms() [all …]
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/atoms/ |
D | AtomsQnsHandoverTimeMillisInfoTest.java | 152 final int statsId = 10178; // QnsHandoverTimeMillis in testStatsId() local 153 assertEquals(statsId, mInfoDefault.copy().getStatsId()); in testStatsId()
|
D | AtomsQnsHandoverPingPongInfoTest.java | 181 final int statsId = 10179; // QnsHandoverPingpong in testStatsId() local 182 assertEquals(statsId, mInfoDefault.copy().getStatsId()); in testStatsId()
|
D | AtomsQnsFallbackRestrictionChangedInfoTest.java | 250 final int statsId = 636; // QnsFallbackRestrictionChanged in testStatsId() local 251 assertEquals(statsId, mInfoDefault.copy().getStatsId()); in testStatsId()
|
D | AtomsQnsRatPreferenceMismatchInfoTest.java | 251 final int statsId = 10177; // QnsRatPreferenceMismatchInfo in testStatsId() local 252 assertEquals(statsId, mInfoDefault.copy().getStatsId()); in testStatsId()
|
D | AtomsQnsImsCallDropStatsTest.java | 341 final int statsId = 635; // QnsImsCallDropStats in testStatsId() local 342 assertEquals(statsId, mInfoDefault.copy().getStatsId()); in testStatsId()
|
D | AtomsQualifiedRatListChangedInfoTest.java | 523 final int statsId = 634; // QualifiedRatListChanged in testStatsId() local 524 assertEquals(statsId, mInfoDefault.copy().getStatsId()); in testStatsId()
|