Home
last modified time | relevance | path

Searched refs:mConnectionId (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/connectivity/
DConnectionInfo.java35 int mConnectionId; field in ConnectionInfo
38 mConnectionId = connectionId; in ConnectionInfo()
43 mConnectionId = in.readInt(); in ConnectionInfo()
47 return mConnectionId; in getConnectionId()
64 out.writeInt(mConnectionId); in writeToParcel()
70 return "ConnectionInfo[" + "connectionId= " + mConnectionId + "]"; in toString()
81 return mConnectionId == other.getConnectionId(); in equals()
87 return Objects.hash(mConnectionId); in hashCode()
/packages/modules/Connectivity/remoteauth/framework/java/android/remoteauth/
DRemoteDevice.java49 private final int mConnectionId; field in RemoteDevice
75 this.mConnectionId = connectionId; in RemoteDevice()
92 return mConnectionId; in getConnectionId()
107 sb.append("connectionId=").append(mConnectionId); in toString()
119 && this.mConnectionId == otherDevice.mConnectionId; in equals()
126 return Objects.hash(mName, mRegistrationState, mConnectionId); in hashCode()
148 private int mConnectionId; field in RemoteDevice.Builder
154 this.mConnectionId = connectionId; in Builder()
186 this.mConnectionId = connectionId; in setConnectionId()
197 return new RemoteDevice(mName, mRegistrationState, mConnectionId); in build()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/
DConnectionIdTest.java49 private final ConnectionId mConnectionId = field in ConnectionIdTest
54 assertThat(mConnectionId.senderClient).isEqualTo(mSenderClient); in testConstructConnectionId()
55 assertThat(mConnectionId.receiverClient).isEqualTo(mReceiverClient); in testConstructConnectionId()
62 assertThat(connectionId2).isEqualTo(mConnectionId); in testEquals()
63 assertThat(connectionId2.hashCode()).isEqualTo(mConnectionId.hashCode()); in testEquals()
71 assertThat(connectionId2).isNotEqualTo(mConnectionId); in testNotEqualWithDifferentSender()
72 assertThat(connectionId2.hashCode()).isNotEqualTo(mConnectionId.hashCode()); in testNotEqualWithDifferentSender()
81 assertThat(connectionId2).isNotEqualTo(mConnectionId); in testNotEqualWithDifferentReceiver()
82 assertThat(connectionId2.hashCode()).isNotEqualTo(mConnectionId.hashCode()); in testNotEqualWithDifferentReceiver()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBasicCallTests.java135 mConnectionServiceFixtureA.sendSetDisconnected(ids.mConnectionId, DisconnectCause.LOCAL); in testSingleOutgoingCallLocalDisconnect()
160 mConnectionServiceFixtureA.sendSetDisconnected(ids.mConnectionId, DisconnectCause.LOCAL); in testSingleOutgoingCallRemoteDisconnect()
192 .answer(eq(ids.mConnectionId), any()); in testTelecomManagerAcceptRingingCall()
193 mConnectionServiceFixtureA.sendSetActive(ids.mConnectionId); in testTelecomManagerAcceptRingingCall()
221 .answerVideo(eq(ids.mConnectionId), eq(VideoProfile.STATE_BIDIRECTIONAL), any()); in testTelecomManagerAcceptRingingVideoCall()
222 mConnectionServiceFixtureA.sendSetActive(ids.mConnectionId); in testTelecomManagerAcceptRingingVideoCall()
252 .answer(eq(ids.mConnectionId), any()); in testTelecomManagerAcceptRingingVideoCallAsAudio()
253 mConnectionServiceFixtureA.sendSetActive(ids.mConnectionId); in testTelecomManagerAcceptRingingVideoCallAsAudio()
284 .answerVideo(eq(ids.mConnectionId), eq(VideoProfile.STATE_BIDIRECTIONAL), any()); in testTelecomManagerAcceptRingingInvalidVideoState()
285 mConnectionServiceFixtureA.sendSetActive(ids.mConnectionId); in testTelecomManagerAcceptRingingInvalidVideoState()
[all …]
DVideoCallTests.java174 mConnectionServiceFixtureA.sendSetDisconnected(ids.mConnectionId, DisconnectCause.MISSED); in testIncomingVideoCallMissedCheckVideoHistory()
191 mConnectionServiceFixtureA.sendSetDisconnected(ids.mConnectionId, DisconnectCause.REJECTED); in testIncomingVideoCallRejectedCheckVideoHistory()
210 mConnectionServiceFixtureA.sendSetDisconnected(ids.mConnectionId, DisconnectCause.LOCAL); in testOutgoingVideoCallCanceledCheckVideoHistory()
228 mConnectionServiceFixtureA.sendSetDisconnected(ids.mConnectionId, DisconnectCause.REMOTE); in testOutgoingVideoCallRejectedCheckVideoHistory()
246 mConnectionServiceFixtureA.mConnectionById.get(ids.mConnectionId).videoState in testOutgoingVideoCallAnsweredAsAudio()
248 mConnectionServiceFixtureA.sendSetVideoState(ids.mConnectionId); in testOutgoingVideoCallAnsweredAsAudio()
249 mConnectionServiceFixtureA.sendSetActive(ids.mConnectionId); in testOutgoingVideoCallAnsweredAsAudio()
DAnalyticsTests.java123 sendSetDisconnected(testCall.mConnectionId, DisconnectCause.ERROR); in testAnalyticsSingleCall()
154 sendSetDisconnected(testCall.mConnectionId, DisconnectCause.ERROR); in testAnalyticsDumping()
233 sendSetDisconnected(testCall2.mConnectionId, DisconnectCause.REMOTE);
235 sendSetDisconnected(testCall1.mConnectionId, DisconnectCause.ERROR);
334 sendSetDisconnected(testCall.mConnectionId, DisconnectCause.ERROR); in testAnalyticsDumpToProto()
430 mConnectionServiceFixtureA.mConnectionById.get(testCall.mConnectionId).properties =
432 mConnectionServiceFixtureA.sendSetConnectionProperties(testCall.mConnectionId);
433 mConnectionServiceFixtureA.mConnectionById.get(testCall.mConnectionId).properties =
435 mConnectionServiceFixtureA.sendSetConnectionProperties(testCall.mConnectionId);
438 sendSetDisconnected(testCall.mConnectionId, DisconnectCause.ERROR);
DTelecomSystemTest.java365 final String mConnectionId; field in TelecomSystemTest.IdPair
369 this.mConnectionId = connectionId; in IdPair()
693 connectionServiceFixture.sendSetDialing(ids.mConnectionId); in outgoingCallPhoneAccountSelected()
697 connectionServiceFixture.sendSetVideoState(ids.mConnectionId); in outgoingCallPhoneAccountSelected()
699 connectionServiceFixture.sendSetActive(ids.mConnectionId); in outgoingCallPhoneAccountSelected()
738 connectionServiceFixture.sendSetDisconnected(emergencyIds.mConnectionId, in triggerEmergencyRedial()
1090 connectionServiceFixture.sendSetDialing(ids.mConnectionId); in startAndMakeActiveOutgoingCall()
1098 connectionServiceFixture.sendSetVideoState(ids.mConnectionId); in startAndMakeActiveOutgoingCall()
1102 connectionServiceFixture.sendSetActive(ids.mConnectionId); in startAndMakeActiveOutgoingCall()
1150 .answer(eq(ids.mConnectionId), any()); in startAndMakeActiveIncomingCall()
[all …]
DVideoProviderTest.java124 mConnectionInfo = mConnectionServiceFixtureA.mConnectionById.get(mCallIds.mConnectionId); in setUp()
DMissedInformationTest.java140 sendSetDisconnected(testCall.mConnectionId, DisconnectCause.LOCAL); in testNotMissedCall()
/packages/services/Telecomm/src/com/android/server/telecom/
DCall.java568 private String mConnectionId; field in Call
925 mConnectionId = callId; in Call()
1308 mConnectionId = mId + "_" + in getConnectionId()
1310 return mConnectionId; in getConnectionId()
1312 return mConnectionId; in getConnectionId()