Home
last modified time | relevance | path

Searched refs:std (Results 11576 - 11600 of 12264) sorted by relevance

1...<<461462463464465466467468469470>>...491

/base/request/request/services/src/task/
H A Dconfig.rs14 use std::collections::HashMap;
15 use std::fs::File;
16 use std::os::fd::FromRawFd;
160 fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> { in partial_cmp()
166 fn cmp(&self, other: &Self) -> std::cmp::Ordering { in cmp()
/base/security/dataclassification/test/unittest/datatransmitmgr/
H A DDevSLMgrTest.cpp256 static std::mutex g_mtx;
257 static std::condition_variable g_cv;
278 std::unique_lock<std::mutex> lck(g_mtx); in HWTEST_F()
279 g_cv.wait_for(lck, std::chrono::milliseconds(2000), []() { return (g_cnt == 1); }); in HWTEST_F()
/base/security/device_auth/test/unittest/deviceauth/source/
H A Didentity_manager_test.cpp26 using namespace std;
30 static const std::string TEST_GROUP_ID = "TestGroupId";
31 static const std::string TEST_DEVICE_ID = "TestDeviceId";
32 static const std::string TEST_REQUEST_JSON_STR = "TestRequestJsonStr";
33 static const std::string TEST_PIN_CODE = "11111";
H A Dmk_agree_test.cpp26 using namespace std;
38 static const std::string TEST_HKS_MAIN_DATA_PATH = "/data/service/el1/public/huks_service/tmp/+0+0+0+0";
39 static const std::string TEST_GROUP_DATA_PATH = "/data/service/el1/public/deviceauthMock";
/base/security/huks/interfaces/kits/liteapi/src/
H A Dhks_lite_api_common.cpp193 static int32_t HksParseParamsToVector(const JSIValue paramSetValue, std::vector<HksParam> &params) in HksParseParamsToVector()
220 static void HksReleaseParamVectors(std::vector<HksParam> &params) in HksReleaseParamVectors()
237 static int32_t HksParseParamsToParamSet(const std::vector<HksParam> &paramsVector, struct HksParamSet **outParamSet) in HksParseParamsToParamSet()
260 static int32_t GetAndPushBundleNameToVector(std::vector<HksParam> &paramsVector) in GetAndPushBundleNameToVector()
289 std::vector<HksParam> paramsVector; in HksParseParamSetWithAdd()
/base/sensors/sensor/services/src/
H A Dsensor_service_stub.cpp100 std::u16string descriptor = SensorServiceStub::GetDescriptor(); in OnRemoteRequest()
101 std::u16string remoteDescriptor = data.ReadInterfaceToken(); in OnRemoteRequest()
180 std::vector<Sensor> sensors = GetSensorList(); in GetAllSensorsInner()
199 sptr<SensorBasicDataChannel> sensorChannel = new (std::nothrow) SensorBasicDataChannel(); in CreateDataChannelInner()
263 std::vector<ActiveInfo> activeInfoList; in GetActiveInfoListInner()
/base/telephony/ril_adapter/services/hril/src/
H A Dhril_modem.cpp181 return Response(responseInfo, &HDI::Ril::V1_1::IRilCallback::GetImeiResponse, std::string((const char *)response)); in GetImeiResponse()
196 responseInfo, &HDI::Ril::V1_3::IRilCallback::GetImeiSvResponse, std::string((const char *)response)); in GetImeiSvResponse()
202 std::string meidResponse = ""; in GetMeidResponse()
215 meidResponse = std::string((const char *)response); in GetMeidResponse()
261 responseInfo, &HDI::Ril::V1_1::IRilCallback::GetBasebandVersionResponse, std::string((const char *)response)); in GetBasebandVersionResponse()
/base/telephony/cellular_call/test/fuzztest/setimsfeaturevalue_fuzzer/
H A Dsetimsfeaturevalue_fuzzer.cpp178 std::string value(reinterpret_cast<const char *>(data), size); in SetImsConfig()
239 std::string telNum = "000000000"; in Reject()
240 std::string tempNum(reinterpret_cast<const char *>(data), size); in Reject()
275 std::string telNum = "000000000"; in HangUp()
276 std::string tempNum(reinterpret_cast<const char *>(data), size); in HangUp()
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
H A Duser_auth_entry.cpp31 const std::string NOTICE_WIDGET_CTXID = "widgetContextId";
32 const std::string NOTICE_EVENT_TYPE = "event";
33 const std::string NOTICE_VERSION = "version";
34 const std::string NOTICE_PAYLOAD = "payload";
35 const std::string NOTICE_PAYLOAD_TYPE = "type";
36 const std::string SUPPORT_NOTICE_VERSION = "1";
102 std::unique_ptr<AuthInstanceV9> authInstanceV9 {new (std::nothrow) AuthInstanceV9(env)}; in AuthInstanceV9Constructor()
338 std::unique_ptr<UserAuthInstanceV10> userAuthInstanceV10 {new (std in UserAuthInstanceV10Constructor()
[all...]
/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_user_data_pdu.cpp27 using namespace std;
32 SmsWriteBuffer &buffer, const struct SmsUDPackage *(&userData), DataCodingScheme scheme, std::string &destAddr) in EncodeUserDataPdu()
38 auto encodePdu = std::make_shared<GsmUserDataEncode>(shared_from_this()); in EncodeUserDataPdu()
75 auto decodePdu = std::make_shared<GsmUserDataDecode>(shared_from_this()); in DecodeUserDataPdu()
112 auto decodePdu = std::make_shared<GsmUserDataDecode>(shared_from_this()); in DecodeUserDataPdu()
285 std::string encodedAddr; in EncodeHeaderReplyAddress()
/base/telephony/call_manager/test/fuzztest/telephonyinteraction_fuzzer/
H A Dtelephonyinteraction_fuzzer.cpp34 std::unique_ptr<CallStatusCallback> CallStatusCallbackPtr_ = nullptr;
42 CallStatusCallbackPtr_ = std::make_unique<CallStatusCallback>(); in ServiceInited()
82 std::string msg(reinterpret_cast<const char *>(data), size); in UpdateCallReportInfo()
125 std::string msg(reinterpret_cast<const char *>(data), size); in UpdateCallsReportInfo()
229 std::string msg(reinterpret_cast<const char *>(data), size); in UpdateGetTransferResult()
318 std::string msg(reinterpret_cast<const char *>(data), size); in SendMmiCodeResult()
/base/security/device_auth/test/fuzztest/authenticators/account_related/auth/isoauthtask_fuzzer/
H A Disoauthtask_fuzzer.cpp28 static const std::string TEST_USER_ID = "1234ABCD";
29 static const std::string TEST_AUTH_ID = "TestAuthId";
30 static const std::string TEST_DEV_ID_EXCEED =
32 static const std::string TEST_UDID = "TestUdid";
33 static const std::string TEST_SESSION_KEY = "2f7562744654535564586e665467546b322b4b506b65626373466f48766a4335";
34 static const std::string TEST_SEED = "2f7562744654535564586e665467546b322b4b506b65626373466f48766a4335";
35 static const std::string TEST_SALT = "2f7562744654535564586e665467546b";
36 static const std::string TEST_AUTH_CODE = "37364761534f454d33567a73424e794f33573330507069434b31676f7254706b";
37 static const std::string TEST_PAYLOAD = "37364761534f454d33567a73424e794f33573330507069434b31676f7254706b";
38 static const std
[all...]
/base/security/device_auth/test/fuzztest/creds_manager/credsmanager_fuzzer/
H A Dcredsmanager_fuzzer.cpp33 static const std::string TEST_PIN_CODE = "123456";
34 static const std::string TEST_APP_ID = "TestAppId";
35 static const std::string TEST_APP_ID2 = "TestAppId2";
36 static const std::string TEST_AUTH_ID = "TestAuthId";
37 static const std::string TEST_AUTH_ID2 = "TestAuthId2";
38 static const std::string TEST_UDID_CLIENT = "5420459D93FE773F9945FD64277FBA2CAB8FB996DDC1D0B97676FBB1242B3930";
39 static const std::string TEST_UDID_SERVER = "52E2706717D5C39D736E134CC1E3BE1BAA2AA52DB7C76A37C749558BD2E6492C";
40 static const std::string TEST_CREATE_PARAMS = "{\"groupName\":\"TestGroup\",\"deviceId\":\"TestAuthId\",\"group"
42 static const std::string TEST_CREATE_PARAMS2 = "{\"groupName\":\"TestGroup\",\"deviceId\":\"TestAuthId\",\"group"
44 static const std
[all...]
/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_easy_test.cpp117 std::string strContent; in HWTEST_F()
119 strContent = strContent + std::string("0123456789"); in HWTEST_F()
230 std::string val = "TEST"; in HWTEST_F()
/base/global/i18n/services/test/unittest/src/
H A Di18n_service_test.cpp26 using namespace std;
90 std::vector<std::string> preferredLanguageList = PreferredLanguage::GetPreferredLanguageList(); in InitTestEnvironment()
/base/global/i18n/frameworks/intl/src/
H A Dlunar_calendar.cpp22 std::unordered_map<int32_t, int32_t> LunarCalendar::daysOfMonth {
37 std::unordered_map<int32_t, int32_t> LunarCalendar::accDaysOfMonth {
52 std::vector<uint32_t> LunarCalendar::lunarDateInfo {
/base/print/print_fwk/test/unittest/service_test/
H A Dscan_service_ability_test.cpp47 std::string scannerId;
48 std::set<ScanErrorCode> allStatus;
77 void ScanServiceAbilityTest::SetScannerId(const std::string& scannerId) in SetScannerId()
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_proxy_reminder.cpp125 ErrCode AnsManagerProxy::GetValidReminders(std::vector<sptr<ReminderRequest>> &reminders) in GetValidReminders()
220 ErrCode AnsManagerProxy::GetExcludeDates(const int32_t reminderId, std::vector<uint64_t>& dates) in GetExcludeDates()
263 uint8_t &count, MessageParcel &reply, std::vector<sptr<ReminderRequest>> &reminders) in ReadReminders()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dget_active.cpp80 auto asynccallbackinfo = new (std::nothrow) AsyncCallbackInfoActive {.env = env, .asyncWork = nullptr}; in GetAllActiveNotifications()
178 auto asynccallbackinfo = new (std::nothrow) AsyncCallbackInfoActive {.env = env, .asyncWork = nullptr}; in GetActiveNotifications()
254 auto asynccallbackinfo = new (std::nothrow) AsyncCallbackInfoActive {.env = env, .asyncWork = nullptr}; in GetActiveNotificationCount()
/base/powermgr/battery_manager/charger/src/dev/
H A Ddrm_driver.cpp224 std::string devName = std::string("/dev/dri/card") + std::to_string(devIndex); in GetOneResources()
/base/request/request/services/src/service/command/
H A Dconstruct.rs14 use std::collections::HashMap;
15 use std::fs::File;
16 use std::os::fd::{IntoRawFd, RawFd};
/base/request/request/services/src/manage/scheduler/queue/
H A Dmod.rs16 use std::collections::{HashMap, HashSet};
17 use std::sync::atomic::{AtomicBool, Ordering};
18 use std::sync::Arc;
/base/sensors/medical_sensor/services/medical_sensor/test/unittest/common/
H A Dclient_info_test.cpp210 sptr<MedicalSensorBasicDataChannel> sensorChannel = new (std::nothrow) MedicalSensorBasicDataChannel(); in HWTEST_F()
226 sptr<MedicalSensorBasicDataChannel> sensorChannel = new (std::nothrow) MedicalSensorBasicDataChannel(); in HWTEST_F()
272 sptr<MedicalSensorBasicDataChannel> sensorChannel = new (std::nothrow) MedicalSensorBasicDataChannel(); in HWTEST_F()
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_cold_run_test.cpp55 testServer = std::make_unique<OHOS::AppSpawnTestServer>("appspawn -mode appspawn"); in SetUp()
67 std::unique_ptr<OHOS::AppSpawnTestServer> testServer = nullptr;
108 std::string cmd; in HandleExecvStub()
/base/sensors/sensor/frameworks/native/src/
H A Dnative_sensor.cpp324 return new (std::nothrow) Sensor_SubscriptionId(); in OH_Sensor_CreateSubscriptionId()
340 return new (std::nothrow) Sensor_SubscriptionAttribute(); in OH_Sensor_CreateSubscriptionAttribute()
356 return new (std::nothrow) Sensor_Subscriber(); in OH_Sensor_CreateSubscriber()

Completed in 24 milliseconds

1...<<461462463464465466467468469470>>...491