Searched refs:MockPowerRemoteObject (Results 1 – 5 of 5) sorted by relevance
23 MockPowerRemoteObject::MockPowerRemoteObject(std::u16string descriptor) : IRemoteObject(descriptor)… in MockPowerRemoteObject() function in OHOS::PowerMgr::MockPowerRemoteObject25 MockPowerRemoteObject::~MockPowerRemoteObject() {} in ~MockPowerRemoteObject()27 void MockPowerRemoteObject::SetRequestValue(int32_t value) in SetRequestValue()32 int32_t MockPowerRemoteObject::GetObjectRefCount() in GetObjectRefCount()37 int MockPowerRemoteObject::Dump(int fd, const std::vector<std::u16string>& args) in Dump()43 int MockPowerRemoteObject::SendRequest(uint32_t code, MessageParcel& data, MessageParcel& reply, Me… in SendRequest()52 bool MockPowerRemoteObject::AddDeathRecipient(const sptr<DeathRecipient>& recipient) in AddDeathRecipient()58 bool MockPowerRemoteObject::RemoveDeathRecipient(const sptr<DeathRecipient>& recipient) in RemoveDeathRecipient()
23 class MockPowerRemoteObject : public IRemoteObject {26 explicit MockPowerRemoteObject(std::u16string descriptor = std::u16string());27 ~MockPowerRemoteObject();
91 sptr<IRemoteObject> sptrRemoteObj = new MockPowerRemoteObject();92 MockPowerRemoteObject::SetRequestValue(ERR_OK);109 sptr<IRemoteObject> sptrRemoteObj = new MockPowerRemoteObject();110 MockPowerRemoteObject::SetRequestValue(ERR_NO_INIT);142 sptr<IRemoteObject> sptrRemoteObj = new MockPowerRemoteObject();143 MockPowerRemoteObject::SetRequestValue(ERR_OK);
60 sptr<IRemoteObject> sptrRemoteObj = new MockPowerRemoteObject();
56 sptr<MockPowerRemoteObject> remote = new MockPowerRemoteObject();84 sptr<MockPowerRemoteObject> remote = new MockPowerRemoteObject();113 sptr<MockPowerRemoteObject> remote = new MockPowerRemoteObject();