Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java215 public DisconnectCause callTerminationReason; field in Analytics.CallInfoImpl
255 if (other.callTerminationReason != null) { in CallInfoImpl()
256 this.callTerminationReason = new DisconnectCause( in CallInfoImpl()
257 other.callTerminationReason.getCode(), in CallInfoImpl()
258 other.callTerminationReason.getLabel(), in CallInfoImpl()
259 other.callTerminationReason.getDescription(), in CallInfoImpl()
260 other.callTerminationReason.getReason(), in CallInfoImpl()
261 other.callTerminationReason.getTone()); in CallInfoImpl()
263 this.callTerminationReason = null; in CallInfoImpl()
300 this.callTerminationReason = disconnectCause; in setCallDisconnectCause()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DAnalyticsTests.java78 assertNull(callAnalytics.callTerminationReason); in testAnalyticsSingleCall()
88 assertNotNull(callAnalytics.callTerminationReason); in testAnalyticsSingleCall()
89 assertEquals(DisconnectCause.ERROR, callAnalytics.callTerminationReason.getCode()); in testAnalyticsSingleCall()
132 assertEquals(expectedAnalytics.callTerminationReason.getCode(), in testAnalyticsDumping()
174 assertNull(callAnalytics1.callTerminationReason);
175 assertNull(callAnalytics2.callTerminationReason);
192 assertNotNull(callAnalytics1.callTerminationReason);
193 assertNotNull(callAnalytics2.callTerminationReason);
194 assertEquals(DisconnectCause.ERROR, callAnalytics1.callTerminationReason.getCode());
195 assertEquals(DisconnectCause.REMOTE, callAnalytics2.callTerminationReason.getCode());
[all …]