Home
last modified time | relevance | path

Searched refs:mAgent (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupEngine.java60 private IBackupAgent mAgent; field in FullBackupEngine
72 private final IBackupAgent mAgent; field in FullBackupEngine.FullBackupRunner
89 mAgent = agent; in FullBackupRunner()
149 mAgent.doFullBackup( in run()
217 int result = mPreflightHook.preflightFullBackup(mPkg, mAgent); in preflightCheck()
240 mAgent, in backupOnePackage()
290 callback -> mAgent.doQuotaExceeded(backupDataBytes, quotaBytes, callback), in sendQuotaExceeded()
299 if (mAgent == null) { in initializeAgent()
303 mAgent = in initializeAgent()
307 return mAgent != null; in initializeAgent()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DAdbRestoreFinishedRunnable.java14 private final IBackupAgent mAgent; field in AdbRestoreFinishedRunnable
20 mAgent = agent; in AdbRestoreFinishedRunnable()
28 mAgent.doRestoreFinished(mToken, mBackupManagerService.getBackupManagerBinder()); in run()
DFullRestoreEngine.java85 private IBackupAgent mAgent; field in FullRestoreEngine
159 return mAgent; in getAgent()
215 if (mAgent != null) { in restoreOneFile()
330 if (MORE_DEBUG && okay && mAgent != null) { in restoreOneFile()
333 if (okay && mAgent == null) { in restoreOneFile()
376 mAgent = mBackupManagerService.bindToAgentSynchronous(mTargetApp, in restoreOneFile()
387 if (mAgent == null) { in restoreOneFile()
442 mAgent, token); in restoreOneFile()
455 mBackupManagerService, mAgent, info, mPipes[0], token); in restoreOneFile()
458 mAgent.doRestoreFile(mPipes[0], info.size, info.type, in restoreOneFile()
[all …]
DRestoreFileRunnable.java34 private final IBackupAgent mAgent; field in RestoreFileRunnable
42 mAgent = agent; in RestoreFileRunnable()
58 mAgent.doRestoreFile(mSocket, mInfo.size, mInfo.type, in run()
DPerformUnifiedRestoreTask.java124 private IBackupAgent mAgent; field in PerformUnifiedRestoreTask
417 mAgent = IBackupAgent.Stub.asInterface(mPmAgent.onBind()); in startRestore()
640 mAgent = backupManagerService.bindToAgentSynchronous( in restoreKeyValue()
643 if (mAgent == null) { in restoreKeyValue()
771 mAgent.doRestore(mBackupData, appVersionCode, mNewState, in initiateOneRestore()
829 mAgent.doRestoreFinished(mEphemeralOpToken, in restoreFinished()
974 mAgent = mEngine.getAgent(); in run()
DPerformAdbRestoreTask.java78 private IBackupAgent mAgent; field in PerformAdbRestoreTask
112 mAgent = null; in PerformAdbRestoreTask()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbRestoreEngine.java45 private final IBackupAgent mAgent; field in KeyValueAdbRestoreEngine
55 mAgent = agent; in KeyValueAdbRestoreEngine()
64 invokeAgentForAdbRestore(mAgent, mInfo, restoreData); in run()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java255 @Nullable private IBackupAgent mAgent; field in KeyValueBackupTask
630 mAgent = IBackupAgent.Stub.asInterface(pmAgent.onBind()); in extractPmAgentData()
631 extractAgentData(packageInfo, mAgent); in extractPmAgentData()
647 mAgent = bindAgent(packageInfo); in extractAgentData()
648 extractAgentData(packageInfo, mAgent); in extractAgentData()
896 agentDoQuotaExceeded(mAgent, packageName, size); in handleTransportStatus()
938 agentFail(mAgent, "Illegal backup key: " + key); in checkBackupData()
1068 mAgent = null; in cleanUpAgent()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraAgentImpl.java261 private CameraAgent mAgent; field in AndroidCameraAgentImpl.CameraHandler
284 mAgent = agent; in CameraHandler()
385 mAgent, cameraId, mCamera, mCharacteristics, mCapabilities); in handleMessage()
416 … cbForward.onReconnectionFailure(mAgent, generateHistoryString(mCameraId)); in handleMessage()
642 CameraExceptionHandler exceptionHandler = mAgent.getCameraExceptionHandler(); in handleMessage()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java148 private String mAgent; // Agent to attach on startup. field in ActivityManagerShellCommand
344 if (mAgent != null) { in makeIntent()
349 mAgent = getNextArgRequired(); in makeIntent()
352 if (mAgent != null) { in makeIntent()
357 mAgent = getNextArgRequired(); in makeIntent()
467 if (mProfileFile != null || mAgent != null) {
476 mStreaming, mAgent, mAttachAgentDuringBind);