Home
last modified time | relevance | path

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

123

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/telephony/
DCallInfoTest.java84 ArrayList<BluetoothCall> calls = new ArrayList<>(); in getActiveCall() local
85 calls.add(activeCall); in getActiveCall()
87 doReturn(calls).when(mMockCallInfo).getBluetoothCalls(); in getActiveCall()
96 ArrayList<BluetoothCall> calls = new ArrayList<>(); in getHeldCall() local
97 calls.add(heldCall); in getHeldCall()
99 doReturn(calls).when(mMockCallInfo).getBluetoothCalls(); in getHeldCall()
109 ArrayList<BluetoothCall> calls = new ArrayList<>(); in getOutgoingCall() local
110 calls.add(outgoingCall); in getOutgoingCall()
112 doReturn(calls).when(mMockCallInfo).getBluetoothCalls(); in getOutgoingCall()
121 ArrayList<BluetoothCall> calls = new ArrayList<>(); in getRingingOrSimulatedRingingCall() local
[all …]
DBluetoothInCallServiceTest.java269 ArrayList<BluetoothCall> calls = new ArrayList<>(); in testListCurrentCallsOneCall() local
272 calls.add(activeCall); in testListCurrentCallsOneCall()
276 when(mMockCallInfo.getBluetoothCalls()).thenReturn(calls); in testListCurrentCallsOneCall()
322 ArrayList<BluetoothCall> calls = new ArrayList<>(); in testListCurrentCallsSilentRinging() local
326 calls.add(silentRingingCall); in testListCurrentCallsSilentRinging()
331 when(mMockCallInfo.getBluetoothCalls()).thenReturn(calls); in testListCurrentCallsSilentRinging()
348 ArrayList<BluetoothCall> calls = new ArrayList<>(); in testConferenceInProgressCDMA() local
352 calls.add(parentCall); in testConferenceInProgressCDMA()
353 calls.add(confCall1); in testConferenceInProgressCDMA()
354 calls.add(confCall2); in testConferenceInProgressCDMA()
[all …]
DBluetoothCallTest.java380 List<Call> calls = new ArrayList<>(); in getIds_withEmptyList() local
382 List<Integer> result = BluetoothCall.getIds(calls); in getIds_withEmptyList()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DReadWriteDraftMessageActionTest.java75 final ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testWriteDraft() local
82 assertEquals("Failed to start service once for action", calls.size(), 1); in testWriteDraft()
84 calls.get(0).action instanceof WriteDraftMessageAction); in testWriteDraft()
86 final Action save = calls.get(0).action; in testWriteDraft()
134 final ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testReadDraft() local
145 assertEquals("Unexpected number of calls to service", 1, calls.size()); in testReadDraft()
147 calls.get(0).action instanceof ReadDraftDataAction); in testReadDraft()
149 final Action read = calls.get(0).action; in testReadDraft()
199 final ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testReadDraftForNewConversation() local
204 assertEquals("Unexpected number of calls to service", 1, calls.size()); in testReadDraftForNewConversation()
[all …]
DGetOrCreateConversationActionTest.java70 ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testGetOrCreateConversation() local
76 assertEquals("Failed to start service once for action", calls.size(), 1); in testGetOrCreateConversation()
77 assertTrue("Action not GetOrCreateConversationAction", calls.get(0).action instanceof in testGetOrCreateConversation()
81 calls.get(0).action; in testGetOrCreateConversation()
95 calls = mService.getCalls(); in testGetOrCreateConversation()
96 assertEquals("Failed to start service for second action", calls.size(), 2); in testGetOrCreateConversation()
97 assertTrue("Action not GetOrCreateConversationAction", calls.get(1).action instanceof in testGetOrCreateConversation()
99 action = (GetOrCreateConversationAction)calls.get(1).action; in testGetOrCreateConversation()
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/
DCallLogBackupAgentTest.java177 List<Call> calls = new LinkedList<>(); in testRunBackup_NoCalls() local
179 mCallLogBackupAgent.runBackup(state, mBackupDataOutput, calls); in testRunBackup_NoCalls()
188 List<Call> calls = new LinkedList<>(); in testRunBackup_OneNewCall() local
189 calls.add(makeCall(101, 0L, 0L, "555-5555")); in testRunBackup_OneNewCall()
190 mCallLogBackupAgent.runBackup(state, mBackupDataOutput, calls); in testRunBackup_OneNewCall()
271 List<Call> calls = new LinkedList<>(); in testRunBackup_MultipleCall() local
272 calls.add(makeCall(101, 0L, 0L, "555-1234")); in testRunBackup_MultipleCall()
273 calls.add(makeCall(102, 0L, 0L, "555-5555")); in testRunBackup_MultipleCall()
275 mCallLogBackupAgent.runBackup(state, mBackupDataOutput, calls); in testRunBackup_MultipleCall()
293 List<Call> calls = new LinkedList<>(); in testRunBackup_PartialMultipleCall() local
[all …]
/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/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/android/app/src/com/android/bluetooth/telephony/
DBluetoothInCallService.java705 Collection<BluetoothCall> calls = mCallInfo.getBluetoothCalls(); in sendListOfCalls() local
706 for (BluetoothCall call : calls) { in sendListOfCalls()
1166 List<BluetoothCall> calls = new ArrayList<>(); in getBluetoothCallsByIds() local
1170 calls.add(call); in getBluetoothCallsByIds()
1173 return calls; in getBluetoothCallsByIds()
1210 List<BluetoothCall> calls = getBluetoothCalls(); in getCallByStates() local
1211 for (BluetoothCall call : calls) { in getCallByStates()
1220 List<BluetoothCall> calls = getBluetoothCalls(); in getCallByState() local
1221 for (BluetoothCall call : calls) { in getCallByState()
1231 List<BluetoothCall> calls = getBluetoothCalls(); in getNumHeldCalls() local
[all …]
DBluetoothCall.java325 public static List<Integer> getIds(List<Call> calls) { in getIds() argument
327 for (Call call : calls) { in getIds()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsService.java238 public void currentCallsList(int ccid, List<BluetoothLeCall> calls, in currentCallsList() argument
242 service.currentCallsList(ccid, calls); in currentCallsList()
332 void currentCallsList(int ccid, List<BluetoothLeCall> calls) { in currentCallsList() argument
334 Log.d(TAG, "currentCallsList: ccid=" + ccid + " calls=" + calls); in currentCallsList()
337 mTbsGeneric.currentCallsList(ccid, calls); in currentCallsList()
DBluetoothLeCallControlProxy.java82 public void currentCallsList(List<BluetoothLeCall> calls) { in currentCallsList() argument
83 mBluetoothLeCallControl.currentCallsList(calls); in currentCallsList()
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlock.java74 List<HfpClientCall> calls = mServiceInterface.getCurrentCalls(mDevice); in HfpClientDeviceBlock() local
76 Log.d(mTAG, "Got calls " + calls); in HfpClientDeviceBlock()
78 if (calls == null) { in HfpClientDeviceBlock()
86 for (HfpClientCall call : calls) { in HfpClientDeviceBlock()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Darchitecture.dot46 Reader -> Handler [label="calls"]
47 Value -> Handler [label="calls"]
/packages/modules/Bluetooth/android/pandora/server/src/com/android/pandora/
DHfp.kt165 for (call in inCallService.calls) { in swapActiveCall()
175 inCallService.calls[0].hold() in swapActiveCall()
176 inCallService.calls[1].unhold() in swapActiveCall()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dsax.md98 …d, user needs to implement a handler, which consumes the events (function calls) from `Reader`. Th…
122 …unters a JSON number, it chooses a suitable C++ type mapping. And then it calls *one* function out…
126calls `StartObject()`. An object in JSON is a set of name-value pairs. If the object contains memb…
128 …mpler. At the beginning of an array, the `Reader` calls `BeginArary()`. If there is elements, it c…
151 …e target encoding means the encoding of the `str` parameter in `String()` calls. For example, to p…
174 If an error occurs during parsing, it will return `false`. User can also calls `bool HasParseEror()…
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java216 void runBackup(CallLogBackupState state, BackupDataOutput data, Iterable<Call> calls) { in runBackup() argument
222 for (Call call : calls) { in runBackup()
252 List<Call> calls = new LinkedList<>(); in getAllCallLogEntries() local
265 calls.add(call); in getAllCallLogEntries()
273 return calls; in getAllCallLogEntries()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/
DHeadsetClientServiceInterfaceTest.java219 List<HfpClientCall> calls = List.of(TEST_CALL); in testGetCurrentCalls() local
220 doReturn(calls).when(mMockHeadsetClientService).getCurrentCalls(TEST_DEVICE); in testGetCurrentCalls()
221 assertThat(mServiceInterface.getCurrentCalls(TEST_DEVICE)).isEqualTo(calls); in testGetCurrentCalls()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DBluetoothHeadsetFragment.java242 List<Call> calls = mInCallService.getCalls(); in getFirstActiveCall() local
243 if (calls == null || calls.size() == 0) { in getFirstActiveCall()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeBackend.java391 int calls; in setDefaultZenPolicy() local
393 calls = ZenModeConfig.getZenPolicySenders(mPolicy.allowCallsFrom()); in setDefaultZenPolicy()
395 calls = ZenPolicy.PEOPLE_TYPE_NONE; in setDefaultZenPolicy()
415 .allowCalls(calls) in setDefaultZenPolicy()
/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/services/Telecomm/src/com/android/server/telecom/
DREADME1 Code to manage and handle phone calls etc, approximately migrated from
/packages/services/Car/car_product/sepolicy/cartelemetry/
Dcartelemetryd.te4 # Allow binder calls with cartelemetryd.

123