Home
last modified time | relevance | path

Searched refs:CONFIG_FILENAME_PRODUCTION (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java30 import static com.android.car.CarUxRestrictionsManagerService.CONFIG_FILENAME_PRODUCTION;
158 assertFalse(new File(mTempSystemCarDir, CONFIG_FILENAME_PRODUCTION).exists()); in testSaveConfig_WriteStagedFile()
210 setupMockFile(CONFIG_FILENAME_PRODUCTION, List.of(expected)); in testLoadConfig_UseProdConfig()
229 setupMockFileFromString(CONFIG_FILENAME_PRODUCTION, v1LegacyJsonFormat); in testLoadConfig_SupportsLegacyV1()
288 setupMockFile(CONFIG_FILENAME_PRODUCTION, null); in testLoadConfig_PromoteStagedFileWhenParked()
302 setupMockFile(CONFIG_FILENAME_PRODUCTION, List.of(expected)); in testLoadConfig_NoPromoteStagedFileWhenMoving()
317 setupMockFile(CONFIG_FILENAME_PRODUCTION, List.of(expected)); in testLoadConfig_NoPromoteStagedFileWhenMovingBackwards()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java146 static final String CONFIG_FILENAME_PRODUCTION = "ux_restrictions_prod_config.json"; field in CarUxRestrictionsManagerService
393 File prodConfig = getFile(CONFIG_FILENAME_PRODUCTION); in loadConfig()
458 Path prod = getFile(CONFIG_FILENAME_PRODUCTION).toPath(); in promoteStagedConfig()