/frameworks/compile/mclinker/unittests/ |
D | PathTest.cpp | 48 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/ |
D | JournaledFile.java | 40 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/ |
D | FileUtilsTest.java | 59 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()
|
D | FileObserverTest.java | 66 if (mTestFile != null && mTestFile.exists()) { in tearDown() 74 assertTrue(mTestFile.exists()); in testRun()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseErrorHandlerTest.java | 43 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()
|
D | DatabaseGeneralTest.java | 60 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/ |
D | LayoutTestsAutoTest.java | 239 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/ |
D | AtomicFile.java | 58 if (mBaseName.exists()) { in startWrite() 59 if (!mBackupName.exists()) { in startWrite() 134 if (mBackupName.exists()) { in openRead()
|
/frameworks/base/keystore/java/android/security/ |
D | SystemKeyStore.java | 77 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/ |
D | UiScrollable.java | 81 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()
|
D | UiCollection.java | 57 if (item.exists()) { in getChildByDescription() 106 if (item.exists()) { in getChildByText()
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
D | HugeBackupActivity.java | 104 boolean exists = mDataFile.exists(); in populateUI() 107 if (exists) { in populateUI()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | FileSystem.h | 78 bool exists(const Path &pPath); 81 inline static bool exists(FileStatus f) { in exists() function
|
/frameworks/base/core/java/android/gesture/ |
D | GestureLibraries.java | 69 if (!parentFile.exists()) { in save() 93 if (file.exists() && file.canRead()) { in load()
|
/frameworks/base/core/java/android/app/ |
D | SharedPreferencesImpl.java | 97 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/ |
D | VideoEditorHelper.java | 131 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/ |
D | AndroidSectLinker.cpp | 38 if (exists(search_path.path()) && is_directory(search_path.path())) in addTargetOptions()
|
/frameworks/base/core/java/android/content/res/ |
D | ObbScanner.java | 44 if (!obbFile.exists()) { in getObbInfo()
|
/frameworks/base/media/java/android/media/videoeditor/ |
D | VideoEditorFactory.java | 50 if (!dir.exists()) { in create()
|
/frameworks/compile/libbcc/gdb_plugin/ |
D | android-commands.py | 201 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/ |
D | TestCaseClassLoader.java | 134 if (file.exists()) { in loadFileData() 161 if (!archive.exists()) in loadJarData()
|
/frameworks/compile/mclinker/lib/Support/ |
D | Path.cpp | 180 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/ |
D | NetworkStatsFactoryTest.java | 54 if (mTestProc.exists()) { in setUp() 65 if (mTestProc.exists()) { in tearDown()
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
D | DefaultContainerService.java | 174 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/ |
D | AttributeFactory.h | 65 Attribute *exists(const Attribute& pAttr) const;
|