Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java43 private File mDir; field in FileUtilsTest
50 mDir = getContext().getDir("testing", Context.MODE_PRIVATE); in setUp()
51 mTestFile = new File(mDir, "test.file"); in setUp()
52 mCopyFile = new File(mDir, "copy.file"); in setUp()
57 IoUtils.deleteContents(mDir); in tearDown()
116 FileUtils.deleteOlderFiles(mDir, 10, WEEK_IN_MILLIS); in testDeleteOlderEmptyDir()
126 FileUtils.deleteOlderFiles(mDir, 3, DAY_IN_MILLIS); in testDeleteOlderTypical()
134 FileUtils.deleteOlderFiles(mDir, 0, DAY_IN_MILLIS); in testDeleteOlderInFuture()
140 FileUtils.deleteOlderFiles(mDir, 0, DAY_IN_MILLIS); in testDeleteOlderInFuture()
150 FileUtils.deleteOlderFiles(mDir, 0, DAY_IN_MILLIS); in testDeleteOlderOnlyAge()
[all …]
/frameworks/base/core/java/android/text/
DMeasuredText.java37 int mDir; field in MeasuredText
129 mDir = Layout.DIR_LEFT_TO_RIGHT; in setPara()
148 mDir = AndroidBidi.bidi(bidiRequest, mChars, mLevels, len, false); in setPara()
162 int flags = mDir == Layout.DIR_LEFT_TO_RIGHT in addStyleRun()
DTextLine.java52 private int mDir; field in TextLine
137 mDir = dir; in set()
238 h = mDir * nextTab(h * mDir); in draw()
331 boolean advance = (mDir == Layout.DIR_RIGHT_TO_LEFT) == runIsRtl; in measure()
347 h = mDir * nextTab(h * mDir); in measure()
356 h += mDir * wid; in measure()
388 if ((mDir == Layout.DIR_LEFT_TO_RIGHT) == runIsRtl) {
449 boolean paraIsRtl = mDir == -1;
DStaticLayout.java243 int dir = measured.mDir; in generate()
487 needMultiply, measured.mLevels, measured.mDir, measured.mEasy, bufEnd, in generate()
DLayout.java1570 directions = AndroidBidi.directions(mt.mDir, mt.mLevels,
1572 dir = mt.mDir;
/frameworks/base/services/java/com/android/server/am/
DUsageStatsService.java121 private File mDir; field in UsageStatsService
279 mDir = new File(dir); in UsageStatsService()
282 mDir.mkdir(); in UsageStatsService()
285 File parentDir = mDir.getParentFile(); in UsageStatsService()
288 String prefix = mDir.getName() + "."; in UsageStatsService()
301 mFile = new File(mDir, mFileLeaf); in UsageStatsService()
302 mHistoryFile = new AtomicFile(new File(mDir, FILE_HISTORY)); in UsageStatsService()
453 String fList[] = mDir.list(); in getUsageStatsFileListFLOCK()
463 (new File(mDir, file)).delete(); in getUsageStatsFileListFLOCK()
488 File file = new File(mDir, fileName); in checkFileLimitFLOCK()
[all …]