Home
last modified time | relevance | path

Searched refs:RegOnDeviceChange (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/src/
H A Dprocess_communicator_impl_test.cpp101 …processCommunicator->RegOnDeviceChange([](const DistributedDB::DeviceInfos &devInfo, bool isOnline… in __anone4338ea50202()
105 ret = processCommunicator->RegOnDeviceChange(nullptr);
119 …processCommunicator->RegOnDeviceChange([](const DistributedDB::DeviceInfos &devInfo, bool isOnline… in __anone4338ea50302()
123 …ret = processCommunicator->RegOnDeviceChange([](const DistributedDB::DeviceInfos &devInfo, bool is… in __anone4338ea50402()
127 ret = processCommunicator->RegOnDeviceChange(nullptr);
141 …processCommunicator->RegOnDeviceChange([](const DistributedDB::DeviceInfos &devInfo, bool isOnline… in __anone4338ea50502()
145 ret = processCommunicator->RegOnDeviceChange(nullptr);
147 ret = processCommunicator->RegOnDeviceChange(nullptr);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/communicator/
H A Dmock_process_communicator.h25 MOCK_METHOD1(RegOnDeviceChange, DBStatus(const OnDeviceChange &));
H A Ddistributeddb_communicator_deep_test.cpp686 EXPECT_CALL(*processCommunicator, RegOnDeviceChange).WillRepeatedly(testing::Return(DB_ERROR));
692 EXPECT_CALL(*processCommunicator, RegOnDeviceChange).WillRepeatedly(testing::Return(OK));
820 EXPECT_CALL(*processCommunicator, RegOnDeviceChange).WillRepeatedly( in InitAdapter()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Dprocess_communicator_test_stub.h44 DBStatus RegOnDeviceChange(const OnDeviceChange &callback) override in RegOnDeviceChange() function
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/include/
H A Dprocess_communicator_test_stub.h44 DBStatus RegOnDeviceChange(const OnDeviceChange &callback) override in RegOnDeviceChange() function
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
H A Dprocess_communication_impl.h38 DBStatus RegOnDeviceChange(const OnDeviceChange &callback) override;
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/communicator/
H A Dprocess_communicator_impl.h41 KVSTORE_API DBStatus RegOnDeviceChange(const OnDeviceChange &callback) override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/
H A Diprocess_communicator.h92 virtual DBStatus RegOnDeviceChange(const OnDeviceChange &callback) = 0;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dprocess_communication_impl.cpp55 DBStatus ProcessCommunicationImpl::RegOnDeviceChange(const OnDeviceChange &callback) in RegOnDeviceChange() function in OHOS::DistributedKv::ProcessCommunicationImpl
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include/communicator/
H A Dprocess_communicator_impl.h46 DBStatus RegOnDeviceChange(const OnDeviceChange &callback) override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/
H A Dnetwork_adapter.cpp75 …errCode = processCommunicator_->RegOnDeviceChange([this](const DeviceInfos &devInfo, bool isOnline… in StartAdapter()
109 DBStatus errCode = processCommunicator_->RegOnDeviceChange(nullptr); in StopAdapter()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/iprocesscommunicator_fuzzer/
H A Diprocesscommunicator_fuzzer.cpp45 … DistributedDB::DBStatus RegOnDeviceChange(const DistributedDB::OnDeviceChange &callback) override in RegOnDeviceChange() function in OHOS::ProcessCommunicatorFuzzTest
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/communicator/
H A Dprocess_communicator_impl.cpp58 DBStatus ProcessCommunicatorImpl::RegOnDeviceChange(const OnDeviceChange &callback) in RegOnDeviceChange() function in OHOS::ObjectStore::ProcessCommunicatorImpl
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
H A Dprocess_communicator_impl.cpp66 DBStatus ProcessCommunicatorImpl::RegOnDeviceChange(const OnDeviceChange &callback) in RegOnDeviceChange() function in OHOS::AppDistributedKv::ProcessCommunicatorImpl