Searched refs:String8 (Results 26 - 50 of 68) sorted by relevance

123

/system/core/include/utils/
H A DPrinter.h85 class String8;
87 // Print to a String8
90 // Create a printer using the specified String8 as the target.
93 String8Printer(String8* target, const char* prefix = 0);
95 // Append the specified line to the String8. \n is appended automatically.
99 String8* mTarget;
H A DString16.h23 #include <utils/String8.h>
39 class String8;
62 explicit String16(const String8& o);
155 return std::string(String8(str).string());
/system/core/libutils/
H A DCallStack.cpp50 mFrameLines.push_back(String8(backtrace->FormatFrameData(i).c_str()));
64 String8 CallStack::toString(const char* prefix) const {
65 String8 str;
H A DProcessCallStack.cpp77 static String8 getThreadName(pid_t tid) {
93 return String8::format("[err-unknown-tid-%d]", tid);
99 return String8(procName);
102 static String8 getTimeString(struct tm tm) {
107 return String8(timestr);
214 const String8& threadName = threadInfo.threadName;
236 String8 ProcessCallStack::toString(const char* prefix) const {
238 String8 dest;
H A DPrinter.cpp21 #include <utils/String8.h>
126 String8Printer::String8Printer(String8* target, const char* prefix) :
/system/core/libutils/include/utils/
H A DPrinter.h85 class String8;
87 // Print to a String8
90 // Create a printer using the specified String8 as the target.
93 String8Printer(String8* target, const char* prefix = 0);
95 // Append the specified line to the String8. \n is appended automatically.
99 String8* mTarget;
H A DString16.h23 #include <utils/String8.h>
39 class String8;
62 explicit String16(const String8& o);
155 return std::string(String8(str).string());
/system/update_engine/client_library/
H A Dclient_binder.cc22 #include <utils/String8.h>
30 using android::String8;
69 StringToUpdateStatus(String8{status.current_operation_}.string(),
71 *out_new_version = String8{status.new_version_}.string();
86 *out_cohort_hint = String8{out_as_string16}.string();
118 *rollback_partition = String8{out_as_string16}.string();
128 *prev_version = String8{out_as_string16}.string();
153 StringToUpdateStatus(String8{current_operation}.string(), &update_status);
157 String8{new_version}.string(), new_size);
215 *out_channel = String8{out_as_string1
[all...]
/system/libhwbinder/include/hwbinder/
H A DProcessState.h22 #include <utils/String8.h>
79 String8 makeBinderThreadName();
113 String8 mRootDir;
H A DTextOutput.h21 #include <utils/String8.h>
146 to << String8(val).string();
/system/bt/service/common/android/bluetooth/
H A Dbluetooth_gatt_characteristic.cc22 #include <utils/String8.h>
25 using android::String8;
H A Dbluetooth_gatt_service.cc22 #include <utils/String8.h>
25 using android::String8;
/system/bt/service/ipc/binder/
H A Dipc_handler_binder.cc31 using android::String8;
51 String16(String8(kServiceName.c_str())), bt_server);
H A Dbluetooth_low_energy_binder_server.cc23 using android::String8;
81 client->Connect(std::string(String8(address).string()), is_direct);
98 *_aidl_return = client->Disconnect(std::string(String8(address).string()));
116 *_aidl_return = client->SetMtu(std::string(String8(address).string()), mtu);
H A Dbluetooth_binder_server.cc30 using android::String8;
85 *_aidl_return = String16(String8(adapter_->GetAddress().c_str()));
100 *_aidl_return = adapter_->SetName(std::string(String8(name).string()));
106 *_aidl_return = String16(String8(adapter_->GetName().c_str()));
/system/security/keystore/
H A Dkeystore.cpp27 #include <utils/String8.h>
43 using android::String8;
69 ResponseCode KeyStore::initializeUser(const android::String8& pw, uid_t userId) {
80 ResponseCode KeyStore::writeMasterKey(const android::String8& pw, uid_t userId) {
85 ResponseCode KeyStore::readMasterKey(const android::String8& pw, uid_t userId) {
97 static size_t encode_key_length(const android::String8& keyName) {
108 static int encode_key(char* out, const android::String8& keyName) {
124 android::String8 KeyStore::getKeyName(const android::String8& keyName, const BlobType type) {
128 return android::String8
[all...]
H A Duser_state.cpp79 ResponseCode UserState::initialize(const android::String8& pw, Entropy* entropy) {
133 ResponseCode UserState::writeMasterKey(const android::String8& pw, Entropy* entropy) {
140 ResponseCode UserState::readMasterKey(const android::String8& pw, Entropy* entropy) {
224 void UserState::generateKeyFromPassword(uint8_t* key, ssize_t keySize, const android::String8& pw,
H A Dkey_store_service.cpp146 String8 name8(name);
178 String8 name8(name);
179 String8 filename(mKeyStore->getKeyNameForUidWithDir(name8, targetUid, ::TYPE_GENERIC));
192 String8 name8(name);
217 auto filename = mKeyStore->getBlobFileNameIfExists(String8(name), targetUid, ::TYPE_ANY);
227 const String8 prefix8(prefix);
228 String8 filename(mKeyStore->getKeyNameForUid(prefix8, targetUid, TYPE_ANY));
252 const String8 password8(password);
349 const String8 password8(pw);
522 String8 name
[all...]
/system/netd/server/
H A DNetdNativeService.cpp69 return binder::Status::fromExceptionCode(binder::Status::EX_SECURITY, String8(err.c_str()));
89 String8("Not available in production builds.") \
124 const String8 msg(dump_permission.toString8());
150 android::String8 name = android::String8(chainName);
184 String8::format("RouteController error: %s", strerror(-err)));
197 String8("Could not open SOCK_DIAG socket"));
206 String8::format("destroySockets: %s", strerror(-err)));
220 String8::format("ResolverController error: %s", strerror(-err)));
234 String8
[all...]
H A DDumpWriter.cpp20 #include <utils/String8.h>
/system/update_engine/
H A Dbinder_service_android.cc23 #include <utils/String8.h>
31 1, android::String8{error->GetMessage().c_str()});
102 const std::string payload_url{android::String8{url}.string()};
106 str_headers.emplace_back(android::String8{header}.string());
/system/libhwbinder/
H A DTextOutput.cpp21 #include <utils/String8.h>
H A DProcessState.cpp26 #include <utils/String8.h>
106 //printf("Getting context object %s for %p\n", String8(name).string(), caller.get());
113 String8(name).string());
285 String8 ProcessState::makeBinderThreadName() {
288 String8 name;
296 String8 name = makeBinderThreadName();
/system/core/healthd/
H A DBatteryMonitor.cpp38 #include <utils/String8.h>
135 int BatteryMonitor::readFromFile(const String8& path, std::string* buf) {
142 BatteryMonitor::PowerSupplyType BatteryMonitor::readPowerSupplyType(const String8& path) {
174 bool BatteryMonitor::getBooleanField(const String8& path) {
185 int BatteryMonitor::getIntField(const String8& path) {
244 props.batteryTechnology = String8(buf.c_str());
250 String8 path;
475 String8 path;
501 mChargerNames.add(String8(name));
/system/bt/service/example/heart_rate/
H A Dheart_rate_server.cc29 using android::String8;
56 std::string name(String8(name_param).string());
178 gatt_->SendNotification(server_if_, String16(String8(iter.first.c_str())),
354 device_ccc_map_[std::string(String8(device_address).string())], 0x00};
444 device_ccc_map_[std::string(String8(device_address).string())] = value[0];
481 pending_notification_map_[std::string(String8(device_address).string())] =

Completed in 353 milliseconds

123