Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DSharedPreferencesHelperTest.java18 import static com.android.systemui.people.PeopleSpaceUtils.INVALID_USER_ID;
83 assertThat(sp.getInt(USER_ID, INVALID_USER_ID)).isEqualTo(USER_ID_1); in testSetPeopleTileKey()
97 assertThat(sp.getInt(USER_ID, INVALID_USER_ID)).isEqualTo(INVALID_USER_ID); in testClear()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DAppWidgetOptionsHelper.java21 import static com.android.systemui.people.PeopleSpaceUtils.INVALID_USER_ID;
46 int userId = options.getInt(USER_ID, INVALID_USER_ID); in getPeopleTileKeyFromBundle()
DPeopleSpaceWidgetPinnedReceiver.java19 import static com.android.systemui.people.PeopleSpaceUtils.INVALID_USER_ID;
76 int userId = intent.getIntExtra(Intent.EXTRA_USER_ID, INVALID_USER_ID); in onReceive()
DPeopleTileKey.java20 import static com.android.systemui.people.PeopleSpaceUtils.INVALID_USER_ID;
57 ? entry.getSbn().getUser().getIdentifier() : INVALID_USER_ID; in PeopleTileKey()
DPeopleBackupHelper.java21 import static com.android.systemui.people.PeopleSpaceUtils.INVALID_USER_ID;
229 int storedUserId = backupSp.getInt(ADD_USER_ID_TO_URI + key, INVALID_USER_ID); in restoreKey()
272 if (storedUserId != INVALID_USER_ID) { in restoreWidgetIdKey()
300 peopleTileKey.setUserId(INVALID_USER_ID); in backupPeopleTileKey()
385 if (storedUserId != INVALID_USER_ID) { in restoreContactUriKey()
412 if (sp.getInt(USER_ID, INVALID_USER_ID) == userId) { in getExistingWidgetsForUser()
DPeopleSpaceWidgetManager.java38 import static com.android.systemui.people.PeopleSpaceUtils.INVALID_USER_ID;
409 widgetSp.getInt(USER_ID, INVALID_USER_ID), in getTileForExistingWidgetThrowing()
926 widgetSp.getInt(USER_ID, INVALID_USER_ID), in getKeyFromStorageByWidgetId()
945 widgetSp.getInt(USER_ID, INVALID_USER_ID), in deleteWidgets()
1419 pw.print(widgetSp.getInt(USER_ID, INVALID_USER_ID)); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DSharedPreferencesHelper.java19 import static com.android.systemui.people.PeopleSpaceUtils.INVALID_USER_ID;
56 int userId = sp.getInt(USER_ID, INVALID_USER_ID); in getPeopleTileKey()
DPeopleSpaceUtils.java84 public static final int INVALID_USER_ID = -1; field in PeopleSpaceUtils
86 new PeopleTileKey(EMPTY_STRING, INVALID_USER_ID, EMPTY_STRING);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java52 import static com.android.systemui.people.PeopleSpaceUtils.INVALID_USER_ID;
1011 assertThat(widgetSp.getInt(USER_ID, INVALID_USER_ID)).isEqualTo(0); in testAddThenReconfigureWidgetsUpdatesStorageCacheAndListeners()
1034 assertThat(widgetSp.getInt(USER_ID, INVALID_USER_ID)).isEqualTo(0); in testAddThenReconfigureWidgetsUpdatesStorageCacheAndListeners()
1061 assertThat(widgetSp.getInt(USER_ID, INVALID_USER_ID)).isEqualTo(INVALID_USER_ID); in testDeleteAllWidgetsForConversationsUncachesShortcutAndRemovesListeners()
1081 assertThat(secondWidgetSp.getInt(USER_ID, INVALID_USER_ID)).isEqualTo(INVALID_USER_ID); in testDeleteAllWidgetsForConversationsUncachesShortcutAndRemovesListeners()
1125 assertThat(widgetSp.getInt(USER_ID, INVALID_USER_ID)).isEqualTo(INVALID_USER_ID); in testOnAppWidgetOptionsChangedNoWidgetAdded()
1145 assertThat(first.getInt(USER_ID, INVALID_USER_ID)).isEqualTo(INVALID_USER_ID); in testOnAppWidgetOptionsChangedWidgetAdded()
/frameworks/base/core/java/android/security/keymaster/
DKeymasterDefs.java240 ErrorCode.INVALID_USER_ID; // -15;