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.java180 // Timeout intervals for agent backup & restore operations
232 // The thread performing the sequence of queued backups binds to each app's agent
1423 Slog.v(TAG, "Examining " + packageName + " for backup agent");
1609 // fire off a backup agent, blocking until it attaches or times out
1611 IBackupAgent agent = null;
1617 Slog.d(TAG, "awaiting agent for " + app);
1619 // success; wait for the agent to arrive
1636 Slog.w(TAG, "Timeout waiting for agent " + app);
1640 if (DEBUG) Slog.i(TAG, "got agent " + mConnectedAgent);
1641 agent
2099 invokeAgentForBackup(String packageName, IBackupAgent agent, IBackupTransport transport) argument
2334 FullBackupRunner(PackageInfo pack, IBackupAgent agent, ParcelFileDescriptor pipe, int token, boolean sendApk, boolean writeManifest) argument
2954 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument
4555 initiateOneRestore(PackageInfo app, int appVersionCode, IBackupAgent agent, boolean needFullBackup) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityThread.java2421 Slog.d(TAG, "Asked to create backup agent for nonexistent package");
2431 BackupAgent agent = null;
2434 // full backup operation but no app-supplied agent? use the default implementation
2443 if (DEBUG_BACKUP) Slog.v(TAG, "Initializing agent class " + classname);
2446 agent = (BackupAgent) cl.loadClass(classname).newInstance();
2448 // set up the agent's context
2451 context.setOuterContext(agent);
2452 agent.attach(context);
2454 agent.onCreate();
2455 binder = agent
[all...]
H A DIActivityManager.java156 public void backupAgentCreated(String packageName, IBinder agent) throws RemoteException; argument
H A DActivityManagerNative.java1341 IBinder agent = data.readStrongBinder();
1342 backupAgentCreated(packageName, agent);
2836 public void backupAgentCreated(String packageName, IBinder agent) throws RemoteException { argument
2841 data.writeStrongBinder(agent);
/frameworks/base/tools/aapt/
H A DResource.cpp2376 String8 agent = getAttribute(tree, "http://schemas.android.com/apk/res/android", local
2378 if (agent.length() > 0) {
2379 addProguardKeepRule(keep, agent, pkg.string(),
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java4284 // Check whether the next backup agent is in this process...
4286 if (DEBUG_BACKUP) Slog.v(TAG, "New app is backup target, launching agent for " + app);
4293 Slog.w(TAG, "Exception scheduling backup agent creation: ");
11129 // Cause the target app to be launched if necessary and its backup agent
11130 // instantiated. The backup agent will invoke backupAgentCreated() on the
11144 // Backup agent is now in use, its package can't be stopped.
11162 Slog.e(TAG, "Unable to start backup agent process " + r);
11173 // If the process is already attached, schedule the creation of the backup agent now.
11189 // know that it's scheduled for a backup-agent operation.
11206 // A backup agent ha
11207 backupAgentCreated(String agentPackageName, IBinder agent) argument
[all...]

Completed in 256 milliseconds