Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothPhoneServiceTest.java259 ArrayList<Call> calls = new ArrayList<>(); in testListCurrentCallsOneCall() local
262 calls.add(activeCall); in testListCurrentCallsOneCall()
265 when(mMockCallsManager.getCalls()).thenReturn(calls); in testListCurrentCallsOneCall()
277 ArrayList<Call> calls = new ArrayList<>(); in testListCurrentCallsSilentRinging() local
281 calls.add(silentRingingCall); in testListCurrentCallsSilentRinging()
284 when(mMockCallsManager.getCalls()).thenReturn(calls); in testListCurrentCallsSilentRinging()
301 ArrayList<Call> calls = new ArrayList<>(); in testConferenceInProgressCDMA() local
305 calls.add(parentCall); in testConferenceInProgressCDMA()
306 calls.add(confCall1); in testConferenceInProgressCDMA()
307 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.java76 ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testGetOrCreateConversation() local
82 assertEquals("Failed to start service once for action", calls.size(), 1); in testGetOrCreateConversation()
83 assertTrue("Action not GetOrCreateConversationAction", calls.get(0).action instanceof in testGetOrCreateConversation()
87 calls.get(0).action; in testGetOrCreateConversation()
101 calls = mService.getCalls(); in testGetOrCreateConversation()
102 assertEquals("Failed to start service for second action", calls.size(), 2); in testGetOrCreateConversation()
103 assertTrue("Action not GetOrCreateConversationAction", calls.get(1).action instanceof in testGetOrCreateConversation()
105 action = (GetOrCreateConversationAction)calls.get(1).action; in testGetOrCreateConversation()
/packages/services/Car/tests/BugReportApp/utils/
Dbugreport_app_tester_test.py51 self.assertEqual(self._mock_popen_fn.calls[0]['args'][0],
59 self.assertEqual(self._mock_popen_fn.calls[0]['args'][0],
65 self.assertEqual(self._mock_popen_fn.calls[0]['args'][0],
71 self.assertEqual(self._mock_popen_fn.calls[0]['args'][0],
84 self.assertEqual(len(self._mock_device.adbx.calls), 2)
85 self.assertEqual(self._mock_device.adbx.calls[0]['args'][0], [
89 self.assertEqual(self._mock_device.adbx.calls[1]['args'][0], [
96 self.assertEqual(len(self._mock_device.adbx.calls), 1)
97 self.assertEqual(self._mock_device.adbx.calls[0]['args'][0], [
112 self.calls = []
[all …]
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/
DCallLogBackupAgentTest.java162 List<Call> calls = new LinkedList<>(); in testRunBackup_NoCalls() local
164 mCallLogBackupAgent.runBackup(state, mBackupDataOutput, calls); in testRunBackup_NoCalls()
173 List<Call> calls = new LinkedList<>(); in testRunBackup_OneNewCall() local
174 calls.add(makeCall(101, 0L, 0L, "555-5555")); in testRunBackup_OneNewCall()
175 mCallLogBackupAgent.runBackup(state, mBackupDataOutput, calls); in testRunBackup_OneNewCall()
185 List<Call> calls = new LinkedList<>(); in testRunBackup_MultipleCall() local
186 calls.add(makeCall(101, 0L, 0L, "555-1234")); in testRunBackup_MultipleCall()
187 calls.add(makeCall(102, 0L, 0L, "555-5555")); in testRunBackup_MultipleCall()
189 mCallLogBackupAgent.runBackup(state, mBackupDataOutput, calls); in testRunBackup_MultipleCall()
207 List<Call> calls = new LinkedList<>(); in testRunBackup_PartialMultipleCall() local
[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()
DInCallPresenter.java1327 final CallList calls = callList; in handleCallKey() local
1328 final DialerCall incomingCall = calls.getIncomingCall(); in handleCallKey()
1338 final DialerCall activeCall = calls.getActiveCall(); in handleCallKey()
1362 final DialerCall heldCall = calls.getBackgroundCall(); in handleCallKey()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlock.java70 List<BluetoothHeadsetClientCall> calls = mHeadsetProfile.getCurrentCalls(mDevice); in HfpClientDeviceBlock() local
72 Log.d(mTAG, "Got calls " + calls); in HfpClientDeviceBlock()
74 if (calls == null) { in HfpClientDeviceBlock()
82 for (BluetoothHeadsetClientCall call : calls) { in HfpClientDeviceBlock()
/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()…
Dtutorial.md263 Value b(true); // calls Value(bool)
264 Value i(-123); // calls Value(int)
265 Value u(123u); // calls Value(unsigned)
266 Value d(1.5); // calls Value(double)
367 …out the length parameter. And it assumes the input is null-terminated and calls a `strlen()`-like …
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java199 void runBackup(CallLogBackupState state, BackupDataOutput data, Iterable<Call> calls) { in runBackup() argument
205 for (Call call : calls) { in runBackup()
234 List<Call> calls = new LinkedList<>(); in getAllCallLogEntries() local
247 calls.add(call); in getAllCallLogEntries()
255 return calls; in getAllCallLogEntries()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Darchitecture.dot46 Reader -> Handler [label="calls"]
47 Value -> Handler [label="calls"]
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeBackend.java387 int calls; in setDefaultZenPolicy() local
389 calls = ZenModeConfig.getZenPolicySenders(mPolicy.allowCallsFrom()); in setDefaultZenPolicy()
391 calls = ZenPolicy.PEOPLE_TYPE_NONE; in setDefaultZenPolicy()
403 .allowCalls(calls) in setDefaultZenPolicy()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeBackend.java387 int calls; in setDefaultZenPolicy() local
389 calls = ZenModeConfig.getZenPolicySenders(mPolicy.allowCallsFrom()); in setDefaultZenPolicy()
391 calls = ZenPolicy.PEOPLE_TYPE_NONE; in setDefaultZenPolicy()
403 .allowCalls(calls) in setDefaultZenPolicy()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java1378 List<Call> calls = orderCallsWithChildrenFirst(mCallsManager.getCalls()); in onConnected() local
1380 "calls", calls.size(), info.getComponentName()); in onConnected()
1382 for (Call call : calls) { in onConnected()
1587 private List<Call> orderCallsWithChildrenFirst(Collection<Call> calls) { in orderCallsWithChildrenFirst() argument
1590 for (Call call : calls) { in orderCallsWithChildrenFirst()
DConnectionServiceFocusManager.java368 List<CallFocus> calls = mCalls in updateCurrentFocusCall() local
375 for (CallFocus call : calls) { in updateCurrentFocusCall()
DREADME1 Code to manage and handle phone calls etc, approximately migrated from
DAnalytics.java618 List<ParcelableCallAnalytics> calls = new LinkedList<>(); in dumpToParcelableAnalytics() local
621 calls.addAll(sCallIdToInfo.values().stream() in dumpToParcelableAnalytics()
628 return new TelecomAnalytics(sessionTimings, calls); in dumpToParcelableAnalytics()
DCallAudioManager.java795 private void dumpCallsInCollection(IndentingPrintWriter pw, Collection<Call> calls) { in dumpCallsInCollection() argument
796 for (Call call : calls) { in dumpCallsInCollection()
/packages/providers/ContactsProvider/tests/assets/test1/
Dlegacy_contacts.sql12 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER… table
13 INSERT INTO calls VALUES(1,18004664411,1249177360040,10,2,1,'Jane Doe',1,NULL);
/packages/apps/Dialer/java/com/android/dialer/logging/
Ddialer_impression.proto100 // Displays the dialog for first time spam calls with actions "Not spam",
104 // Displays the dialog for the first time unknown calls with actions "Add
181 // User was not able to or did not participate in the call e.g missed calls,
182 // rejected calls
Dscreen_event.proto55 // management of individual calls within the conference.
/packages/apps/Camera2/
Dproguard.flags33 # Disable the warnings of using dynamic method calls in EffectsRecorder
/packages/apps/Gallery2/
Dproguard.flags40 # Disable the warnings of using dynamic method calls in EffectsRecorder

12