Home
last modified time | relevance | path

Searched refs:calls (Results 1 – 25 of 75) sorted by relevance

123

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/telephony/
DCallInfoTest.java86 ArrayList<BluetoothCall> calls = new ArrayList<>(); in getActiveCall() local
87 calls.add(activeCall); in getActiveCall()
89 doReturn(calls).when(mMockCallInfo).getBluetoothCalls(); in getActiveCall()
98 ArrayList<BluetoothCall> calls = new ArrayList<>(); in getHeldCall() local
99 calls.add(heldCall); in getHeldCall()
101 doReturn(calls).when(mMockCallInfo).getBluetoothCalls(); in getHeldCall()
111 ArrayList<BluetoothCall> calls = new ArrayList<>(); in getOutgoingCall() local
112 calls.add(outgoingCall); in getOutgoingCall()
114 doReturn(calls).when(mMockCallInfo).getBluetoothCalls(); in getOutgoingCall()
123 ArrayList<BluetoothCall> calls = new ArrayList<>(); in getRingingOrSimulatedRingingCall() local
[all …]
DBluetoothInCallServiceTest.java266 ArrayList<BluetoothCall> calls = new ArrayList<>(); in testListCurrentCallsOneCall() local
269 calls.add(activeCall); in testListCurrentCallsOneCall()
273 when(mMockCallInfo.getBluetoothCalls()).thenReturn(calls); in testListCurrentCallsOneCall()
328 ArrayList<BluetoothCall> calls = new ArrayList<>(); in testListCurrentCallsSilentRinging() local
332 calls.add(silentRingingCall); in testListCurrentCallsSilentRinging()
337 when(mMockCallInfo.getBluetoothCalls()).thenReturn(calls); in testListCurrentCallsSilentRinging()
361 ArrayList<BluetoothCall> calls = new ArrayList<>(); in testConferenceInProgressCDMA() local
365 calls.add(parentCall); in testConferenceInProgressCDMA()
366 calls.add(confCall1); in testConferenceInProgressCDMA()
367 calls.add(confCall2); in testConferenceInProgressCDMA()
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DReadWriteDraftMessageActionTest.java76 final ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testWriteDraft() local
83 assertEquals("Failed to start service once for action", calls.size(), 1); in testWriteDraft()
85 calls.get(0).action instanceof WriteDraftMessageAction); in testWriteDraft()
87 final Action save = calls.get(0).action; in testWriteDraft()
135 final ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testReadDraft() local
146 assertEquals("Unexpected number of calls to service", 1, calls.size()); in testReadDraft()
148 calls.get(0).action instanceof ReadDraftDataAction); in testReadDraft()
150 final Action read = calls.get(0).action; in testReadDraft()
200 final ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testReadDraftForNewConversation() local
205 assertEquals("Unexpected number of calls to service", 1, calls.size()); in testReadDraftForNewConversation()
[all …]
DGetOrCreateConversationActionTest.java71 ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testGetOrCreateConversation() local
77 assertEquals("Failed to start service once for action", calls.size(), 1); in testGetOrCreateConversation()
78 assertTrue("Action not GetOrCreateConversationAction", calls.get(0).action instanceof in testGetOrCreateConversation()
82 calls.get(0).action; in testGetOrCreateConversation()
96 calls = mService.getCalls(); in testGetOrCreateConversation()
97 assertEquals("Failed to start service for second action", calls.size(), 2); in testGetOrCreateConversation()
98 assertTrue("Action not GetOrCreateConversationAction", calls.get(1).action instanceof in testGetOrCreateConversation()
100 action = (GetOrCreateConversationAction)calls.get(1).action; in testGetOrCreateConversation()
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/
DCallLogBackupAgentTest.java258 List<Call> calls = new LinkedList<>(); in testRunBackup_NoCalls() local
260 mCallLogBackupAgent.runBackup(state, mBackupDataOutput, calls); in testRunBackup_NoCalls()
273 List<Call> calls = new LinkedList<>(); in testRunBackup_OneNewCall_ErrorAddingCall() local
274 calls.add(makeCall(101, 0L, 0L, "555-5555")); in testRunBackup_OneNewCall_ErrorAddingCall()
279 mCallLogBackupAgent.runBackup(state, mBackupDataOutput, calls); in testRunBackup_OneNewCall_ErrorAddingCall()
290 List<Call> calls = new LinkedList<>(); in testRunBackup_OneNewCall_NullBackupDataOutput() local
291 calls.add(makeCall(101, 0L, 0L, "555-5555")); in testRunBackup_OneNewCall_NullBackupDataOutput()
294 mCallLogBackupAgent.runBackup(state, null, calls); in testRunBackup_OneNewCall_NullBackupDataOutput()
305 List<Call> calls = new LinkedList<>(); in testRunBackup_OneNewCall() local
306 calls.add(makeCall(101, 0L, 0L, "555-5555")); in testRunBackup_OneNewCall()
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DConferenceManagerPresenter.java115 ArrayList<DialerCall> calls = new ArrayList<>(currentCall.getChildCallIds().size()); in update() local
117 calls.add(callList.getCallById(callerId)); in update()
120 Log.d(this, "Number of calls is " + String.valueOf(calls.size())); in update()
128 getUi().update(calls, canSeparate); in update()
DConferenceManagerFragment.java74 final CallList calls = CallList.getInstance(); in onResume() local
75 getPresenter().init(calls); in onResume()
/packages/modules/Bluetooth/system/doc/
Dpower_management.md6 `bta/sys` events via a callback. The actual state switching calls are handled
27 The PM code makes calls into the BTM module to set various power
78 `bta_dm_pm.cc`'s `bta_dm_init_pm` function calls out to register
117 - `bta_dm_pm_ssr` calls `BTM_SetSsrParams` to actually send along the SSR
119 4. `bta_dm_pm_cback` calls `bta_dm_pm_set_mode` with the peer address and the
135 which calls `BTM_ReadPowerMode` and `BTM_SetPowerMode` to make an HCI
139 called, which makes various calls to the local controller,
143 is made, which calls `BTM_SetPowerMode` to set the link into ACTIVE
171 structure, and then calls back into `bta_dm_pm_set_mode` with the peer
174 `prev_low` field is set, calls `bta_dm_pm_ssr` to re-send SSR params,
[all …]
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/
DAbstractLogVerifier.java148 private Set<MutableLogCall> createMutableLogCalls(Set<T> calls) { in createMutableLogCalls() argument
149 return calls.stream() in createMutableLogCalls()
196 private String callsToStr(Set<T> calls) { in callsToStr() argument
197 return calls.stream().map(call -> "\n\t" + call).reduce("", (a, b) -> a + b); in callsToStr()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/
DBluetoothInCallService.java775 Collection<BluetoothCall> calls = mCallInfo.getBluetoothCalls(); in sendListOfCalls() local
779 for (BluetoothCall call : calls) { in sendListOfCalls()
887 for (BluetoothCall call : calls) { in sendListOfCalls()
1390 List<BluetoothCall> calls = new ArrayList<>(); in getBluetoothCallsByIds() local
1394 calls.add(call); in getBluetoothCallsByIds()
1397 return calls; in getBluetoothCallsByIds()
1434 List<BluetoothCall> calls = getBluetoothCalls(); in getCallByStates() local
1435 for (BluetoothCall call : calls) { in getCallByStates()
1444 List<BluetoothCall> calls = getBluetoothCalls(); in getCallByState() local
1445 for (BluetoothCall call : calls) { in getCallByState()
[all …]
/packages/services/Car/tests/SampleCustomInputService/
Dreadme.md54 ### Inject events to accept or reject incoming calls
56 In this example, CustomInputEvents are send to accept or reject incoming calls. First cell phone
57 must be connected to Android via Bluetooth. Then, to accept incoming calls, run:
63 Alternatively, to reject incoming calls, run:
/packages/services/Telecomm/src/com/android/server/telecom/
DCallEndpointController.java200 Set<Call> calls = mCallsManager.getTrackedCalls(); in notifyCallEndpointChange() local
201 for (Call call : calls) { in notifyCallEndpointChange()
230 Set<Call> calls = mCallsManager.getTrackedCalls(); in notifyAvailableCallEndpointsChange() local
231 for (Call call : calls) { in notifyAvailableCallEndpointsChange()
261 Set<Call> calls = mCallsManager.getTrackedCalls(); in notifyMuteStateChange() local
262 for (Call call : calls) { in notifyMuteStateChange()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsService.java323 int ccid, List<BluetoothLeCall> calls, AttributionSource source) { in currentCallsList() argument
326 service.currentCallsList(ccid, calls); in currentCallsList()
411 void currentCallsList(int ccid, List<BluetoothLeCall> calls) { in currentCallsList() argument
412 Log.d(TAG, "currentCallsList: ccid=" + ccid + " calls=" + calls); in currentCallsList()
414 mTbsGeneric.currentCallsList(ccid, calls); in currentCallsList()
DBluetoothLeCallControlProxy.java100 public void currentCallsList(List<BluetoothLeCall> calls) { in currentCallsList() argument
101 mBluetoothLeCallControl.currentCallsList(calls); in currentCallsList()
/packages/services/Telecomm/flags/
Dtelecom_calls_manager_flags.aconfig16 …description: "This fix ensures the MO calls won't switch from Active to Quite b/c setDialing was n…
32 description: "Disconnect ongoing unholdable calls for CallControlCallbacks"
Dtelecom_api_flags.aconfig27 …description: "The key is used for dialer apps to mark missed calls as read when it gets the notifi…
36 description: "transactional calls need the ability to mute the call audio input"
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAppInstallAdFiltererImplTest.java335 Map<Pair<AdTechIdentifier, String>, Integer> calls = new HashMap<>(); in validateAppInstallDBCalls() local
345 calls.merge(new Pair<>(ca.getBuyer(), PACKAGE_NAME_TO_FILTER), 1, Integer::sum); in validateAppInstallDBCalls()
349 calls.merge(new Pair<>(ca.getBuyer(), packageName), 1, Integer::sum); in validateAppInstallDBCalls()
353 for (Pair<AdTechIdentifier, String> call : calls.keySet()) { in validateAppInstallDBCalls()
354 verify(mAppInstallDaoMock, times(calls.get(call))) in validateAppInstallDBCalls()
/packages/modules/RemoteKeyProvisioning/system-server/
DREADME.md5 This code is needed only to allow calls to the rkpd mainline application,
10 requires system server to host a visible service. All service calls to the
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHfpClientDeviceBlock.java72 List<HfpClientCall> calls = mServiceInterface.getCurrentCalls(mDevice); in HfpClientDeviceBlock() local
73 debug("Got calls " + calls); in HfpClientDeviceBlock()
74 if (calls == null) { in HfpClientDeviceBlock()
82 for (HfpClientCall call : calls) { in HfpClientDeviceBlock()
/packages/modules/Bluetooth/android/pandora/server/src/
DHfp.kt167 for (call in inCallService.calls) { in swapActiveCall()
177 inCallService.calls[0].hold() in swapActiveCall()
178 inCallService.calls[1].unhold() in swapActiveCall()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DBluetoothHeadsetFragment.java241 List<Call> calls = mInCallService.getCalls(); in getFirstActiveCall() local
242 if (calls == null || calls.size() == 0) { in getFirstActiveCall()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/
DHeadsetClientServiceInterfaceTest.java234 List<HfpClientCall> calls = List.of(TEST_CALL); in testGetCurrentCalls() local
235 doReturn(calls).when(mMockHeadsetClientService).getCurrentCalls(TEST_DEVICE); in testGetCurrentCalls()
236 assertThat(mServiceInterface.getCurrentCalls(TEST_DEVICE)).isEqualTo(calls); in testGetCurrentCalls()
/packages/apps/Car/DebuggingRestrictionController/server/functions/
D.eslintrc.json56 // Warn against unnecessary calls to .bind()
114 // Forces developers to return console logs and http calls in promises.
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeBackend.java401 int calls; in setDefaultZenPolicy() local
403 calls = ZenAdapters.prioritySendersToPeopleType( in setDefaultZenPolicy()
406 calls = ZenPolicy.PEOPLE_TYPE_NONE; in setDefaultZenPolicy()
427 .allowCalls(calls) in setDefaultZenPolicy()
/packages/services/Telecomm/src/com/android/server/telecom/voip/
DVoipCallMonitor.java243 Set<Call> calls = mAccountHandleToCallMap.get(handle); in stopFGSDelegation() local
247 if (calls != null) { in stopFGSDelegation()
248 for (Call c : calls) { in stopFGSDelegation()

123