Home
last modified time | relevance | path

Searched refs:exists (Results 1 – 25 of 179) sorted by relevance

12345678

/frameworks/compile/mclinker/unittests/
DPathTest.cpp48 EXPECT_TRUE(exists(*m_pTestee)); in TEST_F()
52 EXPECT_TRUE(exists(*m_pTestee)); in TEST_F()
58 EXPECT_FALSE(exists(*m_pTestee)); in TEST_F()
62 EXPECT_FALSE(exists(*m_pTestee)); in TEST_F()
69 EXPECT_TRUE(exists(*m_pTestee)); in TEST_F()
73 EXPECT_TRUE(exists(*m_pTestee)); in TEST_F()
80 EXPECT_FALSE(exists(*m_pTestee)); in TEST_F()
84 EXPECT_FALSE(exists(*m_pTestee)); in TEST_F()
/frameworks/base/core/java/com/android/internal/util/
DJournaledFile.java40 if (mReal.exists()) { in chooseForRead()
42 if (mTemp.exists()) { in chooseForRead()
45 } else if (mTemp.exists()) { in chooseForRead()
66 if (!mReal.exists()) { in chooseForWrite()
79 if (mTemp.exists()) { in chooseForWrite()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java59 if (mTestFile.exists()) mTestFile.delete(); in tearDown()
60 if (mCopyFile.exists()) mCopyFile.delete(); in tearDown()
79 Assert.assertTrue(mTestFile.exists()); in testGetFileStatus()
113 Assert.assertFalse(mTestFile.exists()); in testGetFileStatus()
121 assertFalse(mCopyFile.exists()); in testCopyFile()
123 assertTrue(mCopyFile.exists()); in testCopyFile()
130 assertFalse(mCopyFile.exists()); in testCopyToFile()
131 …pyToFile(new ByteArrayInputStream(s.getBytes()), mCopyFile); assertTrue(mCopyFile.exists()); in testCopyToFile()
DFileObserverTest.java66 if (mTestFile != null && mTestFile.exists()) { in tearDown()
74 assertTrue(mTestFile.exists()); in testRun()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseErrorHandlerTest.java43 if (mDatabaseFile.exists()) { in setUp()
61 assertTrue(mDatabaseFile.exists()); in testNoCorruptionCase()
71 assertTrue(mDatabaseFile.exists()); in testDatabaseIsCorrupt()
84 if (mDatabaseFile.exists()) { in testDatabaseIsCorrupt()
91 assertFalse(mDatabaseFile.exists()); in testDatabaseIsCorrupt()
DDatabaseGeneralTest.java60 if (mDatabaseFile.exists()) { in setUp()
1056 assertTrue(dbfile.exists()); in testDefaultDatabaseErrorHandler()
1059 assertFalse(dbfile.exists()); in testDefaultDatabaseErrorHandler()
1077 assertTrue(dbfile.exists()); in testDefaultDatabaseErrorHandler()
1082 assertFalse(dbfile.exists()); in testDefaultDatabaseErrorHandler()
1096 assertTrue(dbfile.exists()); in testDefaultDatabaseErrorHandler()
1097 assertTrue(new File(attachedDb1File).exists()); in testDefaultDatabaseErrorHandler()
1103 assertFalse(dbfile.exists()); in testDefaultDatabaseErrorHandler()
1104 assertFalse(new File(attachedDb1File).exists()); in testDefaultDatabaseErrorHandler()
1121 assertTrue(dbfile.exists()); in testDefaultDatabaseErrorHandler()
[all …]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DLayoutTestsAutoTest.java239 if (f.exists()) in getExpectedResultFile()
245 return f.exists() ? androidExpectedResult : genericExpectedResult; in getExpectedResultFile()
285 if (actual.exists() && expected.exists()) { in processResult()
300 if (!expected.exists()) { in processResult()
331 if (f.exists()) { in runTestAndWaitUntilDone()
362 if (!f.exists()) { in runTestAndWaitUntilDone()
455 if (!tests_list.exists()) in startLayoutTests()
/frameworks/base/core/java/com/android/internal/os/
DAtomicFile.java58 if (mBaseName.exists()) { in startWrite()
59 if (!mBackupName.exists()) { in startWrite()
134 if (mBackupName.exists()) { in openRead()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java77 if (keyFile.exists()) { in generateNewKey()
120 if (!keyFile.exists()) { in retrieveKey()
130 if (!keyFile.exists()) { in deleteKey()
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
DUiScrollable.java81 protected boolean exists(UiSelector selector) { in exists() method in UiScrollable
212 if (exists(getSelector().childSelector(selector))) { in scrollIntoView()
217 if (exists(getSelector().childSelector(selector))) { in scrollIntoView()
225 if(exists(getSelector().childSelector(selector))) { in scrollIntoView()
DUiCollection.java57 if (item.exists()) { in getChildByDescription()
106 if (item.exists()) { in getChildByText()
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeBackupActivity.java104 boolean exists = mDataFile.exists(); in populateUI()
107 if (exists) { in populateUI()
/frameworks/compile/mclinker/include/mcld/Support/
DFileSystem.h78 bool exists(const Path &pPath);
81 inline static bool exists(FileStatus f) { in exists() function
/frameworks/base/core/java/android/gesture/
DGestureLibraries.java69 if (!parentFile.exists()) { in save()
93 if (file.exists() && file.canRead()) { in load()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java97 if (mBackupFile.exists()) { in loadFromDiskLocked()
103 if (mFile.exists() && !mFile.canRead()) { in loadFromDiskLocked()
546 if (mFile.exists()) { in writeToFile()
555 if (!mBackupFile.exists()) { in writeToFile()
597 if (mFile.exists()) { in writeToFile()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DVideoEditorHelper.java131 if (!new File(file).exists()) in getBitmap()
317 assertEquals("Exported FileName", tempFile.exists(), true); in validateExport()
365 assertEquals("Exported FileName", tempFile.exists(), true); in validateExport()
415 if (temp != null && temp.exists()) { in checkDeleteExistingFile()
/frameworks/compile/mclinker/lib/Target/
DAndroidSectLinker.cpp38 if (exists(search_path.path()) && is_directory(search_path.path())) in addTargetOptions()
/frameworks/base/core/java/android/content/res/
DObbScanner.java44 if (!obbFile.exists()) { in getObbInfo()
/frameworks/base/media/java/android/media/videoeditor/
DVideoEditorFactory.java50 if (!dir.exists()) { in create()
/frameworks/compile/libbcc/gdb_plugin/
Dandroid-commands.py201 if not os.path.exists(lib_path) and self.verbose:
293 def exists(self, filename): member in ADB
481 if not self.adb.exists(self.gdbserver_path):
629 if os.path.exists(script_name):
636 if os.path.exists(path_in_root):
713 or not self.adb.exists(data_directory):
/frameworks/base/test-runner/src/junit/runner/
DTestCaseClassLoader.java134 if (file.exists()) { in loadFileData()
161 if (!archive.exists()) in loadJarData()
/frameworks/compile/mclinker/lib/Support/
DPath.cpp180 bool mcld::sys::fs::exists(const Path &pPath) in exists() function in mcld::sys::fs
184 return exists(pFileStatus); in exists()
/frameworks/base/core/tests/coretests/src/com/android/internal/net/
DNetworkStatsFactoryTest.java54 if (mTestProc.exists()) { in setUp()
65 if (mTestProc.exists()) { in tearDown()
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java174 if (!apkFile.exists()) {
229 if (directory.exists() && directory.isDirectory()) {
255 if (directory.exists() && directory.isDirectory()) {
752 if (size == 0 && !apkFile.exists()) { in isUnderInternalThreshold()
805 if (sizeBytes == 0 && !apkFile.exists()) { in calculateContainerSize()
/frameworks/compile/mclinker/include/mcld/MC/
DAttributeFactory.h65 Attribute *exists(const Attribute& pAttr) const;

12345678