/frameworks/base/services/backup/java/com/android/server/backup/ |
D | TransportManager.java | 119 registerTransportsFromPackage(packageName, transportComponent -> true); in onPackageAdded() 189 public String getTransportName(ComponentName transportComponent) in getTransportName() argument 192 return getRegisteredTransportDescriptionOrThrowLocked(transportComponent).name; in getTransportName() 201 public String getTransportDirName(ComponentName transportComponent) in getTransportDirName() argument 204 return getRegisteredTransportDescriptionOrThrowLocked(transportComponent) in getTransportDirName() 305 ComponentName transportComponent, in updateTransportAttributes() argument 313 mRegisteredTransportsDescriptionMap.get(transportComponent); in updateTransportAttributes() 329 ComponentName transportComponent) throws TransportNotRegisteredException { in getRegisteredTransportDescriptionOrThrowLocked() argument 331 mRegisteredTransportsDescriptionMap.get(transportComponent); in getRegisteredTransportDescriptionOrThrowLocked() 333 throw new TransportNotRegisteredException(transportComponent); in getRegisteredTransportDescriptionOrThrowLocked() [all …]
|
D | BackupManagerServiceInterface.java | 125 ComponentName transportComponent, in updateTransportAttributes() argument
|
D | Trampoline.java | 364 ComponentName transportComponent, in updateTransportAttributes() argument 373 transportComponent, in updateTransportAttributes()
|
D | BackupManagerService.java | 2959 ComponentName transportComponent, in updateTransportAttributes() argument 2967 transportComponent, in updateTransportAttributes() local 2978 ComponentName transportComponent, in updateTransportAttributes() argument 2987 Preconditions.checkNotNull(transportComponent, "transportComponent can't be null"); in updateTransportAttributes() 2998 .getPackageUid(transportComponent.getPackageName(), 0); in updateTransportAttributes() 3009 transportComponent, in updateTransportAttributes() 3048 ComponentName transportComponent, @Nullable ISelectBackupTransportCallback listener) { in selectBackupTransportAsync() argument 3051 if (!isAllowedByMandatoryBackupTransportPolicy(transportComponent)) { in selectBackupTransportAsync() 3064 String transportString = transportComponent.flattenToShortString(); in selectBackupTransportAsync() 3070 mTransportManager.registerAndSelectTransport(transportComponent); in selectBackupTransportAsync() [all …]
|
/frameworks/base/services/robotests/src/com/android/server/backup/testing/ |
D | TransportTestUtils.java | 58 ComponentName transportComponent = transport.getTransportComponent(); in setUpTransportsForTransportManager() local 59 String packageName = transportComponent.getPackageName(); in setUpTransportsForTransportManager() 60 ResolveInfo resolveInfo = resolveInfo(transportComponent); in setUpTransportsForTransportManager() 71 private static ResolveInfo resolveInfo(ComponentName transportComponent) { in resolveInfo() argument 74 resolveInfo.serviceInfo.packageName = transportComponent.getPackageName(); in resolveInfo() 75 resolveInfo.serviceInfo.name = transportComponent.getClassName(); in resolveInfo() 102 ComponentName transportComponent = transport.getTransportComponent(); in setUpTransport() local 113 when(transportManager.getTransportName(transportComponent)).thenReturn(transportName); in setUpTransport() 116 when(transportManager.getTransportDirName(eq(transportComponent))) in setUpTransport() 125 when(transportManager.getTransportName(transportComponent)) in setUpTransport() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
D | TransportClientManager.java | 60 public TransportClient getTransportClient(ComponentName transportComponent, String caller) { in getTransportClient() argument 62 new Intent(SERVICE_ACTION_TRANSPORT_HOST).setComponent(transportComponent); in getTransportClient() 64 return getTransportClient(transportComponent, caller, bindIntent); in getTransportClient() 79 ComponentName transportComponent, Bundle extras, String caller) { in getTransportClient() argument 81 new Intent(SERVICE_ACTION_TRANSPORT_HOST).setComponent(transportComponent); in getTransportClient() 84 return getTransportClient(transportComponent, caller, bindIntent); in getTransportClient() 88 ComponentName transportComponent, String caller, Intent bindIntent) { in getTransportClient() argument 95 transportComponent, in getTransportClient()
|
D | TransportStats.java | 33 void registerConnectionTime(ComponentName transportComponent, long timeMs) { in registerConnectionTime() argument 35 Stats stats = mTransportStats.get(transportComponent); in registerConnectionTime() 38 mTransportStats.put(transportComponent, stats); in registerConnectionTime() 46 public Stats getStatsForTransport(ComponentName transportComponent) { in getStatsForTransport() argument 48 Stats stats = mTransportStats.get(transportComponent); in getStatsForTransport() 65 for (ComponentName transportComponent : mTransportStats.keySet()) { in dump() 66 Stats stats = mTransportStats.get(transportComponent); in dump() 67 pw.println(" " + transportComponent.flattenToShortString()); in dump()
|
D | TransportNotRegisteredException.java | 37 public TransportNotRegisteredException(ComponentName transportComponent) { in TransportNotRegisteredException() argument 38 super("Transport for host " + transportComponent + " not registered"); in TransportNotRegisteredException()
|
D | TransportClient.java | 112 ComponentName transportComponent, in TransportClient() argument 119 transportComponent, in TransportClient() 130 ComponentName transportComponent, in TransportClient() argument 136 mTransportComponent = transportComponent; in TransportClient() 654 public void onServiceConnected(ComponentName transportComponent, IBinder binder) { in onServiceConnected() argument 664 public void onServiceDisconnected(ComponentName transportComponent) { in onServiceDisconnected() argument 674 public void onBindingDied(ComponentName transportComponent) { in onBindingDied() argument
|
/frameworks/base/services/robotests/src/com/android/server/backup/ |
D | TransportManagerTest.java | 326 ComponentName transportComponent = mTransportA1.getTransportComponent(); in testRegisterAndSelectTransport_whenTransportRegistered() local 328 int result = transportManager.registerAndSelectTransport(transportComponent); in testRegisterAndSelectTransport_whenTransportRegistered() 333 .contains(transportComponent); in testRegisterAndSelectTransport_whenTransportRegistered() 343 ComponentName transportComponent = mTransportA1.getTransportComponent(); in testRegisterAndSelectTransport_whenTransportNotRegistered() local 345 int result = transportManager.registerAndSelectTransport(transportComponent); in testRegisterAndSelectTransport_whenTransportNotRegistered() 350 .contains(transportComponent); in testRegisterAndSelectTransport_whenTransportNotRegistered()
|
/frameworks/base/core/java/android/app/backup/ |
D | IBackupManager.aidl | 250 void updateTransportAttributes(in ComponentName transportComponent, in String name, in updateTransportAttributes() argument
|
D | BackupManager.java | 500 ComponentName transportComponent, in updateTransportAttributes() argument 510 transportComponent, in updateTransportAttributes()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 2288 ComponentName transportComponent = ComponentName.unflattenFromString( in testCreateAdminSupportIntent() local 2290 dpm.setMandatoryBackupTransport(admin1, transportComponent); in testCreateAdminSupportIntent()
|