Home
last modified time | relevance | path

Searched refs:peopleTileKey (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleBackupHelper.java287 PeopleTileKey peopleTileKey = PeopleTileKey.fromString(key); in backupPeopleTileKey() local
288 if (peopleTileKey.getUserId() != mUserHandle.getIdentifier()) { in backupPeopleTileKey()
300 peopleTileKey.setUserId(INVALID_USER_ID); in backupPeopleTileKey()
302 Log.d(TAG, "Backing up PeopleTileKey key: " + peopleTileKey.toString() + ". Value: " in backupPeopleTileKey()
305 editor.putStringSet(peopleTileKey.toString(), filteredWidgets); in backupPeopleTileKey()
318 PeopleTileKey peopleTileKey = PeopleTileKey.fromString(key); in restorePeopleTileKeyAndCorrespondingWidgetFile() local
320 if (peopleTileKey == null) { in restorePeopleTileKeyAndCorrespondingWidgetFile()
325 peopleTileKey.setUserId(mUserHandle.getIdentifier()); in restorePeopleTileKeyAndCorrespondingWidgetFile()
326 if (!PeopleTileKey.isValid(peopleTileKey)) { in restorePeopleTileKeyAndCorrespondingWidgetFile()
332 mIPeopleManager, mPackageManager, peopleTileKey); in restorePeopleTileKeyAndCorrespondingWidgetFile()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DSharedPreferencesHelperTest.java49 private void setStorageForTile(PeopleTileKey peopleTileKey, int widgetId) { in setStorageForTile() argument
54 widgetEditor.putString(PeopleSpaceUtils.PACKAGE_NAME, peopleTileKey.getPackageName()); in setStorageForTile()
55 widgetEditor.putString(PeopleSpaceUtils.SHORTCUT_ID, peopleTileKey.getShortcutId()); in setStorageForTile()
56 widgetEditor.putInt(PeopleSpaceUtils.USER_ID, peopleTileKey.getUserId()); in setStorageForTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleBackupFollowUpJob.java147 PeopleTileKey peopleTileKey = PeopleTileKey.fromString(key); in processFollowUpFile() local
148 boolean restored = isReadyForRestore(mIPeopleManager, mPackageManager, peopleTileKey); in processFollowUpFile()
197 PeopleTileKey peopleTileKey = PeopleTileKey.fromString(entry.getKey()); in removeUnavailableShortcutsFromSharedStorage() local
198 if (!PeopleTileKey.isValid(peopleTileKey)) { in removeUnavailableShortcutsFromSharedStorage()
220 mContext, peopleTileKey, widgetId, contactUriString); in removeUnavailableShortcutsFromSharedStorage()