Home
last modified time | relevance | path

Searched refs:currentPackage (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java358 PackageInfo currentPackage = mPackages.get(i); in run() local
359 String packageName = currentPackage.packageName; in run()
376 backupPackageStatus = transport.performFullBackup(currentPackage, in run()
380 quota = transport.getBackupQuota(currentPackage.packageName, in run()
385 new SinglePackageBackupRunner(enginePipes[1], currentPackage, in run()
548 backupManagerService.tearDownAgentAndKill(currentPackage.applicationInfo); in run()
560 backupManagerService.tearDownAgentAndKill(currentPackage.applicationInfo); in run()
568 backupManagerService.tearDownAgentAndKill(currentPackage.applicationInfo); in run()
577 backupManagerService.tearDownAgentAndKill(currentPackage.applicationInfo); in run()
587 backupManagerService.tearDownAgentAndKill(currentPackage.applicationInfo); in run()
[all …]
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java238 public void onUpdate(String currentPackage, BackupProgress backupProgress) { in onUpdate() argument
242 public void onResult(String currentPackage, int status) { in onResult() argument
281 public void onUpdate(String currentPackage, BackupProgress backupProgress) { in onUpdate() argument
282 super.onUpdate(currentPackage, backupProgress); in onUpdate()
284 "Package " + currentPackage + " with progress: " + backupProgress.bytesTransferred in onUpdate()
289 public void onResult(String currentPackage, int status) { in onResult() argument
290 super.onResult(currentPackage, status); in onResult()
291 System.out.println("Package " + currentPackage + " with result: " in onResult()
650 public void onUpdate(int nowBeingRestored, String currentPackage) { in onUpdate() argument
651 System.out.println("onUpdate: " + nowBeingRestored + " = " + currentPackage); in onUpdate()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java143 public int canRestoreTo(ShortcutService s, PackageInfo currentPackage, boolean anyVersionOkay) { in canRestoreTo() argument
145 if (!BackupUtils.signaturesMatch(mSigHashes, currentPackage, pmi)) { in canRestoreTo()
149 if (!ShortcutService.shouldBackupApp(currentPackage) || !mBackupSourceBackupAllowed) { in canRestoreTo()
154 if (!anyVersionOkay && (currentPackage.getLongVersionCode() < mBackupSourceVersionCode)) { in canRestoreTo()
157 currentPackage.getLongVersionCode(), mBackupSourceVersionCode)); in canRestoreTo()
DCompilerStats.java227 PackageStats currentPackage = new PackageStats("fake package"); in read() local
238 currentPackage.setCompileTime(codePath, time); in read()
240 currentPackage = getOrCreatePackageStats(s); in read()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java117 String currentPackage; field in AppTimeLimitController.TimeLimitGroup
232 group.currentPackage = user.currentForegroundedPackage; in addObserver()
335 group.currentPackage = null; in moveToBackground()
376 group.currentPackage = packageName; in maybeWatchForPackageLocked()
454 group.currentPackage = null; in checkTimeout()
476 pw.print(" currentPackage="); pw.print(group.currentPackage); in dump()
/frameworks/base/core/java/android/app/backup/
DIBackupObserver.aidl35 void onUpdate(String currentPackage, in BackupProgress backupProgress); in onUpdate() argument
DRestoreObserver.java67 public void onUpdate(int nowBeingRestored, String currentPackage) { in onUpdate() argument
DBackupManager.java852 public void onUpdate(String currentPackage, BackupProgress backupProgress) { in onUpdate() argument
854 mHandler.obtainMessage(MSG_UPDATE, Pair.create(currentPackage, backupProgress))); in onUpdate()
858 public void onResult(String currentPackage, int status) { in onResult() argument
860 mHandler.obtainMessage(MSG_RESULT, status, 0, currentPackage)); in onResult()
DRestoreSession.java326 public void onUpdate(int nowBeingRestored, String currentPackage) { in onUpdate() argument
328 mHandler.obtainMessage(MSG_UPDATE, nowBeingRestored, 0, currentPackage)); in onUpdate()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java331 String currentPackage = null; in read() local
346 if (currentPackage == null) { in read()
406 currentPackage = line; in read()
415 currentPackage = elems[0]; in read()
419 data.put(currentPackage, currentPackageData); in read()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java5848 final String currentPackage = policy.mDelegationMap.keyAt(i); in setDelegatedScopePreO() local
5851 if (!currentPackage.equals(delegatePackage) && currentScopes.contains(scope)) { in setDelegatedScopePreO()
5854 setDelegatedScopes(who, currentPackage, newScopes); in setDelegatedScopePreO()