Home
last modified time | relevance | path

Searched refs:notifyForDescendants (Results 1 - 15 of 15) sorted by relevance

/foundation/filemanagement/user_file_service/test/unittest/
H A Dexternal_notify_test.cpp186 bool notifyForDescendants = false; in ReadyRegisterNotify00() local
204 result = g_fah->RegisterNotify(newDirUriTest2, notifyForDescendants, myObserver2); in ReadyRegisterNotify00()
206 result = g_fah->RegisterNotify(newFileUri1, notifyForDescendants, myObserver3); in ReadyRegisterNotify00()
208 result = g_fah->RegisterNotify(newFileUri2, notifyForDescendants, myObserver4); in ReadyRegisterNotify00()
448 bool notifyForDescendants = true; in HWTEST_F() local
459 result = g_fah->RegisterNotify(newDirUriTest1, notifyForDescendants, observers[i]); in HWTEST_F()
461 result = g_fah->RegisterNotify(newDirUriTest2, notifyForDescendants, observers[3 + i]); in HWTEST_F()
463 result = g_fah->RegisterNotify(newFileUri1, notifyForDescendants, observers[6 + i]); in HWTEST_F()
465 result = g_fah->RegisterNotify(newFileUri2, notifyForDescendants, observers[9 + i]); in HWTEST_F()
509 bool notifyForDescendants in HWTEST_F() local
544 bool notifyForDescendants = true; ReadyRegisterNotify05() local
640 bool notifyForDescendants = true; HWTEST_F() local
682 bool notifyForDescendants = true; HWTEST_F() local
718 bool notifyForDescendants = true; HWTEST_F() local
746 bool notifyForDescendants = true; HWTEST_F() local
785 bool notifyForDescendants = true; HWTEST_F() local
904 bool notifyForDescendants = true; RegisterDirNotify() local
1072 bool notifyForDescendants = true; HWTEST_F() local
1117 bool notifyForDescendants = true; HWTEST_F() local
1161 bool notifyForDescendants = true; HWTEST_F() local
1205 bool notifyForDescendants = true; HWTEST_F() local
1249 bool notifyForDescendants = true; HWTEST_F() local
[all...]
H A Dfile_access_service_proxy_test.cpp222 bool notifyForDescendants = false; in HWTEST_F() local
226 auto result = proxy->RegisterNotify(uri, notifyForDescendants, observer, info); in HWTEST_F()
229 result = proxy->RegisterNotify(uri, notifyForDescendants, observer, info); in HWTEST_F()
233 result = proxy->RegisterNotify(uri, notifyForDescendants, observer, info); in HWTEST_F()
238 result = proxy->RegisterNotify(uri, notifyForDescendants, observer, info); in HWTEST_F()
245 result = proxy->RegisterNotify(uri, notifyForDescendants, observer, info2); in HWTEST_F()
252 result = proxy->RegisterNotify(uri, notifyForDescendants, observer, info2); in HWTEST_F()
259 result = proxy->RegisterNotify(uri, notifyForDescendants, observer, info2); in HWTEST_F()
/foundation/filemanagement/user_file_service/test/fuzztest/fileaccessserviceproxy_fuzzer/
H A Dfileaccessserviceproxy_fuzzer.cpp74 bool notifyForDescendants = TypeCast<bool>(data, &pos); in RegisterNotifyFuzzTest() local
77 proxy->RegisterNotify(uri, notifyForDescendants, nullptr, info); in RegisterNotifyFuzzTest()
H A Dfileaccessservicemock.h28 int32_t RegisterNotify(Uri uri, bool notifyForDescendants, const sptr<IFileAccessObserver> &observer,
/foundation/filemanagement/user_file_service/services/native/file_access_service/include/
H A Difile_access_service_base.h35 virtual int32_t RegisterNotify(Uri uri, bool notifyForDescendants, const sptr<IFileAccessObserver> &observer,
H A Dfile_access_service.h234 int32_t RegisterNotify(Uri uri, bool notifyForDescendants, const sptr<IFileAccessObserver> &observer,
261 int32_t RegisterNotifyImpl(Uri uri, bool notifyForDescendants, const sptr<IFileAccessObserver> &observer,
266 int32_t OperateObsNode(Uri &uri, bool notifyForDescendants, uint32_t code,
H A Dfile_access_service_proxy.h32 int32_t RegisterNotify(Uri uri, bool notifyForDescendants, const sptr<IFileAccessObserver> &observer,
/foundation/filemanagement/user_file_service/test/fuzztest/fileaccessservicestub_fuzzer/
H A Dfileaccessservicemock.h28 int32_t RegisterNotify(Uri uri, bool notifyForDescendants, const sptr<IFileAccessObserver> &observer,
/foundation/filemanagement/user_file_service/services/native/file_access_service/src/
H A Dfile_access_service.cpp290 int32_t FileAccessService::RegisterNotify(Uri uri, bool notifyForDescendants, const sptr<IFileAccessObserver> &observer, in RegisterNotify() argument
296 int ret = RegisterNotifyImpl(eachUri, notifyForDescendants, observer, info); in RegisterNotify()
305 int32_t FileAccessService::OperateObsNode(Uri &uri, bool notifyForDescendants, uint32_t code, in OperateObsNode() argument
322 if (obsNode->needChildNote_ == notifyForDescendants) { in OperateObsNode()
323 HILOG_DEBUG("Register same uri and same callback and same notifyForDescendants"); in OperateObsNode()
326 // need modify obsNode notifyForDescendants in OperateObsNode()
327 obsNode->needChildNote_ = notifyForDescendants; in OperateObsNode()
328 HILOG_DEBUG("Register same uri and same callback but need modify notifyForDescendants"); in OperateObsNode()
344 auto obsNode = make_shared<ObserverNode>(notifyForDescendants); in OperateObsNode()
363 int32_t FileAccessService::RegisterNotifyImpl(Uri uri, bool notifyForDescendants, in RegisterNotifyImpl() argument
[all...]
H A Dfile_access_service_stub.cpp122 bool notifyForDescendants = data.ReadBool(); in CmdRegisterNotify() local
128 int ret = RegisterNotify(*uri, notifyForDescendants, observer, connectExtensionInfo); in CmdRegisterNotify()
H A Dfile_access_service_proxy.cpp164 int32_t FileAccessServiceProxy::RegisterNotify(Uri uri, bool notifyForDescendants, in RegisterNotify() argument
185 if (!data.WriteBool(notifyForDescendants)) { in RegisterNotify()
186 HILOG_ERROR("fail to WriteBool notifyForDescendants"); in RegisterNotify()
/foundation/filemanagement/user_file_service/test/unittest/mock/
H A Dfile_access_service_mock.h27 MOCK_METHOD4(RegisterNotify, int32_t(Uri uri, bool notifyForDescendants,
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/include/
H A Dfile_access_helper.h87 int RegisterNotify(Uri uri, bool notifyForDescendants, sptr<IFileAccessObserver> &observer);
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/
H A Dnapi_fileaccess_helper.cpp1167 static bool parseRegisterObserverArgs(napi_env env, NFuncArg &funcArg, std::string &uri, bool &notifyForDescendants) in parseRegisterObserverArgs() argument
1179 std::tie(succ, notifyForDescendants) = NVal(env, funcArg[NARG_POS::SECOND]).ToBool(); in parseRegisterObserverArgs()
1196 bool notifyForDescendants = false; in RegisterObserver() local
1197 if (!parseRegisterObserverArgs(env, funcArg, uriString, notifyForDescendants)) { in RegisterObserver()
1209 auto retCode = fileAccessHelper->RegisterNotify(uri, notifyForDescendants, observer); in RegisterObserver()
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/
H A Dfile_access_helper.cpp1051 int FileAccessHelper::RegisterNotify(Uri uri, bool notifyForDescendants, sptr<IFileAccessObserver> &observer) in RegisterNotify() argument
1071 int ret = proxy->RegisterNotify(uri, notifyForDescendants, observer, GetConnectExtensionInfo(uri)); in RegisterNotify()

Completed in 11 milliseconds