Home
last modified time | relevance | path

Searched refs:core (Results 1 - 25 of 25) sorted by relevance

/base/powermgr/battery_statistics/services/native/src/entities/
H A Duid_entity.cpp68 auto core = bss->GetBatteryStatsCore(); in CalculateForConnectivity() local
69 auto bluetoothEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); in CalculateForConnectivity()
82 auto core = bss->GetBatteryStatsCore(); in CalculateForCommon() local
83 auto cameraEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA); in CalculateForCommon()
84 auto flashlightEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_FLASHLIGHT); in CalculateForCommon()
85 auto audioEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO); in CalculateForCommon()
86 auto sensorEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_SENSOR); in CalculateForCommon()
87 auto gnssEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_GNSS); in CalculateForCommon()
88 auto cpuEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_CPU); in CalculateForCommon()
89 auto wakelockEntity = core in CalculateForCommon()
125 auto core = bss->GetBatteryStatsCore(); Calculate() local
171 auto core = bss->GetBatteryStatsCore(); GetPowerForConnectivity() local
186 auto core = bss->GetBatteryStatsCore(); GetPowerForCommon() local
267 auto core = bss->GetBatteryStatsCore(); DumpForBluetooth() local
282 auto core = bss->GetBatteryStatsCore(); DumpForCommon() local
337 auto core = bss->GetBatteryStatsCore(); DumpInfo() local
[all...]
H A Dbluetooth_entity.cpp435 auto core = bss->GetBatteryStatsCore(); in GetBluetoothUidPower() local
436 auto uidEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP); in GetBluetoothUidPower()
/base/powermgr/battery_statistics/services/native/src/
H A Dbattery_stats_dumper.cpp43 auto core = bss->GetBatteryStatsCore(); in Dump() local
44 if (core == nullptr) { in Dump()
47 core->DumpInfo(result); in Dump()
H A Dbattery_stats_detector.cpp47 auto core = bss->GetBatteryStatsCore(); in HandleStatsChangedEvent() local
51 core->UpdateStats(data.type, data.time, data.traffic, data.uid); in HandleStatsChangedEvent()
54 core->UpdateStats(data.type, data.state, data.level, data.uid, data.deviceId); in HandleStatsChangedEvent()
235 auto core = BatteryStatsService::GetInstance()->GetBatteryStatsCore(); in HandleDebugInfo() local
269 core->UpdateDebugInfo(debugInfo); in HandleDebugInfo()
/base/startup/bootstrap_lite/services/source/
H A Dcore_main.h106 #pragma section = MODULE_NAME(core, 0)
107 #pragma section = MODULE_NAME(core, 1)
108 #pragma section = MODULE_NAME(core, 2)
109 #pragma section = MODULE_NAME(core, 3)
110 #pragma section = MODULE_NAME(core, 4)
H A Dsystem_init.c23 MODULE_INIT(core); in OHOS_SystemInit()
/base/inputmethod/imf/test/fuzztest/perusersession_fuzzer/
H A Dperusersession_fuzzer.cpp87 auto core = iface_cast<IInputMethodCore>(coreStub->AsObject()); in FuzzPerUserSession() local
95 userSessions->OnRegisterProxyIme(core, agent->AsObject()); in FuzzPerUserSession()
97 userSessions->OnUnRegisteredProxyIme(static_cast<UnRegisteredType>(type), core); in FuzzPerUserSession() local
101 userSessions->OnSetCoreAndAgent(core, agent->AsObject()); in FuzzPerUserSession()
/base/inputmethod/imf/services/src/
H A Dperuser_session.cpp195 auto ret = RequestIme(data, RequestType::NORMAL, [&data] { return data->core->HideKeyboard(false); }); in HideKeyboard()
219 auto ret = RequestIme(data, RequestType::REQUEST_SHOW, [&data] { return data->core->ShowKeyboard(); }); in ShowKeyboard()
307 int32_t PerUserSession::RemoveIme(const sptr<IInputMethodCore> &core, ImeType type) in RemoveIme() argument
309 if (core == nullptr) { in RemoveIme()
313 if (data == nullptr || data->core->AsObject() != core->AsObject()) { in RemoveIme()
387 auto ret = RequestIme(data, RequestType::REQUEST_SHOW, [&data] { return data->core->ShowKeyboard(); }); in OnRequestShowInput()
417 [&data, isForce] { return data->core->HideKeyboard(isForce); }); in OnRequestHideInput()
531 data->core->OnClientInactive(clientInfo->channel); in DeactivateClient()
542 return data != nullptr && data->core ! in IsProxyImeEnable()
668 OnSetCoreAndAgent(const sptr<IInputMethodCore> &core, const sptr<IRemoteObject> &agent) OnSetCoreAndAgent() argument
695 OnRegisterProxyIme(const sptr<IInputMethodCore> &core, const sptr<IRemoteObject> &agent) OnRegisterProxyIme() argument
717 OnUnRegisteredProxyIme(UnRegisteredType type, const sptr<IInputMethodCore> &core) OnUnRegisteredProxyIme() argument
852 AddImeData(ImeType type, sptr<IInputMethodCore> core, sptr<IRemoteObject> agent, pid_t pid) AddImeData() argument
[all...]
H A Dinput_method_system_ability.cpp438 int32_t InputMethodSystemAbility::SetCoreAndAgent(const sptr<IInputMethodCore> &core, const sptr<IRemoteObject> &agent) in SetCoreAndAgent() argument
448 return session->OnRegisterProxyIme(core, agent); in SetCoreAndAgent()
454 return session->OnSetCoreAndAgent(core, agent); in SetCoreAndAgent()
1500 int32_t InputMethodSystemAbility::UnRegisteredProxyIme(UnRegisteredType type, const sptr<IInputMethodCore> &core)
1523 return session->OnUnRegisteredProxyIme(type, core);
/base/inputmethod/imf/services/include/
H A Dperuser_session.h76 sptr<IInputMethodCore> core{ nullptr };
84 ImeData(sptr<IInputMethodCore> core, sptr<IRemoteObject> agent, sptr<InputDeathRecipient> deathRecipient, in ImeData()
86 : core(std::move(core)), agent(std::move(agent)), deathRecipient(std::move(deathRecipient)), pid(imePid), in ImeData()
106 int32_t OnSetCoreAndAgent(const sptr<IInputMethodCore> &core, const sptr<IRemoteObject> &agent);
123 int32_t OnRegisterProxyIme(const sptr<IInputMethodCore> &core, const sptr<IRemoteObject> &agent);
124 int32_t OnUnRegisteredProxyIme(UnRegisteredType type, const sptr<IInputMethodCore> &core);
195 int32_t UpdateImeData(sptr<IInputMethodCore> core, sptr<IRemoteObject> agent, pid_t pid);
196 int32_t AddImeData(ImeType type, sptr<IInputMethodCore> core, sptr<IRemoteObject> agent, pid_t pid);
198 int32_t RemoveIme(const sptr<IInputMethodCore> &core, ImeTyp
[all...]
H A Di_input_method_system_ability.h60 virtual int32_t SetCoreAndAgent(const sptr<IInputMethodCore> &core, const sptr<IRemoteObject> &agent) = 0;
62 virtual int32_t UnRegisteredProxyIme(UnRegisteredType type, const sptr<IInputMethodCore> &core) = 0;
H A Dinput_method_system_ability.h72 int32_t SetCoreAndAgent(const sptr<IInputMethodCore> &core, const sptr<IRemoteObject> &agent) override;
74 int32_t UnRegisteredProxyIme(UnRegisteredType type, const sptr<IInputMethodCore> &core) override;
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
H A Dinput_method_system_ability_proxy.h63 int32_t SetCoreAndAgent(const sptr<IInputMethodCore> &core, const sptr<IRemoteObject> &agent) override;
65 int32_t UnRegisteredProxyIme(UnRegisteredType type, const sptr<IInputMethodCore> &core) override;
/base/update/updater/services/rust/hash_signed_data/src/
H A Dffi.rs16 use core::ffi::{c_uchar, c_int, c_char, c_ulong, CStr, c_void};
H A Dlib.rs24 use core::{ffi::{c_char, CStr}, mem::ManuallyDrop, ptr};
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
H A Dinput_method_system_ability_proxy.cpp108 int32_t InputMethodSystemAbilityProxy::SetCoreAndAgent(const sptr<IInputMethodCore> &core,
112 [core, agent](MessageParcel &data) {
113 return data.WriteRemoteObject(core->AsObject()) && data.WriteRemoteObject(agent);
140 int32_t InputMethodSystemAbilityProxy::UnRegisteredProxyIme(UnRegisteredType type, const sptr<IInputMethodCore> &core)
143 [&type, &core](
144 MessageParcel &data) { return ITypesUtil::Marshal(data, static_cast<int32_t>(type), core->AsObject()); });
/base/security/asset/services/db_operator/src/
H A Dstatement.rs18 use core::ffi::c_void;
159 unsafe { core::slice::from_raw_parts(blob, len as _) }
H A Dtable.rs19 use core::ffi::c_void;
H A Ddatabase.rs19 use core::ffi::c_void;
/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_private_member_test.cpp231 * @tc.desc: Test PerUserSession with core nullptr.
264 sptr<InputMethodCoreStub> core = new InputMethodCoreStub(); in HWTEST_F() local
313 sptr<InputMethodCoreStub> core = new InputMethodCoreStub(); in HWTEST_F() local
982 const sptr<IInputMethodCore> core; in HWTEST_F() local
983 auto ret = userSession->OnUnRegisteredProxyIme(type, core); in HWTEST_F()
986 ret = userSession->OnUnRegisteredProxyIme(type, core); in HWTEST_F()
H A Dinput_method_ability_test.cpp273 sptr<IInputMethodCore> core = coreStub; in HWTEST_F() local
278 data.WriteRemoteObject(core->AsObject()); in HWTEST_F()
/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dcore_service_native_branch_test.cpp706 auto core = mInner.SetUssd(1, 1, str, handler); in HWTEST_F() local
708 EXPECT_EQ(core, TELEPHONY_ERR_LOCAL_PTR_NULL); in HWTEST_F()
751 auto core = mInner.SetCallPreferenceMode(1, 1, 1, handler); in HWTEST_F() local
753 EXPECT_EQ(core, TELEPHONY_ERR_LOCAL_PTR_NULL); in HWTEST_F()
/base/security/asset/interfaces/inner_kits/c/src/
H A Dlib.rs18 use core::ffi::c_void;
/base/request/request/services/src/manage/events/
H A Dmod.rs225 use core::time;
/base/request/request/services/src/task/
H A Ddownload.rs273 use core::time;

Completed in 19 milliseconds