Home
last modified time | relevance | path

Searched refs:typeInfo (Results 1 - 13 of 13) sorted by relevance

/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_proxy_reminder.cpp266 uint8_t typeInfo = static_cast<uint8_t>(ReminderRequest::ReminderType::INVALID); in ReadReminders() local
267 if (!reply.ReadUint8(typeInfo)) { in ReadReminders()
271 auto reminderType = static_cast<ReminderRequest::ReminderType>(typeInfo); in ReadReminders()
283 ANSR_LOGW("[GetValidReminders] type=%{public}hhu", typeInfo); in ReadReminders()
H A Dans_manager_stub.cpp1904 uint8_t typeInfo = static_cast<uint8_t>(ReminderRequest::ReminderType::INVALID); in HandlePublishReminder() local
1905 if (!data.ReadUint8(typeInfo)) { in HandlePublishReminder()
1909 ReminderRequest::ReminderType reminderType = static_cast<ReminderRequest::ReminderType>(typeInfo); in HandlePublishReminder()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_file_manager_multiple_thread_test.cpp165 EXPECT_EQ(globalSourceList[0].typeInfo, ConstraintSourceType::CONSTRAINT_TYPE_DEVICE_OWNER); in TestIsFromGlobalOAConstraintsList()
208 EXPECT_EQ(globalSourceList[0].typeInfo, ConstraintSourceType::CONSTRAINT_TYPE_DEVICE_OWNER); in TestIsFromSpecificOAConstraintsList()
H A Dos_account_inner_account_mgr_mock.cpp89 return left.localId == right.localId && left.typeInfo == right.typeInfo; in operator ==()
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_info.h41 ConstraintSourceType typeInfo; member
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_control_file_manager.cpp1337 constraintSourceTypeInfo.typeInfo = ConstraintSourceType::CONSTRAINT_TYPE_DEVICE_OWNER; in IsFromGlobalOAConstraintsList()
1341 constraintSourceTypeInfo.typeInfo = ConstraintSourceType::CONSTRAINT_TYPE_PROFILE_OWNER; in IsFromGlobalOAConstraintsList()
1387 constraintSourceTypeInfo.typeInfo = ConstraintSourceType::CONSTRAINT_TYPE_DEVICE_OWNER; in IsFromSpecificOAConstraintsList()
1391 constraintSourceTypeInfo.typeInfo = ConstraintSourceType::CONSTRAINT_TYPE_PROFILE_OWNER; in IsFromSpecificOAConstraintsList()
H A Dinner_os_account_manager.cpp1183 constraintSourceTypeInfo.typeInfo = ConstraintSourceType::CONSTRAINT_NOT_EXIST; in RetryToGetAccount()
1194 constraintSourceTypeInfo.typeInfo = ConstraintSourceType::CONSTRAINT_TYPE_BASE; in RetryToGetAccount()
H A Dos_account_stub.cpp1529 if ((!reply.WriteInt32(constraintInfo.localId)) || (!reply.WriteInt32(constraintInfo.typeInfo))) { in ProcQueryOsAccountConstraintSourceTypes()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp1654 EXPECT_EQ(constraintSourceTypeInfos[0].typeInfo, 2); in HWTEST_F()
1681 EXPECT_EQ(constraintSourceTypeInfos[0].typeInfo, 0); in HWTEST_F()
1698 constraintSourceTypeInfos[0].localId, constraintSourceTypeInfos[0].typeInfo); in HWTEST_F()
1700 constraintSourceTypeInfos[1].localId, constraintSourceTypeInfos[1].typeInfo); in HWTEST_F()
1708 EXPECT_EQ(constraintSourceTypeInfos[0].typeInfo, 0); in HWTEST_F()
1723 EXPECT_EQ(constraintSourceTypeInfos[0].typeInfo, 1); in HWTEST_F()
1728 EXPECT_EQ(constraintSourceTypeInfos[0].typeInfo, 0); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
H A Dans_manager_stub_test.cpp3148 uint8_t typeInfo = static_cast<uint8_t>(ReminderRequest::ReminderType::ALARM); in HWTEST_F() local
3154 data.WriteUint8(typeInfo); in HWTEST_F()
3175 uint8_t typeInfo = static_cast<uint8_t>(ReminderRequest::ReminderType::INVALID); in HWTEST_F() local
3179 data.WriteUint8(typeInfo); in HWTEST_F()
3218 uint8_t typeInfo = static_cast<uint8_t>(ReminderRequest::ReminderType::TIMER); in HWTEST_F() local
3224 data.WriteUint8(typeInfo); in HWTEST_F()
3245 uint8_t typeInfo = static_cast<uint8_t>(ReminderRequest::ReminderType::CALENDAR); in HWTEST_F() local
3251 data.WriteUint8(typeInfo); in HWTEST_F()
3261 * @tc.desc: Test typeInfo in date is null.
/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_data_manager.cpp783 std::string typeInfo = type == TIME_ZONE_CHANGE ? "timeZone" : "dateTime"; in RefreshRemindersDueToSysTimeChange() local
784 ANSR_LOGI("Refresh all reminders due to %{public}s changed by user", typeInfo.c_str()); in RefreshRemindersDueToSysTimeChange()
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account_proxy.cpp1300 constraintSrcInfo.typeInfo = static_cast<ConstraintSourceType>(reply.ReadInt32()); in QueryOsAccountConstraintSourceTypes()
/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account_common.cpp949 napi_create_int32(env, item.typeInfo, &valToJs); in QueryOAContSrcTypeForResult()

Completed in 40 milliseconds