Home
last modified time | relevance | path

Searched refs:oldId (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/data/repository/
DFoldStateRepository.kt52 fun fromFoldUpdateId(@FoldStateProvider.FoldUpdate oldId: Int): FoldUpdate { in fromFoldUpdateId()
53 return when (oldId) { in fromFoldUpdateId()
59 else -> error("Fold update with id $oldId is not supported") in fromFoldUpdateId()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java109 final long oldId = Binder.clearCallingIdentity(); in getAvailableRestoreSets() local
143 Binder.restoreCallingIdentity(oldId); in getAvailableRestoreSets()
185 final long oldId = Binder.clearCallingIdentity(); in restoreAll() local
199 Binder.restoreCallingIdentity(oldId); in restoreAll()
278 final long oldId = Binder.clearCallingIdentity(); in restorePackages() local
294 Binder.restoreCallingIdentity(oldId); in restorePackages()
377 final long oldId = Binder.clearCallingIdentity(); in restorePackage() local
409 Binder.restoreCallingIdentity(oldId); in restorePackage()
/frameworks/native/services/surfaceflinger/tests/utils/
DTransactionUtils.h193 uid_t oldId; variable
197 oldId = geteuid(); in UIDFaker()
200 ~UIDFaker() { seteuid(oldId); } in ~UIDFaker()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java2596 final long oldId = Binder.clearCallingIdentity(); in initializeTransports() local
2603 Binder.restoreCallingIdentity(oldId); in initializeTransports()
2725 final long oldId = Binder.clearCallingIdentity(); in clearBackupData() local
2735 Binder.restoreCallingIdentity(oldId); in clearBackupData()
2748 final long oldId = Binder.clearCallingIdentity(); in backupNow() local
2805 Binder.restoreCallingIdentity(oldId); in backupNow()
2838 final long oldId = Binder.clearCallingIdentity(); in adbBackup() local
2914 Binder.restoreCallingIdentity(oldId); in adbBackup()
2941 final long oldId = Binder.clearCallingIdentity(); in fullTransportBackup() local
2978 Binder.restoreCallingIdentity(oldId); in fullTransportBackup()
[all …]
DBackupManagerService.java521 final long oldId = Binder.clearCallingIdentity(); in setBackupServiceActive() local
525 Binder.restoreCallingIdentity(oldId); in setBackupServiceActive()
1468 final long oldId = Binder.clearCallingIdentity(); in getUserForAncestralSerialNumber() local
1472 Binder.restoreCallingIdentity(oldId); in getUserForAncestralSerialNumber()
1650 final long oldId = Binder.clearCallingIdentity(); in reportDelayedRestoreResult() local
1654 Binder.restoreCallingIdentity(oldId); in reportDelayedRestoreResult()
/frameworks/av/media/codec2/hal/client/
Doutput.cpp378 uint64_t oldId; in registerBuffer() local
382 data, &oldGeneration, &oldId, &oldSlot) || (oldId == 0)) { in registerBuffer()
386 if ((oldId == mBqId) && (oldGeneration == mGeneration)) { in registerBuffer()
388 << " bqId " << oldId in registerBuffer()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_CreateDisplayTest.cpp111 int64_t oldId = IPCThreadState::self()->clearCallingIdentity(); in TEST_F() local
116 IPCThreadState::self()->restoreCallingIdentity(oldId); in TEST_F()
/frameworks/base/libs/storage/include/storage/
DIMountService.h59 virtual int32_t renameSecureContainer(const String16& oldId,
/frameworks/base/libs/storage/
DIMountService.cpp352 int32_t renameSecureContainer(const String16& oldId, const String16& newId) in renameSecureContainer() argument
356 data.writeString16(oldId); in renameSecureContainer()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java5606 oldIds[nextPending] = r.oldId; in maybeSendWidgetRestoreBroadcastsLocked()
5610 Slog.i(TAG, " " + r.oldId + " => " + r.newId); in maybeSendWidgetRestoreBroadcastsLocked()
5640 oldIds[nextPending] = r.oldId; in maybeSendWidgetRestoreBroadcastsLocked()
5644 Slog.i(TAG, " " + r.oldId + " => " + r.newId); in maybeSendWidgetRestoreBroadcastsLocked()
5717 private void stashProviderRestoreUpdateLocked(Provider provider, int oldId, int newId) { in stashProviderRestoreUpdateLocked() argument
5724 if (alreadyStashed(r, oldId, newId)) { in stashProviderRestoreUpdateLocked()
5726 Slog.i(TAG, "ID remap " + oldId + " -> " + newId in stashProviderRestoreUpdateLocked()
5732 r.add(new RestoreUpdateRecord(oldId, newId)); in stashProviderRestoreUpdateLocked()
5736 final int oldId, final int newId) { in alreadyStashed() argument
5740 if (r.oldId == oldId && r.newId == newId) { in alreadyStashed()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java799 final long oldId = Binder.clearCallingIdentity(); in isAlwaysOnPackageSupported() local
805 Binder.restoreCallingIdentity(oldId); in isAlwaysOnPackageSupported()
991 final long oldId = Binder.clearCallingIdentity(); in setAlwaysOnPackageInternal() local
995 Binder.restoreCallingIdentity(oldId); in setAlwaysOnPackageInternal()
1123 final long oldId = Binder.clearCallingIdentity(); in startAlwaysOnVpn() local
1158 Binder.restoreCallingIdentity(oldId); in startAlwaysOnVpn()
4294 final long oldId = Binder.clearCallingIdentity(); in storeAppExclusionList() local
4298 Binder.restoreCallingIdentity(oldId); in storeAppExclusionList()
4360 final long oldId = Binder.clearCallingIdentity(); in getAppExclusionList() local
4371 Binder.restoreCallingIdentity(oldId); in getAppExclusionList()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java2782 PrinterId oldId = null; in onItemSelected() local
2784 oldId = mCurrentPrinter.getId(); in onItemSelected()
2788 if (oldId != null) { in onItemSelected()
2789 boolean printerRemoved = mDestinationSpinnerAdapter.pruneRemovedPrinter(oldId); in onItemSelected()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp6696 uint64_t oldId, newId; in connectToSurface() local
6699 && mSurface->getUniqueId(&oldId) == NO_ERROR in connectToSurface()
6700 && newId == oldId) { in connectToSurface()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java2906 final long oldId = Binder.clearCallingIdentity();
2914 Binder.restoreCallingIdentity(oldId);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1496 final long oldId = Binder.clearCallingIdentity(); in isSettingRestrictedForUser() local
1501 Binder.restoreCallingIdentity(oldId); in isSettingRestrictedForUser()