/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarOccupantZoneServiceTest.java | 527 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 …]
|
D | OccupantZoneHelper.java | 185 return CarOccupantZoneManager.INVALID_USER_ID; in setUpOccupantZones()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/ |
D | UserPickerController.java | 19 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) {
|
D | UserPickerSharedState.java | 19 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()
|
D | CarServiceMediator.java | 20 import static android.car.CarOccupantZoneManager.INVALID_USER_ID; 190 return INVALID_USER_ID; in getUserForDisplay()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarOccupantZoneService.java | 189 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 …]
|
D | CarMediaService.java | 18 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/ |
D | ScreenOffHandlerUnitTest.java | 262 .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/ |
D | SimpleUserPickerFragment.java | 132 != 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/ |
D | ExperimentalCarUserManager.java | 64 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/ |
D | CarMUPANDUserTrackerImpl.java | 19 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/ |
D | UserPickerControllerTest.java | 18 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/ |
D | CarOccupantZoneManager.java | 354 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/ |
D | ScreenOffHandler.java | 320 || 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/ |
D | CommonConstants.java | 62 public static final @UserIdInt int INVALID_USER_ID = -10000; field in CommonConstants
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/activity/ |
D | ActivityBlockingActivity.java | 164 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/ |
D | CarRemoteDeviceService.java | 20 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()
|
D | CarOccupantConnectionService.java | 20 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/ |
D | BatteryUsageContentProvider.java | 273 if (queryUserId == DatabaseUtils.INVALID_USER_ID) { in getAppUsageLatestTimestamp() 365 uri, DatabaseUtils.QUERY_KEY_USERID, DatabaseUtils.INVALID_USER_ID); in getQueryUserId()
|
D | DatabaseUtils.java | 115 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/ |
D | CarRemoteDeviceServiceTest.java | 21 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/ |
D | UserTestingHelper.java | 84 if (userId == CarOccupantZoneManager.INVALID_USER_ID) { in getDisplayForStartingBackgroundUser()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioMirrorTestFragment.java | 238 if (userId == CarOccupantZoneManager.INVALID_USER_ID) { in setupAudioZones()
|
D | AudioUserAssignmentFragment.java | 377 if (userId == CarOccupantZoneManager.INVALID_USER_ID) { in setUserInfo()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/ |
D | CarMediaServiceTest.java | 19 import static android.car.CarOccupantZoneManager.INVALID_USER_ID; 798 .thenReturn(INVALID_USER_ID); in testMediaKeyEventListenerOnKeyEvent_ignoresInvalidUser()
|