Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/security/net/config/
DDirectoryCertificateSource.java49 private final File mDir; field in DirectoryCertificateSource
56 mDir = caDir; in DirectoryCertificateSource()
75 if (mDir.isDirectory()) { in getCertificates()
76 for (String caFile : mDir.list()) { in getCertificates()
147 if (!new File(mDir, fileName).exists()) {
174 if (!new File(mDir, fileName).exists()) {
202 is = new BufferedInputStream(new FileInputStream(new File(mDir, file)));
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java59 private File mDir; field in FileUtilsTest
72 mDir = getContext().getDir("testing", Context.MODE_PRIVATE); in setUp()
73 mTestFile = new File(mDir, "test.file"); in setUp()
74 mCopyFile = new File(mDir, "copy.file"); in setUp()
82 IoUtils.deleteContents(mDir); in tearDown()
264 FileUtils.deleteOlderFiles(mDir, 10, WEEK_IN_MILLIS); in testDeleteOlderEmptyDir()
275 assertTrue(FileUtils.deleteOlderFiles(mDir, 3, DAY_IN_MILLIS)); in testDeleteOlderTypical()
284 assertTrue(FileUtils.deleteOlderFiles(mDir, 0, DAY_IN_MILLIS)); in testDeleteOlderInFuture()
290 assertTrue(FileUtils.deleteOlderFiles(mDir, 0, DAY_IN_MILLIS)); in testDeleteOlderInFuture()
301 assertTrue(FileUtils.deleteOlderFiles(mDir, 0, DAY_IN_MILLIS)); in testDeleteOlderOnlyAge()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java35 private File mDir; field in AdaptiveIconDrawableTest
46 mDir = getContext().getExternalFilesDir(null); in testDraw_withoutBounds()
47 L("writing temp bitmaps to %s...", mDir); in testDraw_withoutBounds()
58 fail("bm differs, check " + mDir); in testDraw_withoutBounds()
76 mDir = getContext().getExternalFilesDir(null); in testDraw_withBounds()
77 L("writing temp bitmaps to %s...", mDir); in testDraw_withBounds()
94 new FileOutputStream(new File(mDir, "adaptive-bm-original.png"))); in testDraw_withBounds()
96 new FileOutputStream(new File(mDir, "adaptive-bm-test.png"))); in testDraw_withBounds()
105 fail("bm differs, check " + mDir); in testDraw_withBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java155 private final Direction mDir; field in SwipeDetector
187 mDir = dir; in SwipeDetector()
197 if (Math.max(mDir.getActiveTouchSlop(ev, pointerIndex, mDownPos), mTouchSlop) in shouldScrollStart()
242 mDisplacement = mDir.getDisplacement(ev, pointerIndex, mDownPos); in onTouchEvent()
243 computeVelocity(mDir.getDisplacement(ev, pointerIndex, mLastPos), in onTouchEvent()
/frameworks/base/core/java/android/text/
DTextLine.java56 private int mDir; field in TextLine
158 mDir = dir; in set()
284 h = mDir * nextTab(h * mDir); in draw()
360 boolean advance = (mDir == Layout.DIR_RIGHT_TO_LEFT) == runIsRtl; in measure()
376 h = mDir * nextTab(h * mDir); in measure()
448 boolean advance = (mDir == Layout.DIR_RIGHT_TO_LEFT) == runIsRtl;
465 h = mDir * nextTab(h * mDir);
502 if ((mDir == Layout.DIR_LEFT_TO_RIGHT) == runIsRtl) {
563 boolean paraIsRtl = mDir == -1;
/frameworks/minikin/libs/minikin/
DLayout.cpp352 mDir(dir), in LayoutAppendFunctor()
381 mPieces->insert(mTextBuf, mRange, mPaint, mDir, mStartEdit, mEndEdit, layout); in operator ()()
389 bool mDir; member in minikin::LayoutAppendFunctor