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/
DTransportClientTest.java90 private ComponentName mTransportComponent; field in TransportClientTest
104 mTransportComponent = in setUp()
106 mTransportString = mTransportComponent.flattenToShortString(); in setUp()
108 mBindIntent = new Intent(SERVICE_ACTION_TRANSPORT_HOST).setComponent(mTransportComponent); in setUp()
115 mTransportComponent, in setUp()
135 assertThat(mTransportClient.getTransportComponent()).isEqualTo(mTransportComponent); in testGetTransportComponent_returnsTransportComponent()
155 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_callsListenerWhenConnected()
169 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_whenPendingConnection_callsAllListenersWhenConnected()
181 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_whenAlreadyConnected_callsListener()
225 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_afterOnServiceDisconnectedBeforeNewConnection_callsListener()
[all …]
DTransportClientManagerTest.java55 private ComponentName mTransportComponent; field in TransportClientManagerTest
65 mTransportComponent = new ComponentName(PACKAGE_NAME, CLASS_NAME); in setUp()
66 mBindIntent = new Intent(SERVICE_ACTION_TRANSPORT_HOST).setComponent(mTransportComponent); in setUp()
79 mTransportClientManager.getTransportClient(mTransportComponent, "caller"); in testGetTransportClient()
97 mTransportClientManager.getTransportClient(mTransportComponent, extras, "caller"); in testGetTransportClient_withExtras_createsTransportClientWithCorrectIntent()
112 spy(mTransportClientManager.getTransportClient(mTransportComponent, "caller")); in testDisposeOfTransportClient()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java516 private ComponentName mTransportComponent; field in UserBackupManagerServiceTest
520 mTransportComponent = mTransport.getTransportComponent(); in setUpForUpdateTransportAttributes()
521 String transportPackage = mTransportComponent.getPackageName(); in setUpForUpdateTransportAttributes()
551 mTransportComponent, in testUpdateTransportAttributes_whenTransportUidEqualsCallingUid_callsTransportManager()
560 eq(mTransportComponent), in testUpdateTransportAttributes_whenTransportUidEqualsCallingUid_callsTransportManager()
585 mTransportComponent, in testUpdateTransportAttributes_whenTransportUidNotEqualToCallingUid_throwsException()
634 mTransportComponent, in testUpdateTransportAttributes_whenNameNull_throwsException()
659 mTransportComponent, in testUpdateTransportAttributes_whenCurrentDestinationStringNull_throwsException()
686 mTransportComponent, in testUpdateTransportAttributes_whenDataManagementArgsNullityDontMatch_throwsException()
698 mTransportComponent, in testUpdateTransportAttributes_whenDataManagementArgsNullityDontMatch_throwsException()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportClient.java89 private final ComponentName mTransportComponent; field in TransportClient
141 mTransportComponent = transportComponent; in TransportClient()
149 String classNameForLog = mTransportComponent.getShortClassName().replaceFirst(".*\\.", ""); in TransportClient()
156 return mTransportComponent; in getTransportComponent()
343 mTransportStats.registerConnectionTime(mTransportComponent, time);
396 + mTransportComponent.flattenToShortString() in toString()
519 String transport = mTransportComponent.flattenToShortString(); in onStateTransition()