Searched refs:configFile (Results 1 – 10 of 10) sorted by relevance
/packages/modules/StatsD/tests/src/android/cts/statsd/subscriber/ |
D | ShellSubscriberTest.java | 242 File configFile = File.createTempFile("shellconfig", ".config"); in pushShellConfigToDevice() local 243 configFile.deleteOnExit(); in pushShellConfigToDevice() 244 Files.write(validConfig, configFile); in pushShellConfigToDevice() 245 String remotePath = "/data/local/tmp/" + configFile.getName(); in pushShellConfigToDevice() 246 getDevice().pushFile(configFile, remotePath); in pushShellConfigToDevice()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | IpConfigStoreTest.java | 154 final File configFile = new File(context.getFilesDir().getPath(), in readIpConfigurationFromFilePath() local 158 store.writeIpConfigurations(configFile.getPath(), expectedNetworks); in readIpConfigurationFromFilePath() 163 IpConfigStore.readIpConfigurations(configFile.getPath()); in readIpConfigurationFromFilePath() 174 configFile.delete(); in readIpConfigurationFromFilePath()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/validation/ |
D | ValidationTestUtil.java | 37 File configFile = getBuildHelper(ctsBuild).getTestFile(fileName); in getConfig() local 38 String configStr = FileUtil.readStringFromFile(configFile); in getConfig()
|
/packages/services/Car/tools/cpu_perf/ |
D | config.py | 96 def parse_config(configFile): argument 97 lines = configFile.readlines()
|
/packages/modules/AdServices/adservices/libraries/health/runners/concurrent-longevity/adservices/src/android/adservices/test/longevity/concurrent/ |
D | ConcurrentProfile.java | 242 File configFile = new File(profileValue); in getConfigurationArgument() 243 if (!configFile.exists()) { in getConfigurationArgument() 247 try (InputStream configStream = new FileInputStream(configFile)) { in getConfigurationArgument()
|
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/ |
D | TestDrive.java | 705 File configFile = File.createTempFile("statsdconfig", ".config"); in pushConfig() local 706 configFile.deleteOnExit(); in pushConfig() 707 Files.write(config.toByteArray(), configFile); in pushConfig() local 708 String remotePath = "/data/local/tmp/" + configFile.getName(); in pushConfig() 710 null, LOGGER, "adb", "-s", deviceSerial, "push", configFile.getAbsolutePath(), in pushConfig()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsManagerService.java | 729 AtomicFile configFile = new AtomicFile(file); in readPersistedConfig() local 731 new InputStreamReader(configFile.openRead(), StandardCharsets.UTF_8))) { in readPersistedConfig() 773 AtomicFile configFile = new AtomicFile(file); in readFileSchemaVersion() local 775 new InputStreamReader(configFile.openRead(), StandardCharsets.UTF_8))) { in readFileSchemaVersion()
|
/packages/services/Car/service/src/com/android/car/hal/fakevhal/ |
D | FakeVhalConfigParser.java | 886 private boolean isFileValid(File configFile) { in isFileValid() argument 887 return configFile.exists() && configFile.isFile(); in isFileValid()
|
/packages/services/Car/service/src/com/android/car/hal/property/ |
D | PropertyHalServiceConfigs.java | 480 /* package */ SparseArray<CarSvcPropertyConfig> parseJsonConfig(InputStream configFile, in parseJsonConfig() argument 484 try (var reader = new JsonReader(new InputStreamReader(configFile, "UTF-8"))) { in parseJsonConfig()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/ |
D | CoexManagerTest.java | 160 private File createFileFromResource(String configFile) throws Exception { in createFileFromResource() argument 161 InputStream in = getClass().getClassLoader().getResourceAsStream(configFile); in createFileFromResource() 162 File file = tempFolder.newFile(configFile.split("/")[1]); in createFileFromResource()
|