Home
last modified time | relevance | path

Searched refs:updatedCapList (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/
DUceStatsWriterTest.java66 List<RcsContactUceCapability> updatedCapList; field in UceStatsWriterTest.Callback
113 List<RcsContactUceCapability> updatedCapList) { in onPresenceNotifyEvent() argument
116 this.updatedCapList = updatedCapList; in onPresenceNotifyEvent()
208 List<RcsContactUceCapability> updatedCapList = new ArrayList<>(); in setPresenceNotifyEvent() local
214 updatedCapList.add(builder.build()); in setPresenceNotifyEvent()
216 mWrite.setPresenceNotifyEvent(mSubId, mTaskId, updatedCapList); in setPresenceNotifyEvent()
219 assertEquals(updatedCapList.size(), mCallback.updatedCapList.size()); in setPresenceNotifyEvent()
220 for (int index = 0; index < updatedCapList.size(); index++) { in setPresenceNotifyEvent()
221 RcsContactUceCapability input = updatedCapList.get(index); in setPresenceNotifyEvent()
222 RcsContactUceCapability output = mCallback.updatedCapList.get(index); in setPresenceNotifyEvent()
[all …]
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/
DSubscribeCoordinatorTest.java223 final List<RcsContactUceCapability> updatedCapList = new ArrayList<>(); in testRequestCapabilityUpdated() local
226 updatedCapList.add(updatedCapability); in testRequestCapabilityUpdated()
227 doReturn(updatedCapList).when(mResponse).getUpdatedContactCapability(); in testRequestCapabilityUpdated()
231 verify(mRequestMgrCallback).saveCapabilities(updatedCapList); in testRequestCapabilityUpdated()
232 verify(mUceCallback).onCapabilitiesReceived(updatedCapList); in testRequestCapabilityUpdated()
233 verify(mResponse).removeUpdatedCapabilities(updatedCapList); in testRequestCapabilityUpdated()
243 final List<RcsContactUceCapability> updatedCapList = new ArrayList<>(); in testResourceTerminated() local
245 updatedCapList.add(updatedCapability); in testResourceTerminated()
246 doReturn(updatedCapList).when(mResponse).getTerminatedResources(); in testResourceTerminated()
250 verify(mRequestMgrCallback).saveCapabilities(updatedCapList); in testResourceTerminated()
[all …]
DOptionsCoordinatorTest.java122 final List<RcsContactUceCapability> updatedCapList = new ArrayList<>(); in testRequestNetworkResponse() local
124 updatedCapList.add(updatedCapability); in testRequestNetworkResponse()
125 doReturn(updatedCapList).when(mResponse).getUpdatedContactCapability(); in testRequestNetworkResponse()
129 verify(mRequestMgrCallback).saveCapabilities(updatedCapList); in testRequestNetworkResponse()
130 verify(mUceCallback).onCapabilitiesReceived(updatedCapList); in testRequestNetworkResponse()
131 verify(mResponse).removeUpdatedCapabilities(updatedCapList); in testRequestNetworkResponse()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DSubscribeRequestCoordinator.java305 List<RcsContactUceCapability> updatedCapList = response.getUpdatedContactCapability(); in handleNetworkResponse() local
306 if (!updatedCapList.isEmpty()) { in handleNetworkResponse()
308 mRequestManagerCallback.saveCapabilities(updatedCapList); in handleNetworkResponse()
310 triggerCapabilitiesReceivedCallback(updatedCapList); in handleNetworkResponse()
311 response.removeUpdatedCapabilities(updatedCapList); in handleNetworkResponse()
401 List<RcsContactUceCapability> updatedCapList = response.getUpdatedContactCapability(); in handleCapabilitiesUpdated() local
402 logd("handleCapabilitiesUpdated: taskId=" + taskId + ", size=" + updatedCapList.size()); in handleCapabilitiesUpdated()
404 if (updatedCapList.isEmpty()) { in handleCapabilitiesUpdated()
408 mUceStatsWriter.setPresenceNotifyEvent(mSubId, taskId, updatedCapList); in handleCapabilitiesUpdated()
410 mRequestManagerCallback.saveCapabilities(updatedCapList); in handleCapabilitiesUpdated()
[all …]
DOptionsRequestCoordinator.java227 List<RcsContactUceCapability> updatedCapList = response.getUpdatedContactCapability(); in handleNetworkResponse() local
228 if (!updatedCapList.isEmpty()) { in handleNetworkResponse()
230 mRequestManagerCallback.saveCapabilities(updatedCapList); in handleNetworkResponse()
231 triggerCapabilitiesReceivedCallback(updatedCapList); in handleNetworkResponse()
232 response.removeUpdatedCapabilities(updatedCapList); in handleNetworkResponse()
DCapabilityRequestResponse.java276 private synchronized void updateCapsReceivedFlag(List<RcsContactUceCapability> updatedCapList) { in updateCapsReceivedFlag() argument
277 for (RcsContactUceCapability updatedCap : updatedCapList) { in updateCapsReceivedFlag()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/
DUceStatsWriter.java115 List<RcsContactUceCapability> updatedCapList); in onPresenceNotifyEvent() argument
227 List<RcsContactUceCapability> updatedCapList) { in setPresenceNotifyEvent() argument
228 if (mCallBack == null || updatedCapList == null || updatedCapList.isEmpty()) { in setPresenceNotifyEvent()
231 mCallBack.onPresenceNotifyEvent(subId, taskId, updatedCapList); in setPresenceNotifyEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DRcsStats.java611 List<RcsContactUceCapability> updatedCapList) { in onPresenceNotifyEvent() argument
612 if (updatedCapList == null || updatedCapList.isEmpty()) { in onPresenceNotifyEvent()
618 for (RcsContactUceCapability capability : updatedCapList) { in onPresenceNotifyEvent()