Home
last modified time | relevance | path

Searched refs:contains (Results 51 - 75 of 123) sorted by relevance

12345

/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dapp_exit_reason_data_manager.cpp280 if (jsonObject.contains(JSON_KEY_REASON) && jsonObject[JSON_KEY_REASON].is_number_integer()) { in ConvertAppExitReasonInfoFromValue()
283 if (jsonObject.contains(JSON_KEY_EXIT_MSG) && jsonObject[JSON_KEY_EXIT_MSG].is_string()) { in ConvertAppExitReasonInfoFromValue()
286 if (jsonObject.contains(JSON_KEY_TIME_STAMP) && jsonObject[JSON_KEY_TIME_STAMP].is_number_integer()) { in ConvertAppExitReasonInfoFromValue()
289 if (jsonObject.contains(JSON_KEY_ABILITY_LIST) && jsonObject[JSON_KEY_ABILITY_LIST].is_array()) { in ConvertAppExitReasonInfoFromValue()
584 if (jsonObject.contains(JSON_KEY_RECOVER_INFO_LIST) in ConvertAbilityRecoverInfoFromValue()
594 if (jsonObject.contains(JSON_KEY_SESSION_ID_LIST) in ConvertAbilityRecoverInfoFromValue()
/foundation/distributedhardware/device_manager/services/service/src/softbus/
H A Dmine_softbus_listener.cpp96 if (!object.contains("type") || !object["type"].is_string()) { in from_json()
100 if (!object.contains("value") || !object["value"].is_string()) { in from_json()
110 if (!object.contains("deviceAlias") || !object["deviceAlias"].is_string()) { in from_json()
114 if (!object.contains("startNumber") || !object["startNumber"].is_number_integer()) { in from_json()
118 if (!object.contains("endNumber") || !object["endNumber"].is_number_integer()) { in from_json()
295 if (!object.contains(FIELD_FILTER_OPTIONS) || !object[FIELD_FILTER_OPTIONS].is_array()) { in ParseSearchScopeDevice()
326 if (!object.contains(FIELD_FILTER_OPTIONS) || !object[FIELD_FILTER_OPTIONS].is_array()) { in ParseSearchVertexDevice()
468 if (!object.contains(FIELD_TRUST_OPTIONS)) { in SetBroadcastTrustOptions()
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Ddevice_vk.cpp497 extensions.swapchain = enabledDeviceExtensions.contains(DEVICE_EXTENSION_SWAPCHAIN); in GetEnabledCommonDeviceExtensions()
499 extensions.renderPass2 = enabledDeviceExtensions.contains(DEVICE_EXTENSION_DEPTH_STENCIL_RESOLVE) && in GetEnabledCommonDeviceExtensions()
500 enabledDeviceExtensions.contains(DEVICE_EXTENSION_CREATE_RENDERPASS2); in GetEnabledCommonDeviceExtensions()
501 extensions.externalMemory = enabledDeviceExtensions.contains(DEVICE_EXTENSION_EXTERNAL_MEMORY); in GetEnabledCommonDeviceExtensions()
502 extensions.getMemoryRequirements2 = enabledDeviceExtensions.contains(DEVICE_EXTENSION_GET_MEMORY_REQUIREMENTS2); in GetEnabledCommonDeviceExtensions()
503 extensions.queueFamilyForeign = enabledDeviceExtensions.contains(DEVICE_EXTENSION_QUEUE_FAMILY_FOREIGN); in GetEnabledCommonDeviceExtensions()
504 extensions.samplerYcbcrConversion = enabledDeviceExtensions.contains(DEVICE_EXTENSION_SAMPLER_YCBCR_CONVERSION); in GetEnabledCommonDeviceExtensions()
505 extensions.multiView = enabledDeviceExtensions.contains(DEVICE_EXTENSION_MULTIVIEW); in GetEnabledCommonDeviceExtensions()
506 extensions.descriptorIndexing = enabledDeviceExtensions.contains(DEVICE_EXTENSION_DESCRIPTOR_INDEXING); in GetEnabledCommonDeviceExtensions()
508 extensions.fragmentShadingRate = enabledDeviceExtensions.contains(DEVICE_EXTENSION_FRAGMENT_SHADING_RAT in GetEnabledCommonDeviceExtensions()
[all...]
/foundation/ability/form_fwk/services/form_render_service/src/
H A Dform_module_checker.cpp146 if (jsonData.contains(KEY_MODULE_ALLOW) && jsonData[KEY_MODULE_ALLOW].is_array()) { in GetModuleAllowList()
/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/
H A Dprofile_event_handler.cpp111 if (!subscribeInfo.extraInfo.contains("deviceId") || !subscribeInfo.extraInfo["deviceId"].is_string()) { in AnonymizeSubscribeInfo()
/foundation/arkui/ace_engine/test/component_test/tools/middle_ground/public/
H A Dindex.js211 if (!elementList[i].classList.contains('hidden')) {
222 if (elementList[i].classList.contains('hidden')) {
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_parser.cpp361 if (!object.contains(NO_DISABLING_CONFIG_KEY) || !object.at(NO_DISABLING_CONFIG_KEY).is_array()) { in ParseNoDisablingList()
367 if (jsonObject.contains(NO_DISABLING_KEY_BUNDLE_NAME) && in ParseNoDisablingList()
H A Dmodule_profile.cpp1706 if (moduleJson.contains(Profile::ATOMIC_SERVICE)) { in ParserAtomicModuleConfig()
1708 if (moduleAtomicObj.contains(Profile::MODULE_ATOMIC_SERVICE_PRELOADS)) { in ParserAtomicModuleConfig()
1719 if (preload.contains(Profile::PRELOADS_MODULE_NAME)) { in ParserAtomicModuleConfig()
1735 if (!jsonObject.contains(Profile::MODULE) || !jsonObject.contains(Profile::APP)) { in ParserAtomicConfig()
1746 if (appJson.contains(Profile::BUNDLE_TYPE)) { in ParserAtomicConfig()
2513 if (!jsonObject.contains(Profile::MODULE) || !jsonObject.contains(Profile::APP)) { in ObtainOverlayType()
2526 auto isTargetBundleExisted = appJson.contains(Profile::APP_TARGET_BUNDLE_NAME); in ObtainOverlayType()
2527 auto isAppPriorityExisted = appJson.contains(Profil in ObtainOverlayType()
[all...]
/foundation/resourceschedule/background_task_mgr/services/common/src/
H A Ddata_storage_helper.cpp249 if (root.contains(APP_RESOURCE_RECORD) && root.at(APP_RESOURCE_RECORD).is_object()) { in DivideJsonToMap()
255 if (root.contains(PROCESS_RESOURCE_RECORD) && root.at(PROCESS_RESOURCE_RECORD).is_object()) { in DivideJsonToMap()
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/hichain/
H A Dmine_hichain_connector.cpp161 if (!jsonObject.contains(FIELD_USER_ID) || !jsonObject[FIELD_USER_ID].is_string()) { in CreateGroup()
317 if (!jsonObject.contains(FIELD_CREDENTIAL_EXISTS) || !jsonObject[FIELD_CREDENTIAL_EXISTS].is_boolean()) { in IsCredentialExist()
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/
H A Drelational_store_test.cpp1471 bool contains = values.HasColumn("name"); in HWTEST_F() local
1472 EXPECT_EQ(contains, true); in HWTEST_F()
1474 contains = values.GetObject("salary", obj); in HWTEST_F()
1485 contains = values.HasColumn("name"); in HWTEST_F()
1486 EXPECT_EQ(contains, false); in HWTEST_F()
1491 contains = values.HasColumn("salary"); in HWTEST_F()
1492 EXPECT_EQ(contains, false); in HWTEST_F()
1559 bool contains = values.HasColumn("boolType"); in HWTEST_F() local
1560 EXPECT_EQ(contains, true); in HWTEST_F()
1562 contains in HWTEST_F()
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/
H A Ddistributed_want.cpp1180 if (!wantJson.contains("deviceId") || !wantJson.contains("bundleName") || !wantJson.contains("abilityName") || in ReadFromJson()
1181 !wantJson.contains("uri") || !wantJson.contains("type") || !wantJson.contains("flags") || in ReadFromJson()
1182 !wantJson.contains("action") || !wantJson.contains("parameters") || !wantJson.contains("entities")) { in ReadFromJson()
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/process_group/src/
H A Dprocess_group_util.cpp110 if (!reply.contains(resStr) || !reply[resStr].is_string()) { in ReadFileToStringForVFSFromExecutor()
/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/
H A Drender_data_store_post_process.cpp180 if (!allPostProcesses_.contains(name)) { in Create()
192 if (!allPostProcesses_.contains(name)) { in Create()
230 if ((!name.empty()) && allPostProcesses_.contains(name)) { in Destroy()
260 return allPostProcesses_.contains(name); in Contains()
H A Drender_data_store_manager.cpp185 PLUGIN_ASSERT(pointerToStoreHash_.contains(instance)); in Destroy()
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dunordered_map.h457 bool contains(const key_type& key) const in contains() function in unordered_map_base
463 return contains(key) ? 1U : 0U; in count()
733 bool contains(const string_view& key) const in contains() function in unordered_map
739 return contains(key) ? 1U : 0U; in count()
/foundation/CastEngine/castengine_cast_framework/service/src/device_manager/src/
H A Dcast_device_data_manager.cpp65 } else if (extraJson.contains(PARAM_KEY_BLE_MAC) && extraJson[PARAM_KEY_BLE_MAC].is_string()) { in AddDevice()
67 } else if (extraJson.contains(PARAM_KEY_WIFI_IP) && extraJson[PARAM_KEY_WIFI_IP].is_string()) { in AddDevice()
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/2.0/src/
H A Dscreenregion.cpp140 if (!CheckContentJson(contentJson) || !contentJson.contains(KEY_VIDEO_PARAM) || in SetUp()
141 !contentJson.contains(KEY_MAPRELATION)) { in SetUp()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/threading/
H A Dparallel_task_queue.cpp156 if (!state.finished.contains(dep)) { in QueueTasks()
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/utils/
H A Dressched_utils.cpp196 if (!reply.contains(resStr) || !reply[resStr].is_boolean()) { in CheckTidIsInPid()
/foundation/resourceschedule/resource_schedule_service/ressched_executor/services/resschedexeservice/src/
H A Dres_sched_exe_service_stub.cpp64 if (!context.contains(RES_TYPE_EXT) || !context[RES_TYPE_EXT].is_string() in GetExtResType()
/foundation/resourceschedule/device_standby/utils/policy/src/
H A Dstandby_config_manager.cpp678 if (!singleConfigItem.contains(TAG_TIME_CLOCK_APPS) || !singleConfigItem.at(TAG_TIME_CLOCK_APPS).is_array()) { in ParseTimerResCtrlConfig()
722 if (!singleConfigItem.contains(TAG_ACTION) || !singleConfigItem.contains(TAG_CONDITION)) { in ParseCommonResCtrlConfig()
/foundation/systemabilitymgr/samgr/services/common/src/
H A Dparse_util.cpp286 if (eventJson.contains(EVENT_TYPE) && eventJson[EVENT_TYPE].is_string()) { in JsonObjToMap()
291 if (eventJson.contains(EVENT_NAME) && eventJson[EVENT_NAME].is_string()) { in JsonObjToMap()
296 if (eventJson.contains(EVENT_VALUE) && eventJson[EVENT_VALUE].is_string()) { in JsonObjToMap()
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/socperf_plugin/src/
H A Dsocperf_plugin.cpp291 if (!data->payload.contains(key)) { in ParsePayload()
309 if (reqAppTypeFunc_ != nullptr && data->payload != nullptr && data->payload.contains(BUNDLE_NAME)) { in HandleAppAbilityStart()
513 if (!data->payload.contains(DEVICE_MODE_PAYMODE_NAME) || !data->payload[DEVICE_MODE_PAYMODE_NAME].is_string()) { in HandleDeviceModeStatusChange()
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbstorePredicatesJsunit.test.js1714 * @tc.name Normal test case of predicates, test "contains" for string value
1715 * @tc.desc 1.Execute contains ("stringValue", "DEF")
1721 predicates.contains("stringValue", "DEF");
1732 * @tc.name Normal test case of predicates, test "contains" for string value
1733 * @tc.desc 1.Execute contains ("stringValue", "DEFX")
1739 predicates.contains("stringValue", "DEFX");
1750 * @tc.name Normal test case of predicates, test "contains" for Chinese character value
1751 * @tc.desc 1.Execute contains ("characterValue", "中")
1757 predicates.contains("characterValue", "中");
1768 * @tc.name Normal test case of predicates, test "contains" fo
[all...]

Completed in 26 milliseconds

12345