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.java528 int schemaVersion = readFileSchemaVersion(file); in readPersistedConfig() local
534 switch (schemaVersion) { in readPersistedConfig()
542 Log.e(TAG, "Unable to parse schema for version " + schemaVersion); in readPersistedConfig()
588 int schemaVersion = reader.nextInt(); in readFileSchemaVersion() local
591 return schemaVersion; in readFileSchemaVersion()
605 List<CarUxRestrictionsConfiguration> configs, @JsonSchemaVersion int schemaVersion) in readRestrictionsArray() argument
609 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.java800 int schemaVersion) { in verifyConfigThroughJsonSerialization() argument
812 reader, schemaVersion); in verifyConfigThroughJsonSerialization()