/packages/modules/Bluetooth/system/gd/hal/ |
D | snoop_logger_test.cc | 106 ASSERT_FALSE(std::filesystem::exists(temp_snoop_log_)); in SetUp() 107 ASSERT_FALSE(std::filesystem::exists(temp_snoop_log_last_)); in SetUp() 108 ASSERT_FALSE(std::filesystem::exists(temp_snooz_log_)); in SetUp() 109 ASSERT_FALSE(std::filesystem::exists(temp_snooz_log_last_)); in SetUp() 119 if (std::filesystem::exists(temp_snoop_log_)) { in DeleteSnoopLogFiles() 122 if (std::filesystem::exists(temp_snoop_log_last_)) { in DeleteSnoopLogFiles() 125 if (std::filesystem::exists(temp_snooz_log_)) { in DeleteSnoopLogFiles() 128 if (std::filesystem::exists(temp_snooz_log_last_)) { in DeleteSnoopLogFiles() 149 ASSERT_TRUE(std::filesystem::exists(temp_snoop_log_)); in TEST_F() 150 ASSERT_FALSE(std::filesystem::exists(temp_snoop_log_last_)); in TEST_F() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/ |
D | ResultStoreTest.java | 96 assertThat(mTestInterimResultDir.exists()).isTrue(); in testConstructor_shouldCreateResultsFolder() 97 assertThat(mTestMetricsReportDir.exists()).isTrue(); in testConstructor_shouldCreateResultsFolder() 98 assertThat(mTestErrorResultDir.exists()).isTrue(); in testConstructor_shouldCreateResultsFolder() 99 assertThat(mTestPublisherDataDir.exists()).isTrue(); in testConstructor_shouldCreateResultsFolder() 134 assertThat(staleTestFile1.exists()).isFalse(); in testFlushToDisk_shouldRemoveStaleData() 135 assertThat(staleTestFile2.exists()).isFalse(); in testFlushToDisk_shouldRemoveStaleData() 136 assertThat(activeTestFile3.exists()).isTrue(); in testFlushToDisk_shouldRemoveStaleData() 180 assertThat(fileFoo.exists()).isFalse(); in testPutInterimResultAndFlushToDisk_shouldWriteDirtyResultsOnly() 252 assertThat(new File(mTestMetricsReportDir, testFinalFileName).exists()).isFalse(); in testGetMetricsReports_whenDeleteFlagTrue_shouldDeleteData() 355 assertThat(new File(mTestMetricsReportDir, metricsConfigName).exists()).isTrue(); in testPutMetricsReportAndFlushToDisk_shouldWriteToDisk() [all …]
|
D | MetricsConfigStoreTest.java | 54 assertThat(mTestMetricsConfigDir.exists()).isTrue(); in setUp() 84 assertThat(new File(mTestMetricsConfigDir, NAME_BAR).exists()).isFalse(); in testAddMetricsConfig_whenInvalidVersion_shouldNotWriteToDisk() 94 assertThat(new File(mTestMetricsConfigDir, NAME_BAR).exists()).isFalse(); in testRemoveMetricsConfig_shouldDeleteConfigFromDisk() 125 assertThat(file.exists()).isTrue(); in writeConfigToDisk()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | SearchBot.java | 107 findSearchHistoryView().exists()); in assertSearchHistoryVisible() 111 findSearchHistoryView().exists()); in assertSearchHistoryVisible() 119 assertTrue(textField.exists()); in assertInputEquals() 127 assertTrue(textField.exists()); in assertInputFocused() 131 public void assertInputExists(boolean exists) in assertInputExists() argument 133 assertEquals(exists, findSearchViewTextField().exists()); in assertInputExists()
|
D | DirectoryListBot.java | 88 if (!findDocument(label).exists()) { in assertDocumentsPresent() 101 if (findDocument(label).exists()) { in assertDocumentsAbsent() 111 …public void assertDocumentsCountOnList(boolean exists, int count) throws UiObjectNotFoundException… in assertDocumentsCountOnList() argument 113 assertEquals(exists, docsList.exists()); in assertDocumentsCountOnList() 114 if(docsList.exists()) { in assertDocumentsCountOnList() 128 assertTrue(messageTextView.exists()); in assertHasMessage() 130 assertFalse(messageTextView.exists()); in assertHasMessage() 151 assertTrue(messageTextView.exists()); in assertPlaceholderMessageText() 288 if (!findDocument(label).exists()) { in hasDocuments()
|
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | DirectoryTests.java | 31 assertTrue(f.exists()); in testStatsActiveMetricDirectoryExists() 38 assertTrue(f.exists()); in testStatsDataDirectoryExists() 45 assertTrue(f.exists()); in testStatsMetadataDirectoryExists() 52 assertTrue(f.exists()); in testStatsServiceDirectoryExists() 59 assertTrue(f.exists()); in testTrainInfoDirectoryExists()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | IdleServiceTest.java | 127 assertFalse(exists(a)); in testPruneThumbnails() 128 assertFalse(exists(b)); in testPruneThumbnails() 129 assertTrue(exists(c)); in testPruneThumbnails() 130 assertFalse(exists(d)); in testPruneThumbnails() 141 assertFalse(exists(a)); in testPruneThumbnails() 142 assertFalse(exists(b)); in testPruneThumbnails() 143 assertFalse(exists(c)); in testPruneThumbnails() 144 assertFalse(exists(d)); in testPruneThumbnails() 301 assertFalse(exists(file)); in delete() 308 assertTrue(exists(file)); in touch() [all …]
|
/packages/modules/Bluetooth/system/gd/storage/ |
D | storage_module_test.cc | 112 ASSERT_FALSE(std::filesystem::exists(temp_config_)); in SetUp() 113 ASSERT_FALSE(std::filesystem::exists(temp_backup_config_)); in SetUp() 121 if (std::filesystem::exists(temp_config_)) { in DeleteConfigFiles() 124 if (std::filesystem::exists(temp_backup_config_)) { in DeleteConfigFiles() 144 ASSERT_TRUE(std::filesystem::exists(temp_config_)); in TEST_F() 228 ASSERT_TRUE(std::filesystem::exists(temp_config_)); in TEST_F() 283 ASSERT_TRUE(std::filesystem::exists(temp_config_)); in TEST_F()
|
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/util/ |
D | CommonUtilsTest.java | 41 assertThat(file.exists()).isFalse(); in deleteDirOrFile_file() 50 assertThat(dir.exists()).isFalse(); in deleteDirOrFile_Dir() 62 assertThat(dir.exists()).isTrue(); in deleteDirOrFile_unreadableDir() 76 assertThat(dir.exists()).isTrue(); in deleteDirOrFile_unreadableSubDir()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarLocationServiceTest.java | 241 assertThat(getLocationCacheFile().exists()).isFalse(); in testDoesNotLoadLocationWhenNoFileExists() 395 assertFalse(getLocationCacheFile().exists()); in testDoesNotStoreNullLocation() 413 assertTrue(getLocationCacheFile().exists()); in testDeletesCacheFileWhenLocationIsDisabled() 419 assertFalse(getLocationCacheFile().exists()); in testDeletesCacheFileWhenLocationIsDisabled() 434 assertTrue(getLocationCacheFile().exists()); in testDeletesCacheFileUponSuspendExitWhileMoving() 440 assertFalse(getLocationCacheFile().exists()); in testDeletesCacheFileUponSuspendExitWhileMoving() 477 assertTrue(getLocationCacheFile().exists()); in testDeletesCacheFileWhenDrivingStateBecomesMoving() 485 assertFalse(getLocationCacheFile().exists()); in testDeletesCacheFileWhenDrivingStateBecomesMoving()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | ModernMediaScannerTest.java | 430 if (!nomediaFile.getParentFile().exists()) { in assertVisibleFolder() 436 if (!nomediaFile.exists()) { in assertVisibleFolder() 439 .that(nomediaFile.exists()) in assertVisibleFolder() 484 if (!nomediaDir.exists()) { in testVisibleRootWithNoMediaDirectory() 487 if (!file.exists()) { in testVisibleRootWithNoMediaDirectory() 489 assertTrue(file.exists()); in testVisibleRootWithNoMediaDirectory() 998 assertThat(audio.exists()).isTrue(); in testScan_deleteStaleRowWithExpiredPendingFile() 1012 assertThat(audio.exists()).isFalse(); in testScan_deleteStaleRowWithExpiredPendingFile() 1040 assertThat(audio.exists()).isTrue(); in testScan_keepStaleRowWithNonExpiredPendingFile() 1054 assertThat(audio.exists()).isFalse(); in testScan_keepStaleRowWithNonExpiredPendingFile() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/util/ |
D | IoUtilsTest.java | 135 assertThat(stale1.exists()).isFalse(); in testDeleteStaleData() 136 assertThat(stale2.exists()).isFalse(); in testDeleteStaleData() 137 assertThat(active.exists()).isTrue(); in testDeleteStaleData() 151 .that(file.exists()).isTrue(); in writeBundleToFile()
|
/packages/modules/Bluetooth/android/pandora/test/ |
D | runner.py | 23 from genericpath import exists 50 if not pandora_apk_path.exists(): 82 if not PANDORA_CF_APK.exists() or args.build:
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ConfigDialogFragment.java | 62 public static void show(VpnSettings parent, VpnProfile profile, boolean edit, boolean exists) { in show() argument 68 args.putBoolean(ARG_EXISTS, exists); in show() 88 boolean exists = args.getBoolean(ARG_EXISTS); in onCreateDialog() 90 final Dialog dialog = new ConfigDialog(getActivity(), this, profile, editing, exists); in onCreateDialog()
|
/packages/modules/Bluetooth/system/tools/scripts/ |
D | dump_metrics_ascii.py | 31 if 'PROTOC' in os.environ and os.path.exists(os.environ['PROTOC']): 43 if not os.path.exists(proto_path): 47 if not os.path.exists(output_dir):
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallTime.java | 200 if (file.exists() == false) { in startTrace() 208 if (file.exists() == true) { in startTrace() 213 if (file.exists() == true) { in startTrace()
|
/packages/modules/Bluetooth/android/pandora/ |
D | gen_cov.py | 123 if temp_path.exists(): 221 if c.exists(): 250 if temp_path.exists(): 341 if (not trace_path.exists() or not trace_path.is_dir()):
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/ |
D | AtomicFileHelper.java | 37 public static boolean exists(AtomicFile file) { in exists() method in AtomicFileHelper 38 return file.exists(); in exists()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
D | DataExporter.java | 102 if (!directory.exists()) { in ensureOutputDirectory() 112 return getOutputDirectory(context).exists(); in dumpFileExists() 120 if (!file.exists()) return; in removeFileOrDirectory()
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/ |
D | TestExploreIntentChecker.java | 41 public void setViewHandlerExists(boolean exists) { in setViewHandlerExists() argument 42 mViewHandlerExists = exists; in setViewHandlerExists()
|
/packages/services/BuiltInPrintService/src/com/android/bips/util/ |
D | FileUtils.java | 59 Log.d(TAG, "Testing file " + dir + " exists=" + dir.exists() in makeDirectory() 62 if (dir.exists()) { in makeDirectory()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | MigrateSystemAppsSnapshotTaskTest.java | 116 assertFalse(SystemAppsSnapshot.getFolder(mContext).exists()); in testRun_nothingToMigrate() 182 assertFalse(legacyFolder.exists()); in assertFilesAreMigrated() 183 assertTrue(newFolder.exists()); in assertFilesAreMigrated()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/bluetoothKeystore/ |
D | BluetoothKeystoreServiceTest.java | 289 Assert.assertFalse(Files.exists(Paths.get(CONFIG_CHECKSUM_ENCRYPTION_PATH))); in testParserFileAfterDisableCommonCriteriaMode() 290 Assert.assertFalse(Files.exists(Paths.get(CONFIG_FILE_ENCRYPTION_PATH))); in testParserFileAfterDisableCommonCriteriaMode() 291 Assert.assertFalse(Files.exists(Paths.get(CONFIG_BACKUP_ENCRYPTION_PATH))); in testParserFileAfterDisableCommonCriteriaMode()
|
/packages/modules/Bluetooth/system/blueberry/tests/pbap/ |
D | bluetooth_pbap_test.py | 95 if not self.pri_phone.aud(text=file_name).exists(): 105 if self.pri_phone.aud(content_desc='Grid view').exists(): 383 text=f'Incoming call via HFP {hfp_address}').exists(): 389 self.derived_bt_device.aud(text=full_name).exists(),
|
/packages/modules/Bluetooth/tools/rootcanal/lmp/ |
D | build.rs | 25 if Path::new(packets_prebuilt.as_os_str()).exists() { in main() 47 if !Path::new(packetgen.as_os_str()).exists() { in generate_packets()
|