Home
last modified time | relevance | path

Searched refs:std (Results 11451 - 11475 of 36499) sorted by relevance

1...<<451452453454455456457458459460>>...1460

/base/sensors/sensor/utils/common/include/
H A Dsensor_delayed_sp_singleton.h41 static std::mutex mutex_;
48 std::mutex SensorDelayedSpSingleton<T>::mutex_;
53 std::lock_guard<std::mutex> lock(mutex_); in GetInstance()
65 std::lock_guard<std::mutex> lock(mutex_); in DestroyInstance()
/base/startup/init/device_info/
H A Ddevice_info_stub.h35 bool CheckPermission(MessageParcel &data, const std::string &permission);
47 int32_t GetUdid(std::string& result) override;
48 int32_t GetSerialID(std::string& result) override;
52 int Dump(int fd, const std::vector<std::u16string>& args) override;
54 std::atomic_bool threadStarted_ { false };
/base/security/security_guard/test/unittest/data_collect/sa/
H A Dacquire_data_subscribe_manager.h59 std::shared_ptr<IDbListener> listener_{};
60 std::mutex mutex_{};
61 std::map<int64_t, std::set<sptr<IRemoteObject>>> eventIdToSubscriberMap_{};
62 std::unordered_map<int64_t, std::shared_ptr<SecurityCollectorSubscriber>> scSubscribeMap_{};
/base/sensors/miscdevice/services/miscdevice_service/hdi_connection/interface/include/
H A Dvibrator_hdi_connection.h31 int32_t Start(const std::string &effectType) override;
37 std::optional<HdfEffectInfo> GetEffectInfo(const std::string &effect) override;
44 int32_t StartByIntensity(const std::string &effect, int32_t intensity) override;
46 int32_t GetAllWaveInfo(std::vector<HdfWaveInformation> &waveInfos) override;
51 std::unique_ptr<IVibratorHdiConnection> iVibratorHdiConnection_ = nullptr;
/base/sensors/sensor/services/include/
H A Dsensor_manager.h38 void InitSensorMap(const std::unordered_map<int32_t, Sensor> &sensorMap, sptr<SensorDataProcesser> dataProcesser,
44 void InitSensorMap(const std::unordered_map<int32_t, Sensor> &sensorMap);
50 void GetPackageName(AccessTokenID tokenId, std::string &packageName);
55 std::thread dataThread_;
60 std::unordered_map<int32_t, Sensor> sensorMap_;
61 std::mutex sensorMapMutex_;
/base/security/security_component_manager/frameworks/inner_api/security_component/include/
H A Dsec_comp_client.h33 int32_t RegisterSecurityComponent(SecCompType type, const std::string& componentInfo, int32_t& scId);
34 int32_t UpdateSecurityComponent(int32_t scId, const std::string& componentInfo);
37 const std::string& componentInfo, const SecCompClickEvent& clickInfo,
63 std::mutex cvLock_;
65 std::condition_variable secComCon_;
66 std::mutex proxyMutex_;
/base/security/security_component_manager/test/fuzztest/security_component/mock/
H A Dfirst_use_dialog.cpp47 bool FirstUseDialog::ReadCfgContent(std::string& content) in ReadCfgContent()
52 void FirstUseDialog::WriteCfgContent(const std::string& content) in WriteCfgContent()
88 void FirstUseDialog::StartDialogAbility(std::shared_ptr<SecCompEntity> entity, in StartDialogAbility()
99 bool FirstUseDialog::SetFirstUseMap(std::shared_ptr<SecCompEntity> entity) in SetFirstUseMap()
104 int32_t FirstUseDialog::NotifyFirstUseDialog(std::shared_ptr<SecCompEntity> entity, in NotifyFirstUseDialog()
110 void FirstUseDialog::Init(std::shared_ptr<SecEventHandler> secHandler) in Init()
/base/sensors/miscdevice/utils/common/include/
H A Dmiscdevice_delayed_sp_singleton.h41 static std::mutex mutex_;
48 std::mutex MiscdeviceDelayedSpSingleton<T>::mutex_;
53 std::lock_guard<std::mutex> lock(mutex_); in GetInstance()
65 std::lock_guard<std::mutex> lock(mutex_); in DestroyInstance()
/base/telephony/sms_mms/services/sms/include/gsm/
H A Dgsm_sms_tpdu_encode.h25 GsmSmsTpduEncode(std::shared_ptr<GsmUserDataPdu> dataCodec, std::shared_ptr<GsmSmsParamCodec> paramCodec,
26 std::shared_ptr<GsmSmsTpduCodec> tpdu);
46 std::shared_ptr<GsmUserDataPdu> uDataCodec_ = nullptr;
47 std::shared_ptr<GsmSmsParamCodec> paramCodec_ = nullptr;
48 std::shared_ptr<GsmSmsTpduCodec> tpdu_ = nullptr;
/base/telephony/cellular_data/services/include/apn_manager/
H A Dapn_item.h34 std::vector<std::string> GetApnTypes() const;
35 bool CanDealWithType(const std::string &type) const;
38 static sptr<ApnItem> MakeDefaultApn(const std::string &apnType);
65 std::vector<std::string> apnTypes_;
/base/update/updater/services/flashd/daemon/
H A Dflashd_main.cpp36 std::vector<std::string> args = Updater::Utils::ParseParams(argc, argv); in FlashdMain()
43 for (std::string arg : args) { in FlashdMain()
44 if (arg.find("-l") != std::string::npos) { in FlashdMain()
50 } else if (arg.find("-t") != std::string::npos || strncmp(modeSet, "tcp", 3) == 0) { // 3 tcp in FlashdMain()
52 } else if (arg.find("-u") != std::string::npos) { in FlashdMain()
/base/update/updater/test/unittest/script/script_instruction/user_instruction/
H A Duser_instruction.cpp21 using namespace std;
53 int32_t CreateInstructionInstance(UScriptInstructionPtr& instr, const std::string& name) override
56 instr = new (std::nothrow) UserInstruction1(); // 为何不加nothrow???
58 instr = new (std::nothrow) UserInstruction2();
62 instr = new (std::nothrow) UserInstructionAbort(); // mock reserved error
79 return new (std::nothrow) UserInstructionFactory; in GetInstructionFactory()
/base/update/updater/services/ui/driver/
H A Dgraphic_engine.h46 std::thread flushLoop_;
47 std::unique_ptr<OHOS::BufferInfo> buffInfo_ = nullptr;
48 std::unique_ptr<uint8_t[]> virAddr_ = nullptr;
49 std::unique_ptr<SurfaceDev> sfDev_ = nullptr;
56 std::mutex mtx_ {};
65 void PostInitSurfDev(std::unique_ptr<SurfaceDev> &surfDev, GrSurface &surface);
/base/update/updater/services/ui/view/component/
H A Dimg_view_adapter.h27 std::string resPath;
28 std::string filePrefix;
65 std::string currPath_ {};
66 std::string dir_ {};
67 std::string filePrefix_ {};
68 std::unique_ptr<ImgAnimatorCallback> cb_ {};
H A Dcomponent_factory.h48 using Type = std::variant<typename Components::SpecificInfoType...>;
53 static std::unique_ptr<ComponentInterface> CreateUxComponent(const UxViewInfo &info);
57 using SpecificInfoFunc = std::function<SpecificInfo<COMPONENT_TYPE_LIST>::Type()>;
62 const static std::unordered_map<std::string, SpecificInfoFunc> specificInfoMap { in GetSpecificInfoMap()
75 inline constexpr bool CHECK_COMPONENT_LIST = (std::is_same_v<T, Components> || ...);
/base/update/updateservice/frameworks/js/napi/update/include/
H A Dsession_manager.h36 void AddSession(std::shared_ptr<BaseSession> session);
39 int32_t ProcessUnsubscribe(const std::string &eventType, size_t argc, napi_value arg);
42 BaseSession *FindSessionByHandle(napi_env env, const std::string &eventType, napi_value arg);
55 std::map<uint32_t, std::shared_ptr<BaseSession>> sessions_;
56 std::recursive_mutex sessionMutex_;
/base/update/updateservice/services/engine/include/
H A Dupdate_notify.h41 bool ConnectToAppService(const std::string &eventInfo, const std::string &subscribeInfo);
45 bool HandleMessage(const std::string &message);
50 static std::mutex instanceLock_;
53 std::mutex connectMutex_;
54 std::condition_variable conditionVal_;
/base/update/updateservice/services/firmware/upgrade/flow/include/
H A Dfirmware_manager.h41 std::vector<ScheduleTask> GetScheduleTasks();
66 void HandleBootUpdateSuccess(const FirmwareTask &task, const std::map<std::string, UpdateResult> &resultMap);
67 void HandleBootUpdateFail(const FirmwareTask &task, const std::map<std::string, UpdateResult> &resultMap);
74 std::shared_ptr<FirmwarePreferencesUtil> preferencesUtil_ =
/base/update/updateservice/services/firmware/upgrade/install/src/
H A Dfirmware_install.cpp32 void FirmwareInstall::StartInstall(const std::vector<FirmwareComponent> &componentList, FirmwareInstallCallback &cb) in StartInstall()
55 std::lock_guard<std::mutex> lock(mutex_); in IsInstalling()
61 std::lock_guard<std::mutex> lock(mutex_); in SetIsInstalling()
65 void FirmwareInstall::CallbackFailedResult(FirmwareInstallCallback &cb, const std::string &errorMsg, int32_t errCode) in CallbackFailedResult()
/base/usb/usb_manager/services/native/include/
H A Dusb_function_switch_window.h46 static std::shared_ptr<UsbFunctionSwitchWindow> GetInstance();
68 static std::shared_ptr<UsbFunctionSwitchWindow> instance_;
71 static std::mutex insMutex_;
72 std::mutex opMutex_;
73 const std::string functionSwitchBundleName_ = "com.usb.right";
74 const std::string functionSwitchExtAbility_ = "UsbFunctionSwitchExtAbility";
H A Dusb_port_manager.h38 int32_t GetPorts(std::vector<UsbPort> &ports);
46 void Dump(int32_t fd, const std::vector<std::string> &args);
52 void DumpSetPortRoles(int32_t fd, const std::string &args);
55 std::mutex mutex_;
56 std::map<int32_t, UsbPort> portMap_;
/base/useriam/user_auth_framework/services/ipc/inc/
H A Dco_auth_service.h32 static std::shared_ptr<CoAuthService> GetInstance();
36 int Dump(int fd, const std::vector<std::u16string> &args) override;
49 std::shared_ptr<ExecutorCallbackInterface> callback);
56 static std::shared_ptr<CoAuthService> instance_;
57 std::recursive_mutex mutex_;
/base/useriam/user_auth_framework/test/fuzztest/dummy/
H A Dmock_ipc_common.h46 static int32_t GetActiveUserId(std::optional<int32_t> &userId);
47 static int32_t GetAllUserId(std::vector<int32_t> &userIds);
50 static bool GetCallerName(IPCObjectStub &stub, std::string &callerName, int32_t &callerType);
51 static bool GetCallingAppID(IPCObjectStub &stub, std::string &callingAppID);
58 static bool CheckForegroundApplication(const std::string &bundleName);
62 static std::set<Permission> permSet_;
/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_select_popup_menu.h55 virtual std::string GetLabel() = 0;
59 virtual std::string GetToolTip() = 0;
74 virtual std::vector<std::shared_ptr<NWebSelectPopupMenuItem>> GetMenuItems() = 0;
84 virtual std::shared_ptr<NWebSelectMenuBound> GetSelectMenuBound() = 0;
93 virtual void Continue(const std::vector<int32_t>& indices) = 0;
H A Dnweb_value_callback.h46 virtual void OnReceiveValue(const std::string& value) = 0;
53 virtual void OnReceiveValue(const std::vector<std::string>& value) = 0;
60 virtual void OnReceiveValue(std::shared_ptr<NWebMessage> value) = 0;
67 virtual void OnReceiveValue(const std::vector<std::shared_ptr<NWebWebStorageOrigin>>& value) = 0;

Completed in 25 milliseconds

1...<<451452453454455456457458459460>>...1460