/foundation/filemanagement/user_file_service/test/unittest/ |
H A D | external_notify_test.cpp | 186 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 D | file_access_service_proxy_test.cpp | 222 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 D | fileaccessserviceproxy_fuzzer.cpp | 74 bool notifyForDescendants = TypeCast<bool>(data, &pos); in RegisterNotifyFuzzTest() local 77 proxy->RegisterNotify(uri, notifyForDescendants, nullptr, info); in RegisterNotifyFuzzTest()
|
H A D | fileaccessservicemock.h | 28 int32_t RegisterNotify(Uri uri, bool notifyForDescendants, const sptr<IFileAccessObserver> &observer,
|
/foundation/filemanagement/user_file_service/services/native/file_access_service/include/ |
H A D | ifile_access_service_base.h | 35 virtual int32_t RegisterNotify(Uri uri, bool notifyForDescendants, const sptr<IFileAccessObserver> &observer,
|
H A D | file_access_service.h | 234 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 D | file_access_service_proxy.h | 32 int32_t RegisterNotify(Uri uri, bool notifyForDescendants, const sptr<IFileAccessObserver> &observer,
|
/foundation/filemanagement/user_file_service/test/fuzztest/fileaccessservicestub_fuzzer/ |
H A D | fileaccessservicemock.h | 28 int32_t RegisterNotify(Uri uri, bool notifyForDescendants, const sptr<IFileAccessObserver> &observer,
|
/foundation/filemanagement/user_file_service/services/native/file_access_service/src/ |
H A D | file_access_service.cpp | 290 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 D | file_access_service_stub.cpp | 122 bool notifyForDescendants = data.ReadBool(); in CmdRegisterNotify() local 128 int ret = RegisterNotify(*uri, notifyForDescendants, observer, connectExtensionInfo); in CmdRegisterNotify()
|
H A D | file_access_service_proxy.cpp | 164 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 D | file_access_service_mock.h | 27 MOCK_METHOD4(RegisterNotify, int32_t(Uri uri, bool notifyForDescendants,
|
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/include/ |
H A D | file_access_helper.h | 87 int RegisterNotify(Uri uri, bool notifyForDescendants, sptr<IFileAccessObserver> &observer);
|
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/ |
H A D | napi_fileaccess_helper.cpp | 1167 static bool parseRegisterObserverArgs(napi_env env, NFuncArg &funcArg, std::string &uri, bool ¬ifyForDescendants) 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 D | file_access_helper.cpp | 1051 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()
|