Home
last modified time | relevance | path

Searched refs:release (Results 1 – 25 of 150) sorted by relevance

123456

/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Djs_callback_manager.cpp44 context->release = std::get<RELEASE_FUNC_INDEX>(current); in RunCallback()
81 if (context->release != nullptr) { in RunCallback()
82 context->release(context->threadId); in RunCallback()
89 RELEASE_FUNC release) in Add() argument
96 jsCallbacks.emplace(std::make_tuple(context, callback, [this, release] (pid_t threadId) { in Add()
97 if (release == nullptr) { in Add()
102 release(threadId); in Add()
/base/telephony/call_manager/test/fuzztest/callnotification_fuzzer/
Dcallnotification_fuzzer.cpp61 sptr<CallBase> callObjectPtr = std::make_unique<CSCall>(paraInfo).release(); in IncomingCallNotificationFunc()
85 sptr<CallBase> callObjectPtr = std::make_unique<CSCall>(paraInfo).release(); in IncomingCallWakeupFunc()
109 sptr<CallBase> callObjectPtr = std::make_unique<CSCall>(paraInfo).release(); in ProximitySensorFunc()
130 sptr<CallBase> callObjectPtr = std::make_unique<CSCall>(paraInfo).release(); in StatusBarFunc()
154 sptr<CallBase> callObjectPtr = std::make_unique<CSCall>(paraInfo).release(); in WiredHeadsetHandlerFunc()
179 sptr<CallBase> callObjectPtr = std::make_unique<CSCall>(paraInfo).release(); in CallDataRdbObserverFunc()
208 sptr<CallBase> callObjectPtr = std::make_unique<CSCall>(paraInfo).release(); in MissedCallNotificationFunc()
233 sptr<CallBase> callObjectPtr = std::make_unique<CSCall>(paraInfo).release(); in RejectCallSmsFunc()
/base/security/access_token/interfaces/innerkits/analysis_model/test/unittest/
Dcode_signature_analysis_kit_test.cpp29 test->release(); in SetUpTestCase()
117 test->release();
140 test->release();
143 test->release();
170 test->release();
259 test->release();
323 test->release();
401 test->release();
450 test->release();
451 test->release();
/base/startup/init/services/modules/bootchart/
Dbootchart.c80 char release[PARAM_VALUE_LEN_MAX] = {}; in BootchartLogHeader() local
81 uint32_t len = sizeof(release); in BootchartLogHeader()
82 (void)SystemReadParam("const.ohos.releasetype", release, &len); in BootchartLogHeader()
91 …(void)fprintf(file, "system.uname = %s %s %s %s\n", uts.sysname, uts.release, uts.version, uts.mac… in BootchartLogHeader()
92 if (strlen(release) > 0) { in BootchartLogHeader()
93 (void)fprintf(file, "system.release = %s\n", release); in BootchartLogHeader()
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_ability_callback.cpp327 CallSupplementWorker *dataWorker = std::make_unique<CallSupplementWorker>().release(); in ReportStartRttInfo()
334 uv_work_t *work = std::make_unique<uv_work_t>().release(); in ReportStartRttInfo()
357 CallSupplementWorker *dataWorker = std::make_unique<CallSupplementWorker>().release(); in ReportStopRttInfo()
364 uv_work_t *work = std::make_unique<uv_work_t>().release(); in ReportStopRttInfo()
387 CallSupplementWorker *dataWorker = std::make_unique<CallSupplementWorker>().release(); in ReportCallMediaModeInfo()
394 uv_work_t *work = std::make_unique<uv_work_t>().release(); in ReportCallMediaModeInfo()
417 CallStateWorker *dataWorker = std::make_unique<CallStateWorker>().release(); in UpdateCallStateInfo()
424 uv_work_t *work = std::make_unique<uv_work_t>().release(); in UpdateCallStateInfo()
503 CallEventWorker *dataWorker = std::make_unique<CallEventWorker>().release(); in UpdateCallEvent()
510 uv_work_t *work = std::make_unique<uv_work_t>().release(); in UpdateCallEvent()
[all …]
/base/update/update_app/product/oh/base/
Dbuild-profile.json57 "name": "release"
/base/telephony/state_registry/frameworks/native/observer/src/
Dtelephony_observer.cpp194 result.emplace_back(signal.release()); in ConvertSignalInfoList()
202 result.emplace_back(signal.release()); in ConvertSignalInfoList()
210 result.emplace_back(signal.release()); in ConvertSignalInfoList()
218 result.emplace_back(signal.release()); in ConvertSignalInfoList()
241 cells.emplace_back(cell.release()); in ConvertCellInfoList()
249 cells.emplace_back(cell.release()); in ConvertCellInfoList()
/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account.cpp211 queryOAByIdCB.release(); in QueryOsAccountById()
239 removeOACB.release(); in RemoveOsAccount()
272 setOANameCB.release(); in SetOsAccountName()
305 setOAConsCB.release(); in SetOsAccountConstraints()
338 activeOACB.release(); in ActivateOsAccount()
366 createOACB.release(); in CreateOsAccount()
394 createOAForDomainCB.release(); in CreateOsAccountForDomain()
437 getOACount.release(); in GetCreatedOsAccountsCountInner()
480 dbDeviceId.release(); in GetDistributedVirtualDeviceIdInner()
523 getAllConsCB.release(); in GetOsAccountAllConstraintsInner()
[all …]
/base/telephony/state_registry/test/unittest/state_test/
Dstate_registry_test.cpp58 telephonyObserver0_ = std::make_unique<StateRegistryObserver>().release(); in InitTelephonyObserver()
75 telephonyObserver1_ = std::make_unique<StateRegistryObserver>().release(); in InitTelephonyObserver()
165 vec.push_back(signal.release()); in UpdateSignalInfo()
210 slotId, networkState.release()); in UpdateNetworkState()
606 vec.push_back(gsmSignal.release());
609 vec.push_back(wcdmaSignal.release());
612 vec.push_back(tdScdmaSignal.release());
615 vec.push_back(cdmaSignal.release());
618 vec.push_back(lteSignal.release());
650 vec.push_back(gsmCell.release());
[all …]
/base/telephony/cellular_data/services/src/state_machine/
Dcellular_data_state_machine.cpp151 std::weak_ptr<CellularDataStateMachine>(shared_from_this()), "Active").release(); in Init()
153 std::weak_ptr<CellularDataStateMachine>(shared_from_this()), "Inactive").release(); in Init()
155 std::weak_ptr<CellularDataStateMachine>(shared_from_this()), "Activating").release(); in Init()
157 std::weak_ptr<CellularDataStateMachine>(shared_from_this()), "Disconnecting").release(); in Init()
159 std::weak_ptr<CellularDataStateMachine>(shared_from_this()), "Default").release(); in Init()
160 netSupplierInfo_ = std::make_unique<NetSupplierInfo>().release(); in Init()
161 netLinkInfo_ = std::make_unique<NetLinkInfo>().release(); in Init()
/base/telephony/cellular_data/frameworks/js/napi/src/
Dnapi_cellular_data.cpp156 NapiUtil::Handle2ValueCallback(env, asyncContext.release(), callbackValue); in GetCellularDataStateCallback()
177 return NapiUtil::HandleAsyncWork(env, asyncContext.release(), "GetCellularDataState", in GetCellularDataState()
218 NapiUtil::Handle2ValueCallback(env, asyncContext.release(), callbackValue); in IsCellularDataEnabledCallback()
242 return NapiUtil::HandleAsyncWork(env, asyncContext.release(), "IsCellularDataEnabled", in IsCellularDataEnabled()
283 NapiUtil::Handle1ValueCallback(env, asyncContext.release(), callbackValue); in EnableCellularDataCallback()
303 NapiUtil::Handle1ValueCallback(env, asyncContext.release(), callbackValue); in DisableCellularDataCallback()
323 NapiUtil::Handle1ValueCallback(env, asyncContext.release(), callbackValue); in EnableCellularDataRoamingCallback()
343 NapiUtil::Handle1ValueCallback(env, asyncContext.release(), callbackValue); in DisableCellularDataRoamingCallback()
367 …env, asyncContext.release(), "EnableCellularData", NativeEnableCellularData, EnableCellularDataCal… in EnableCellularData()
411 …env, asyncContext.release(), "DisableCellularData", NativeDisableCellularData, DisableCellularData… in DisableCellularData()
[all …]
/base/telephony/cellular_data/test/fuzztest/updateinactivemachine_fuzzer/
Dupdateinactivemachine_fuzzer.cpp47 …e_unique<Inactive>(std::weak_ptr<CellularDataStateMachine>(cellularMachine), "Inactive").release(); in UpdateInActiveMachineFuzz()
49 …ique<Activating>(std::weak_ptr<CellularDataStateMachine>(cellularMachine), "Activating").release(); in UpdateInActiveMachineFuzz()
/base/telephony/cellular_data/test/fuzztest/updatedisconnectmachine_fuzzer/
Dupdatedisconnectmachine_fuzzer.cpp46 .release(); in UpdateDisconnectMachineFuzz()
48 …ake_unique<Default>(std::weak_ptr<CellularDataStateMachine>(cellularMachine), "Default").release(); in UpdateDisconnectMachineFuzz()
/base/update/update_app/
Dbuild-profile.json58 "signingConfig": "release",
/base/startup/init/simulator/parameter/src/
Dparameter_common.c161 const char release[] = "Release"; in BuildOSFullName() local
165 if (strncmp(releaseType, release, sizeof(release) - 1) == 0) { in BuildOSFullName()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/include/
Dnapi_callback_context.h33 RELEASE_FUNC release; member
Djs_callback_manager.h35 void Add(CallbackContext* context, CALLBACK_FUNC callback, RELEASE_FUNC release = nullptr);
/base/telephony/sms_mms/test/fuzztest/sendmessage_fuzzer/
Dsendmessage_fuzzer.cpp68 dataParcel.WriteRemoteObject(sendCallback.release()->AsObject().GetRefPtr()); in SendSmsTextRequest()
71 dataParcel.WriteRemoteObject(deliveryCallback.release()->AsObject().GetRefPtr()); in SendSmsTextRequest()
/base/telephony/sms_mms/test/fuzztest/sendmessagedata_fuzzer/
Dsendmessagedata_fuzzer.cpp67 dataParcel.WriteRemoteObject(sendCallback.release()->AsObject().GetRefPtr()); in SendSmsDataRequest()
70 dataParcel.WriteRemoteObject(deliveryCallback.release()->AsObject().GetRefPtr()); in SendSmsDataRequest()
/base/telephony/cellular_data/test/fuzztest/common_fuzzer/
Dstatemachine_fuzzer.cpp34 std::make_unique<DataConnectionManager>(GetEventRunner(), slotId).release(); in CreateCellularDataConnect()
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account.cpp191 asyncContext.release(); in AddAccount()
222 context.release(); in CreateAccount()
256 context.release(); in CreateAccountImplicitly()
290 asyncContext.release(); in AddAccountImplicitly()
333 asyncContext.release(); in RemoveAccountInternal()
362 asyncContext.release(); in DisableAppAccess()
392 asyncContext.release(); in EnableAppAccess()
422 context.release(); in SetAppAccess()
469 asyncContext.release(); in CheckDataSyncEnabledInternal()
515 context.release(); in SetCredentialInternal()
[all …]
/base/global/resource_management/frameworks/resmgr/src/
Draw_file_manager.cpp105 return result.release(); in OH_ResourceManager_InitNativeResourceManager()
129 return result.release(); in LoadRawDirFromHap()
171 return result.release(); in OH_ResourceManager_OpenRawDir()
203 return result.release(); in LoadRawFileFromHap()
230 return result.release(); in OH_ResourceManager_OpenRawFile()
/base/telephony/state_registry/services/src/
Dtelephony_state_registry_stub.cpp163 result.emplace_back(signal.release()); in parseSignalInfos()
172 result.emplace_back(signal.release()); in parseSignalInfos()
181 result.emplace_back(signal.release()); in parseSignalInfos()
190 result.emplace_back(signal.release()); in parseSignalInfos()
221 cells.emplace_back(cell.release()); in OnUpdateCellInfo()
229 cells.emplace_back(cell.release()); in OnUpdateCellInfo()
/base/customization/enterprise_device_management/framework/extension/src/
Djs_enterprise_admin_extension_context.cpp50 …object->SetNativePointer(jsContext.release(), JsEnterpriseAdminExtensionContext::Finalizer, nullpt… in CreateJsEnterpriseAdminExtensionContext()
/base/account/os_account/interfaces/kits/napi/account_iam/src/
Dnapi_account_iam_common.cpp139 work.release(); in OnResult()
140 param.release(); in OnResult()
179 work.release(); in OnAcquireInfo()
180 param.release(); in OnAcquireInfo()
470 work.release(); in OnResult()
471 param.release(); in OnResult()
492 work.release(); in OnAcquireInfo()
493 param.release(); in OnAcquireInfo()
547 work.release(); in OnCredentialInfo()
548 context.release(); in OnCredentialInfo()
[all …]

123456