Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothPhoneServiceTest.java260 ArrayList<Call> calls = new ArrayList<>(); in testListCurrentCallsOneCall() local
263 calls.add(activeCall); in testListCurrentCallsOneCall()
266 when(mMockCallsManager.getCalls()).thenReturn(calls); in testListCurrentCallsOneCall()
278 ArrayList<Call> calls = new ArrayList<>(); in testListCurrentCallsSilentRinging() local
282 calls.add(silentRingingCall); in testListCurrentCallsSilentRinging()
285 when(mMockCallsManager.getCalls()).thenReturn(calls); in testListCurrentCallsSilentRinging()
302 ArrayList<Call> calls = new ArrayList<>(); in testConferenceInProgressCDMA() local
306 calls.add(parentCall); in testConferenceInProgressCDMA()
307 calls.add(confCall1); in testConferenceInProgressCDMA()
308 calls.add(confCall2); in testConferenceInProgressCDMA()
[all …]
/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/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.java1332 final CallList calls = callList; in handleCallKey() local
1333 final DialerCall incomingCall = calls.getIncomingCall(); in handleCallKey()
1343 final DialerCall activeCall = calls.getActiveCall(); in handleCallKey()
1367 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/
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
DInCallController.java1595 List<Call> calls = orderCallsWithChildrenFirst(mCallsManager.getCalls()); in onConnected() local
1597 "calls", calls.size(), info.getComponentName()); in onConnected()
1599 for (Call call : calls) { in onConnected()
1813 private List<Call> orderCallsWithChildrenFirst(Collection<Call> calls) { in orderCallsWithChildrenFirst() argument
1816 for (Call call : calls) { in orderCallsWithChildrenFirst()
DAnalytics.java629 List<ParcelableCallAnalytics> calls = new LinkedList<>(); in dumpToParcelableAnalytics() local
632 calls.addAll(sCallIdToInfo.values().stream() in dumpToParcelableAnalytics()
639 return new TelecomAnalytics(sessionTimings, calls); in dumpToParcelableAnalytics()
DCallAudioManager.java851 private void dumpCallsInCollection(IndentingPrintWriter pw, Collection<Call> calls) { in dumpCallsInCollection() argument
852 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.proto99 // Displays the dialog for first time spam calls with actions "Not spam",
103 // Displays the dialog for the first time unknown calls with actions "Add
180 // User was not able to or did not participate in the call e.g missed calls,
181 // rejected calls
Dscreen_event.proto54 // 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