Lines Matching refs:append
52 createTableStr.append("CREATE TABLE IF NOT EXISTS ").append(TABLE_SIM_INFO); in CreateSimInfoTableStr()
53 … createTableStr.append("(").append(SimData::SIM_ID).append(" INTEGER PRIMARY KEY AUTOINCREMENT, "); in CreateSimInfoTableStr()
54 createTableStr.append(SimData::ICC_ID).append(" TEXT NOT NULL, "); in CreateSimInfoTableStr()
55 createTableStr.append(SimData::CARD_ID).append(" TEXT NOT NULL, "); in CreateSimInfoTableStr()
56 createTableStr.append(SimData::SLOT_INDEX).append(" INTEGER DEFAULT -1, "); in CreateSimInfoTableStr()
57 createTableStr.append(SimData::SHOW_NAME).append(" TEXT DEFAULT '', "); in CreateSimInfoTableStr()
58 createTableStr.append(SimData::PHONE_NUMBER).append(" TEXT DEFAULT '', "); in CreateSimInfoTableStr()
59 createTableStr.append(SimData::COUNTRY_CODE).append(" TEXT DEFAULT '', "); in CreateSimInfoTableStr()
60 createTableStr.append(SimData::IMSI).append(" TEXT DEFAULT '', "); in CreateSimInfoTableStr()
61 createTableStr.append(SimData::IS_MAIN_CARD).append(" INTEGER DEFAULT 0, "); in CreateSimInfoTableStr()
62 createTableStr.append(SimData::IS_VOICE_CARD).append(" INTEGER DEFAULT 0, "); in CreateSimInfoTableStr()
63 createTableStr.append(SimData::IS_MESSAGE_CARD).append(" INTEGER DEFAULT 0, "); in CreateSimInfoTableStr()
64 createTableStr.append(SimData::IS_CELLULAR_DATA_CARD).append(" INTEGER DEFAULT 0, "); in CreateSimInfoTableStr()
65 createTableStr.append(SimData::IS_ACTIVE).append(" INTEGER DEFAULT 1, "); in CreateSimInfoTableStr()
66 createTableStr.append(SimData::CARD_TYPE).append(" INTEGER , "); in CreateSimInfoTableStr()
67 createTableStr.append(SimData::IMS_SWITCH).append(" INTEGER DEFAULT -1, "); in CreateSimInfoTableStr()
68 createTableStr.append(SimData::LANGUAGE).append(" TEXT DEFAULT '', "); in CreateSimInfoTableStr()
69 createTableStr.append(SimData::OPKEY).append(" TEXT DEFAULT '', "); in CreateSimInfoTableStr()
70 createTableStr.append(SimData::MCC).append(" TEXT DEFAULT '', "); in CreateSimInfoTableStr()
71 createTableStr.append(SimData::MNC).append(" TEXT DEFAULT '', "); in CreateSimInfoTableStr()
72 createTableStr.append("UNIQUE ("); in CreateSimInfoTableStr()
73 createTableStr.append(SimData::ICC_ID).append(", "); in CreateSimInfoTableStr()
74 createTableStr.append(SimData::CARD_ID).append("))"); in CreateSimInfoTableStr()
115 whereClause.append(SimData::SIM_ID).append("=").append(std::to_string(simId)); in SetDefaultCardByType()
134 whereClause.append(SimData::IS_MAIN_CARD).append("=").append(std::to_string(whereSate)); in UpdateCardStateByType()
140 … whereClause.append(SimData::IS_VOICE_CARD).append("=").append(std::to_string(whereSate)); in UpdateCardStateByType()
146 … whereClause.append(SimData::IS_MESSAGE_CARD).append("=").append(std::to_string(whereSate)); in UpdateCardStateByType()
152 … whereClause.append(SimData::IS_CELLULAR_DATA_CARD).append("=").append(std::to_string(whereSate)); in UpdateCardStateByType()
177 sql.append("delete from ").append(TABLE_SIM_INFO); in ClearData()