Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/companion/datatransfer/contextsync/
DCrossDeviceSyncControllerTest.java83 final CallMetadataSyncData callMetadataSyncData = in processTelecomDataFromSync_createCallUpdateMessage_emptyCallsAndRequests()
96 final CallMetadataSyncData callMetadataSyncData = in processTelecomDataFromSync_createEmptyMessage_emptyCallsAndRequests()
126 final CallMetadataSyncData callMetadataSyncData = in processTelecomDataFromSync_createCallUpdateMessage_hasCalls()
130 final CallMetadataSyncData.Call call = in processTelecomDataFromSync_createCallUpdateMessage_hasCalls()
134 final CallMetadataSyncData.CallFacilitator facilitator = call.getFacilitator(); in processTelecomDataFromSync_createCallUpdateMessage_hasCalls()
151 final CallMetadataSyncData callMetadataSyncData = in processTelecomDataFromMessage_createCallControlMessage_hasCallControlRequest()
155 final CallMetadataSyncData.CallControlRequest request = in processTelecomDataFromMessage_createCallControlMessage_hasCallControlRequest()
196 final CallMetadataSyncData callMetadataSyncData = new CallMetadataSyncData(); in updateFacilitators_alreadyExists_doesNotCreateAnother()
198 new CallMetadataSyncData.CallFacilitator("name", "com.google.test", in updateFacilitators_alreadyExists_doesNotCreateAnother()
210 final CallMetadataSyncData callMetadataSyncData = new CallMetadataSyncData(); in updateFacilitators_new_addsIt()
[all …]
DCallMetadataSyncConnectionServiceTest.java64 final CallMetadataSyncData callMetadataSyncData = new CallMetadataSyncData(); in processContextSyncMessage_empty()
72 final CallMetadataSyncData.Call call = new CallMetadataSyncData.Call(); in processContextSyncMessage_newCall()
74 final CallMetadataSyncData callMetadataSyncData = new CallMetadataSyncData(); in processContextSyncMessage_newCall()
83 final CallMetadataSyncData.Call call = new CallMetadataSyncData.Call(); in processContextSyncMessage_existingCall()
85 final CallMetadataSyncData callMetadataSyncData = new CallMetadataSyncData(); in processContextSyncMessage_existingCall()
DCallMetadataSyncDataTest.java32 final CallMetadataSyncData.Call call = new CallMetadataSyncData.Call(); in call_writeToBundle_fromBundle_reconstructsSuccessfully()
46 final CallMetadataSyncData.CallFacilitator callFacilitator = in call_writeToBundle_fromBundle_reconstructsSuccessfully()
47 new CallMetadataSyncData.CallFacilitator(appName, appIdentifier, extendedId); in call_writeToBundle_fromBundle_reconstructsSuccessfully()
55 final CallMetadataSyncData.Call reconstructedCall = CallMetadataSyncData.Call.fromBundle( in call_writeToBundle_fromBundle_reconstructsSuccessfully()
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/
DCallMetadataSyncData.java32 class CallMetadataSyncData { class
34 final Map<String, CallMetadataSyncData.Call> mCalls = new HashMap<>();
35 final List<CallMetadataSyncData.CallCreateRequest> mCallCreateRequests = new ArrayList<>();
36 final List<CallMetadataSyncData.CallControlRequest> mCallControlRequests = new ArrayList<>();
37 final List<CallMetadataSyncData.CallFacilitator> mCallFacilitators = new ArrayList<>();
39 public void addCall(CallMetadataSyncData.Call call) { in addCall()
47 public Collection<CallMetadataSyncData.Call> getCalls() { in getCalls()
51 public void addCallCreateRequest(CallMetadataSyncData.CallCreateRequest request) { in addCallCreateRequest()
55 public List<CallMetadataSyncData.CallCreateRequest> getCallCreateRequests() { in getCallCreateRequests()
59 public void addCallControlRequest(CallMetadataSyncData.CallControlRequest request) { in addCallControlRequest()
[all …]
DCrossDeviceSyncController.java95 private final List<CallMetadataSyncData.CallFacilitator> mCallFacilitators = new ArrayList<>();
205 final CallMetadataSyncData processedData = processTelecomDataFromSync(data); in CrossDeviceSyncController()
281 new CallMetadataSyncData.CallFacilitator( in onBootCompleted()
289 private void processCallCreateRequests(CallMetadataSyncData callMetadataSyncData) { in processCallCreateRequests()
290 final Iterator<CallMetadataSyncData.CallCreateRequest> iterator = in processCallCreateRequests()
293 final CallMetadataSyncData.CallCreateRequest request = iterator.next(); in processCallCreateRequests()
439 CallMetadataSyncData processTelecomDataFromSync(byte[] data) { in processTelecomDataFromSync()
440 final CallMetadataSyncData callMetadataSyncData = new CallMetadataSyncData(); in processTelecomDataFromSync()
486 final CallMetadataSyncData.CallFacilitator facilitator = in processTelecomDataFromSync()
513 public static CallMetadataSyncData.CallCreateRequest processCallCreateRequestDataFromSync( in processCallCreateRequestDataFromSync()
[all …]
DCallMetadataSyncConnectionService.java60 CallMetadataSyncData callMetadataSyncData) {
62 for (CallMetadataSyncData.Call call : callMetadataSyncData.getCalls()) {
130 final CallMetadataSyncData.Call call = CallMetadataSyncData.Call.fromBundle( in onCreateIncomingConnection()
168 final CallMetadataSyncData.Call call = new CallMetadataSyncData.Call(); in onCreateOutgoingConnection()
172 final CallMetadataSyncData.CallFacilitator callFacilitator = in onCreateOutgoingConnection()
173 new CallMetadataSyncData.CallFacilitator(phoneAccount != null in onCreateOutgoingConnection()
283 private final CallMetadataSyncData.Call mCall;
288 int associationId, CallMetadataSyncData.Call call, in CallMetadataSyncConnection()
358 private void update(CallMetadataSyncData.Call call) { in update()
DCallMetadataSyncInCallService.java68 CallMetadataSyncData callMetadataSyncData) {
69 final Iterator<CallMetadataSyncData.CallControlRequest> iterator =
72 final CallMetadataSyncData.CallControlRequest request = iterator.next();
DCrossDeviceSyncControllerCallback.java39 void processContextSyncMessage(int associationId, CallMetadataSyncData callMetadataSyncData) {} in processContextSyncMessage()