Searched refs:INVALID_USER_ID (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | SharedPreferencesHelperTest.java | 18 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/ |
D | AppWidgetOptionsHelper.java | 21 import static com.android.systemui.people.PeopleSpaceUtils.INVALID_USER_ID; 46 int userId = options.getInt(USER_ID, INVALID_USER_ID); in getPeopleTileKeyFromBundle()
|
D | PeopleSpaceWidgetPinnedReceiver.java | 19 import static com.android.systemui.people.PeopleSpaceUtils.INVALID_USER_ID; 76 int userId = intent.getIntExtra(Intent.EXTRA_USER_ID, INVALID_USER_ID); in onReceive()
|
D | PeopleTileKey.java | 20 import static com.android.systemui.people.PeopleSpaceUtils.INVALID_USER_ID; 57 ? entry.getSbn().getUser().getIdentifier() : INVALID_USER_ID; in PeopleTileKey()
|
D | PeopleBackupHelper.java | 21 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()
|
D | PeopleSpaceWidgetManager.java | 38 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/ |
D | SharedPreferencesHelper.java | 19 import static com.android.systemui.people.PeopleSpaceUtils.INVALID_USER_ID; 56 int userId = sp.getInt(USER_ID, INVALID_USER_ID); in getPeopleTileKey()
|
D | PeopleSpaceUtils.java | 84 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/ |
D | PeopleSpaceWidgetManagerTest.java | 52 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/ |
D | KeymasterDefs.java | 240 ErrorCode.INVALID_USER_ID; // -15;
|