/frameworks/base/core/java/com/android/internal/util/ |
D | JournaledFile.java | 49 if (mReal.exists()) { in chooseForRead() 51 if (mTemp.exists()) { in chooseForRead() 54 } else if (mTemp.exists()) { in chooseForRead() 75 if (!mReal.exists()) { in chooseForWrite() 88 if (mTemp.exists()) { in chooseForWrite()
|
/frameworks/compile/mclinker/unittests/ |
D | PathTest.cpp | 49 EXPECT_TRUE(exists(*m_pTestee)); in TEST_F() 53 EXPECT_TRUE(exists(*m_pTestee)); in TEST_F() 59 EXPECT_FALSE(exists(*m_pTestee)); in TEST_F() 63 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/os/ |
D | AtomicFile.java | 58 if (mBaseName.exists()) { in startWrite() 59 if (!mBackupName.exists()) { in startWrite() 133 public boolean exists() { in exists() method in AtomicFile 134 return mBaseName.exists() || mBackupName.exists(); in exists() 143 if (mBackupName.exists()) { in openRead()
|
/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/services/usb/java/com/android/server/usb/ |
D | UsbAudioManager.java | 102 boolean exists = false; in waitForAlsaFile() 103 for (int retry = 0; !exists && retry < kNumRetries; retry++) { in waitForAlsaFile() 104 exists = alsaDevFile.exists(); in waitForAlsaFile() 105 if (!exists) { in waitForAlsaFile() 116 return exists; in waitForAlsaFile()
|
/frameworks/base/core/java/android/util/ |
D | AtomicFile.java | 90 if (mBaseName.exists()) { in startWrite() 91 if (!mBackupName.exists()) { in startWrite() 195 if (mBackupName.exists()) { in openRead() 210 if (mBackupName.exists()) { in getLastModifiedTime()
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/ |
D | ServicesTests.java | 43 resultFile.exists()); in testStressConcurentFirstLaunch() 47 "'.", completeFile.exists()); in testStressConcurentFirstLaunch() 82 if (!completeFile.exists()) { in areAllServicesRunning()
|
/frameworks/support/v4/java/android/support/v4/util/ |
D | AtomicFile.java | 88 if (mBaseName.exists()) { in startWrite() 89 if (!mBackupName.exists()) { in startWrite() 164 if (mBackupName.exists()) { in openRead()
|
/frameworks/base/keystore/java/android/security/ |
D | SystemKeyStore.java | 75 if (keyFile.exists()) { in generateNewKey() 118 if (!keyFile.exists()) { in retrieveKey() 128 if (!keyFile.exists()) { in deleteKey()
|
/frameworks/support/tests/java/android/support/v4/provider/ |
D | DocumentFileTest.java | 107 assertTrue("exists", doc.exists()); in testSimple() 262 assertTrue("exists", dog.exists()); in testDelete() 269 assertFalse("exists", dog.exists()); in testDelete() 286 assertTrue(dog.exists()); in testRename() 310 assertFalse(dog.exists()); in testRename() 314 assertTrue(dog.exists()); in testRename()
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
D | HugeBackupActivity.java | 104 boolean exists = mDataFile.exists(); in populateUI() 107 if (exists) { in populateUI()
|
/frameworks/support/v4/java/android/support/v4/provider/ |
D | SingleDocumentFile.java | 94 public boolean exists() { in exists() method in SingleDocumentFile 95 return DocumentsContractApi19.exists(mContext, mUri); in exists()
|
D | TreeDocumentFile.java | 95 public boolean exists() { in exists() method in TreeDocumentFile 96 return DocumentsContractApi19.exists(mContext, mUri); in exists()
|
D | RawDocumentFile.java | 118 public boolean exists() { in exists() method in RawDocumentFile 119 return mFile.exists(); in exists()
|
/frameworks/base/packages/Keyguard/scripts/ |
D | new_merge.py | 113 if (os.path.exists(TEMP_FILE1)): 116 if (os.path.exists(TEMP_FILE2)): 132 if (os.path.exists(outFile)):
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiCollection.java | 62 if (item.exists()) { in getChildByDescription() 120 if (item.exists()) { in getChildByText()
|
D | UiScrollable.java | 90 protected boolean exists(UiSelector selector) { in exists() method in UiScrollable 260 if (exists(childSelector)) { in scrollIntoView() 265 if (exists(childSelector)) { in scrollIntoView() 270 if(exists(childSelector)) { in scrollIntoView()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 64 assertFalse(mCopyFile.exists()); in testCopyFile() 66 assertTrue(mCopyFile.exists()); in testCopyFile() 72 assertFalse(mCopyFile.exists()); in testCopyToFile() 74 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/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 | 100 if (mBackupFile.exists()) { in loadFromDiskLocked() 106 if (mFile.exists() && !mFile.canRead()) { in loadFromDiskLocked() 567 if (mFile.exists()) { in writeToFile() 576 if (!mBackupFile.exists()) { in writeToFile() 620 if (mFile.exists()) { in writeToFile()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/res/ |
D | .README | 3 directory exists.
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | ContextCompat.java | 377 if (!file.exists()) { in createFilesDir() 379 if (file.exists()) { in createFilesDir()
|
/frameworks/base/core/java/android/content/res/ |
D | ObbScanner.java | 44 if (!obbFile.exists()) { in getObbInfo()
|