Home
last modified time | relevance | path

Searched refs:mEvaluators (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQualifiedNetworksServiceImpl.java158 protected HashMap<Integer, AccessNetworkEvaluator> mEvaluators = new HashMap<>(); field in QualifiedNetworksServiceImpl.NetworkAvailabilityProviderImpl
228 if (mEvaluators.get(netCapability) != null) { in onConfigurationLoaded()
229 AccessNetworkEvaluator evaluator = mEvaluators.remove(netCapability); in onConfigurationLoaded()
241 for (Integer capability : mEvaluators.keySet()) { in onConfigurationLoaded()
242 AccessNetworkEvaluator evaluator = mEvaluators.get(capability); in onConfigurationLoaded()
246 mEvaluators.clear(); in onConfigurationLoaded()
247 mEvaluators = evaluators; in onConfigurationLoaded()
277 AccessNetworkEvaluator evaluator = mEvaluators.get(netCapability); in reportThrottleStatusChanged()
293 mEvaluators.get(NetworkCapabilities.NET_CAPABILITY_EIMS); in reportEmergencyDataNetworkPreferredTransportChanged()
313 for (Integer netCapability : mEvaluators.keySet()) { in onClose()
[all …]
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommender.java49 private final List<EvaluatorWrapper> mEvaluators = new ArrayList<>(); field in Recommender
104 mEvaluators.add(new EvaluatorWrapper(this, evaluator, baseScore, weight)); in registerEvaluator()
125 for (EvaluatorWrapper evaluator : mEvaluators) { in recommendChannels()
192 for (EvaluatorWrapper evaluator : mEvaluators) { in onChannelRecordLoaded()
199 for (EvaluatorWrapper evaluator : mEvaluators) { in onNewWatchLog()
209 for (EvaluatorWrapper evaluator : mEvaluators) { in onChannelRecordChanged()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQualifiedNetworksServiceImplTest.java208 assertEquals(3, mProvider.mEvaluators.size()); in testAneCreation()
213 assertEquals(1, mProvider.mEvaluators.size()); in testAneCreation()
261 mProvider.mEvaluators.put(NetworkCapabilities.NET_CAPABILITY_IMS, mMockAne); in buildThrottle()
268 mProvider.mEvaluators.put(NetworkCapabilities.NET_CAPABILITY_EIMS, mMockAne); in testOnEmergencyDataNetworkPreferenceChangedWlan()
280 mProvider.mEvaluators.put(NetworkCapabilities.NET_CAPABILITY_EIMS, mMockAne); in testOnEmergencyDataNetworkPreferenceChangedWwan()
291 mProvider.mEvaluators.put(NetworkCapabilities.NET_CAPABILITY_IMS, mMockAne); in testOnEmergencyDataNetworkPreferenceChangedWrongAne()