Home
last modified time | relevance | path

Searched refs:SetSyncEnabledWithoutApp (Results 1 - 6 of 6) sorted by relevance

/base/notification/distributed_notification_service/services/distributed/include/
H A Ddistributed_preferences_info.h77 void SetSyncEnabledWithoutApp(const int32_t userId, const bool enabled);
H A Ddistributed_preferences.h90 ErrCode SetSyncEnabledWithoutApp(const int32_t userId, const bool enabled);
/base/notification/distributed_notification_service/services/distributed/src/
H A Ddistributed_preferences_info.cpp59 void DistributedPreferencesInfo::SetSyncEnabledWithoutApp(const int32_t userId, const bool enabled) in SetSyncEnabledWithoutApp() function in OHOS::Notification::DistributedPreferencesInfo
H A Ddistributed_preferences.cpp135 preferencesInfo_->SetSyncEnabledWithoutApp(userId, GetBoolFromString(value)); in ResolveSyncWithoutAppEnable()
253 ErrCode DistributedPreferences::SetSyncEnabledWithoutApp(const int32_t userId, const bool enabled) in SetSyncEnabledWithoutApp() function in OHOS::Notification::DistributedPreferences
265 preferencesInfo_->SetSyncEnabledWithoutApp(userId, enabled); in SetSyncEnabledWithoutApp()
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_branch_test/
H A Ddistributed_preferences_branch_test.cpp207 * @tc.desc : test SetSyncEnabledWithoutApp function and PutToDistributedDB is false.
214 EXPECT_EQ(distributedPreferences_->SetSyncEnabledWithoutApp(userId, enabled), ERR_ANS_DISTRIBUTED_OPERATION_FAILED); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_service.cpp1905 result = DistributedPreferences::GetInstance()->SetSyncEnabledWithoutApp(userId, enabled); in SetSyncNotificationEnabledWithoutApp()

Completed in 6 milliseconds