Home
last modified time | relevance | path

Searched refs:testFeatureMetrics (Results 1 – 2 of 2) sorted by relevance

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastServiceMetricsTest.java116 CellBroadcastServiceMetrics.FeatureMetrics testFeatureMetrics = in testEquals() local
121 assertTrue(testFeatureMetrics.equals(testSharedPreferenceFeatureMetrics)); in testEquals()
122 assertNotSame(testFeatureMetrics, testSharedPreferenceFeatureMetrics); in testEquals()
124 testFeatureMetrics.onChangedAdditionalCbrPackage(false); in testEquals()
125 testFeatureMetrics.onChangedAreaInfoPackage(Arrays.asList(new String[]{"test.com"})); in testEquals()
126 testFeatureMetrics.onChangedResetAreaInfo(false); in testEquals()
128 assertFalse(testFeatureMetrics.equals(testSharedPreferenceFeatureMetrics)); in testEquals()
137 assertTrue(testFeatureMetrics.equals(testSharedPreferenceFeatureMetrics)); in testEquals()
143 CellBroadcastServiceMetrics.FeatureMetrics testFeatureMetrics = in testClone() local
148 assertTrue(testFeatureMetrics.equals(testSharedPreferenceFeatureMetrics)); in testClone()
[all …]
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastReceiverMetricsTest.java118 CellBroadcastReceiverMetrics.FeatureMetrics testFeatureMetrics = in testGetFeatureMetrics() local
123 assertSame(testFeatureMetrics, testFeatureMetricsClone); in testGetFeatureMetrics()
143 testFeatureMetrics = CellBroadcastReceiverMetrics.getInstance().getFeatureMetrics( in testGetFeatureMetrics()
147 assertFalse(testFeatureMetrics.isAlertDuringCall()); in testGetFeatureMetrics()
150 assertTrue(testFeatureMetrics.getDnDChannelSet().equals(compareSet)); in testGetFeatureMetrics()
151 assertFalse(testFeatureMetrics.isRoamingSupport()); in testGetFeatureMetrics()
152 assertFalse(testFeatureMetrics.isStoreSms()); in testGetFeatureMetrics()
153 assertFalse(testFeatureMetrics.isTestMode()); in testGetFeatureMetrics()
154 assertTrue(testFeatureMetrics.isEnableAlertSpeech()); in testGetFeatureMetrics()
155 assertTrue(testFeatureMetrics.isTestModeOnUserBuild()); in testGetFeatureMetrics()
[all …]