mirror of
https://gitee.com/openharmony/accessibility
synced 2024-11-23 06:50:30 +00:00
commit
e2d4f4aa18
@ -149,6 +149,11 @@ int32_t SystemAbilityManagerProxy::UnloadSystemAbility(int32_t systemAbilityId)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int32_t SystemAbilityManagerProxy::CancelUnloadSystemAbility(int32_t systemAbilityId)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
int32_t SystemAbilityManagerProxy::AddSystemAbility(int32_t systemAbilityId, const sptr<IRemoteObject>& ability,
|
||||
const SAExtraProp& extraProp)
|
||||
{
|
||||
|
@ -142,10 +142,24 @@ void SystemAbility::OnDump()
|
||||
void SystemAbility::OnStart()
|
||||
{}
|
||||
|
||||
void SystemAbility::OnStart(const std::unordered_map<std::string, std::string>& startReason)
|
||||
{}
|
||||
|
||||
int32_t SystemAbility::OnIdle(const std::unordered_map<std::string, std::string>& idleReason)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void SystemAbility::OnActive(const std::unordered_map<std::string, std::string>& activeReason)
|
||||
{}
|
||||
|
||||
// The details should be implemented by subclass
|
||||
void SystemAbility::OnStop()
|
||||
{}
|
||||
|
||||
void SystemAbility::OnStop(const std::unordered_map<std::string, std::string>& stopReason)
|
||||
{}
|
||||
|
||||
// The details should be implemented by subclass
|
||||
void SystemAbility::OnAddSystemAbility(int32_t systemAbilityId, const std::string& deviceId)
|
||||
{
|
||||
|
@ -148,6 +148,11 @@ int32_t SystemAbilityManagerProxy::UnloadSystemAbility(int32_t systemAbilityId)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int32_t SystemAbilityManagerProxy::CancelUnloadSystemAbility(int32_t systemAbilityId)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
int32_t SystemAbilityManagerProxy::AddSystemAbility(int32_t systemAbilityId, const sptr<IRemoteObject>& ability,
|
||||
const SAExtraProp& extraProp)
|
||||
{
|
||||
|
@ -170,11 +170,28 @@ void SystemAbility::OnStart()
|
||||
{
|
||||
}
|
||||
|
||||
void SystemAbility::OnStart(const std::unordered_map<std::string, std::string>& startReason)
|
||||
{
|
||||
}
|
||||
|
||||
int32_t SystemAbility::OnIdle(const std::unordered_map<std::string, std::string>& idleReason)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void SystemAbility::OnActive(const std::unordered_map<std::string, std::string>& activeReason)
|
||||
{
|
||||
}
|
||||
|
||||
// The details should be implemented by subclass
|
||||
void SystemAbility::OnStop()
|
||||
{
|
||||
}
|
||||
|
||||
void SystemAbility::OnStop(const std::unordered_map<std::string, std::string>& stopReason)
|
||||
{
|
||||
}
|
||||
|
||||
// The details should be implemented by subclass
|
||||
void SystemAbility::OnAddSystemAbility(int32_t systemAbilityId, const std::string& deviceId)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user