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/ |
D | compatible_bind_sub_session_util.c | 82 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()
|
D | compatible_bind_sub_session_common.c | 104 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()
|
D | compatible_bind_sub_session.c | 341 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/ |
D | group_operation_common.c | 564 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/ |
D | data_manager.c | 39 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/ |
D | data_manager.h | 35 int32_t expireTime; /* the time of group expired, unit day, user config */ member
|
/base/security/device_auth/services/group_auth/src/group_auth_manager/ |
D | group_auth_data_operation.c | 77 returnEntry->expireTime = entry->expireTime; in GaDeepCopyGroupEntry()
|
/base/security/device_auth/services/group_manager/inc/ |
D | group_operation_common.h | 33 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/ |
D | save_trusted_info_test.cpp | 111 groupParams->expireTime = DEFAULT_EXPIRE_TIME; in GenerateGroupParams()
|
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/ |
D | save_trusted_info.c | 265 groupParams->expireTime = DEFAULT_EXPIRE_TIME; in GenerateGroupParams()
|