Home
last modified time | relevance | path

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

12345678910>>...19

/aosp12/packages/services/Car/tests/BugReportApp/utils/
H A 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.adb.calls), 2)
85 self.assertEqual(self._mock_device.adb.calls[0]['args'][0], [
89 self.assertEqual(self._mock_device.adb.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 …]
/aosp12/system/update_engine/update_manager/
H A Dupdate_manager_unittest.cc256 vector<pair<EvalStatus, UpdateCheckParams>> calls; in TEST_F() local
262 EXPECT_EQ(0U, calls.size()); in TEST_F()
264 EXPECT_EQ(1U, calls.size()); in TEST_F()
273 vector<pair<EvalStatus, UpdateCheckParams>> calls; in TEST_F() local
282 ASSERT_EQ(1U, calls.size()); in TEST_F()
283 EXPECT_EQ(EvalStatus::kSucceeded, calls[0].first); in TEST_F()
289 EXPECT_EQ(1U, calls.size()); in TEST_F()
303 vector<pair<EvalStatus, UpdateCheckParams>> calls; in TEST_F() local
312 EXPECT_EQ(0U, calls.size()); in TEST_F()
321 EXPECT_EQ(0U, calls.size()); in TEST_F()
[all …]
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
H A DReadWriteDraftMessageActionTest.java84 calls.get(0).action instanceof WriteDraftMessageAction); in testWriteDraft()
86 final Action save = calls.get(0).action; in testWriteDraft()
147 calls.get(0).action instanceof ReadDraftDataAction); in testReadDraft()
149 final Action read = calls.get(0).action; in testReadDraft()
206 calls.get(0).action instanceof ReadDraftDataAction); in testReadDraftForNewConversation()
208 final Action read = calls.get(0).action; in testReadDraftForNewConversation()
246 final Action save = calls.get(0).action; in testWriteAndReadDraft()
258 assertEquals("Expect two calls queued", 2, calls.size()); in testWriteAndReadDraft()
261 final Action read = calls.get(1).action; in testWriteAndReadDraft()
312 calls.get(0).action instanceof WriteDraftMessageAction); in testUpdateDraft()
[all …]
H A 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()
/aosp12/art/test/464-checker-inline-sharpen-calls/
H A DAndroid.bp3 // Build rules for ART run-test `464-checker-inline-sharpen-calls`.
16 name: "art-run-test-464-checker-inline-sharpen-calls",
21 ":art-run-test-464-checker-inline-sharpen-calls-expected-stdout",
22 ":art-run-test-464-checker-inline-sharpen-calls-expected-stderr",
31 name: "art-run-test-464-checker-inline-sharpen-calls-expected-stdout",
32 out: ["art-run-test-464-checker-inline-sharpen-calls-expected-stdout.txt"],
39 name: "art-run-test-464-checker-inline-sharpen-calls-expected-stderr",
40 out: ["art-run-test-464-checker-inline-sharpen-calls-expected-stderr.txt"],
/aosp12/art/test/487-checker-inline-calls/
H A DAndroid.bp3 // Build rules for ART run-test `487-checker-inline-calls`.
16 name: "art-run-test-487-checker-inline-calls",
21 ":art-run-test-487-checker-inline-calls-expected-stdout",
22 ":art-run-test-487-checker-inline-calls-expected-stderr",
31 name: "art-run-test-487-checker-inline-calls-expected-stdout",
32 out: ["art-run-test-487-checker-inline-calls-expected-stdout.txt"],
39 name: "art-run-test-487-checker-inline-calls-expected-stderr",
40 out: ["art-run-test-487-checker-inline-calls-expected-stderr.txt"],
/aosp12/art/test/488-checker-inline-recursive-calls/
H A DAndroid.bp3 // Build rules for ART run-test `488-checker-inline-recursive-calls`.
16 name: "art-run-test-488-checker-inline-recursive-calls",
21 ":art-run-test-488-checker-inline-recursive-calls-expected-stdout",
22 ":art-run-test-488-checker-inline-recursive-calls-expected-stderr",
31 name: "art-run-test-488-checker-inline-recursive-calls-expected-stdout",
32 out: ["art-run-test-488-checker-inline-recursive-calls-expected-stdout.txt"],
39 name: "art-run-test-488-checker-inline-recursive-calls-expected-stderr",
40 out: ["art-run-test-488-checker-inline-recursive-calls-expected-stderr.txt"],
/aosp12/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/
H A 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()
207 List<Call> calls = new LinkedList<>(); in testRunBackup_PartialMultipleCall() local
208 calls.add(makeCall(101, 0L, 0L, "555-1234")); in testRunBackup_PartialMultipleCall()
[all …]
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/telephony/
H A DBluetoothInCallServiceTest.java249 calls.add(activeCall); in testListCurrentCallsOneCall()
329 calls.add(parentCall); in testConferenceInProgressCDMA()
330 calls.add(confCall1); in testConferenceInProgressCDMA()
331 calls.add(confCall2); in testConferenceInProgressCDMA()
393 calls.add(parentCall); in testListCurrentCallsCdmaHold()
395 calls.add(heldCall); in testListCurrentCallsCdmaHold()
445 calls.add(parentCall); in testListCurrentCallsCdmaConference()
446 calls.add(confCall1); in testListCurrentCallsCdmaConference()
447 calls.add(confCall2); in testListCurrentCallsCdmaConference()
517 calls.add(newCall); in testNewCallClccResponse()
[all …]
/aosp12/frameworks/rs/script_api/
H A DGenerateRSFunctionsList.cpp459 *calls << " "; in generateTestCall()
467 *calls << permutation.getName() << "("; in generateTestCall()
472 *calls << separator; in generateTestCall()
475 *calls << "context"; in generateTestCall()
478 *calls << addVariable(file, variableNumber); in generateTestCall()
486 *calls << ");\n"; in generateTestCall()
520 ostringstream calls; in generateApiTesterFile() local
534 calls << "#ifndef __LP64__\n"; in generateApiTesterFile()
536 calls << "#ifdef __LP64__\n"; in generateApiTesterFile()
545 calls << "#endif\n"; in generateApiTesterFile()
[all …]
/aosp12/frameworks/base/core/tests/benchmarks/src/android/util/
H A DStreamsBenchmark.java43 private SparseIntArray calls; field in StreamsBenchmark
47 calls = new SparseIntArray(); in setUp()
50 calls.put(i, r.nextInt(Integer.MAX_VALUE)); in setUp()
56 calls = null; in tearDown()
61 final int N = calls.size(); in timeDirect()
64 values[j] = ((long) calls.valueAt(j) << 32) | calls.keyAt(j); in timeDirect()
86 getOpenSessionCallsList(calls).stream().sorted( in timeStreams()
/aosp12/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
H A DProtoLogCallProcessorTest.kt33 private val calls: MutableList<LogCall> = mutableListOf()
43 calls.add(LogCall(call, messageString, level, group))
48 assertEquals(1, calls.size)
49 val c = calls[0]
70 assertEquals(2, calls.size)
71 var c = calls[0]
75 c = calls[1]
151 assertEquals(0, calls.size)
/aosp12/build/soong/ui/terminal/
H A Dstatus_test.go30 calls func(stat status.StatusOutput)
36 calls: twoActions,
42 calls: twoParallelActions,
48 calls: actionsWithOutput,
60 calls: actionsWithError,
66 calls: actionWithEmptyDescription,
72 calls: actionsWithMessages,
78 calls: actionWithLongDescription,
98 tt.calls(stat)
109 tt.calls(stat)
[all …]
/aosp12/frameworks/base/startop/scripts/app_startup/
H A Drun_app_with_prefetch_test.py183 calls = [call('adb root'),
191 mock_run_shell_command.assert_has_calls(calls)
208 calls = [call('adb root'),
217 mock_run_shell_command.assert_has_calls(calls)
236 calls = [call('adb root'),
248 mock_run_shell_command.assert_has_calls(calls)
270 calls = [
283 mock_run_shell_command.assert_has_calls(calls)
/aosp12/frameworks/opt/net/ims/
H A DREADME.txt2 especially making and taking VoLTE calls using IMS.
3 At the moment, this only supports VoLTE calls which is compliant to GSMA IR.92 specification.
16 With the ImsManager, you can initiate VoLTE calls with ImsManager#makeCall()
27 To receive calls, an IMS application MUST provide a BroadcastReceiver that
47 Provides APIs for IMS services, such as initiating IMS calls, and provides access to
51 Provides IMS voice / video calls over LTE network.
55 It's for providing the dummy calls which are disconnected with the IMS network after
95 Manages all calls which are established hereafter the initial 1-to-1 call is established.
96 It's for providing the dummy calls which are disconnected with the IMS network after
103 Provides the interface to manage all calls which are established hereafter the initial
[all …]
/aosp12/art/test/701-easy-div-rem/
H A DgenMain.py48 decls, calls = '', {} variable
64 calls[int_type] = calls.get(int_type, '') + subst_vars(local_vars, '''
167 ''' % (checkers, decls, calls['int'], calls['long'])
/aosp12/frameworks/base/startop/scripts/app_startup/lib/
H A Dperfetto_trace_collector_test.py55 calls = [call('adb root'),
81 mock_run_shell_command.assert_has_calls(calls)
92 calls = [call('adb shell ps | grep "music" | awk \'{print $2;}\''),
101 mock_run_shell_command.assert_has_calls(calls)
H A Dapp_runner_test.py54 calls = [call(os.path.realpath(
57 mock_run_shell_command.assert_has_calls(calls)
87 calls = [call('pre'),
102 mock_run_shell_command.assert_has_calls(calls)
/aosp12/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
H A DViewerConfigBuilder.kt54 val calls = mutableListOf<Pair<LogCall, ParsingContext>>() regex
64 calls.add(logCall to context)
69 return calls
72 fun addLogCalls(calls: List<Pair<LogCall, ParsingContext>>) {
73 calls.forEach { (logCall, context) ->
/aosp12/frameworks/base/core/proto/android/
H A Dsection.proto38 // incidentd calls dumpsys for annotated field
41 // incidentd calls logs for annotated field
47 // incidentd calls tombstoned for annotated field
50 // incidentd calls legacy text dumpsys for annotated field. The section will only be generated
/aosp12/packages/apps/Dialer/java/com/android/incallui/
H A 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()
/aosp12/frameworks/av/drm/libmediadrm/protos/
H A Dmetrics.proto82 // Count and execution time of getKeyRequest calls.
85 // Count and execution time of provideKeyResponse calls.
88 // Count of getProvisionRequest calls.
91 // Count of provideProvisionResponse calls.
100 // Count getPropertyByteArray calls to retrieve the device unique id.
/aosp12/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
H A DREADME.md6 due to the fact that it is involved in both in-bound and out-bound calls from / to
12 within our calls into `AudioSessionProvider.acquireSession()`.
17 We always invoke those calls outside of the `SoundTriggerModule` lock, so we can lock
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/telephony/
H A DBluetoothInCallService.java580 for (BluetoothCall call : calls) { in sendListOfCalls()
1033 List<BluetoothCall> calls = new ArrayList<>(); in getBluetoothCallsByIds() local
1037 calls.add(call); in getBluetoothCallsByIds()
1040 return calls; in getBluetoothCallsByIds()
1077 List<BluetoothCall> calls = getBluetoothCalls(); in getCallByStates() local
1078 for (BluetoothCall call : calls) { in getCallByStates()
1087 List<BluetoothCall> calls = getBluetoothCalls(); in getCallByState() local
1088 for (BluetoothCall call : calls) { in getCallByState()
1099 for (BluetoothCall call : calls) { in getNumHeldCalls()
1109 if (calls.size() == 0) { in hasOnlyDisconnectedCalls()
[all …]
/aosp12/system/bt/doc/
H A 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
174 `prev_low` field is set, calls `bta_dm_pm_ssr` to re-send SSR params,
198 1. A timer expires, and calls `bta_dm_pm_timer_cback`.
[all …]

12345678910>>...19