/test/dittosuite/src/ |
D | instruction.cpp | 24 Instruction::Instruction(const std::string& name, const Params& params) in Instruction() argument 26 syscall_(params.syscall_), in Instruction() 27 repeat_(params.repeat_), in Instruction() 28 period_us_(params.period_us_), in Instruction() 29 offset_us_(params.offset_us_), in Instruction() 50 void Instruction::RunSynchronized(pthread_barrier_t* barrier, const MultithreadingParams& params) { in RunSynchronized() argument 51 int ret = pthread_setname_np(pthread_self(), params.name_.c_str()); in RunSynchronized() 54 LOGF("Name too long for thread, max 15 chars allowed: " + params.name_); in RunSynchronized() 60 if (params.sched_attr_.IsSet()) { in RunSynchronized() 61 params.sched_attr_.Set(); in RunSynchronized() [all …]
|
D | cpu_work.cpp | 21 CpuWork::CpuWork(const std::string& name, const Params& params) : Instruction(name, params) {} in CpuWork() argument 23 CpuWorkUtilization::CpuWorkUtilization(const Params& params, double utilization) in CpuWorkUtilization() argument 24 : CpuWork(kName, params), utilization_(utilization) { in CpuWorkUtilization() 28 if (params.period_us_ <= 0) { in CpuWorkUtilization() 50 CpuWorkCycles::CpuWorkCycles(const Params& params, uint64_t cycles) in CpuWorkCycles() argument 51 : CpuWork(kName, params), cycles_(cycles) {} in CpuWorkCycles()
|
D | delete_file.cpp | 22 DeleteFile::DeleteFile(const Params& params, const std::string& path_name) in DeleteFile() argument 23 : Instruction(kName, params), path_name_(GetAbsolutePath() + path_name), input_key_(-1) {} in DeleteFile() 25 DeleteFile::DeleteFile(const Params& params, int input_key) in DeleteFile() argument 26 : Instruction(kName, params), input_key_(input_key) {} in DeleteFile()
|
D | open_file.cpp | 23 OpenFile::OpenFile(const Params& params, const std::string& path_name, bool create, bool direct_io, in OpenFile() argument 25 : Instruction(kName, params), in OpenFile() 34 OpenFile::OpenFile(const Params& params, int input_key, bool create, bool direct_io, in OpenFile() argument 36 : Instruction(kName, params), in OpenFile() 44 OpenFile::OpenFile(const Params& params, bool create, bool direct_io, int output_fd_key, in OpenFile() argument 46 : Instruction(kName, params), in OpenFile()
|
D | resize_file.cpp | 24 ResizeFile::ResizeFile(const Params& params, int64_t size, int input_fd_key) in ResizeFile() argument 25 : Instruction(kName, params), size_(size), input_fd_key_(input_fd_key) {} in ResizeFile() 42 ResizeFileRandom::ResizeFileRandom(const Params& params, int64_t min, int64_t max, uint64_t seed, in ResizeFileRandom() argument 44 : ResizeFile(params, -1, input_fd_key), in ResizeFileRandom()
|
D | binder_request.cpp | 26 BinderRequest::BinderRequest(const std::string& kName, const Params& params, in BinderRequest() argument 28 : Instruction(kName, params), service_name_(service_name) {} in BinderRequest() 30 BinderRequestDitto::BinderRequestDitto(const Params& params, const std::string& service_name) in BinderRequestDitto() argument 31 : BinderRequest(kName, params, service_name) {} in BinderRequestDitto() 58 BinderRequestMountService::BinderRequestMountService(const Params& params) in BinderRequestMountService() argument 59 : BinderRequest(kName, params, "mount") {} in BinderRequestMountService() 76 GenericBinderRequest::GenericBinderRequest(const Params& params, in GenericBinderRequest() argument 80 : BinderRequest(kName, params, service_name), parcel_input_(parcel_input), in GenericBinderRequest()
|
D | read_write_file.cpp | 24 ReadWriteFile::ReadWriteFile(const std::string& name, const Params& params, int64_t size, in ReadWriteFile() argument 27 : Instruction(name, params), in ReadWriteFile() 114 WriteFile::WriteFile(const Params& params, int64_t size, int64_t block_size, in WriteFile() argument 117 : ReadWriteFile(kName, params, size, block_size, starting_offset, access_order, seed, reseeding, in WriteFile() 135 ReadFile::ReadFile(const Params& params, int64_t size, int64_t block_size, int64_t starting_offset, in ReadFile() argument 138 : ReadWriteFile(kName, params, size, block_size, starting_offset, access_order, seed, reseeding, in ReadFile()
|
D | close_file.cpp | 22 CloseFile::CloseFile(const Params& params, int input_fd_key) in CloseFile() argument 23 : Instruction(kName, params), input_fd_key_(input_fd_key) {} in CloseFile()
|
D | invalidate_cache.cpp | 21 InvalidateCache::InvalidateCache(const Params& params) : Instruction(kName, params) {} in InvalidateCache() argument
|
D | instruction_set.cpp | 31 InstructionSet::InstructionSet(const Params& params, in InstructionSet() argument 34 : Instruction(kName, params), in InstructionSet() 43 InstructionSet::InstructionSet(const Params& params, in InstructionSet() argument 45 : Instruction(kName, params), in InstructionSet()
|
D | read_directory.cpp | 23 ReadDirectory::ReadDirectory(const Params& params, const std::string& directory_name, in ReadDirectory() argument 25 : Instruction(kName, params), in ReadDirectory()
|
D | binder_service.cpp | 32 BinderService::BinderService(const Params& params, const std::string& name, int64_t threads) in BinderService() argument 33 : Instruction(kName, params), threads_(threads), name_(name) { in BinderService()
|
D | memory_allocation.cpp | 48 MemoryAllocation::MemoryAllocation(const Params& params, const uint64_t size, in MemoryAllocation() argument 50 : Instruction(kName, params), size_(size), free_policy_(free_policy) {} in MemoryAllocation()
|
D | multithreading.cpp | 19 Multithreading::Multithreading(const Instruction::Params& params, in Multithreading() argument 22 : Instruction(kName, params), in Multithreading()
|
/test/app_compat/csuite/tools/csuite_test/ |
D | csuite_test_test.go | 201 params := ctx.ModuleForTests("plan_name", config.BuildOS.String()+"_common").Rule("CSuite") 202 …assertFileCopyRuleExists(t, params, "config_template.xml", "config/plan_name/config_template.xml.t… 214 params := ctx.ModuleForTests("plan_name", config.BuildOS.String()+"_common").Rule("CSuite") 215 assertFileCopyRuleExists(t, params, "config_template.xml", "config/plan_name/extra.xml.template") 243 params := ctx.ModuleForTests("plan_name", config.BuildOS.String()+"_common").Rule("CSuite") 244 assertFileCopyRuleExists(t, params, "include.xml", "config/includes/plan_name.xml") 258 func assertFileCopyRuleExists(t *testing.T, params android.TestingBuildParams, src string, dst stri… 259 assertPathsContains(t, getAllInputPaths(params), src) 260 assertWritablePathsContainsRel(t, getAllOutputPaths(params), dst) 261 if !strings.HasPrefix(params.RuleParams.Command, "cp") { [all …]
|
/test/dittosuite/include/ditto/ |
D | cpu_work.h | 25 explicit CpuWork(const std::string &name, const Params& params); 35 explicit CpuWorkCycles(const Params& params, uint64_t cycles); 47 explicit CpuWorkUtilization(const Params& params, double utilization);
|
D | open_file.h | 29 explicit OpenFile(const Params& params, const std::string& path_name, bool create, bool direct_io, 31 explicit OpenFile(const Params& params, int input_key, bool create, bool direct_io, 33 explicit OpenFile(const Params& params, bool create, bool direct_io, int output_fd_key,
|
D | binder_request.h | 32 explicit BinderRequest(const std::string& kName, const Params& params, 47 explicit BinderRequestDitto(const Params& params, const std::string& service_name); 63 explicit BinderRequestMountService(const Params& params); 78 explicit GenericBinderRequest(const Params& params,
|
D | delete_file.h | 27 explicit DeleteFile(const Params& params, const std::string& path_name); 28 explicit DeleteFile(const Params& params, int input_key);
|
D | instruction.h | 47 explicit Instruction(const std::string& name, const Params& params); 52 void RunSynchronized(pthread_barrier_t* barrier, const MultithreadingParams& params); 53 std::thread SpawnThread(pthread_barrier_t* barrier, const MultithreadingParams& params);
|
D | read_write_file.h | 30 explicit ReadWriteFile(const std::string& name, const Params& params, int64_t size, 68 explicit WriteFile(const Params& params, int64_t size, int64_t block_size, 82 explicit ReadFile(const Params& params, int64_t size, int64_t block_size, int64_t starting_offset,
|
D | resize_file.h | 28 explicit ResizeFile(const Params& params, int64_t size, int input_fd_key); 39 explicit ResizeFileRandom(const Params& params, int64_t min, int64_t max, uint64_t seed,
|
D | instruction_set.h | 30 explicit InstructionSet(const Params& params, 33 explicit InstructionSet(const Params& params,
|
D | invalidate_cache.h | 25 explicit InvalidateCache(const Params& params);
|
D | close_file.h | 25 explicit CloseFile(const Params& params, int input_fd_key);
|