Searched refs:agent (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/app/backup/
H A DIBackupManager.aidl56 * Notifies the Backup Manager Service that an agent has become available. This
59 void agentConnected(String packageName, IBinder agent);
62 * Notify the Backup Manager Service that an agent has unexpectedly gone away.
89 * that data will be supplied to the new package's restore agent before the package
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java182 // Timeout intervals for agent backup & restore operations
234 // The thread performing the sequence of queued backups binds to each app's agent
1430 Slog.v(TAG, "Examining " + packageName + " for backup agent");
1616 // fire off a backup agent, blocking until it attaches or times out
1618 IBackupAgent agent = null;
1624 Slog.d(TAG, "awaiting agent for " + app);
1626 // success; wait for the agent to arrive
1643 Slog.w(TAG, "Timeout waiting for agent " + app);
1647 if (DEBUG) Slog.i(TAG, "got agent " + mConnectedAgent);
1648 agent
2106 invokeAgentForBackup(String packageName, IBackupAgent agent, IBackupTransport transport) argument
2465 FullBackupRunner(PackageInfo pack, IBackupAgent agent, ParcelFileDescriptor pipe, int token, boolean sendApk, boolean writeManifest) argument
3088 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument
4697 initiateOneRestore(PackageInfo app, int appVersionCode, IBackupAgent agent, boolean needFullBackup) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityThread.java2469 Slog.d(TAG, "Asked to create backup agent for nonexistent package");
2479 BackupAgent agent = null;
2482 // full backup operation but no app-supplied agent? use the default implementation
2491 if (DEBUG_BACKUP) Slog.v(TAG, "Initializing agent class " + classname);
2494 agent = (BackupAgent) cl.loadClass(classname).newInstance();
2496 // set up the agent's context
2499 context.setOuterContext(agent);
2500 agent.attach(context);
2502 agent.onCreate();
2503 binder = agent
[all...]
H A DIActivityManager.java156 public void backupAgentCreated(String packageName, IBinder agent) throws RemoteException; argument
H A DActivityManagerNative.java1348 IBinder agent = data.readStrongBinder();
1349 backupAgentCreated(packageName, agent);
2902 public void backupAgentCreated(String packageName, IBinder agent) throws RemoteException { argument
2907 data.writeStrongBinder(agent);
/frameworks/base/tools/aapt/
H A DResource.cpp2372 String8 agent = getAttribute(tree, "http://schemas.android.com/apk/res/android", local
2374 if (agent.length() > 0) {
2375 addProguardKeepRule(keep, agent, pkg.string(),
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java4373 // Check whether the next backup agent is in this process...
4375 if (DEBUG_BACKUP) Slog.v(TAG, "New app is backup target, launching agent for " + app);
4382 Slog.w(TAG, "Exception scheduling backup agent creation: ");
11406 // Cause the target app to be launched if necessary and its backup agent
11407 // instantiated. The backup agent will invoke backupAgentCreated() on the
11421 // Backup agent is now in use, its package can't be stopped.
11439 Slog.e(TAG, "Unable to start backup agent process " + r);
11450 // If the process is already attached, schedule the creation of the backup agent now.
11466 // know that it's scheduled for a backup-agent operation.
11483 // A backup agent ha
11484 backupAgentCreated(String agentPackageName, IBinder agent) argument
[all...]

Completed in 210 milliseconds