Searched refs:descr (Results 1 – 2 of 2) sorted by relevance
/frameworks/libs/net/common/testutils/hostdevice/com/android/testutils/ |
D | MiscAsserts.kt | 90 fun assertRunsInAtMost(descr: String, timeLimit: Long, fn: Runnable) { in assertRunsInAtMost() 91 assertRunsInAtMost(descr, timeLimit) { fn.run() } in assertRunsInAtMost() 94 fun assertRunsInAtMost(descr: String, timeLimit: Long, fn: () -> Unit) { in assertRunsInAtMost() 96 val msg = String.format("%s: took %dms, limit was %dms", descr, timeTaken, timeLimit) in assertRunsInAtMost()
|
/frameworks/base/core/java/android/content/ |
D | ClipData.java | 404 AssetFileDescriptor descr = null; in coerceToText() local 410 descr = resolver.openTypedAssetFileDescriptor(uri, "text/*", null); in coerceToText() 417 if (descr != null) { in coerceToText() 419 stream = descr.createInputStream(); in coerceToText() 437 IoUtils.closeQuietly(descr); in coerceToText() 573 AssetFileDescriptor descr = context.getContentResolver() in coerceToHtmlOrStyledText() local 576 stream = descr.createInputStream(); in coerceToHtmlOrStyledText()
|