Home
last modified time | relevance | path

Searched refs:mTransportComponent (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
DTransportConnectionTest.java93 private ComponentName mTransportComponent; field in TransportConnectionTest
107 mTransportComponent = in setUp()
109 mTransportString = mTransportComponent.flattenToShortString(); in setUp()
111 mBindIntent = new Intent(SERVICE_ACTION_TRANSPORT_HOST).setComponent(mTransportComponent); in setUp()
118 mTransportComponent, in setUp()
139 assertThat(mTransportConnection.getTransportComponent()).isEqualTo(mTransportComponent); in testGetTransportComponent_returnsTransportComponent()
159 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_callsListenerWhenConnected()
174 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_whenPendingConnection_callsAllListenersWhenConnected()
188 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_whenAlreadyConnected_callsListener()
233 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_afterOnServiceDisconnectedBeforeNewConnection_callsListener()
[all …]
DTransportConnectionManagerTest.java55 private ComponentName mTransportComponent; field in TransportConnectionManagerTest
65 mTransportComponent = new ComponentName(PACKAGE_NAME, CLASS_NAME); in setUp()
66 mBindIntent = new Intent(SERVICE_ACTION_TRANSPORT_HOST).setComponent(mTransportComponent); in setUp()
79 mTransportConnectionManager.getTransportClient(mTransportComponent, "caller"); in testGetTransportClient()
97 mTransportConnectionManager.getTransportClient(mTransportComponent, extras, in testGetTransportClient_withExtras_createsTransportClientWithCorrectIntent()
113 spy(mTransportConnectionManager.getTransportClient(mTransportComponent, "caller")); in testDisposeOfTransportClient()
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportConnection.java91 private final ComponentName mTransportComponent; field in TransportConnection
143 mTransportComponent = transportComponent; in TransportConnection()
151 String classNameForLog = mTransportComponent.getShortClassName().replaceFirst(".*\\.", ""); in TransportConnection()
158 return mTransportComponent; in getTransportComponent()
347 mTransportStats.registerConnectionTime(mTransportComponent, time);
401 + mTransportComponent.flattenToShortString() in toString()
531 String transport = mTransportComponent.flattenToShortString(); in onStateTransition()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java570 private ComponentName mTransportComponent; field in UserBackupManagerServiceTest
574 mTransportComponent = mTransport.getTransportComponent(); in setUpForUpdateTransportAttributes()
575 String transportPackage = mTransportComponent.getPackageName(); in setUpForUpdateTransportAttributes()
605 mTransportComponent, in testUpdateTransportAttributes_whenTransportUidEqualsCallingUid_callsTransportManager()
614 eq(mTransportComponent), in testUpdateTransportAttributes_whenTransportUidEqualsCallingUid_callsTransportManager()
639 mTransportComponent, in testUpdateTransportAttributes_whenTransportUidNotEqualToCallingUid_throwsException()
688 mTransportComponent, in testUpdateTransportAttributes_whenNameNull_throwsException()
713 mTransportComponent, in testUpdateTransportAttributes_whenCurrentDestinationStringNull_throwsException()
740 mTransportComponent, in testUpdateTransportAttributes_whenDataManagementArgsNullityDontMatch_throwsException()
752 mTransportComponent, in testUpdateTransportAttributes_whenDataManagementArgsNullityDontMatch_throwsException()
[all …]