Home
last modified time | relevance | path

Searched refs:setModeInfo (Results 1 – 1 of 1) sorted by relevance

/base/telephony/ril_adapter/services/vendor/src/
Dat_network.c1534 static bool PrepareSetNetworkSelectionMode(char *cmd, const HRilSetNetworkModeInfo *setModeInfo) in PrepareSetNetworkSelectionMode() argument
1536 if (cmd == NULL || setModeInfo == NULL) { in PrepareSetNetworkSelectionMode()
1540 TELEPHONY_LOGD("setModeInfo, serial123 = %{public}d", setModeInfo->selectMode); in PrepareSetNetworkSelectionMode()
1541 if (setModeInfo->selectMode == 0) { in PrepareSetNetworkSelectionMode()
1543 } else if (setModeInfo->selectMode == 1) { in PrepareSetNetworkSelectionMode()
1544 if (setModeInfo->oper == NULL) { in PrepareSetNetworkSelectionMode()
1547 (void)sprintf_s(cmd, MAX_CMD_LENGTH, "AT+COPS=1,2,%s", setModeInfo->oper); in PrepareSetNetworkSelectionMode()
1565 HRilSetNetworkModeInfo *setModeInfo = (HRilSetNetworkModeInfo *)data; in ReqSetNetworkSelectionMode() local
1566 if (setModeInfo == NULL) { in ReqSetNetworkSelectionMode()
1572 if (!PrepareSetNetworkSelectionMode(cmdBuff, setModeInfo)) { in ReqSetNetworkSelectionMode()