/base/telephony/ril_adapter/test/unittest/ |
H A D | ril_interface_test.cpp | 407 emergencyInfo.index = 1;
in SetEmergencyCallListTest() 1230 int32_t index;
in SetActiveSimTest() local 1231 cout << "please enter the index:";
in SetActiveSimTest() 1232 cin >> index;
in SetActiveSimTest() local 1236 int32_t ret = g_rilInterface->SetActiveSim(slotId, GetSerialId(), index, enable);
in SetActiveSimTest()
|
/base/telephony/ril_adapter/services/vendor/src/ |
H A D | at_call.c | 85 if (NextInt(&pLine, &outCall->index) < 0) { in CallCmdCLCC() 229 if (NextInt(&pStr, &pEmergencyInfo.index) < 0) { in ReportEmergencyNumberList() 1324 if (NextInt(&pLine, &outCall->index) < 0) { in CallCmdXLEMA() 1462 ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT^NVM=%d,%d,\"%s\",%d,%d,%s,%d", emergencyInfo[i].index, in ReqSetEmergencyCallList()
|
/base/telephony/ril_adapter/services/hril/src/ |
H A D | hril_sim.cpp | 250 int32_t HRilSim::SetActiveSim(int32_t serialId, int32_t index, int32_t enable) in SetActiveSim() argument 252 return RequestVendor(serialId, HREQ_SIM_SET_ACTIVE_SIM, simFuncs_, &HRilSimReq::SetActiveSim, index, enable); in SetActiveSim() 409 rilCardStatus.index = curPtr->index; in GetSimCardStatusResponse()
|
/base/telephony/cellular_call/test/unittest/imstest/ |
H A D | zero_branch_test.cpp | 96 callInfo.index = accountId; in InitCellularCallInfo() 117 call.index = i; in InitImsCallInfoList() 143 call.index = i; in InitCsCallInfoList() 765 cellularCallInfo.index = 1; in HWTEST_F()
|
/base/telephony/core_service/services/sim/src/ |
H A D | sim_manager.cpp | 1018 int32_t SimManager::UpdateSmsIcc(int32_t slotId, int index, int status, std::string &pduData, std::string &smsc)
in UpdateSmsIcc() argument 1024 return simSmsManager_[slotId]->UpdateSmsIcc(index, status, pduData, smsc);
in UpdateSmsIcc() 1027 int32_t SimManager::DelSmsIcc(int32_t slotId, int index)
in DelSmsIcc() argument 1033 return simSmsManager_[slotId]->DelSmsIcc(index);
in DelSmsIcc()
|
/base/web/webview/interfaces/kits/cj/src/ |
H A D | webview_ffi.cpp | 1143 CHistoryItem FfiOHOSGetItemAtIndex(int64_t id, int32_t index, int32_t *errCode) in FfiOHOSGetItemAtIndex() argument 1151 if (index >= nativeWebHistoryListImpl->GetListSize() || index < 0) { in FfiOHOSGetItemAtIndex() 1155 std::shared_ptr<NWebHistoryItem> item = nativeWebHistoryListImpl->GetItem(index); in FfiOHOSGetItemAtIndex()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/ |
H A D | rtsp_controller.cpp | 319 for (size_t index = 0; index < cipherLists.size(); index++) { in ParseCipherItem() 320 if (Utils::ToLower(cipherLists[index]) == EncryptDecrypt::GetInstance().PC_ENCRYPT_ALG) { in ParseCipherItem()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
H A D | distributed_sched_continuation_test.cpp | 1204 for (int index = 0; index < static_cast<int32_t>(LoopTime::LOOP_TIME); index++) {
in HWTEST_F() 1206 DTEST_LOG << "pressure" + std::to_string(index) + " result is " << result << std::endl;
in HWTEST_F()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/ |
H A D | rtsp_controller.cpp | 319 for (size_t index = 0; index < cipherLists.size(); index++) { in ParseCipherItem() 320 if (Utils::ToLower(cipherLists[index]) == EncryptDecrypt::GetInstance().PC_ENCRYPT_ALG) { in ParseCipherItem()
|
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
H A D | napi_common_ability_wrap_utils.cpp | 983 for (uint32_t index = 0; index < jsProCount; index++) { in UnwrapAbilityStartSetting() 984 NAPI_CALL_BASE(env, napi_get_element(env, jsProNameList, index, &jsProName), false); in UnwrapAbilityStartSetting()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_grid_bridge.cpp | 86 Framework::JSRef<Framework::JSFunc>(Framework::JSFunc(functionRef)))](int32_t index) { in ParseGetGridItemSize() 88 auto itemIndex = Framework::JSRef<Framework::JSVal>::Make(Framework::ToJSValue(index)); in ParseGetGridItemSize() 106 Framework::JSRef<Framework::JSFunc>(Framework::JSFunc(functionRef)))](int32_t index) { in ParseGetGridItemRect() 108 auto itemIndex = Framework::JSRef<Framework::JSVal>::Make(Framework::ToJSValue(index)); in ParseGetGridItemRect() 806 Local<JSValueRef> irregularIndexesVal = runtimeCallInfo->GetCallArgRef(2); // 2: parameter index in SetGridLayoutOptions() 807 Local<JSValueRef> indexesLengthVal = runtimeCallInfo->GetCallArgRef(3); // 3: parameter index in SetGridLayoutOptions() 830 ParseGetGridItemSize(vm, runtimeCallInfo->GetCallArgRef(4), options); // 4: parameter index in SetGridLayoutOptions() 831 ParseGetGridItemRect(vm, runtimeCallInfo->GetCallArgRef(5), options); // 5: parameter index in SetGridLayoutOptions()
|
H A D | arkts_native_button_bridge.cpp | 460 for (size_t index = 0; index < indexVector.size(); index++) { in PutButtonDimensionParameters() 461 PushButtonDimension(runtimeCallInfo, vm, fontSizesVector, indexVector[index]); in PutButtonDimensionParameters()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_edit_testone_ng.cpp | 98 * @tc.desc: test get text index at cursor 130 * @tc.desc: test get child by index 426 int32_t index = 1; in HWTEST_F() local 427 richEditorPattern->MouseDoubleClickParagraphEnd(index); in HWTEST_F() 428 EXPECT_NE(richEditorPattern->GetParagraphEndPosition(index), index); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/indexer/ |
H A D | indexer_layout_test_ng.cpp | 46 for (int32_t index = 0; index < totalChildCount; index++) { in GetArrayValueTexts() 47 auto textLayoutProperty = GetChildLayoutProperty<TextLayoutProperty>(frameNode_, index); in GetArrayValueTexts()
|
/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | view_abstract_test_ng_new.cpp | 386 int32_t index = 1; in HWTEST_F() local 387 auto state = static_cast<VisualState>(index); in HWTEST_F() 1757 int32_t index = 1; in HWTEST_F() local 1758 auto state = static_cast<VisualState>(index); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/bubble/ |
H A D | bubble_test_One_ng.cpp | 825 size_t index = 0;
in HWTEST_F() local 827 OffsetF testF = layoutAlgorithm->FitToScreenNew(OffsetF(10.0f, 10.0f), 0, index, childSize);
in HWTEST_F() 829 testF = layoutAlgorithm->FitToScreenNew(OffsetF(0.0f, 0.0f), 0, index, childSize, true);
in HWTEST_F() 832 testF = layoutAlgorithm->FitToScreenNew(OffsetF(0.0f, 0.0f), 0, index, childSize, true);
in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | span_node.cpp | 897 int32_t index = builder->AddPlaceholder(run); in UpdateParagraph() local 900 return index; in UpdateParagraph() 1016 int32_t index = builder->AddPlaceholder(run); in UpdateParagraph() local 1019 return index; in UpdateParagraph()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
H A D | span_string.cpp | 894 for (const auto& index : specialList) { in GetNormalTypesVector() 895 if (index > next) { in GetNormalTypesVector() 896 iter = indexList.insert(iter, { next, index - next }); in GetNormalTypesVector() 898 next = index + 1; in GetNormalTypesVector()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_pattern_func_test.cpp | 906 pattern->selectController_->firstHandleInfo_.index = 0; in HWTEST_F() 907 pattern->selectController_->secondHandleInfo_.index = 0; in HWTEST_F() 930 pattern->selectController_->firstHandleInfo_.index = 0; in HWTEST_F() 931 pattern->selectController_->secondHandleInfo_.index = 0; in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/web/ |
H A D | web_pattern_touch_test_ng.cpp | 403 int32_t index = 1; in HWTEST_F() local 404 webpattern.SuggestionSelected(index); in HWTEST_F() 427 int32_t index = 1; in HWTEST_F() local 428 webPattern->SuggestionSelected(index); in HWTEST_F()
|
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/unittest/oh_audio_device_change_test/src/ |
H A D | oh_audio_device_change_unit_test.cpp | 37 for (int index = 0; index < size; index++) { in DeviceChangeCallback() 38 OH_AudioDeviceDescriptor *audioDeviceDescriptor = audioDeviceDescriptorArray->descriptors[index]; in DeviceChangeCallback()
|
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/stream_manager_test/src/ |
H A D | audio_stream_manager_unit_test.cpp | 499 uint32_t index = 0; in HWTEST_F() local 502 AUDIO_DEBUG_LOG("audioRendererChangeInfos[%{public}d]", index++); in HWTEST_F() 1210 uint32_t index = 0; in HWTEST_F() local 1213 AUDIO_DEBUG_LOG("audioCapturerChangeInfos[%{public}d]", index++); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/transaction/ |
H A D | rs_render_service_connection_stub.cpp | 833 for (uint32_t index = 0; index < memoryGraphics.size(); index++) { in OnRemoteRequest() 834 if (!reply.WriteParcelable(&memoryGraphics[index])) { in OnRemoteRequest()
|
/foundation/multimedia/ringtone_library/test/unittest/ringtone_test/src/ |
H A D | ringtone_unittest.cpp | 238 for (int index = 0; index < NUMBER_OF_TIMES; index++) { in HWTEST_F() 241 TEST_INSERT_RINGTONE_LIBRARY + to_string(index) + MTP_FORMAT_OGG)); in HWTEST_F()
|
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/ |
H A D | js_window_utils.cpp | 545 uint32_t index = 0;
in CreateJsWindowInfoArrayObject() local 552 napi_set_element(env, arrayValue, index++, CreateJsWindowInfoObject(env, info));
in CreateJsWindowInfoArrayObject() 584 uint32_t index = 0;
in CreateJsSystemBarRegionTintArrayObject() local 586 napi_set_element(env, array, index++, CreateJsSystemBarRegionTintObject(env, tints[i]));
in CreateJsSystemBarRegionTintArrayObject() 769 if (!ConvertFromJsValue(env, argv[2], enableAnimation)) { // 2: index of param enableAnimation
in GetSpecificBarStatus()
|