/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/ |
H A D | RdbStoreResultSetGetValue.test.js | 77 expect(null).assertEqual(resultSet.getValue(resultSet.getColumnIndex('blobType'))); 107 let blobValue = resultSet.getValue(resultSet.getColumnIndex('blobType')); 138 expect('').assertEqual(resultSet.getValue(resultSet.getColumnIndex('blobType'))); 168 expect(null).assertEqual(resultSet.getValue(resultSet.getColumnIndex('blobType'))); 198 expect('').assertEqual(resultSet.getValue(resultSet.getColumnIndex('name'))); 228 expect(null).assertEqual(resultSet.getValue(resultSet.getColumnIndex('name'))); 257 expect(null).assertEqual(resultSet.getValue(resultSet.getColumnIndex('name'))); 287 expect('').assertEqual(resultSet.getValue(resultSet.getColumnIndex('age'))); 317 expect(null).assertEqual(resultSet.getValue(resultSet.getColumnIndex('age'))); 346 expect(null).assertEqual(resultSet.getValue(resultSet.getColumnIndex('age')));
|
H A D | RdbStoreValueType.test.js | 79 let value1 = resultSet.getValue(0); 84 let value2 = resultSet.getValue(1); 118 let value1 = resultSet.getValue(0); 123 let value2 = resultSet.getValue(1);
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.32/ |
H A D | changelogs-unifiedRecord.md | 15 该变更为不兼容变更,ValueType增加类型,会导致getValue的返回值类型增加。当高低版本设备互通时,当高版本设备设置的数据类型为本次新增的类型时,由于低版本设备不支持新增的类型,会导致低版… 39 getValue接口的使用可参考[getValue示例代码](../../../application-dev/reference/apis-arkdata/js-apis-data-unified…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-application.md | 3 |新增|NA|类名:settings;<br>方法or属性:function getValue(context: Context, name: string, callback: AsyncCall… 4 |新增|NA|类名:settings;<br>方法or属性:function getValue(context: Context, name: string): Promise\<string>;|… 10 …getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>旧版本信息:|类名:setti… 14 …getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): vo… 15 …性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>旧版本信…
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | pac_map_test.cpp | 360 std::vector<short> getValue; variable 367 bool isEqual = (putValue == getValue); 383 std::vector<int> getValue; variable 406 std::vector<long> getValue; variable 429 std::vector<AAFwk::byte> getValue; variable 452 std::vector<float> getValue; variable 475 std::vector<double> getValue; variable 499 std::vector<std::string> getValue; variable 775 std::vector<char> getValue; variable 1079 std::vector<char> getValue; variable [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta5/ |
H A D | js-apidiff-application.md | 3 …getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): voi… 4 …:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>model:… 11 …getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): voi… 12 …:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>废弃版本:N…
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/param/ |
H A D | properties.cpp | 197 T getValue() in getValue() function in OHOS::HiviewDFX::CacheData 294 return switchCache->getValue(); in IsPrivateSwitchOn() 303 return switchCache->getValue(); in IsOnceDebugOn() 312 return switchCache->getValue(); in IsPersistDebugOn() 332 return logLevelCache->getValue(); in GetGlobalLevel() 345 return levelCache->getValue(); in GetDomainLevel() 361 return levelCache->getValue(); in GetDomainLevel() 374 return levelCache->getValue(); in GetTagLevel() 390 return levelCache->getValue(); in GetTagLevel() 399 return switchCache->getValue(); in IsProcessSwitchOn() [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-application.md | 3 |Added|NA|Class name: settings;<br>Method or attribute name: function getValue(context: Context, na… 4 |Added|NA|Class name: settings;<br>Method or attribute name: function getValue(context: Context, na… 10 …getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>Old version inf… 14 …getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): vo… 15 …getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>Old version inf…
|
/ohos5.0/base/startup/init/interfaces/kits/jskits/src/ |
H A D | native_parameters_js.cpp | 35 std::string getValue; 193 std::string getValue = ""; in GetSync() local 207 int ret = OHOS::system::GetStringParameter(keyStr, getValue, valueStr); in GetSync() 208 PARAM_JS_LOGV("JSApp GetSync::getValue = %s, input keyStr = %s.", getValue.c_str(), keyBuf); in GetSync() 212 …NAPI_CALL(env, napi_create_string_utf8(env, getValue.c_str(), strlen(getValue.c_str()), &napiValue… in GetSync() 226 … OHOS::system::GetStringParameter(asyncContext->key, asyncContext->getValue, asyncContext->value); in GetCallbackWork() 228 … asyncContext->status, asyncContext->getValue.c_str(), asyncContext->key, asyncContext->value); in GetCallbackWork() 235 …napi_create_string_utf8(env, asyncContext->getValue.c_str(), strlen(asyncContext->getValue.c_str()… in GetCallbackWork()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-settings.md | 323 ## settings.getValue<sup>10+</sup> 355 ## settings.getValue<sup>10+</sup> 357 getValue(context: Context, name: string): Promise\<string> 388 ## settings.getValue<sup>11+</sup> 390 getValue(context: Context, name: string, domainName: string): Promise\<string>; 421 // 更新数据项亮度的值(该数据项在数据库中已存在,故getValue方法将更新该数据项的值) 432 获取数据项的值。此方法相较getValue为同步方法。 466 获取数据项的值。此方法相较getValue为同步方法。 859 ## settings.getValue<sup>(deprecated)</sup> 897 ## settings.getValue<sup>(deprecated)</sup> [all …]
|
H A D | js-apis-system-brightness.md | 19 ## brightness.getValue<sup>(deprecated)</sup> 21 getValue(options?: GetBrightnessOptions): void 36 brightness.getValue({
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta5/ |
H A D | js-apidiff-application.md | 3 …getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): voi… 4 …getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>Model: N/A|Class… 11 …getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): voi… 12 …getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>Deprecated versi…
|
/ohos5.0/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/ |
H A D | StringPool.java | 52 this.int2StrMap.put(next.getValue(), next.getKey()); in StringPool() 55 lengthMap.put(next.getValue(), next.getKey().getBytes("UTF-8").length + 3); in StringPool() 57 this.lengthMap.put(next.getValue(), next.getKey().getBytes("UTF-8").length); in StringPool()
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/jskitsimpl/unittest/ |
H A D | UdmfJsTest.js | 1132 const data1 = record1.getValue(); 1138 const data2 = record2.getValue(); 1142 const data3 = record3.getValue(); 1146 const data4 = record4.getValue(); 1159 const data5 = record5.getValue(); 1170 const data6 = record6.getValue(); 1220 const data1 = records[0].getValue(); 1224 const data2 = records[1].getValue(); 1226 const data3 = records[2].getValue(); 1228 const data4 = records[3].getValue(); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_slider.cpp | 138 auto getValue = paramObject->GetProperty("value"); in Create() local 147 if (!getValue->IsNull() && getValue->IsNumber()) { in Create() 148 value = getValue->ToNumber<double>(); in Create() 149 } else if (!getValue->IsNull() && getValue->IsObject()) { in Create() 150 JSRef<JSObject> valueObj = JSRef<JSObject>::Cast(getValue); in Create()
|
H A D | js_textpicker.cpp | 635 auto getValue = paramObject->GetProperty("value"); in ParseMultiTextArray() local 647 if (getValue->IsObject()) { in ParseMultiTextArray() 651 getValue = valueObj->GetProperty("value"); in ParseMultiTextArray() 654 if (!ParseMultiTextArrayValue(getValue, param)) { in ParseMultiTextArray() 741 auto getValue = paramObject->GetProperty("value"); in ParseCascadeTextArray() local 742 if (getValue->IsArray()) { in ParseCascadeTextArray() 743 if (!ParseJsStrArray(getValue, values)) { in ParseCascadeTextArray() 748 if (!ParseJsString(getValue, value)) { in ParseCascadeTextArray() 792 if (getValue->IsObject()) { in ParseTextArray() 799 if (!ParseJsString(getValue, param.value)) { in ParseTextArray() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-mdm-kit/ |
H A D | js-apis-enterprise-deviceSettings.md | 65 ## deviceSettings.getValue 67 getValue(admin: Want, item: string): string 109 let result: string = deviceSettings.getValue(wantTemp, 'screenOff');
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-application.md | 5 …getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): vo… 6 …性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>旧版本信… 21 …getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): vo… 22 …性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>旧版本信…
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | screen_setting_helper.cpp | 72 int32_t getValue; in GetSettingValue() local 73 ErrCode ret = settingData.GetIntValue(key, getValue); in GetSettingValue() 78 value = static_cast<uint32_t>(getValue); in GetSettingValue()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_nb_delegate_local_batch_test.cpp | 1029 Value getValue; variable 1030 EXPECT_EQ(g_kvNbDelegatePtr->GetLocal(key, getValue), OK); 1031 EXPECT_TRUE(DistributedDBToolsUnitTest::IsValueEqual(getValue, value)); 1038 getValue.clear(); 1039 EXPECT_EQ(g_kvNbDelegatePtr->GetLocal(key, getValue), NOT_FOUND); 1118 Value getValue; variable 1119 EXPECT_EQ(g_kvNbDelegatePtr->GetLocal(key, getValue), OK); 1120 EXPECT_TRUE(DistributedDBToolsUnitTest::IsValueEqual(getValue, value)); 1123 getValue.clear(); 1124 EXPECT_EQ(g_kvNbDelegatePtr->GetLocal(key, getValue), NOT_FOUND);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ets/ets/testcase/interface/ |
H A D | matrixtest.ts | 36 …if (actualMatrix.getValue(i).toFixed(fractionDigits) != expectedValues[i].toFixed(fractionDigits) … 38 console.log(TAG, "The matrix[" + i + "] is incorrect (actual: " + actualMatrix.getValue(i) 56 if (matrix.getValue(i) != expectedValues[i]) { 58 console.log(TAG, "The matrix[" + i + "] is incorrect (actual: " + matrix.getValue(i) 68 matrix.getValue(0);
|
/ohos5.0/base/startup/init/interfaces/kits/jskits/src_enhance/ |
H A D | native_parameters_js.cpp | 35 std::string getValue; 295 asyncContext->getValue = ""; in GetCallbackWork() 297 asyncContext->getValue = std::string(value.begin(), value.end()); in GetCallbackWork() 306 … asyncContext->getValue.c_str(), strlen(asyncContext->getValue.c_str()), &result[1]); in GetCallbackWork()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/delegate_fuzzer/ |
H A D | delegate_fuzzer.cpp | 108 auto valueCallback = [&value] (DBStatus status, const Value &getValue) { in MultiCombineFuzzer() argument 109 value = getValue; in MultiCombineFuzzer()
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-settings.md | 315 ## settings.getValue<sup>10+</sup> 317 getValue(context: Context, name: string, callback: AsyncCallback\<string>): void 338 settings.getValue(context, settings.display.SCREEN_BRIGHTNESS_STATUS, (err, value) => { 347 ## settings.getValue<sup>10+</sup> 349 getValue(context: Context, name: string): Promise\<string> 375 settings.getValue(context, settings.display.SCREEN_BRIGHTNESS_STATUS).then((value) => { 380 ## settings.getValue<sup>11+</sup> 382 getValue(context: Context, name: string, domainName: string): Promise\<string>; 848 ## settings.getValue<sup>(deprecated)</sup> 886 ## settings.getValue<sup>(deprecated)</sup> [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-application.md | 5 …getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): vo… 6 …getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>Old version: |C… 21 …getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): vo… 22 …getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>Old version: |C…
|