Home
last modified time | relevance | path

Searched defs:client (Results 1 – 25 of 96) sorted by relevance

1234

/base/sensors/miscdevice/interfaces/native/vibrator/src/
Dvibrator_agent.cpp68 auto &client = VibratorServiceClient::GetInstance(); in StartVibrator() local
85 auto &client = VibratorServiceClient::GetInstance(); in StartVibratorOnce() local
108 auto &client = VibratorServiceClient::GetInstance(); in PlayVibratorCustom() local
134 auto &client = VibratorServiceClient::GetInstance(); in StopVibrator() local
145 auto &client = VibratorServiceClient::GetInstance(); in Cancel() local
167 auto &client = VibratorServiceClient::GetInstance(); in IsSupportEffect() local
/base/startup/appspawn/adapter/
Dappspawn_adapter.cpp39 int SetAppAccessToken(struct AppSpawnContent_ *content, AppSpawnClient *client) in SetAppAccessToken()
66 int SetSelinuxCon(struct AppSpawnContent_ *content, AppSpawnClient *client) in SetSelinuxCon()
120 int SetSeccompFilter(struct AppSpawnContent_ *content, AppSpawnClient *client) in SetSeccompFilter()
141 void HandleInternetPermission(const AppSpawnClient *client) in HandleInternetPermission()
/base/startup/appspawn/standard/
Dappspawn_process.c51 static int SetAsanEnabledEnv(struct AppSpawnContent_ *content, AppSpawnClient *client) in SetAsanEnabledEnv()
78 static int SetProcessName(struct AppSpawnContent_ *content, AppSpawnClient *client, in SetProcessName()
114 static int SetKeepCapabilities(struct AppSpawnContent_ *content, AppSpawnClient *client) in SetKeepCapabilities()
125 static int SetCapabilities(struct AppSpawnContent_ *content, AppSpawnClient *client) in SetCapabilities()
166 static void InitDebugParams(struct AppSpawnContent_ *content, AppSpawnClient *client) in InitDebugParams()
190 static void ClearEnvironment(AppSpawnContent *content, AppSpawnClient *client) in ClearEnvironment()
222 static int SetUidGid(struct AppSpawnContent_ *content, AppSpawnClient *client) in SetUidGid()
281 static int32_t SetFileDescriptors(struct AppSpawnContent_ *content, AppSpawnClient *client) in SetFileDescriptors()
358 static int32_t WaitForDebugger(AppSpawnClient *client) in WaitForDebugger()
412 static int GetWrapBundleNameValue(struct AppSpawnContent_ *content, AppSpawnClient *client) in GetWrapBundleNameValue()
[all …]
Dappspawn_service.c128 AppSpawnClientExt *client = (AppSpawnClientExt *)LE_GetUserData(taskHandle); in OnClose() local
152 AppSpawnClientExt *client = (AppSpawnClientExt *)LE_GetUserData(taskHandle); in SendMessageComplete() local
163 static int SendResponse(AppSpawnClientExt *client, const char *buff, size_t buffSize) in SendResponse()
320 static bool ReceiveRequestDataToDataGroup(const TaskHandle taskHandle, AppSpawnClientExt *client, in ReceiveRequestDataToDataGroup()
342 static bool ReceiveRequestDataToOverlay(const TaskHandle taskHandle, AppSpawnClientExt *client, in ReceiveRequestDataToOverlay()
367 static bool ReceiveRequestDataToHspList(const TaskHandle taskHandle, AppSpawnClientExt *client, in ReceiveRequestDataToHspList()
408 APPSPAWN_STATIC bool ReceiveRequestData(const TaskHandle taskHandle, AppSpawnClientExt *client, in ReceiveRequestData()
529 AppSpawnClientExt *client = (AppSpawnClientExt *)LE_GetUserData(stream); in AcceptClient() local
561 static void NotifyResToParent(struct AppSpawnContent_ *content, AppSpawnClient *client, int result) in NotifyResToParent()
600 AppSpawnClientExt *client = (AppSpawnClientExt *)malloc(sizeof(AppSpawnClientExt)); in AppSpawnColdRun() local
/base/sensors/miscdevice/interfaces/native/light/src/
Dlight_agent.cpp32 auto &client = LightClient::GetInstance(); in GetLightList() local
47 auto &client = LightClient::GetInstance(); in TurnOn() local
62 auto &client = LightClient::GetInstance(); in TurnOff() local
/base/startup/appspawn/lite/
Dappspawn_process.c83 static int SetProcessName(struct AppSpawnContent_ *content, AppSpawnClient *client, in SetProcessName()
90 static int SetKeepCapabilities(struct AppSpawnContent_ *content, AppSpawnClient *client) in SetKeepCapabilities()
102 static int SetUidGid(struct AppSpawnContent_ *content, AppSpawnClient *client) in SetUidGid()
131 static int SetCapabilities(struct AppSpawnContent_ *content, AppSpawnClient *client) in SetCapabilities()
164 static void RunChildProcessor(AppSpawnContent *content, AppSpawnClient *client) in RunChildProcessor()
/base/inputmethod/imf/services/src/
Dperuser_session.cpp99 int32_t PerUserSession::RemoveClient(const sptr<IRemoteObject> &client, bool isClientDied) in RemoveClient()
246 sptr<IInputClient> client = GetCurrentClient(); in OnHideKeyboardSelf() local
257 sptr<IInputClient> client = GetCurrentClient(); in OnShowKeyboardSelf() local
302 int32_t PerUserSession::SendAgentToSingleClient(const sptr<IInputClient> &client) in SendAgentToSingleClient()
321 int32_t PerUserSession::OnReleaseInput(const sptr<IInputClient>& client) in OnReleaseInput()
335 int32_t PerUserSession::OnStartInput(const sptr<IInputClient> &client, bool isShowKeyboard, bool at… in OnStartInput()
385 auto client = GetCurrentClient(); in OnSetCoreAndAgent() local
415 int32_t PerUserSession::OnStopInput(sptr<IInputClient> client) in OnStopInput()
459 void PerUserSession::SetCurrentClient(sptr<IInputClient> client) in SetCurrentClient()
488 for (const auto &client : mapClients_) { in OnSwitchIme() local
[all …]
/base/update/updateservice/frameworks/js/napi/client/
Dupdate_module.cpp154 …UpdateClient *client = CreateJsObject<UpdateClient>(env, info, g_updateClientConstructorRef, jsObj… in GetOnlineUpdater() local
187 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in CheckNewVersion() local
194 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in SetUpgradePolicy() local
201 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in GetUpgradePolicy() local
208 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in Download() local
216 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in PauseDownload() local
224 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in ResumeDownload() local
231 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in CancelUpgrade() local
239 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in Upgrade() local
247 UpdateClient *client = UnwrapJsObject<UpdateClient>(env, info); in ClearError() local
[all …]
Dupdate_session.h210 : UpdateSession(client, sessionParams, argc, callbackNumber) in UpdateSession() argument
233 : UpdateAsyncession(client, sessionParams, argc, callbackNumber) {} in UpdateAsyncession() argument
243 : UpdateSession(client, sessionParams, argc, callbackNumber) {} in UpdateSession() argument
260 : UpdateSession(client, sessionParams, argc, callbackNumber), isOnce_(isOnce) {} in UpdateSession() argument
/base/location/services/location_gnss/gnss/source/
Dgnss_ability_skeleton.cpp72 sptr<IRemoteObject> client = data.ReadObject<IRemoteObject>(); in OnRemoteRequest() local
80 sptr<IRemoteObject> client = data.ReadObject<IRemoteObject>(); in OnRemoteRequest() local
88 sptr<IRemoteObject> client = data.ReadObject<IRemoteObject>(); in OnRemoteRequest() local
96 sptr<IRemoteObject> client = data.ReadObject<IRemoteObject>(); in OnRemoteRequest() local
/base/startup/appspawn/common/
Dappspawn_server.c47 static void NotifyResToParent(struct AppSpawnContent_ *content, AppSpawnClient *client, int result) in NotifyResToParent()
83 int DoStartApp(struct AppSpawnContent_ *content, AppSpawnClient *client, char *longProcName, uint32… in DoStartApp()
154 AppSpawnClient *client = sandbox->client; in AppSpawnChild() local
220 AppSpawnClient *client = sandbox->client; in AppSpawnProcessMsg() local
/base/location/test/location_locator/source/
Dlocator_required_data_manager_test.cpp57 sptr<IRemoteObject> client = data.ReadObject<IRemoteObject>(); variable
78 sptr<IRemoteObject> client = data.ReadObject<IRemoteObject>(); variable
/base/security/device_auth/frameworks/deviceauth_lite/source/key_agreement/
Dkey_agreement_client.c40 struct key_agreement_client *client = (struct key_agreement_client *)handle; in send_start_request() local
66 struct key_agreement_client *client = (struct key_agreement_client *)handle; in send_end_request() local
98 struct key_agreement_client *client = (struct key_agreement_client *)handle; in receive_end_response() local
/base/sensors/medical_sensor/interfaces/native/src/
Dmedical_native_impl.cpp78 auto &client = MedicalSensorServiceClient::GetInstance(); in CreateSensorDataChannel() local
107 MedicalSensorServiceClient &client = MedicalSensorServiceClient::GetInstance(); in DestroyAfeDataChannel() local
126 MedicalSensorServiceClient &client = MedicalSensorServiceClient::GetInstance(); in GetAllSensors() local
178 MedicalSensorServiceClient &client = MedicalSensorServiceClient::GetInstance(); in ActivateSensor() local
204 MedicalSensorServiceClient &client = MedicalSensorServiceClient::GetInstance(); in DeactivateSensor() local
/base/telephony/state_registry/interfaces/innerkits/observer/
Dtelephony_observer_client.h62 explicit StateRegistryDeathRecipient(TelephonyObserverClient &client) : client_(client) {} in StateRegistryDeathRecipient()
/base/telephony/core_service/interfaces/innerkits/include/
Dtelephony_state_registry_client.h124 … explicit StateRegistryDeathRecipient(TelephonyStateRegistryClient &client) : client_(client) {} in StateRegistryDeathRecipient()
Dcore_service_client.h835 explicit CoreServiceDeathRecipient(CoreServiceClient &client) : client_(client) {} in CoreServiceDeathRecipient()
/base/hiviewdfx/hisysevent/frameworks/native/
Dmain.cpp25 auto client = make_unique<HiSysEventTool>(); in main() local
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/
Dauth_sub_session_test.cpp110 AuthSubSession *client; variable
168 AuthSubSession *client; variable
226 AuthSubSession *client; variable
284 AuthSubSession *client; variable
342 AuthSubSession *client; variable
400 AuthSubSession *client; variable
740 static int32_t LoopProcess(AuthSubSession *client, AuthSubSession *server) in LoopProcess()
783 AuthSubSession *client = *clientPtr; in TestMemoryInner() local
826 AuthSubSession *client = nullptr; in TestMemoryException() local
/base/powermgr/display_manager/interfaces/inner_api/native/include/
Ddisplay_power_mgr_client.h63 explicit DisplayDeathRecipient(DisplayPowerMgrClient& client) : client_(client) {} in DisplayDeathRecipient()
/base/powermgr/power_manager/utils/shell/src/
Dpower_shell_command.cpp168 PowerMgrClient& client = PowerMgrClient::GetInstance(); in RunAsSetModeCommand() local
184 PowerMgrClient& client = PowerMgrClient::GetInstance(); in RunAsWakeupCommand() local
193 PowerMgrClient& client = PowerMgrClient::GetInstance(); in RunAsSuspendCommand() local
212 PowerMgrClient& client = PowerMgrClient::GetInstance(); in RunAsDumpCommand() local
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
Dapp_spawn_standard_test.cpp153 int32_t TestSetAppSandboxProperty(struct AppSpawnContent_ *content, AppSpawnClient *client) in TestSetAppSandboxProperty()
176 AppSpawnClientExt* client = (AppSpawnClientExt*)malloc(sizeof(AppSpawnClientExt)); variable
226 AppSpawnClientExt client = {}; variable
286 AppSpawnClientExt client = {}; variable
324 AppSpawnClientExt client = {}; variable
376 AppSpawnClientExt client = {}; variable
743 AppSpawnClientExt client = {}; variable
774 AppSpawnClientExt client = {}; variable
802 AppSpawnClientExt client = {}; variable
833 AppSpawnClientExt client = {}; variable
[all …]
/base/sensors/sensor_lite/frameworks/src/
Dsensor_agent_proxy.c260 IClientProxy *client = (IClientProxy *)proxy; in RegisterSensorChannel() local
289 IClientProxy *client = (IClientProxy *)proxy; in UnregisterSensorChannel() local
325 IClientProxy *client = (IClientProxy *)proxy; in InitSensorList() local
366 IClientProxy *client = (IClientProxy *)proxy; in ActivateSensorByProxy() local
387 IClientProxy *client = (IClientProxy *)proxy; in DeactivateSensorByProxy() local
411 IClientProxy *client = (IClientProxy *)proxy; in SetBatchByProxy() local
496 IClientProxy *client = (IClientProxy *)proxy; in SetModeByProxy() local
518 IClientProxy *client = (IClientProxy *)proxy; in SetOptionByProxy() local
/base/telephony/cellular_data/interfaces/innerkits/
Dcellular_data_client.h145 explicit CellularDataDeathRecipient(CellularDataClient &client) : client_(client) {} in CellularDataDeathRecipient()
/base/hiviewdfx/hilog/services/hilogd/
Dcmd_executor.cpp38 for (auto& client : m_clients) { in ~CmdExecutor() local
41 for (auto& client : m_clients) { in ~CmdExecutor() local

1234