Searched refs:exists (Results 76 - 96 of 96) sorted by relevance

1234

/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider.java350 if (!appPluginsDir.exists()) {
369 if (!gearsDataDir.exists()) {
H A DBrowserProvider2.java513 if (oldDbFile.exists()) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DImportVCardActivity.java289 if (!file.exists()) {
1007 if (!file.exists() || !file.isDirectory() || !file.canRead()) {
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DPublicApiFunctionalTest.java85 if (mTestDirectory.exists()) {
96 if (mTestDirectory != null && mTestDirectory.exists()) {
682 // download a file which already exists.
753 * Return value of requested HTTP header, if it exists.
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsProvider.java426 if (!partFile.exists()) {
486 if (!partFile.exists()) {
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTests.java1441 if (file.exists()) {
1722 assertTrue(dbFile.exists());
1725 assertFalse(dbFile.exists());
1731 assertTrue(dbFile.exists());
1782 assertTrue(dbFile.exists());
1785 assertFalse(dbFile.exists());
1791 assertTrue(dbFile.exists());
H A DAttachmentProviderTests.java704 if (!attachmentsDir.exists()) {
/packages/apps/Email/src/com/android/email/
H A DLegacyConversions.java304 if (!saveIn.exists()) {
/packages/apps/Email/src/com/android/email/mail/store/
H A DPop3Store.java309 public boolean exists() { method in class:Pop3Store.Pop3Folder
H A DImapFolder.java113 // Return the connection to the pool, if exists.
175 public boolean exists() throws MessagingException { method in class:ImapFolder
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DEmailContent.java1422 if (!file.exists()) {
1435 if (!file.exists()) {
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
H A DUtilityUnitTests.java226 if (file.exists()) {
302 // Case 1: exists in the provider.
/packages/apps/Launcher3/src/com/android/launcher3/
H A DWallpaperPickerActivity.java717 if (defaultThumbFile.exists()) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictDecoderEncoderTests.java263 assertTrue("Failed to create the dictionary file.", file.exists());
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadThread.java749 * Prepare the destination file to receive data. If the file already exists, we'll set up
766 if (f.exists()) {
/packages/apps/Email/src/com/android/email/provider/
H A DEmailProvider.java454 // Delete orphaned mailboxes/messages/policies (account no longer exists)
500 LogUtils.w(TAG, "restoreIfNeeded: Account exists.");
545 // If it exists, we'll add it to the "found" mailboxes
1133 if (databaseFile.exists() && !bodyFile.exists()) {
1136 } else if (bodyFile.exists() && !databaseFile.exists()) {
4558 // If the original message exists, set its forwarded/replied to flags
4607 // Make sure the sent mailbox exists, since it will be necessary soon.
/packages/apps/Settings/src/com/android/settings/
H A DDevelopmentSettings.java532 if (new File("/system/lib/" + value).exists()) {
/packages/apps/Mms/src/com/android/mms/ui/
H A DComposeMessageActivity.java1629 if (!parentFile.exists() && !parentFile.mkdirs()) {
1677 for (int i = 2; file.exists(); i++) {
/packages/apps/Camera/src/com/android/camera/
H A DVideoModule.java855 // Dismiss open menu if exists.
2090 if (fileName != null && new File(fileName).exists()) {
/packages/apps/LegacyCamera/src/com/android/camera/
H A DVideoCamera.java890 // Dismiss open menu if exists.
2048 if (fileName != null && new File(fileName).exists()) {
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
H A DApiService.java4186 if (new File(filename).exists()) {

Completed in 1904 milliseconds

1234