/test/vts-testcase/kernel/gki/ |
D | ramdisk_utils.cpp | 25 using android::base::ErrnoError; 26 using android::base::Error; 27 using android::base::ReadFullyAtOffset; 28 using android::base::WriteStringToFd; 35 android::base::Result<std::unique_ptr<TemporaryFile>> ExtractRamdiskRaw( in ExtractRamdiskRaw() 37 android::base::unique_fd bootimg( in ExtractRamdiskRaw() 69 android::base::Result<std::unique_ptr<TemporaryDir>> ExtractRamdiskToDirectory( in ExtractRamdiskToDirectory()
|
D | lz4_legacy.cpp | 30 using android::base::ErrnoError; 31 using android::base::Error; 32 using android::base::ReadFully; 33 using android::base::unique_fd; 34 using android::base::WriteFully; 39 android::base::Result<void> Lz4DecompressLegacy(const char* input, in Lz4DecompressLegacy()
|
D | cpio.cpp | 27 using android::base::ErrnoError; 28 using android::base::Error; 29 using android::base::Join; 46 android::base::Result<void> Exec(std::vector<std::string>* args, in Exec() 80 android::base::Result<std::unique_ptr<TemporaryDir>> CpioExtract( in CpioExtract()
|
D | generic_boot_image_test.cpp | 28 using android::base::GetBoolProperty; 29 using android::base::GetProperty;
|
/test/vts-testcase/hal/treble/vintf/libvts_vintf_test_common/ |
D | common.cpp | 51 android::base::Result<void> TestTargetFcmVersion(Level shipping_fcm_version, in TestTargetFcmVersion() 54 return android::base::Error() in TestTargetFcmVersion() 66 return android::base::Error() << "Pre-N devices should not run this test."; in TestTargetFcmVersion() 71 return android::base::Error() in TestTargetFcmVersion() 78 return android::base::Error() in TestTargetFcmVersion()
|
/test/vts-testcase/kernel/virtual_ab/ |
D | metadata_test.cpp | 44 << android::base::StringPrintf(message_fmt, "check"); in TEST() 46 << android::base::StringPrintf(message_fmt, "formattable"); in TEST() 48 << android::base::StringPrintf(message_fmt, "first_stage_mount"); in TEST() 50 << android::base::StringPrintf(message_fmt, "wait"); in TEST()
|
/test/vts/drivers/hal/libcodecoverage/ |
D | GcdaFile.cpp | 56 void GcdaFile::Sync(unsigned base, unsigned length) { in Sync() argument 59 base += length; in Sync() 60 if (base - gcov_var_.start <= gcov_var_.length) { in Sync() 61 gcov_var_.offset = base - gcov_var_.start; in Sync() 64 fseek(gcov_var_.file, base << 2, SEEK_SET); in Sync()
|
D | GcdaParser.cpp | 57 unsigned base; in ParseBody() local 73 base = gcda_file_->Position(); in ParseBody() 107 gcda_file_->Sync(base, length); in ParseBody()
|
/test/vts-testcase/security/avb/ |
D | VtsSecurityAvbTest.cpp | 46 using android::base::Error; 47 using android::base::Result; 286 return android::base::StringPrintf( in VerifyHashtree() 329 return android::base::StringPrintf( in VerifyHashtree() 347 return android::base::StringPrintf( in VerifyHashtree() 393 if (android::base::ReadFileToString(path, &allowed_key_blob)) { in ValidatePublicKeyBlob() 488 int level = android::base::GetIntProperty("ro.product.first_api_level", 0); in GetFirstApiLevel() 490 level = android::base::GetIntProperty("ro.build.version.sdk", 0); in GetFirstApiLevel() 628 android::base::unique_fd fd(open(boot_path.c_str(), O_RDONLY)); in TEST() 646 ASSERT_TRUE(android::base::ReadFully(fd, boot_partition_vector.data(), in TEST() [all …]
|
/test/vti/test_serving/gae/webapp/src/ |
D | webapp_main.py | 22 from webapp.src.handlers import base 30 class RedirectHandler(base.BaseHandler): 37 class MainPage(base.BaseHandler):
|
/test/vts-testcase/kernel/api/bpf_native_test/ |
D | BpfTest.cpp | 43 using android::base::unique_fd; 58 android::base::unique_fd mapfd(createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), in TEST() 103 std::string address = android::base::StringPrintf("::1"); in workerThread() 112 << android::base::StringPrintf("%s\n", strerror(errno)); in workerThread() 116 std::string id = android::base::StringPrintf("msg: %" PRIu64 "\n", j); in workerThread()
|
/test/catbox/tools/catbox-tradefed/tests/src/com/android/compatibility/tradefed/ |
D | CatBoxTradefedTest.java | 37 File base = new File(root, "android-catbox"); in testSuiteInfoLoad() local 38 base.mkdirs(); in testSuiteInfoLoad() 39 File tests = new File(base, "testcases"); in testSuiteInfoLoad()
|
/test/mts/tools/mts-tradefed/tests/src/com/android/compatibility/tradefed/ |
D | MtsTradefedTest.java | 46 File base = new File(root, "android-mts"); in testSuiteInfoLoad() local 47 base.mkdirs(); in testSuiteInfoLoad() 48 File tests = new File(base, "testcases"); in testSuiteInfoLoad()
|
/test/cts-root/tools/cts-root-tradefed/tests/src/com/android/compatibility/tradefed/ |
D | CtsRootTradefedTest.java | 46 File base = new File(root, "android-cts-root"); in testSuiteInfoLoad() local 47 base.mkdirs(); in testSuiteInfoLoad() 48 File tests = new File(base, "testcases"); in testSuiteInfoLoad()
|
/test/vts-testcase/kernel/encryption/ |
D | file_based_encryption_tests.cpp | 165 android::base::unique_fd fd( in IsFscryptV2Supported() 261 android::base::unique_fd blk_fd( in ReadRawDataOfFile() 314 android::base::unique_fd fd( in WriteTestFile() 320 if (!android::base::WriteFully(fd, plaintext.data(), plaintext.size())) { in WriteTestFile() 397 android::base::unique_fd mntfd( in TearDown() 429 android::base::unique_fd mntfd( in SetMasterKey() 520 android::base::unique_fd dirfd( in SetEncryptionPolicy() 540 android::base::unique_fd fd( in SetEncryptionPolicy() 579 android::base::unique_fd fd(open(kTestFile, O_RDONLY | O_CLOEXEC)); in GenerateTestFile() 858 path = android::base::StringPrintf("%s/file%d", kTestDir, i); in TestEmmcOptimizedDunWraparound() [all …]
|
/test/vts/tools/vts-core-tradefed/tests/src/com/android/compatibility/tradefed/ |
D | VtsCoreTradefedTest.java | 60 File base = new File(root, "android-vts"); in testSuiteInfoLoad() local 61 base.mkdirs(); in testSuiteInfoLoad() 62 File tests = new File(base, "testcases"); in testSuiteInfoLoad()
|
/test/vts-testcase/hal/treble/vintf/ |
D | VtsTrebleVintfTestBase.cpp | 61 using android::hidl::base::V1_0::IBase; 170 sp<IBase> base = future.get(); in GetHalService() local 171 if (base == nullptr) return nullptr; in GetHalService() 174 if (base->isRemote() != wantRemote) return nullptr; in GetHalService() 176 return base; in GetHalService()
|
/test/vts-testcase/fuzz/iface_fuzzer/ |
D | ProtoFuzzerStaticParams.cpp | 28 using android::base::GetExecutableDirectory; 29 using android::base::Join; 30 using android::base::Split;
|
/test/vts-testcase/kernel/zram/ |
D | ZramTest.cpp | 25 using android::base::ParseInt; 26 using android::base::Split;
|
/test/vts-testcase/kernel/api/tun/ |
D | vts_kernel_tun_test.cpp | 33 using android::base::StringPrintf; 34 using android::base::unique_fd;
|
/test/vts-testcase/kernel/toolchain/ |
D | vts_kernel_toolchain.cpp | 36 : arch_(android::base::GetProperty("ro.bionic.arch", "")), in KernelVersionTest() 38 android::base::GetProperty("ro.product.first_api_level", "0"))), in KernelVersionTest()
|
/test/mlts/benchmark/results/ |
D | generate_result.py | 302 base = [float(x) * 100.0 for x in baseline.evaluator_values] 303 diff = [a - b for a, b in zip(val, base)] 324 base = [float(x) for x in 326 diff = [a - b for a, b in zip(val, base)] 346 base = [float(x) for x in 348 diff = [a - b for a, b in zip(val, base)]
|
/test/app_compat/csuite/harness/src/main/java/com/android/csuite/config/ |
D | AppRemoteFileResolver.java | 29 import com.google.common.base.Preconditions; 30 import com.google.common.base.Stopwatch; 31 import com.google.common.base.Strings;
|
/test/mlts/benchmark/ |
D | Android.mk | 21 LOCAL_JAVA_LIBRARIES := android.test.runner.stubs android.test.base.stubs 47 LOCAL_JAVA_LIBRARIES := android.test.runner.stubs android.test.base.stubs
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | ShowCoverageOverviewServlet.java | 36 import com.google.visualization.datasource.base.DataSourceException; 37 import com.google.visualization.datasource.base.ReasonType; 38 import com.google.visualization.datasource.base.ResponseStatus; 39 import com.google.visualization.datasource.base.StatusType; 40 import com.google.visualization.datasource.base.TypeMismatchException;
|