Home
last modified time | relevance | path

Searched refs:f (Results 1 – 11 of 11) sorted by relevance

/platform_testing/tests/perf/PerformanceLaunch/
Dgen_locales.py32 with open("res/values-{0}/strings.xml".format(locale), "w") as f:
33 f.write(template.format(locale))
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DBusinessLogicFactory.java94 public static BusinessLogic createFromFile(File f) { in createFromFile() argument
96 String businessLogicString = readFile(f); in createFromFile()
262 private static String readFile(File f) throws IOException { in readFile() argument
263 StringBuilder sb = new StringBuilder((int) f.length()); in readFile()
265 try (Scanner scanner = new Scanner(f)) { in readFile()
/platform_testing/
DPREUPLOAD.cfg19 ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/
DStatsdListenerTest.java564 return argThat(f -> f.getParent().contains(parentName) && f.getName().equals(filename)); in getExactFileNameMatcher()
571 f -> in getPartialFileNameMatcher()
572 f.getParent().contains(parentName) in getPartialFileNameMatcher()
573 && f.getName().contains(component) in getPartialFileNameMatcher()
575 .allMatch(c -> f.getName().contains(c))); in getPartialFileNameMatcher()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DScheduledScenarioRunnerTest.java111 f -> { in testOverTimeTest_throwsTestTimedOutException()
112 if (!(f.getException() instanceof TestTimedOutException)) { in testOverTimeTest_throwsTestTimedOutException()
116 (TestTimedOutException) f.getException(); in testOverTimeTest_throwsTestTimedOutException()
DProfileSuiteTest.java294 f -> { in testTimestampScheduling_respectsSuiteTimeout()
295 if (!(f.getException() instanceof TestTimedOutException)) { in testTimestampScheduling_respectsSuiteTimeout()
299 (TestTimedOutException) f.getException(); in testTimestampScheduling_respectsSuiteTimeout()
DLongevityClassRunnerTest.java432 f -> ((FrameworkMethod) f).getName().contains(methodName))); in getMethodNameMatcher()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DLogcatCollectorTest.java269 Failure f = new Failure(TEST_FAILURE_DESCRIPTION, new RuntimeException("I failed.")); in testLogcatOnlyOnTestFailureOption() local
270 listener.testFailure(f); in testLogcatOnlyOnTestFailureOption()
458 Failure f = new Failure(TEST_DESCRIPTION, new RuntimeException("I failed.")); in testMultipleIterations() local
465 listener.testFailure(f); in testMultipleIterations()
472 listener.testFailure(f); in testMultipleIterations()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DLongevityClassRunner.java176 .map(f -> Pattern.compile(f).matcher(name)) in isIgnored()
DProfile.java287 } catch (IOException f) { in getConfigurationArgument()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java390 protected File writeToFile(File f, byte[] content) throws IOException { in writeToFile() argument
391 Files.write(f.toPath(), content); in writeToFile()
392 return f; in writeToFile()