Searched refs:configFile (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/com/android/internal/content/om/ |
D | OverlayConfigParser.java | 204 final File configFile = new File(partition.getOverlayFolder(), CONFIG_DEFAULT_FILENAME); in getConfigurations() local 205 if (!configFile.exists()) { in getConfigurations() 210 readConfigFile(configFile, scanner, parsingContext); in getConfigurations() 214 private static void readConfigFile(@NonNull File configFile, @Nullable OverlayScanner scanner, in readConfigFile() argument 218 configReader = new FileReader(configFile); in readConfigFile() 220 Log.w(TAG, "Couldn't find or open overlay configuration file " + configFile); in readConfigFile() 234 parseMerge(configFile, parser, scanner, parsingContext); in readConfigFile() 237 parseOverlay(configFile, parser, scanner, parsingContext); in readConfigFile() 241 name, configFile, parser.getPositionDescription())); in readConfigFile() 260 private static void parseMerge(@NonNull File configFile, @NonNull XmlPullParser parser, in parseMerge() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceConfig.java | 89 private void initFromFile(File configFile) { in initFromFile() argument 90 if (!configFile.exists()) { in initFromFile() 95 if (!configFile.isFile()) { in initFromFile() 96 Slog.e(TAG, "Display configuration is not a file: " + configFile + ", skipping"); in initFromFile() 100 try (InputStream in = new BufferedInputStream(new FileInputStream(configFile))) { in initFromFile() 105 + configFile, e); in initFromFile()
|
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/ |
D | TestDrive.java | 399 File configFile = File.createTempFile("statsdconfig", ".config"); in pushConfig() local 400 configFile.deleteOnExit(); in pushConfig() 401 Files.write(config.toByteArray(), configFile); in pushConfig() local 402 String remotePath = "/data/local/tmp/" + configFile.getName(); in pushConfig() 404 "push", configFile.getAbsolutePath(), remotePath); in pushConfig()
|
/frameworks/native/services/inputflinger/host/ |
D | InputDriver.cpp | 220 std::string configFile = getInputDeviceConfigurationFilePathByDeviceIdentifier( in inputGetDevicePropertyMap() local 222 if (configFile.empty()) { in inputGetDevicePropertyMap() 227 status_t status = PropertyMap::load(String8(configFile.c_str()), &propMap->propertyMap); in inputGetDevicePropertyMap()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | Serializer.cpp | 238 status_t deserialize(const char *configFile, AudioPolicyConfig *config); 752 status_t PolicySerializer::deserialize(const char *configFile, AudioPolicyConfig *config) in deserialize() argument 754 auto doc = make_xmlUnique(xmlParseFile(configFile)); in deserialize() 756 ALOGE("%s: Could not parse %s document.", __func__, configFile); in deserialize() 761 ALOGE("%s: Could not parse %s document: empty.", __func__, configFile); in deserialize() 765 ALOGE("%s: libxml failed to resolve XIncludes on %s document.", __func__, configFile); in deserialize()
|
/frameworks/base/services/core/java/com/android/server/compat/ |
D | CompatConfig.java | 490 private void readConfig(File configFile) { in readConfig() argument 491 try (InputStream in = new BufferedInputStream(new FileInputStream(configFile))) { in readConfig()
|
/frameworks/native/libs/graphicsenv/ |
D | GraphicsEnv.cpp | 92 static bool readConfig(const std::string& configFile, std::vector<std::string>* soNames) { in readConfig() argument 95 if (!base::ReadFileToString(configFile, &fileContent)) { in readConfig()
|