Home
last modified time | relevance | path

Searched refs:expireTime (Results 1 – 10 of 10) sorted by relevance

/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session_util.c82 int32_t expireTime = DEFAULT_EXPIRE_TIME; in AddExpireTimeIfExistAndValid() local
83 if (GetIntFromJson(returnData, FIELD_EXPIRE_TIME, &expireTime) == HC_SUCCESS) { in AddExpireTimeIfExistAndValid()
84 if (!IsExpireTimeValid(expireTime)) { in AddExpireTimeIfExistAndValid()
88 if (AddIntToJson(jsonParams, FIELD_EXPIRE_TIME, expireTime) != HC_SUCCESS) { in AddExpireTimeIfExistAndValid()
Dcompatible_bind_sub_session_common.c104 int32_t expireTime = DEFAULT_EXPIRE_TIME; in AddExpireTimeIfValidOrDefault() local
105 (void)GetIntFromJson(jsonParams, FIELD_EXPIRE_TIME, &expireTime); in AddExpireTimeIfValidOrDefault()
106 if (!IsExpireTimeValid(expireTime)) { in AddExpireTimeIfValidOrDefault()
110 if (AddIntToJson(params, FIELD_EXPIRE_TIME, expireTime) != HC_SUCCESS) { in AddExpireTimeIfValidOrDefault()
Dcompatible_bind_sub_session.c341 int32_t expireTime = DEFAULT_EXPIRE_TIME; in SetGroupExpireTime() local
342 (void)GetIntFromJson(params, FIELD_EXPIRE_TIME, &expireTime); in SetGroupExpireTime()
343 groupParams->expireTime = expireTime; in SetGroupExpireTime()
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation_common.c564 bool IsExpireTimeValid(int expireTime) in IsExpireTimeValid() argument
566 if ((expireTime < -1) || (expireTime == 0) || (expireTime > MAX_EXPIRE_TIME)) { in IsExpireTimeValid()
606 int32_t expireTime = DEFAULT_EXPIRE_TIME; in CheckExpireTimeIfExist() local
607 (void)GetIntFromJson(jsonParams, FIELD_EXPIRE_TIME, &expireTime); in CheckExpireTimeIfExist()
608 if (!IsExpireTimeValid(expireTime)) { in CheckExpireTimeIfExist()
609 LOGE("Invalid group expire time! [ExpireTime]: %d", expireTime); in CheckExpireTimeIfExist()
666 int32_t expireTime = DEFAULT_EXPIRE_TIME; in AddExpireTimeOrDefault() local
667 (void)GetIntFromJson(jsonParams, FIELD_EXPIRE_TIME, &expireTime); in AddExpireTimeOrDefault()
668 groupParams->expireTime = expireTime; in AddExpireTimeOrDefault()
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c39 TlvInt32 expireTime; member
86 TLV_MEMBER(TlvInt32, expireTime, 0x4005)
246 returnEntry->expireTime = entry->expireTime; in GenerateGroupEntryFromEntry()
319 entry->expireTime = group->expireTime.data; in GenerateGroupEntryFromTlv()
539 element->expireTime.data = entry->expireTime; in SetGroupElement()
1205 dprintf(fd, "||%-12s = %-46d| |\n", "expireTime", group->expireTime); in DumpGroup()
/base/security/device_auth/services/data_manager/inc/
Ddata_manager.h35 int32_t expireTime; /* the time of group expired, unit day, user config */ member
/base/security/device_auth/services/group_auth/src/group_auth_manager/
Dgroup_auth_data_operation.c77 returnEntry->expireTime = entry->expireTime; in GaDeepCopyGroupEntry()
/base/security/device_auth/services/group_manager/inc/
Dgroup_operation_common.h33 bool IsExpireTimeValid(int expireTime);
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/
Dsave_trusted_info_test.cpp111 groupParams->expireTime = DEFAULT_EXPIRE_TIME; in GenerateGroupParams()
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
Dsave_trusted_info.c265 groupParams->expireTime = DEFAULT_EXPIRE_TIME; in GenerateGroupParams()