Home
last modified time | relevance | path

Searched refs:schemaVersion (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java563 int schemaVersion = readFileSchemaVersion(file); in readPersistedConfig() local
569 switch (schemaVersion) { in readPersistedConfig()
577 Slog.e(TAG, "Unable to parse schema for version " + schemaVersion); in readPersistedConfig()
623 int schemaVersion = reader.nextInt(); in readFileSchemaVersion() local
626 return schemaVersion; in readFileSchemaVersion()
640 List<CarUxRestrictionsConfiguration> configs, @JsonSchemaVersion int schemaVersion) in readRestrictionsArray() argument
644 configs.add(CarUxRestrictionsConfiguration.readJson(reader, schemaVersion)); in readRestrictionsArray()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java319 int schemaVersion) throws IOException { in readJson() argument
324 RestrictionConfigurationParser parser = createConfigurationParser(schemaVersion); in readJson()
355 private static RestrictionConfigurationParser createConfigurationParser(int schemaVersion) { in createConfigurationParser() argument
356 switch (schemaVersion) { in createConfigurationParser()
363 "No parser supported for schemaVersion " + schemaVersion); in createConfigurationParser()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java782 int schemaVersion) throws Exception { in verifyConfigThroughJsonSerialization() argument
791 reader, schemaVersion); in verifyConfigThroughJsonSerialization()