Home
last modified time | relevance | path

Searched refs:mDir (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/security/net/config/
DDirectoryCertificateSource.java46 private final File mDir; field in DirectoryCertificateSource
53 mDir = caDir; in DirectoryCertificateSource()
72 if (mDir.isDirectory()) { in getCertificates()
73 for (String caFile : mDir.list()) { in getCertificates()
144 if (!new File(mDir, fileName).exists()) {
171 if (!new File(mDir, fileName).exists()) {
227 is = new BufferedInputStream(new FileInputStream(new File(mDir, file)));
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java52 private File mDir; field in AdaptiveIconDrawableTest
63 mDir = getContext().getExternalFilesDir(null); in testDraw_withoutBounds()
64 L("writing temp bitmaps to %s...", mDir); in testDraw_withoutBounds()
75 fail("bm differs, check " + mDir); in testDraw_withoutBounds()
93 mDir = getContext().getExternalFilesDir(null); in testDraw_withBounds()
94 L("writing temp bitmaps to %s...", mDir); in testDraw_withBounds()
111 new FileOutputStream(new File(mDir, "adaptive-bm-original.png"))); in testDraw_withBounds()
113 new FileOutputStream(new File(mDir, "adaptive-bm-test.png"))); in testDraw_withBounds()
122 fail("bm differs, check " + mDir); in testDraw_withBounds()
/frameworks/base/core/java/android/text/
DTextLine.java66 private int mDir; field in TextLine
224 mDir = dir; in set()
441 final int runFlag = calculateRunFlag(runIndex, runCount, mDir); in draw()
450 h = mDir * nextTab(h * mDir); in draw()
511 final int runFlag = calculateRunFlag(runIndex, runCount, mDir); in shape()
519 horizontal = mDir * nextTab(horizontal * mDir); in shape()
591 final int runFlag = calculateRunFlag(runIndex, runCount, mDir); in measure()
597 final boolean sameDirection = (mDir == Layout.DIR_RIGHT_TO_LEFT) == runIsRtl; in measure()
617 h = mDir * nextTab(h * mDir); in measure()
695 final int runFlag = calculateRunFlag(runIndex, runCount, mDir);
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/usage/
DUserUsageStatsServiceTest.java63 private File mDir; field in UserUsageStatsServiceTest
79 mDir = new File(InstrumentationRegistry.getContext().getCacheDir(), in setUp()
81 mService = new UserUsageStatsService(mContext, TEST_USER_ID, mDir, mStatsUpdatedListener); in setUp()
91 if (mDir != null && mDir.exists() && !mDir.delete()) { in tearDown()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java96 private File mDir; field in FileUtilsTest
105 mDir = Files.createTempDirectory("FileUtils").toFile(); in setUp()
106 mTestFile = new File(mDir, "test.file"); in setUp()
107 mCopyFile = new File(mDir, "copy.file"); in setUp()
109 mTarget = mDir; in setUp()
115 FileUtils.deleteContents(mDir); in tearDown()
400 FileUtils.deleteOlderFiles(mDir, 10, WEEK_IN_MILLIS); in testDeleteOlderEmptyDir()
411 assertTrue(FileUtils.deleteOlderFiles(mDir, 3, DAY_IN_MILLIS)); in testDeleteOlderTypical()
420 assertTrue(FileUtils.deleteOlderFiles(mDir, 0, DAY_IN_MILLIS)); in testDeleteOlderInFuture()
426 assertTrue(FileUtils.deleteOlderFiles(mDir, 0, DAY_IN_MILLIS)); in testDeleteOlderInFuture()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java156 private final Direction mDir; field in SwipeDetector
188 mDir = dir; in SwipeDetector()
198 if (Math.max(mDir.getActiveTouchSlop(ev, pointerIndex, mDownPos), mTouchSlop) in shouldScrollStart()
243 mDisplacement = mDir.getDisplacement(ev, pointerIndex, mDownPos); in onTouchEvent()
244 computeVelocity(mDir.getDisplacement(ev, pointerIndex, mLastPos), in onTouchEvent()
/frameworks/minikin/libs/minikin/
DMeasuredText.cpp38 mDir = dir; in setNextRange()
53 mOutPieces->insert(mRange, 0 /* no edit */, layoutPiece, mDir, paint, bounds); in operator ()()
59 bool mDir; member in minikin::AdvancesCompositor
128 mDir = dir; in setNextContext()
135 mOutPieces->insert(mRange, mEdit, layoutPiece, mDir, paint, bounds); in operator ()()
145 bool mDir; member in minikin::TotalAdvanceCompositor
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsMockContext.java95 private final File mDir; field in UriGrantsMockContext
103 mDir = Files.createTempDirectory(TAG).toFile(); in UriGrantsMockContext()
235 return mDir; in getFilesDir()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt47879 Landroid/security/net/config/DirectoryCertificateSource;->mDir:Ljava/io/File;
56284 Landroid/text/TextLine;->mDir:I