/system/timezone/distro/core/src/test/com/android/timezone/distro/ |
D | FileUtilsTest.java | 94 assertTrue(FileUtils.isSymlink(symlinkToDir)); in testIsSymlink() 95 assertTrue(FileUtils.isSymlink(symlinkToFile)); in testIsSymlink() 96 assertTrue(FileUtils.isSymlink(symlinkToFileInSubDir)); in testIsSymlink() 132 assertTrue(exists.mkdir()); in testEnsureDirectoryExists() 133 assertTrue(exists.setReadable(true /* readable */, true /* ownerOnly */)); in testEnsureDirectoryExists() 134 assertTrue(exists.setExecutable(true /* readable */, true /* ownerOnly */)); in testEnsureDirectoryExists() 157 assertTrue(unreadableSubDir.mkdir()); in testEnsureDirectoriesExist_noPermissions() 158 assertTrue(unreadableSubDir.setReadable(false /* readable */, true /* ownerOnly */)); in testEnsureDirectoriesExist_noPermissions() 159 assertTrue(unreadableSubDir.setExecutable(false /* readable */, true /* ownerOnly */)); in testEnsureDirectoriesExist_noPermissions() 178 assertTrue(exists1.exists()); in testEnsureFileDoesNotExist() [all …]
|
/system/extras/simpleperf/scripts/test/ |
D | debug_unwind_reporter_test.py | 32 self.assertTrue('__start_thread' in output) 36 self.assertTrue('Error Code' in output) 44 self.assertTrue('sample_time: 626970513562864' in output) 52 self.assertTrue('sample_time: 626968109563718' in output) 60 self.assertTrue('sample_time: 626970513562864' in output) 68 self.assertTrue('sample_time: 626970513562864' in output)
|
D | binary_cache_builder_test.py | 48 self.assertTrue(filecmp.cmp(target_file, source_file)) 53 self.assertTrue(filecmp.cmp(target_file, source_file)) 58 self.assertTrue(filecmp.cmp(target_file, source_file)) 67 self.assertTrue(filecmp.cmp(target_file, source_file)) 69 self.assertTrue(filecmp.cmp(target_file, source_file)) 91 self.assertTrue(elf_path.is_file()) 102 self.assertTrue(elf_path.is_file()) 106 self.assertTrue(build_id_list_path.is_file())
|
D | report_lib_test.py | 43 self.assertTrue(found_func2) 60 self.assertTrue(found_sample) 65 self.assertTrue("simpleperf_version" in meta_info) 69 self.assertTrue("product_props" in meta_info) 76 self.assertTrue('sched:sched_switch' in event_names) 77 self.assertTrue('cpu-cycles' in event_names) 125 self.assertTrue(has_art_frame(report_lib)) 164 self.assertTrue(has_jit_cache) 180 self.assertTrue(has_tracing_data) 196 self.assertTrue(has_dynamic_field)
|
D | app_profiler_test.py | 96 self.assertTrue(build_id in downloader.device_build_id_map) 98 self.assertTrue(self.list_lib_on_device(downloader.dir_on_device + name)) 100 self.assertTrue(build_id not in downloader.device_build_id_map) 131 self.assertTrue(target_file_stat)
|
/system/extras/tests/bootloader/ |
D | haltest.py | 50 self.assertTrue(self.bootctl.set_active_boot_slot(slot)) 52 self.assertTrue(self.bootctl.mark_boot_successful()) 53 self.assertTrue(self.bootctl.is_slot_marked_successful(slot)) 58 self.assertTrue(self.bootctl.is_slot_marked_successful(slot)) 73 self.assertTrue(self.bootctl.set_active_boot_slot(new_slot)) 97 self.assertTrue(self.bootctl.set_active_boot_slot(new_slot)) 98 self.assertTrue(self.bootctl.is_slot_bootable(new_slot)) 99 self.assertTrue(self.bootctl.set_slot_as_unbootable_slot(new_slot)) 107 self.assertTrue(self.bootctl.set_active_boot_slot(new_slot)) 108 self.assertTrue(self.bootctl.is_slot_bootable(new_slot))
|
/system/tools/aidl/tests/java/src/android/aidl/tests/ |
D | UnionTests.java | 22 import static org.junit.Assert.assertTrue; 82 assertTrue((u.describeContents() & Parcelable.CONTENTS_FILE_DESCRIPTOR) == 0); in unionDescribeContents() 90 assertTrue((u.describeContents() & Parcelable.CONTENTS_FILE_DESCRIPTOR) != 0); in unionDescribeContents() 97 assertTrue((v.describeContents() & Parcelable.CONTENTS_FILE_DESCRIPTOR) != 0); in unionDescribeContents() 103 assertTrue(a.equals(b)); in shouldBeTheSame() 104 assertTrue(b.equals(a)); in shouldBeTheSame() 105 assertTrue(a.equals(a)); in shouldBeTheSame() 106 assertTrue(b.equals(b)); in shouldBeTheSame() 107 assertTrue(a.hashCode() == b.hashCode()); in shouldBeTheSame()
|
D | VintfTests.java | 24 import static org.junit.Assert.assertTrue; 55 assertTrue(hasException); in cantAddVintfService()
|
/system/timezone/input_tools/android/common/src/test/java/com/android/libcore/timezone/util/ |
D | ErrorsTest.java | 22 import static org.junit.Assert.assertTrue; 33 assertTrue(errors.isEmpty()); in warnings() 48 assertTrue(errors.isEmpty()); in error() 54 assertTrue(errors.hasError()); in error() 63 assertTrue(errors.isEmpty()); in fatal() 72 assertTrue(errors.hasError()); in fatal() 73 assertTrue(errors.hasFatal()); in fatal()
|
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/ |
D | TreeNodeTest.java | 30 import static org.junit.Assert.assertTrue; 60 assertTrue(testTreeNode.getChildren().isEmpty()); in testTreeNode_single() 62 assertTrue(testTreeNode.isRoot()); in testTreeNode_single() 63 assertTrue(testTreeNode.isLeaf()); in testTreeNode_single() 92 assertTrue(node1.isRoot()); in testTreeNode_many() 97 assertTrue(node111.isLeaf()); in testTreeNode_many() 109 assertTrue(node11.isRoot()); in testTreeNode_many()
|
D | CountryZoneUsageTest.java | 26 import static org.junit.Assert.assertTrue; 55 assertTrue(countryZoneUsage.hasEntry(usZoneId1)); in testWithEntry() 62 assertTrue(countryZoneUsage.hasEntry(usZoneId2)); in testWithEntry()
|
D | CountryZoneTreeTest.java | 30 import static org.junit.Assert.assertTrue; 53 assertTrue(zoneTree.validateNoPriorityClashes().isEmpty()); in testSimpleCountry() 103 assertTrue(zoneTree.validateNoPriorityClashes().isEmpty()); in testCountryWithPriority() 152 assertTrue(zoneTree.validateNoPriorityClashes().isEmpty()); in australiaTreeTest()
|
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/ |
D | UtilsTest.java | 33 import static org.junit.Assert.assertTrue; 57 assertTrue(Utils.allLowerCaseAscii(list("one", "a", "z"))); in allLowerCaseAscii() 117 assertTrue(Utils.allUnique(list())); in allUnique() 118 assertTrue(Utils.allUnique(list("One"))); in allUnique() 119 assertTrue(Utils.allUnique(list("One", "Two"))); in allUnique() 125 assertTrue(Utils.setEquals(list("One", "Two"), list("Two", "One"))); in setEquals() 127 assertTrue(Utils.setEquals(list("One", "One", "Two"), list("Two", "One"))); in setEquals()
|
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/ |
D | TimeZoneDistroInstallerTest.java | 89 assertTrue(dir.delete()); in createUniqueDirectory() 90 assertTrue(dir.mkdir()); in createUniqueDirectory() 96 assertTrue(dir.mkdir()); in createSubDirectory() 347 assertTrue(workingDir.mkdir()); in testStageInstallWithErrorCode_withWorkingDir() 460 assertTrue(stagedDataDir.mkdir()); in testStageUninstall_existingInstalledDataDistro() 475 assertTrue(stagedDataDir.mkdir()); in testStageUninstall_existingStagedInstall() 499 assertTrue(stagedDataDir.mkdir()); in testStageUninstall_existingStagedUninstall() 525 assertTrue(oldStagedDataDir.mkdir()); in testStageUninstall_oldDirsAlreadyExists() 528 assertTrue(workingDir.mkdir()); in testStageUninstall_oldDirsAlreadyExists() 662 assertTrue(testInstallDir.exists()); in assertInstallDistroStaged() [all …]
|
/system/update_engine/scripts/ |
D | paycheck_unittest.py | 87 self.assertTrue(filecmp.cmp(self._kernel_part, self._new_kernel)) 88 self.assertTrue(filecmp.cmp(self._root_part, self._new_root)) 101 self.assertTrue(filecmp.cmp(self._kernel_part, self._new_kernel)) 102 self.assertTrue(filecmp.cmp(self._root_part, self._new_root))
|
/system/chre/java/test/utils/src/com/google/android/utils/chre/ |
D | SettingsUtil.java | 59 Assert.assertTrue(mLocationManager != null); in SettingsUtil() 70 Assert.assertTrue(isWifiScanningAlwaysEnabled() == enable); in setWifiScanningSettings() 80 Assert.assertTrue(isWifiEnabled() == enable); in setWifi() 124 Assert.assertTrue(isLocationEnabled() == enable); in setLocationMode()
|
/system/apex/tests/src/com/android/tests/apex/ |
D | MediaHostTest.java | 20 import static org.junit.Assert.assertTrue; 65 assertTrue("Plugin path does not start with " + MEDIA_APEX_PATH in checkMediaExtractor() 71 assertTrue("Failed to find enough plug-ins. expected: " + DEFAULT_EXTRACTOR_PLUGIN_COUNT in checkMediaExtractor()
|
D | MediaSwCodecHostTest.java | 20 import static org.junit.Assert.assertTrue; 65 assertTrue("Failed to load software codecs. ", codecCount > 0); in checkCodecs()
|
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/ |
D | ContextHubGeneralTestExecutor.java | 201 Assert.assertTrue(mContextHubClient != null); in init() 233 Assert.assertTrue("Test timed out", success); in run() 247 Assert.assertTrue("deinit() must be invoked after init()", mInitialized); in deinit() 287 assertTrue(errorMessage, false /* condition */); in fail() 306 protected void assertTrue(String errorMessage, boolean condition) { in assertTrue() method in ContextHubGeneralTestExecutor 308 Assert.assertTrue(errorMessage, condition); in assertTrue() 319 assertTrue(errorMessage, !condition); in assertFalse()
|
D | ContextHubGetTimeTestExecutor.java | 107 assertTrue("Subsequent timestamps did not monotonically increase", in handleMessageFromNanoApp() 109 assertTrue("Expected timestamp difference around " + SLEEP_DURATION_NS in handleMessageFromNanoApp()
|
/system/chre/java/test/settings/src/com/google/android/chre/test/setting/ |
D | ContextHubSettingsTestExecutor.java | 77 Assert.assertTrue(mContextHubManager != null); in ContextHubSettingsTestExecutor() 80 Assert.assertTrue(info.size() > 0); in ContextHubSettingsTestExecutor() 84 Assert.assertTrue(mContextHubClient != null); in ContextHubSettingsTestExecutor() 165 Assert.assertTrue( in setupTestAssertSuccess() 210 Assert.assertTrue("deinit() must be invoked after init()", mInitialized); in deinit()
|
/system/timezone/apex/tests/src/java/android/tzdata/mts/ |
D | TimeZoneRulesTest.java | 20 import static org.junit.Assert.assertTrue; 53 assertTrue(tz.inDaylightTime(new Date(firstTransitionTimeMillis))); in preHistoricInDaylightTime() 233 assertTrue(timeZone.useDaylightTime()); in dstMeansSummer() 236 assertTrue(timeZone.inDaylightTime(new Date(summerTimeMillis))); in dstMeansSummer() 253 assertTrue(timeZone.useDaylightTime()); in dstMeansSummer() 256 assertTrue(timeZone.inDaylightTime(new Date(summerTimeMillis))); in dstMeansSummer() 341 assertTrue("Non-ICU available IDs: " + nonIcuAvailableIds in checkZoneIdsAreKnownToIcu()
|
/system/chre/java/test/audio_concurrency/src/com/google/android/chre/test/audioconcurrency/ |
D | ContextHubAudioConcurrencyTestExecutor.java | 79 Assert.assertTrue(mContextHubClient != null); in ContextHubAudioConcurrencyTestExecutor() 142 Assert.assertTrue("Failed to enable CHRE audio", in run() 168 Assert.assertTrue("deinit() must be invoked after init()", mInitialized); in deinit() 189 Assert.assertTrue("AudioRecord could not be initialized.", in recordAudio()
|
/system/core/fs_mgr/tests/src/com/android/tests/vendoroverlay/ |
D | VendorOverlayHostTest.java | 100 Assert.assertTrue("test file was not overlaid onto /vendor/", cmdSucceeded(result)); in testVendorOverlay() 102 Assert.assertTrue("noexist dir shouldn't exist on /vendor", cmdSucceeded(result)); in testVendorOverlay() 104 Assert.assertTrue("diffcontext dir shouldn't exist on /vendor", cmdSucceeded(result)); in testVendorOverlay()
|
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/ |
D | ChreCrossValidatorWifi.java | 91 Assert.assertTrue("Nanoapp given to cross validator is not the designated chre cross" in ChreCrossValidatorWifi() 132 Assert.assertTrue("Wifi manager start scan failed", mWifiManager.startScan()); in validate() 184 Assert.assertTrue("Timed out while waiting for step result in " + getCurrentStepName() in waitForMessageFromNanoapp() 207 Assert.assertTrue("AP wifi scan result failed asynchronously", mApWifiScanSuccess.get()); in waitForApScanResults() 212 Assert.assertTrue("No wifi scan results returned from AP", !results.isEmpty()); in sendWifiScanResultsToChre() 313 Assert.assertTrue( in bssidToBytes()
|