Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java527 CarOccupantZoneManager.INVALID_USER_ID); in assertVisibleUserAssignment()
544 CarOccupantZoneManager.INVALID_USER_ID); in testKeepVisibleUserAfterDisplayChange()
551 CarOccupantZoneManager.INVALID_USER_ID); in testKeepVisibleUserAfterDisplayChange()
583 assertUserForThreeZones(newUserId, VISIBLE_USER, CarOccupantZoneManager.INVALID_USER_ID); in testKeepVisibleUserAfterUserSwitch()
597 assertUserForThreeZones(CURRENT_USER, CarOccupantZoneManager.INVALID_USER_ID, in testUnassignAfterUserStop()
598 CarOccupantZoneManager.INVALID_USER_ID); in testUnassignAfterUserStop()
815 assertOccupantConfig(configs.get(1), CarOccupantZoneManager.INVALID_USER_ID, in testActiveOccupantConfigs()
818 assertOccupantConfig(configs.get(3), CarOccupantZoneManager.INVALID_USER_ID, in testActiveOccupantConfigs()
844 assertOccupantConfig(configs.get(1), CarOccupantZoneManager.INVALID_USER_ID, in testActiveOccupantConfigsAfterDisplayAdd()
847 assertOccupantConfig(configs.get(2), CarOccupantZoneManager.INVALID_USER_ID, in testActiveOccupantConfigsAfterDisplayAdd()
[all …]
DOccupantZoneHelper.java185 return CarOccupantZoneManager.INVALID_USER_ID; in setUpOccupantZones()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DUserPickerController.java19 import static android.car.CarOccupantZoneManager.INVALID_USER_ID;
206 int desiredState = mCarServiceMediator.getUserForDisplay(mDisplayId) != INVALID_USER_ID in updateHeaderState()
237 == INVALID_USER_ID; in init()
284 if (userId != INVALID_USER_ID) {
393 int userId = userRecord.mInfo != null ? userRecord.mInfo.id : INVALID_USER_ID;
397 if ((userId != INVALID_USER_ID && userId == prevUserId)
476 if (prevUserId == INVALID_USER_ID) {
DUserPickerSharedState.java19 import static android.car.CarOccupantZoneManager.INVALID_USER_ID;
171 mUsersLoginStarted.put(displayId, INVALID_USER_ID); in resetUserLoginStarted()
184 return mUsersLoginStarted.get(displayId, INVALID_USER_ID); in getUserLoginStarted()
DCarServiceMediator.java20 import static android.car.CarOccupantZoneManager.INVALID_USER_ID;
190 return INVALID_USER_ID; in getUserForDisplay()
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java189 public int userId = CarOccupantZoneManager.INVALID_USER_ID;
344 if (zoneConfig.userId != CarOccupantZoneManager.INVALID_USER_ID in init()
360 config.userId = CarOccupantZoneManager.INVALID_USER_ID; in init()
758 return CarOccupantZoneManager.INVALID_USER_ID; in getUserForOccupant()
870 && userId != CarOccupantZoneManager.INVALID_USER_ID) { in assignProfileUserToOccupantZone()
876 if (userId != CarOccupantZoneManager.INVALID_USER_ID) { in assignProfileUserToOccupantZone()
883 if (userId == CarOccupantZoneManager.INVALID_USER_ID) { in assignProfileUserToOccupantZone()
940 if (config.userId == userId && userId != CarOccupantZoneManager.INVALID_USER_ID) { in assignVisibleUserToOccupantZoneUnchecked()
987 if (config.userId == CarOccupantZoneManager.INVALID_USER_ID) { in unassignOccupantZoneUnchecked()
999 config.userId = CarOccupantZoneManager.INVALID_USER_ID; in unassignOccupantZoneUnchecked()
[all …]
DCarMediaService.java18 import static android.car.CarOccupantZoneManager.INVALID_USER_ID;
1731 if (userId == INVALID_USER_ID) { in onKeyEvent()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DScreenOffHandlerUnitTest.java262 .isEqualTo(CarOccupantZoneManager.INVALID_USER_ID); in testUpdateUserActivity_noUserAssignedInModeOn_shouldTurnOffDisplay()
308 .isEqualTo(CarOccupantZoneManager.INVALID_USER_ID); in testUserActivity_bootIncomplete()
358 .isEqualTo(CarOccupantZoneManager.INVALID_USER_ID); in testHandleDisplayStateChange_modeOn()
380 .isEqualTo(CarOccupantZoneManager.INVALID_USER_ID); in testHandleDisplayStateChange_modeAlwaysOn()
403 .isEqualTo(CarOccupantZoneManager.INVALID_USER_ID); in testHandleDisplayStateChange_modeOff()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DSimpleUserPickerFragment.java132 != CarOccupantZoneManager.INVALID_USER_ID; in onViewCreated()
218 int userId = CarOccupantZoneManager.INVALID_USER_ID; in updateTextInfo()
229 String userString = userId == CarOccupantZoneManager.INVALID_USER_ID in updateTextInfo()
287 if (userId == CarOccupantZoneManager.INVALID_USER_ID) { in stopUser()
488 != CarOccupantZoneManager.INVALID_USER_ID) { in getDisplays()
/packages/services/Car/car-lib/src/android/car/user/
DExperimentalCarUserManager.java64 private static final int INVALID_USER_ID = UserManagerHelper.USER_NULL; field in ExperimentalCarUserManager
130 return ui != null ? ui.getIdentifier() : INVALID_USER_ID; in createPassenger()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/users/
DCarMUPANDUserTrackerImpl.java19 import static android.car.CarOccupantZoneManager.INVALID_USER_ID;
163 if (userId != INVALID_USER_ID) { in maybePerformInitialUserSwitch()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/
DUserPickerControllerTest.java18 import static android.car.CarOccupantZoneManager.INVALID_USER_ID;
119 doReturn(INVALID_USER_ID).when(mMockCarServiceMediator) in displaySetup()
131 doReturn(INVALID_USER_ID).when(mMockCarServiceMediator) in displaySetup()
/packages/services/Car/car-lib/src/android/car/
DCarOccupantZoneManager.java354 public static final @UserIdInt int INVALID_USER_ID = -10000; field in CarOccupantZoneManager
541 return handleRemoteExceptionFromCarService(e, INVALID_USER_ID); in getUserForOccupant()
557 return handleRemoteExceptionFromCarService(e, INVALID_USER_ID); in getUserForDisplayId()
/packages/services/Car/service/src/com/android/car/power/
DScreenOffHandler.java320 || info.getUserId() != CarOccupantZoneManager.INVALID_USER_ID in updateDisplayPowerStateLocked()
389 if (userId == CarOccupantZoneManager.INVALID_USER_ID) { in handleOccupantZoneConfigChangeLocked()
391 info.setUserId(CarOccupantZoneManager.INVALID_USER_ID); in handleOccupantZoneConfigChangeLocked()
575 mUserId = CarOccupantZoneManager.INVALID_USER_ID; in DisplayPowerInfo()
/packages/services/Car/car-lib/src/com/android/car/internal/common/
DCommonConstants.java62 public static final @UserIdInt int INVALID_USER_ID = -10000; field in CommonConstants
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/activity/
DActivityBlockingActivity.java164 if (userOnDisplay == CarOccupantZoneManager.INVALID_USER_ID) { in onCreate()
453 if (userOnDisplay == CarOccupantZoneManager.INVALID_USER_ID) { in handleCloseApplication()
490 if (userOnDisplay == CarOccupantZoneManager.INVALID_USER_ID) { in startBlockingActivity()
/packages/services/Car/service/src/com/android/car/occupantconnection/
DCarRemoteDeviceService.java20 import static android.car.CarOccupantZoneManager.INVALID_USER_ID;
396 if (userId == INVALID_USER_ID) { in getEndpointPackageInfo()
466 boolean hasOldUser = (oldUserId != INVALID_USER_ID); in handleUserChange()
971 return INVALID_USER_ID; in getAssignedUserLocked()
1108 return userId != INVALID_USER_ID && !UserHandle.of(userId).isSystem(); in isNonSystemUser()
DCarOccupantConnectionService.java20 import static android.car.CarOccupantZoneManager.INVALID_USER_ID;
677 if (userId == INVALID_USER_ID) { in getClientIdInOccupantZone()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryUsageContentProvider.java273 if (queryUserId == DatabaseUtils.INVALID_USER_ID) { in getAppUsageLatestTimestamp()
365 uri, DatabaseUtils.QUERY_KEY_USERID, DatabaseUtils.INVALID_USER_ID); in getQueryUserId()
DDatabaseUtils.java115 public static final long INVALID_USER_ID = Integer.MIN_VALUE; field in DatabaseUtils
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/
DCarRemoteDeviceServiceTest.java21 import static android.car.CarOccupantZoneManager.INVALID_USER_ID;
194 when(mOccupantZoneService.getUserForOccupant(zone2.zoneId)).thenReturn(INVALID_USER_ID); in testInit()
322 INVALID_USER_ID); in testGetEndpointPackageInfoWithInvalidUserId()
774 .thenReturn(INVALID_USER_ID); in testUserUnassigned()
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DUserTestingHelper.java84 if (userId == CarOccupantZoneManager.INVALID_USER_ID) { in getDisplayForStartingBackgroundUser()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioMirrorTestFragment.java238 if (userId == CarOccupantZoneManager.INVALID_USER_ID) { in setupAudioZones()
DAudioUserAssignmentFragment.java377 if (userId == CarOccupantZoneManager.INVALID_USER_ID) { in setUserInfo()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java19 import static android.car.CarOccupantZoneManager.INVALID_USER_ID;
798 .thenReturn(INVALID_USER_ID); in testMediaKeyEventListenerOnKeyEvent_ignoresInvalidUser()

12