/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_param_encode.cpp | 207 void GsmSmsParamEncode::EncodeTimePdu(const struct SmsTimeStamp *timeStamp, std::string &resultValu… in EncodeTimePdu() argument 209 if (timeStamp == nullptr) { in EncodeTimePdu() 213 if (timeStamp->format == SMS_TIME_ABSOLUTE) { in EncodeTimePdu() 214 int32_t timeZone = timeStamp->time.absolute.timeZone; in EncodeTimePdu() 215 resultValue.push_back(((timeStamp->time.absolute.year % DIGIT_TEN) << HEX_VALUE_04) + in EncodeTimePdu() 216 (timeStamp->time.absolute.year / DIGIT_TEN)); in EncodeTimePdu() 217 resultValue.push_back(((timeStamp->time.absolute.month % DIGIT_TEN) << HEX_VALUE_04) + in EncodeTimePdu() 218 (timeStamp->time.absolute.month / DIGIT_TEN)); in EncodeTimePdu() 220 …((timeStamp->time.absolute.day % DIGIT_TEN) << HEX_VALUE_04) + (timeStamp->time.absolute.day / DIG… in EncodeTimePdu() 221 resultValue.push_back(((timeStamp->time.absolute.hour % DIGIT_TEN) << HEX_VALUE_04) + in EncodeTimePdu() [all …]
|
D | gsm_sms_param_decode.cpp | 367 bool GsmSmsParamDecode::DecodeTimePdu(SmsReadBuffer &buffer, struct SmsTimeStamp *timeStamp) in DecodeTimePdu() argument 369 if (timeStamp == nullptr) { in DecodeTimePdu() 374 timeStamp->format = SMS_TIME_ABSOLUTE; in DecodeTimePdu() 387 timeStamp->time.absolute.year = in DecodeTimePdu() 398 timeStamp->time.absolute.month = in DecodeTimePdu() 400 return DecodeTimePduPartData(buffer, timeStamp); in DecodeTimePdu() 403 bool GsmSmsParamDecode::DecodeTimePduPartData(SmsReadBuffer &buffer, struct SmsTimeStamp *timeStamp) in DecodeTimePduPartData() argument 416 timeStamp->time.absolute.day = in DecodeTimePduPartData() 427 timeStamp->time.absolute.hour = in DecodeTimePduPartData() 438 timeStamp->time.absolute.minute = in DecodeTimePduPartData() [all …]
|
D | gsm_sms_param_codec.cpp | 44 void GsmSmsParamCodec::EncodeTimePdu(const struct SmsTimeStamp *timeStamp, std::string &resultValue) in EncodeTimePdu() argument 47 codec.EncodeTimePdu(timeStamp, resultValue); in EncodeTimePdu() 62 bool GsmSmsParamCodec::DecodeTimePdu(SmsReadBuffer &buffer, struct SmsTimeStamp *timeStamp) in DecodeTimePdu() argument 65 return codec.DecodeTimePdu(buffer, timeStamp); in DecodeTimePdu()
|
/base/update/updateservice/services/firmware/common/src/ |
D | firmware_update_adapter.cpp | 49 char timeStamp[TIME_STAMP_LEN] = {0}; in GetRequestId() local 54 …int res = sprintf_s(timeStamp, sizeof(timeStamp), "%d%02d%02d%02d%02d%02d", timeInfo.tm_year + TIM… in GetRequestId() 63 res = sprintf_s(requestId, REQUEST_ID_LEN, "%s%d", timeStamp, randomInt); in GetRequestId()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_grant_event.cpp | 44 .timeStamp = GetRealTimeStamp() in AddEvent() 47 timestamp = event.timeStamp; in AddEvent() 55 if (timestamp >= iter->timeStamp) { in NotifyPermGrantStoreResult()
|
/base/location/interfaces/inner_api/include/ |
D | location.h | 95 inline void SetTimeStamp(int64_t timeStamp) in SetTimeStamp() argument 97 timeStamp_ = timeStamp; in SetTimeStamp() 105 inline void SetTimeSinceBoot(int64_t timeStamp) in SetTimeSinceBoot() argument 107 timeSinceBoot_ = timeStamp; in SetTimeSinceBoot()
|
/base/web/webview/test/unittest/ohos_adapter/location_proxy_adapter_test/ |
D | location_proxy_adapter_test.cpp | 168 int64_t timeStamp = locationInfoImpl->GetTimeStamp(); variable 169 EXPECT_EQ(timeStamp, 0); 170 timeStamp = locationInfoImpl->GetTimeSinceBoot(); 171 EXPECT_EQ(timeStamp, 0); 199 int64_t timeStamp = locationInfoImpl->GetTimeStamp(); variable 200 EXPECT_EQ(timeStamp, 0); 201 timeStamp = locationInfoImpl->GetTimeSinceBoot(); 202 EXPECT_EQ(timeStamp, 0);
|
/base/security/dlp_permission_service/frameworks/dlp_permission/src/ |
D | open_dlp_file_callback_info_parcel.cpp | 34 if (!(out.WriteUint64(this->fileInfo.timeStamp))) { in Marshalling() 54 if (!(in.ReadUint64(parcel->fileInfo.timeStamp))) { in Unmarshalling()
|
/base/telephony/sms_mms/services/sms/include/gsm/ |
D | gsm_sms_param_codec.h | 29 void EncodeTimePdu(const struct SmsTimeStamp *timeStamp, std::string &resultValue); 35 bool DecodeTimePdu(SmsReadBuffer &bufferr, struct SmsTimeStamp *timeStamp);
|
D | gsm_pdu_code_type.h | 178 struct SmsTimeStamp timeStamp; // TP Service Centre Time Stamp member 210 struct SmsTimeStamp timeStamp; // TP Service Centre Time Stamp member
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/include/ |
D | open_dlp_file_callback_info.h | 26 uint64_t timeStamp; member
|
/base/security/access_token/interfaces/innerkits/analysis_model/src/ |
D | code_signature_analysis_kit.c | 49 totalCount += tmp->timeStamp.timeStampCount; in IsRiskStatusChanged() 50 eventCount += (tmp->timeStamp.timeStampCount != 0) ? 1 : 0; in IsRiskStatusChanged() 79 while ((tmpNode != NULL) && (tmpNode->timeStamp.timeStampMs > report->timeStampMs)) { in DataPreProcess() 90 head->timeStamp.timeStampCount--; in DataPreProcess() 104 tmp->timeStamp.timeStampMs = report->timeStampMs; in DataPreProcess() 107 head->timeStamp.timeStampCount++; in DataPreProcess() 133 tmp[i].timeStamp.timeStampCount = 0; in AppRiskInfoNodeInit()
|
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_common/ |
D | dlp_sandbox_info.h | 34 uint64_t timeStamp = 0; variable
|
/base/time/time_service/test/unittest/service_test/src/ |
D | time_service_test.cpp | 706 auto timeStamp = ntpClient->ConvertNtpToStamp(0); variable 707 EXPECT_EQ(timeStamp, 0); 708 timeStamp = ntpClient->ConvertNtpToStamp(100); 709 EXPECT_EQ(timeStamp, 0); 710 timeStamp = ntpClient->ConvertNtpToStamp(2147483648); 711 EXPECT_EQ(timeStamp, 0); 712 timeStamp = ntpClient->ConvertNtpToStamp(31234114451); 713 EXPECT_EQ(timeStamp, 0); 715 timeStamp = ntpClient->ConvertNtpToStamp(time << 32); 716 EXPECT_GT(timeStamp, 0);
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/ |
D | permission_grant_event.h | 31 uint64_t timeStamp; member
|
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/ |
D | dlp_parcel_test.cpp | 104 info.fileInfo.timeStamp = 1; 111 EXPECT_EQ(1, result->fileInfo.timeStamp);
|
/base/web/webview/ohos_adapter/audio_adapter/src/ |
D | audio_capturer_adapter_impl.cpp | 221 Timestamp timeStamp; in GetAudioTime() local 222 audio_capturer_->GetAudioTime(timeStamp, Timestamp::Timestampbase::MONOTONIC); in GetAudioTime() 223 return timeStamp.time.tv_sec * NANOSECONDS_PER_SECOND + timeStamp.time.tv_nsec; in GetAudioTime()
|
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/ |
D | faultlogger_client_unittest.cpp | 102 for (auto timeStamp : timeStamps) { variable 103 if (CheckLogFileExist(timeStamp, getuid(), "cppcrash", "faultlogtest1")) {
|
/base/telephony/sms_mms/services/sms/include/cdma/ |
D | cdma_sms_common.h | 334 SmsTimeAbs timeStamp; member 374 SmsTimeAbs timeStamp; member 382 SmsTimeAbs timeStamp; member 390 SmsTimeAbs timeStamp; member
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
D | data_publisher.cpp | 274 int64_t timeStamp; in GetTimeStampByUid() local 277 timeStamp = iter->second; in GetTimeStampByUid() 279 timeStamp = 0; in GetTimeStampByUid() 281 return timeStamp; in GetTimeStampByUid()
|
/base/hiviewdfx/faultloggerd/interfaces/common/ |
D | dfx_dump_request.h | 88 uint64_t timeStamp; member
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_sender.cpp | 79 long timeStamp = chrono::duration_cast<chrono::seconds>(timePoint).count(); in TextBasedSmsDelivery() local 118 indexer->SetTimeStamp(timeStamp); in TextBasedSmsDelivery() 268 long timeStamp = chrono::duration_cast<chrono::seconds>(timePoint).count(); in SetSendIndexerInfo() local 269 indexer->SetTimeStamp(timeStamp); in SetSendIndexerInfo() 378 long timeStamp = chrono::duration_cast<chrono::seconds>(timePoint).count(); in EncodeMsgData() local 379 indexer->SetTimeStamp(timeStamp); in EncodeMsgData() 416 long timeStamp = chrono::duration_cast<chrono::seconds>(timePoint).count(); in DataBasedSmsDeliveryViaIms() local 424 indexer->SetTimeStamp(timeStamp); in DataBasedSmsDeliveryViaIms() 640 long timeStamp = chrono::duration_cast<chrono::seconds>(timePoint).count(); in ResendTextDelivery() local 641 smsIndexer->SetTimeStamp(timeStamp); in ResendTextDelivery() [all …]
|
/base/hiviewdfx/hiview/base/utility/ |
D | time_util.cpp | 62 std::string TimestampFormatToDate(time_t timeStamp, const std::string& format) in TimestampFormatToDate() argument 66 if (localtime_r(&timeStamp, &result) != nullptr) { in TimestampFormatToDate()
|
/base/hiviewdfx/hiview/base/utility/include/ |
D | time_util.h | 56 std::string TimestampFormatToDate(time_t timeStamp, const std::string& format);
|
/base/security/device_security_level/services/dfx/ |
D | dslm_hidumper.c | 39 static const char *GetTimeStringFromTimeStamp(uint64_t timeStamp) in GetTimeStringFromTimeStamp() argument 46 if (timeStamp == 0) { in GetTimeStringFromTimeStamp() 49 if (!GetDateTimeByMillisecondSinceBoot(timeStamp, &dateTime)) { in GetTimeStringFromTimeStamp()
|