/ohos5.0/foundation/ability/ability_runtime/test/moduletest/common/ams/app_life_cycle_test/ |
H A D | ams_app_life_cycle_module_test.cpp | 95 const sptr<MockAppScheduler>& mockAppScheduler) const; 265 ChangeAbilityStateToTerminate(mockAppScheduler, token); in ChangeAppToTerminate() 303 const sptr<MockAppScheduler>& mockAppScheduler) const in CheckStateAfterClearAbility() 400 EXPECT_TRUE(mockAppScheduler); 408 ChangeAbilityStateAfterAppStart(mockAppScheduler, pid); 564 ChangeAbilityStateAfterAppStart(mockAppScheduler, pid); 616 ChangeAbilityStateAfterAppStart(mockAppScheduler, pid); 686 ChangeAbilityStateAfterAppStart(mockAppScheduler, pid); 735 ChangeAbilityStateAfterAppStart(mockAppScheduler, pid); 2033 serviceInner_->OnRemoteDied(mockAppScheduler, false); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_lifecycle_deal_test/ |
H A D | app_lifecycle_deal_test.cpp | 69 sptr<MockAppScheduler> mockAppScheduler = new (std::nothrow) MockAppScheduler(); variable 70 appLifeCycle->SetApplicationClient(mockAppScheduler); 98 sptr<MockAppScheduler> mockAppScheduler = new (std::nothrow) MockAppScheduler(); variable 99 appLifeCycle->SetApplicationClient(mockAppScheduler); 126 sptr<MockAppScheduler> mockAppScheduler = new (std::nothrow) MockAppScheduler(); variable 127 appLifeCycle->SetApplicationClient(mockAppScheduler); 142 sptr<MockAppScheduler> mockAppScheduler = new (std::nothrow) MockAppScheduler(); variable 143 appLifeCycle->SetApplicationClient(mockAppScheduler);
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_app_life_cycle_test/ |
H A D | ams_app_life_cycle_test.cpp | 211 sptr<MockAppScheduler> mockAppScheduler = AddApplicationClient(appRecord); in CreateTestApplicationRecord() local 242 sptr<MockAppScheduler> mockAppScheduler = new MockAppScheduler(); in AddApplicationClient() local 245 return mockAppScheduler; in AddApplicationClient() 334 sptr<MockAppScheduler> mockAppScheduler = new MockAppScheduler(); variable 378 sptr<MockAppScheduler> mockAppScheduler = new MockAppScheduler(); variable 380 EXPECT_CALL(*mockAppScheduler, ScheduleLaunchApplication(_, _)).Times(1); 432 sptr<MockAppScheduler> mockAppScheduler = new MockAppScheduler(); variable 1413 sptr<MockAppScheduler> mockAppScheduler = new MockAppScheduler(); variable 1699 sptr<MockAppScheduler> mockAppScheduler = new MockAppScheduler(); variable 1726 sptr<MockAppScheduler> mockAppScheduler = new MockAppScheduler(); variable [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_service_load_ability_process_test/ |
H A D | ams_service_load_ability_process_test.cpp | 852 sptr<MockAppScheduler> mockAppScheduler = new MockAppScheduler(); variable 855 EXPECT_CALL(*mockAppScheduler, ScheduleLaunchAbility(_, _, _, _)).Times(1); 919 sptr<MockAppScheduler> mockAppScheduler = new MockAppScheduler(); variable 922 EXPECT_CALL(*mockAppScheduler, ScheduleLaunchAbility(_, _, _, _)).Times(0); 987 sptr<MockAppScheduler> mockAppScheduler = new MockAppScheduler(); variable 990 EXPECT_CALL(*mockAppScheduler, ScheduleLaunchAbility(_, _, _, _)).Times(0); 1047 sptr<MockAppScheduler> mockAppScheduler = new MockAppScheduler(); variable 1050 EXPECT_CALL(*mockAppScheduler, ScheduleLaunchAbility(_, _, _, _)).Times(0); 1111 sptr<MockAppScheduler> mockAppScheduler = new MockAppScheduler(); variable 1114 EXPECT_CALL(*mockAppScheduler, ScheduleLaunchAbility(_, _, _, _)).Times(1); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/common/ams/ipc_app_scheduler_test/ |
H A D | ams_ipc_app_scheduler_module_test.cpp | 281 sptr<MockAppScheduler> mockAppScheduler(new MockAppScheduler()); 282 sptr<IAppScheduler> client = iface_cast<IAppScheduler>(mockAppScheduler); 290 …EXPECT_CALL(*mockAppScheduler, ScheduleConfigurationUpdated(_)).Times(1).WillOnce(Invoke(mockHandl…
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/common/ams/app_service_flow_test/ |
H A D | ams_app_service_flow_module_test.cpp | 45 …const std::shared_ptr<AppRunningRecord>& appRecord, const sptr<MockAppScheduler>& mockAppScheduler) in TestApplicationPreRunningRecord() 46 : appRecord_(appRecord), mockAppScheduler_(mockAppScheduler) {} in TestApplicationPreRunningRecord() 108 sptr<MockAppScheduler> mockAppScheduler = new (std::nothrow) MockAppScheduler(); in TestCreateApplicationClient() local 109 sptr<IAppScheduler> client = iface_cast<IAppScheduler>(mockAppScheduler.GetRefPtr()); in TestCreateApplicationClient() 112 return mockAppScheduler; in TestCreateApplicationClient() 153 sptr<MockAppScheduler> mockAppScheduler = TestCreateApplicationClient(appRecord); in TestCreateApplicationRecordAndSetState() local 154 TestApplicationPreRunningRecord testAppPreRecord(appRecord, mockAppScheduler); in TestCreateApplicationRecordAndSetState()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_app_death_recipient_test/ |
H A D | ams_app_death_recipient_test.cpp | 183 sptr<MockAppScheduler> mockAppScheduler = new (std::nothrow) MockAppScheduler(); in GetApp() local 184 sptr<IAppScheduler> client = iface_cast<IAppScheduler>(mockAppScheduler.GetRefPtr()); in GetApp()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_app_workflow_test/ |
H A D | ams_workflow_test.cpp | 37 …const std::shared_ptr<AppRunningRecord>& appRecord, const sptr<MockAppScheduler>& mockAppScheduler) in TestApplicationPreRecord() 38 : appRecord_(appRecord), mockAppScheduler_(mockAppScheduler) in TestApplicationPreRecord() 120 sptr<MockAppScheduler> mockAppScheduler = new (std::nothrow) MockAppScheduler(); in AddApplicationClient() local 121 sptr<IAppScheduler> client = iface_cast<IAppScheduler>(mockAppScheduler.GetRefPtr()); in AddApplicationClient() 123 return mockAppScheduler; in AddApplicationClient() 161 sptr<MockAppScheduler> mockAppScheduler = AddApplicationClient(appRecord); in CreateTestApplicationRecord() local 163 TestApplicationPreRecord testAppPreRecord(appRecord, mockAppScheduler); in CreateTestApplicationRecord()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_test/ |
H A D | app_mgr_service_inner_test.cpp | 562 sptr<MockAppScheduler> mockAppScheduler = new (std::nothrow) MockAppScheduler(); variable 563 sptr<IAppScheduler> client = iface_cast<IAppScheduler>(mockAppScheduler.GetRefPtr());
|