Searched refs:mTransportComponent (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/robotests/src/com/android/server/backup/transport/ |
D | TransportClientTest.java | 93 private ComponentName mTransportComponent; field in TransportClientTest 106 mTransportComponent = in setUp() 108 mTransportString = mTransportComponent.flattenToShortString(); in setUp() 110 mBindIntent = new Intent(SERVICE_ACTION_TRANSPORT_HOST).setComponent(mTransportComponent); in setUp() 116 mTransportComponent, in setUp() 136 assertThat(mTransportClient.getTransportComponent()).isEqualTo(mTransportComponent); in testGetTransportComponent_returnsTransportComponent() 156 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_callsListenerWhenConnected() 171 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_whenPendingConnection_callsAllListenersWhenConnected() 183 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_whenAlreadyConnected_callsListener() 228 connection.onServiceConnected(mTransportComponent, mTransportBinder); in testConnectAsync_afterOnServiceDisconnectedBeforeNewConnection_callsListener() [all …]
|
D | TransportClientManagerTest.java | 56 private ComponentName mTransportComponent; field in TransportClientManagerTest 64 mTransportComponent = new ComponentName(PACKAGE_NAME, CLASS_NAME); in setUp() 65 mBindIntent = new Intent(SERVICE_ACTION_TRANSPORT_HOST).setComponent(mTransportComponent); in setUp() 78 mTransportClientManager.getTransportClient(mTransportComponent, "caller"); in testGetTransportClient() 96 mTransportClientManager.getTransportClient(mTransportComponent, extras, "caller"); in testGetTransportClient_withExtras_createsTransportClientWithCorrectIntent() 111 spy(mTransportClientManager.getTransportClient(mTransportComponent, "caller")); in testDisposeOfTransportClient()
|
/frameworks/base/services/robotests/src/com/android/server/backup/ |
D | BackupManagerServiceTest.java | 408 private ComponentName mTransportComponent; field in BackupManagerServiceTest 412 mTransportComponent = mTransport.getTransportComponent(); in setUpForUpdateTransportAttributes() 413 String transportPackage = mTransportComponent.getPackageName(); in setUpForUpdateTransportAttributes() 434 mTransportComponent, in testUpdateTransportAttributes_whenTransportUidEqualsToCallingUid_callsThroughToTransportManager() 443 eq(mTransportComponent), in testUpdateTransportAttributes_whenTransportUidEqualsToCallingUid_callsThroughToTransportManager() 463 mTransportComponent, in testUpdateTransportAttributes_whenTransportUidNotEqualToCallingUid_throwsException() 502 mTransportComponent, in testUpdateTransportAttributes_whenNameNull_throwsException() 522 mTransportComponent, in testUpdateTransportAttributes_whenCurrentDestinationStringNull_throwsException() 543 mTransportComponent, in testUpdateTransportAttributes_whenDataManagementArgumentsNullityDontMatch_throwsException() 555 mTransportComponent, in testUpdateTransportAttributes_whenDataManagementArgumentsNullityDontMatch_throwsException() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
D | TransportClient.java | 88 private final ComponentName mTransportComponent; field in TransportClient 136 mTransportComponent = transportComponent; in TransportClient() 144 String classNameForLog = mTransportComponent.getShortClassName().replaceFirst(".*\\.", ""); in TransportClient() 151 return mTransportComponent; in getTransportComponent() 338 mTransportStats.registerConnectionTime(mTransportComponent, time); 391 + mTransportComponent.flattenToShortString() in toString() 514 String transport = mTransportComponent.flattenToShortString(); in onStateTransition()
|