Home
last modified time | relevance | path

Searched refs:jobList (Results 1 - 4 of 4) sorted by relevance

/base/print/print_fwk/test/unittest/fwk_print_service_ability_test/
H A Dprint_service_ability_test.cpp1891 std::map<std::string, std::shared_ptr<PrintJob>> jobList; in HWTEST_F() local
1895 jobList.insert(std::make_pair("test", job)); in HWTEST_F()
1896 EXPECT_EQ(service->DetermineUserJobStatus(jobList), PRINT_JOB_BLOCKED); in HWTEST_F()
1903 std::map<std::string, std::shared_ptr<PrintJob>> jobList; in HWTEST_F() local
1907 jobList.insert(std::make_pair("test", job)); in HWTEST_F()
1908 EXPECT_EQ(service->DetermineUserJobStatus(jobList), PRINT_JOB_COMPLETED); in HWTEST_F()
1915 std::map<std::string, std::shared_ptr<PrintJob>> jobList; in HWTEST_F() local
1919 jobList.insert(std::make_pair("test", job)); in HWTEST_F()
1920 EXPECT_EQ(service->DetermineUserJobStatus(jobList), PRINT_JOB_RUNNING); in HWTEST_F()
/base/print/print_fwk/test/fuzztest/printserviceability_fuzzer/
H A Dprintserviceability_fuzzer.cpp724 std::map<std::string, std::shared_ptr<PrintJob>> jobList; in TestDetermineUserJobStatus() local
725 jobList[jobId] = printJob; in TestDetermineUserJobStatus()
726 PrintServiceAbility::GetInstance()->DetermineUserJobStatus(jobList); in TestDetermineUserJobStatus()
/base/print/print_fwk/services/print_service/include/
H A Dprint_service_ability.h180 PrintJobState DetermineUserJobStatus(const std::map<std::string, std::shared_ptr<PrintJob>> &jobList);
/base/print/print_fwk/services/print_service/src/
H A Dprint_service_ability.cpp2947 const std::map<std::string, std::shared_ptr<PrintJob>> &jobList) in DetermineUserJobStatus()
2949 bool hasBlocked = std::any_of(jobList.begin(), jobList.end(), in DetermineUserJobStatus()
2954 bool allComplete = std::all_of(jobList.begin(), jobList.end(), in DetermineUserJobStatus()
2946 DetermineUserJobStatus( const std::map<std::string, std::shared_ptr<PrintJob>> &jobList) DetermineUserJobStatus() argument

Completed in 13 milliseconds