Searched refs:configStream (Results 1 – 3 of 3) sorted by relevance
273 InputStream configStream; in getConfigurationArgument() local277 configStream = manager.open(profileName); in getConfigurationArgument()286 configStream = new FileInputStream(configFile); in getConfigurationArgument()294 return Configuration.parseFrom(configStream); in getConfigurationArgument()300 configStream.close(); in getConfigurationArgument()
503 ByteArrayInputStream configStream = new ByteArrayInputStream("not a config".getBytes()); in testParsingConfigFromArguments_malformedConfig() local504 doReturn(configStream) in testParsingConfigFromArguments_malformedConfig()582 ByteArrayInputStream configStream = new ByteArrayInputStream(serialize(CONFIG_1)); in testConfigsHavePermissionFixes() local583 doReturn(configStream) in testConfigsHavePermissionFixes()
427 try (InputStream configStream = openConfigWithAssetManager(manager, configName)) { in parseConfigFromName() argument429 byte[] serializedConfig = readInputStream(configStream); in parseConfigFromName()