Lines Matching refs:SysInfo
19 EXPECT_GT(base::SysInfo::MaxSharedMemorySize(), 0u);
25 EXPECT_GE(base::SysInfo::NumberOfProcessors(), 1);
30 EXPECT_GT(base::SysInfo::AmountOfPhysicalMemory(), 0);
31 EXPECT_GT(base::SysInfo::AmountOfPhysicalMemoryMB(), 0);
38 EXPECT_GT(base::SysInfo::AmountOfFreeDiskSpace(tmp_path), 0)
47 base::SysInfo::OperatingSystemVersionNumbers(&os_major_version,
57 int64 up_time_1 = base::SysInfo::Uptime();
61 int64 up_time_2 = base::SysInfo::Uptime();
75 base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time());
76 base::SysInfo::OperatingSystemVersionNumbers(&os_major_version,
91 base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time());
92 base::SysInfo::OperatingSystemVersionNumbers(&os_major_version,
105 base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time());
106 base::SysInfo::OperatingSystemVersionNumbers(&os_major_version,
118 base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, lsb_release_time);
119 base::Time parsed_lsb_release_time = base::SysInfo::GetLsbReleaseTime();
125 base::SysInfo::SetChromeOSVersionInfoForTest("", base::Time());
126 EXPECT_FALSE(base::SysInfo::IsRunningOnChromeOS());
131 base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease1, base::Time());
132 EXPECT_FALSE(base::SysInfo::IsRunningOnChromeOS());
137 base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease2, base::Time());
138 EXPECT_TRUE(base::SysInfo::IsRunningOnChromeOS());
142 base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease3, base::Time());
143 EXPECT_TRUE(base::SysInfo::IsRunningOnChromeOS());