/foundation/systemabilitymgr/samgr_lite/samgr_server/source/ |
H A D | samgr_server_rpc.c | 148 SvcIdentity sid = SASTORA_Find(&g_server.store, saNode->saName.service, saNode->saName.feature); in GetSystemAbilityById() 184 SASTORA_Init(&g_server.store); in InitializeRegistry() 226 SASTORA_ClearByPid(&server->store, request->msgValue); in MessageHandle() 258 return SASTORA_Save(&g_server.store, service, feature, &identity); in AddEndpoint() 270 int index = SASTORA_FindHandleByPid(&g_server.store, pid, &handle); in ProcEndpoint() 290 (void)SASTORA_SaveHandleByPid(&server->store, handle); in ProcEndpoint() 318 int index = SASTORA_FindHandleByUidPid(&server->store, uid, pid, &handle); in ProcPutFeature() 325 *identity = SASTORA_Find(&server->store, service, feature); in ProcPutFeature() 350 ret = SASTORA_Save(&server->store, service, feature, identity); in ProcPutFeature() 419 *identity = SASTORA_Find(&server->store, servic in ProcGetFeature() [all...] |
/foundation/multimedia/av_codec/test/unittest/audio_test/ |
H A D | audio_encoder_capi_unit_test.cpp | 268 isRunning_.store(false); in OutputFunc() 387 isRunning_.store(true); in HWTEST_F() 400 isRunning_.store(false); in HWTEST_F() 553 isRunning_.store(true); in HWTEST_F() 566 isRunning_.store(false); in HWTEST_F() 601 isRunning_.store(true); in HWTEST_F() 612 isRunning_.store(false); in HWTEST_F() 649 isRunning_.store(true); in HWTEST_F() 662 isRunning_.store(false); in HWTEST_F() 699 isRunning_.store(tru in HWTEST_F() [all...] |
H A D | audio_decoder_ability_unit_test.cpp | 382 isRunning_.store(false); in OutputFunc() 396 isRunning_.store(false); in Stop() 526 isRunning_.store(true); in HWTEST_F() 562 isRunning_.store(true); 594 isRunning_.store(true); 630 isRunning_.store(true); 667 isRunning_.store(true); 700 isRunning_.store(true); 733 isRunning_.store(true); 770 isRunning_.store(tru [all...] |
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | system_properties.cpp | 452 // Do nothing, no need to store type here, use system property at 'GetDeviceType' instead. in InitDeviceType() 562 layoutTraceEnable_.store(IsLayoutTraceEnabled() && developerModeOn_); in InitDeviceInfo() 563 traceInputEventEnable_.store(IsTraceInputEventEnabled() && developerModeOn_); in InitDeviceInfo() 564 stateManagerEnable_.store(IsStateManagerEnable()); in InitDeviceInfo() 580 acePerformanceMonitorEnable_.store(IsAcePerformanceMonitorEnabled()); in InitDeviceInfo() 834 layoutTraceEnable_.store(layoutTraceEnable && developerModeOn_); in SetLayoutTraceEnabled() 839 traceInputEventEnable_.store(inputEventTraceEnable && developerModeOn_); in SetInputEventTraceEnabled() 844 layoutTraceEnable_.store(layoutTraceEnable && IsLayoutTraceEnabled()); in SetSecurityDevelopermodeLayoutTraceEnabled() 849 debugBoundaryEnabled_.store(debugBoundaryEnabled && developerModeOn_); in SetDebugBoundaryEnabled() 854 acePerformanceMonitorEnable_.store(performanceMonitorEnabl in SetPerformanceMonitorEnabled() [all...] |
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/ |
H A D | avcodec_audio_decoder_inner_demo.cpp | 95 isRunning_.store(true); in Start() 108 isRunning_.store(false); in Stop() 190 isRunning_.store(false); in InputFunc() 232 isRunning_.store(false); in OutputFunc() 239 isRunning_.store(false); in OutputFunc()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_device_test/src/ |
H A D | medialibrary_device_test.cpp | 35 int ConfigTestOpenCall::OnCreate(RdbStore &store) in OnCreate() argument 37 return store.ExecuteSql(CREATE_TABLE_TEST); in OnCreate() 40 int ConfigTestOpenCall::OnUpgrade(RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() argument 52 shared_ptr<NativeRdb::RdbStore> store = NativeRdb::RdbHelper::GetRdbStore(config, 1, helper, errCode); in SetUpTestCase() local 53 storePtr = store; in SetUpTestCase()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/ |
H A D | relational_store_manager.cpp | 128 LOGE("register observer failed when open store: %d", status); in OpenStore() 134 DBStatus RelationalStoreManager::CloseStore(RelationalStoreDelegate *store) in CloseStore() argument 136 if (store == nullptr) { in CloseStore() 140 auto storeImpl = static_cast<RelationalStoreDelegateImpl *>(store); in CloseStore() 147 delete store; in CloseStore() 148 store = nullptr; in CloseStore()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_output/output_control_test/ |
H A D | output_controller_test.cpp | 44 controller->status_.store(OutputController::ControlStatus::START); in HWTEST_F() 45 controller->mode_.store(OutputController::ControlMode::SYNC); in HWTEST_F() 129 controller->isTimeInit_.store(true); in HWTEST_F() 133 controller->isBaselineInit_.store(true); in HWTEST_F() 233 controller->clockTime_.store(1); in HWTEST_F()
|
/foundation/filemanagement/user_file_service/services/native/file_access_service/src/ |
H A D | file_access_service_proxy.cpp | 74 isLoadSuccess_.store(false); in OnLoadSystemAbilitySuccess() 82 isLoadSuccess_.store(false); in OnLoadSystemAbilitySuccess() 90 isLoadSuccess_.store(false); in OnLoadSystemAbilitySuccess() 101 isLoadSuccess_.store(true); in OnLoadSystemAbilitySuccess() 110 isLoadSuccess_.store(false); in OnLoadSystemAbilityFail()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | sp2.c | 96 u8 store; in sp2_ci_op_cam() local 108 ret = sp2_read_i2c(s, 0x00, &store, 1); in sp2_ci_op_cam() 113 store &= ~(SP2_MOD_CTL_ACS1 | SP2_MOD_CTL_ACS0); in sp2_ci_op_cam() 114 store |= acs; in sp2_ci_op_cam() 116 ret = sp2_write_i2c(s, 0x00, &store, 1); in sp2_ci_op_cam()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_perf.c | 289 u32 *cs, *store; in live_noa_gpr() local 354 store = memset32(rq->engine->status_page.addr + 512, 0, 32); in live_noa_gpr() 373 offset_in_page(store) + in live_noa_gpr() 390 if (store[i] == STACK_MAGIC) in live_noa_gpr() 394 i, store[i], STACK_MAGIC); in live_noa_gpr()
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | sp2.c | 96 u8 store; in sp2_ci_op_cam() local 108 ret = sp2_read_i2c(s, 0x00, &store, 1); in sp2_ci_op_cam() 113 store &= ~(SP2_MOD_CTL_ACS1 | SP2_MOD_CTL_ACS0); in sp2_ci_op_cam() 114 store |= acs; in sp2_ci_op_cam() 116 ret = sp2_write_i2c(s, 0x00, &store, 1); in sp2_ci_op_cam()
|
/foundation/ability/ability_runtime/test/unittest/dfr_test/watchdog_test/ |
H A D | watchdog_test.cpp | 110 watchdog_->isSixSecondEvent_.store(true); in HWTEST_F() 129 watchdog_->isSixSecondEvent_.store(false); in HWTEST_F() 143 watchdog_->isBgWorkingThread_.store(true); in HWTEST_F() 156 watchdog_->isBgWorkingThread_.store(false); in HWTEST_F() 160 watchdog_->isSixSecondEvent_.store(true); in HWTEST_F() 161 watchdog_->isInBackground_.store(false); in HWTEST_F() 477 watchdog_->isSixSecondEvent_.store(true); in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
H A D | object_asset_machine.cpp | 29 #include "store/auto_cache.h" 61 static VBuckets GetMigratedData(AutoCache::Store& store, AssetBindInfo& assetBindInfo, const Asset& newAsset); 172 ZLOGE("UpdateStore error, error:%{public}d, assetName:%{public}s, store:%{public}s, " in DoTransfer() 186 auto store = GetStore(changedAsset); in UpdateStore() local 187 if (store == nullptr) { in UpdateStore() 188 ZLOGE("store null, storeId:%{public}s", Anonymous::Change(changedAsset.bindInfo.storeName).c_str()); in UpdateStore() 192 VBuckets vBuckets = GetMigratedData(store, changedAsset.bindInfo, changedAsset.asset); in UpdateStore() 196 return store->MergeMigratedData(changedAsset.bindInfo.tableName, std::move(vBuckets)); in UpdateStore() 199 static VBuckets GetMigratedData(AutoCache::Store& store, AssetBindInfo& assetBindInfo, const Asset& newAsset) in GetMigratedData() argument 204 auto [errCode, cursor] = store in GetMigratedData() [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_input/dsoftbus_input/ |
H A D | dsoftbus_input_plugin.cpp | 77 dumpFlag_.store(false); in Init() 78 reDumpFlag_.store(false); in Init() 124 isrunning_.store(false); in Reset() 143 isrunning_.store(true); in Start() 159 isrunning_.store(false); in Stop() 197 dumpFlag_.store(Plugin::AnyCast<bool>(value)); in SetParameter() 200 reDumpFlag_.store(Plugin::AnyCast<bool>(value)); in SetParameter()
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/remote_fast/ |
H A D | remote_fast_audio_capturer_source.cpp | 196 capturerInited_.store(false); in ClearCapture() 197 isCapturerCreated_.store(false); in ClearCapture() 198 started_.store(false); in ClearCapture() 199 paused_.store(false); in ClearCapture() 200 micMuteState_.store(false); in ClearCapture() 282 capturerInited_.store(true); in Init() 316 isCapturerCreated_.store(true); in CreateCapture() 503 started_.store(true); in Start() 520 started_.store(false); in Stop() 537 paused_.store(tru in Pause() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/ |
H A D | thumbnail_generate_helper.cpp | 78 if (opts.store == nullptr) { in CreateThumbnailBackground() 108 if (opts.store == nullptr) { in CreateAstcBackground() 165 int32_t err = opts.store->Update(changedRows, opts.table, values, MEDIA_DATA_DB_ID + " = ?", in CreateAstcCloudDownload() 189 if (opts.store == nullptr) { in CreateAstcBatchOnDemand() 224 if (opts.store == nullptr) { in CreateLcdBackground() 474 int32_t err = opts.store->Update(changedRows, opts.table, values, MEDIA_DATA_DB_ID + " = ?", in UpdateStreamReadThumbDbStatus() 601 if (opts.store == nullptr) { in GenerateHighlightThumbnailBackground() 651 if (opts.store == nullptr) { in UpgradeThumbnailBackground() 680 if (opts.store == nullptr) { in RestoreAstcDualFrame() 740 if (opts.store in CheckMonthAndYearKvStoreValid() [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/continuation/remote_register_service/ |
H A D | continuation_connector.cpp | 75 isConnected_.store(true); in OnAbilityConnectDone() 97 isConnected_.store(false); in OnAbilityDisconnectDone() 144 isConnected_.store(false); in UnbindRemoteRegisterAbility()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/session/ |
H A D | audio_session_timer.cpp | 62 isThreadRunning_.store(true); in StartTimer() 104 isThreadRunning_.store(false); in TimerLoopFunc() 135 isThreadRunning_.store(false); in TimerLoopFunc()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibraryrestore_fuzzer/ |
H A D | medialibraryrestore_fuzzer.cpp | 60 int Media::FuzzRestoreDataCallback::OnCreate(NativeRdb::RdbStore &store) in OnCreate() argument 62 int errCode = store.ExecuteSql(CREATE_PHOTOS_ALBUM); in OnCreate() 66 int Media::FuzzRestoreDataCallback::OnUpgrade(NativeRdb::RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() argument
|
/foundation/multimedia/ringtone_library/test/unittest/ringtone_scanner_test/src/ |
H A D | ringtone_scanner_db_test.cpp | 48 int ConfigTestOpenCall::OnCreate(NativeRdb::RdbStore &store) in OnCreate() argument 50 return store.ExecuteSql(CREATE_TABLE_TEST); in OnCreate() 53 int ConfigTestOpenCall::OnUpgrade(NativeRdb::RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() argument
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_proxy_userinfo.cpp | 46 int32_t DataBaseRdbOpenCallBack::OnCreate(NativeRdb::RdbStore &store) in OnCreate() argument 52 int32_t DataBaseRdbOpenCallBack::OnOpen(NativeRdb::RdbStore &store) in OnOpen() argument 55 return store.ExecuteSql(CREATE_TABLE); in OnOpen() 104 NETMGR_LOG_E("net_conn database rdb store insert failed, errCode=%{public}d", errCode); in SaveHttpProxyHostPass() 122 NETMGR_LOG_E("net_conn database rdb store query failed"); in GetHttpProxyHostPass() 167 NETMGR_LOG_E("net_conn database get rdb store failed, errCode=%{public}d", errCode); in NetProxyUserinfo()
|
/kernel/linux/linux-5.10/drivers/dma/ioat/ |
H A D | sysfs.c | 65 if (!entry->store) in ioat_attr_store() 67 return entry->store(&ioat_chan->dma_chan, page, count); in ioat_attr_store() 72 .store = ioat_attr_store,
|
/kernel/linux/linux-5.10/arch/arm/lib/ |
H A D | bitops.h | 31 .macro testop, name, instr, store 83 * @store: store instruction 85 * Note: we can trivially conditionalise the store instruction 88 .macro testop, name, instr, store 100 \store r2, [r1]
|
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | fan_attr.c | 80 fan->fine_grain_control.store = NULL; in acpi_fan_create_attributes() 90 fan->fst_speed.store = NULL; in acpi_fan_create_attributes() 103 fps->dev_attr.store = NULL; in acpi_fan_create_attributes()
|