Home
last modified time | relevance | path

Searched refs:connection1 (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DConnectionTest.java129 Connection connection1 = new TestConnection(TEST_PHONE_TYPE); in testMigrateFrom() local
133 assertFalse(connection1.isEmergencyCall()); in testMigrateFrom()
134 assertNull(connection1.getEmergencyNumberInfo()); in testMigrateFrom()
135 assertFalse(connection1.hasKnownUserIntentEmergency()); in testMigrateFrom()
139 connection1.migrateFrom(connection2); in testMigrateFrom()
141 assertTrue(connection1.isEmergencyCall()); in testMigrateFrom()
142 assertEquals(getTestEmergencyNumber(), connection1.getEmergencyNumberInfo()); in testMigrateFrom()
143 assertTrue(connection1.hasKnownUserIntentEmergency()); in testMigrateFrom()
/frameworks/native/services/inputflinger/tests/
DLatencyTracker_test.cpp49 sp<IBinder> connection1; member in android::inputdispatcher::LatencyTrackerTest
53 connection1 = new BBinder(); in SetUp()
131 mTracker->trackFinishedEvent(1 /*inputEventId*/, connection1, 2 /*deliveryTime*/, in TEST_F()
167 timeline1.connectionTimelines.emplace(connection1, in TEST_F()
197 mTracker->trackFinishedEvent(inputEventId1, connection1, connectionTimeline1.deliveryTime, in TEST_F()
202 mTracker->trackGraphicsLatency(inputEventId1, connection1, in TEST_F()
244 mTracker->trackFinishedEvent(inputEventId, connection1, expectedCT.deliveryTime, in TEST_F()
246 mTracker->trackGraphicsLatency(inputEventId, connection1, expectedCT.graphicsTimeline); in TEST_F()
/frameworks/base/telecomm/java/android/telecom/
DConnectionService.java2267 Connection connection1 = findConnectionForAction(callId, "consultativeTransfer"); in consultativeTransfer() local
2269 connection1.onTransfer(connection2); in consultativeTransfer()
2365 Connection connection1 = findConnectionForAction(callId1, "conference"); in conference() local
2366 if (connection1 == getNullConnection()) { in conference()
2388 conference2.onMerge(connection1); in conference()
2391 onConference(connection1, connection2); in conference()
3179 public void onConference(Connection connection1, Connection connection2) {} in onConference() argument