Searched refs:config_str (Results 1 – 9 of 9) sorted by relevance
/system/connectivity/apmanager/ |
D | config.cc | 202 bool Config::GenerateConfigFile(Error* error, string* config_str) { in GenerateConfigFile() argument 213 config_str, "%s=%s\n", kHostapdConfigKeySsid, ssid.c_str()); in GenerateConfigFile() 225 base::StringAppendF(config_str, in GenerateConfigFile() 233 config_str, "%s=%d\n", kHostapdConfigKeyChannel, GetChannel()); in GenerateConfigFile() 236 if (!AppendInterface(error, config_str)) { in GenerateConfigFile() 241 if (!AppendHwMode(error, config_str)) { in GenerateConfigFile() 246 if (!AppendSecurityMode(error, config_str)) { in GenerateConfigFile() 252 base::StringAppendF(config_str, in GenerateConfigFile() 256 base::StringAppendF(config_str, in GenerateConfigFile() 263 if (!AppendHostapdDefaults(error, config_str)) { in GenerateConfigFile() [all …]
|
D | config.h | 54 virtual bool GenerateConfigFile(Error* error, std::string* config_str); 148 bool AppendHostapdDefaults(Error* error, std::string* config_str); 151 bool AppendHwMode(Error* error, std::string* config_str); 154 bool AppendInterface(Error* error, std::string* config_str); 157 bool AppendSecurityMode(Error* error, std::string* config_str);
|
D | mock_config.h | 35 bool(Error* error, std::string* config_str));
|
D | dhcp_server.cc | 80 string config_str = GenerateConfigFile(); in Start() local 83 if (!file_writer_->Write(file_name, config_str)) { in Start()
|
D | service.cc | 108 string config_str; in StartInternal() local 109 if (!config_->GenerateConfigFile(error, &config_str)) { in StartInternal() 116 if (!file_writer_->Write(config_file_name, config_str)) { in StartInternal()
|
D | service_unittest.cc | 148 std::string config_str(kHostapdConfig); in TEST_F() local 151 DoAll(SetArgPointee<1>(config_str), Return(true))); in TEST_F()
|
/system/core/libdiskconfig/ |
D | diskconfig.c | 111 if (!(tmp = config_str(partnode, "type", NULL))) { in load_partitions() 126 if ((tmp = config_str(partnode, "len", NULL)) != NULL) { in load_partitions() 174 if (!(tmp = config_str(devroot, "path", path_override))) { in load_diskconfig() 181 if (!(tmp = config_str(devroot, "scheme", NULL))) { in load_diskconfig() 195 tmp = config_str(devroot, "sector_size", "512"); in load_diskconfig() 203 if (!(tmp = config_str(devroot, "start_lba", NULL))) { in load_diskconfig() 214 if (!(tmp = config_str(devroot, "num_lba", NULL))) { in load_diskconfig()
|
/system/core/include/cutils/ |
D | config_utils.h | 52 const char* config_str(cnode *root, const char *name, const char *_default);
|
/system/core/libcutils/ |
D | config_utils.c | 85 const char* config_str(cnode *root, const char *name, const char *_default) in config_str() function
|