Searched refs:String8 (Results 1 - 25 of 68) sorted by relevance

123

/system/core/include/utils/
H A DString8.h38 class String8 class in namespace:android
41 /* use String8(StaticLinkage) if you're statically linking against
42 * libutils and declaring an empty static String8, e.g.:
44 * static String8 sAStaticEmptyString(String8::kEmptyString);
45 * static String8 sAnotherStaticEmptyString(sAStaticEmptyString);
49 String8();
50 explicit String8(StaticLinkage);
51 String8(const String8
[all...]
H A DPropertyMap.h21 #include <utils/String8.h>
60 void addProperty(const String8& key, const String8& value);
63 bool hasProperty(const String8& key) const;
69 bool tryGetProperty(const String8& key, String8& outValue) const;
70 bool tryGetProperty(const String8& key, bool& outValue) const;
71 bool tryGetProperty(const String8& key, int32_t& outValue) const;
72 bool tryGetProperty(const String8& key, float& outValue) const;
78 inline const KeyedVector<String8, String
[all...]
H A DTokenizer.h23 #include <utils/String8.h>
31 Tokenizer(const String8& filename, FileMap* fileMap, char* buffer,
43 static status_t open(const String8& filename, Tokenizer** outTokenizer);
51 static status_t fromContents(const String8& filename,
67 inline String8 getFilename() const { return mFilename; }
78 String8 getLocation() const;
89 String8 peekRemainderOfLine() const;
104 String8 nextToken(const char* delimiters);
121 String8 mFilename;
H A DCallStack.h22 #include <utils/String8.h>
58 String8 toString(const char* prefix = 0) const;
67 Vector<String8> mFrameLines;
H A DProcessCallStack.h23 #include <utils/String8.h>
52 String8 toString(const char* prefix = 0) const;
68 String8 threadName;
/system/core/libutils/include/utils/
H A DString8.h38 class String8 class in namespace:android
41 /* use String8(StaticLinkage) if you're statically linking against
42 * libutils and declaring an empty static String8, e.g.:
44 * static String8 sAStaticEmptyString(String8::kEmptyString);
45 * static String8 sAnotherStaticEmptyString(sAStaticEmptyString);
49 String8();
50 explicit String8(StaticLinkage);
51 String8(const String8
[all...]
H A DPropertyMap.h21 #include <utils/String8.h>
60 void addProperty(const String8& key, const String8& value);
63 bool hasProperty(const String8& key) const;
69 bool tryGetProperty(const String8& key, String8& outValue) const;
70 bool tryGetProperty(const String8& key, bool& outValue) const;
71 bool tryGetProperty(const String8& key, int32_t& outValue) const;
72 bool tryGetProperty(const String8& key, float& outValue) const;
78 inline const KeyedVector<String8, String
[all...]
H A DTokenizer.h23 #include <utils/String8.h>
31 Tokenizer(const String8& filename, FileMap* fileMap, char* buffer,
43 static status_t open(const String8& filename, Tokenizer** outTokenizer);
51 static status_t fromContents(const String8& filename,
67 inline String8 getFilename() const { return mFilename; }
78 String8 getLocation() const;
89 String8 peekRemainderOfLine() const;
104 String8 nextToken(const char* delimiters);
121 String8 mFilename;
H A DCallStack.h22 #include <utils/String8.h>
58 String8 toString(const char* prefix = 0) const;
67 Vector<String8> mFrameLines;
H A DProcessCallStack.h23 #include <utils/String8.h>
52 String8 toString(const char* prefix = 0) const;
68 String8 threadName;
/system/core/healthd/include/healthd/
H A Dhealthd.h23 #include <utils/String8.h>
58 android::String8 batteryStatusPath;
59 android::String8 batteryHealthPath;
60 android::String8 batteryPresentPath;
61 android::String8 batteryCapacityPath;
62 android::String8 batteryVoltagePath;
63 android::String8 batteryTemperaturePath;
64 android::String8 batteryTechnologyPath;
65 android::String8 batteryCurrentNowPath;
66 android::String8 batteryCurrentAvgPat
[all...]
H A DBatteryMonitor.h22 #include <utils/String8.h>
49 Vector<String8> mChargerNames;
58 int readFromFile(const String8& path, std::string* buf);
59 PowerSupplyType readPowerSupplyType(const String8& path);
60 bool getBooleanField(const String8& path);
61 int getIntField(const String8& path);
/system/core/libutils/tests/
H A DString8_test.cpp19 #include <utils/String8.h>
36 String8 tmp("Hello, world!");
42 String8 src1("Hello, ");
44 // Test adding String8 + const char*
46 String8 dst1 = src1 + ccsrc2;
51 // Test adding String8 + String8
52 String8 ssrc2("world!");
53 String8 dst2 = src1 + ssrc2;
60 String8 src
[all...]
/system/core/libutils/
H A DString8.cpp20 #include <utils/String8.h>
60 // which is needed to initialize String8/String16 classes.
147 String8::String8() function in class:android::String8
152 String8::String8(StaticLinkage) function in class:android::String8
165 String8::String8(const String8& o) function in class:android::String8
171 String8 function in class:android::String8
179 String8::String8(const char* o, size_t len) function in class:android::String8
187 String8::String8(const String16& o) function in class:android::String8
192 String8::String8(const char16_t* o) function in class:android::String8
197 String8::String8(const char16_t* o, size_t len) function in class:android::String8
202 String8::String8(const char32_t* o) function in class:android::String8
207 String8::String8(const char32_t* o, size_t len) function in class:android::String8
[all...]
H A DPropertyMap.cpp46 void PropertyMap::addProperty(const String8& key, const String8& value) {
50 bool PropertyMap::hasProperty(const String8& key) const {
54 bool PropertyMap::tryGetProperty(const String8& key, String8& outValue) const {
64 bool PropertyMap::tryGetProperty(const String8& key, bool& outValue) const {
74 bool PropertyMap::tryGetProperty(const String8& key, int32_t& outValue) const {
75 String8 stringValue;
91 bool PropertyMap::tryGetProperty(const String8& key, float& outValue) const {
92 String8 stringValu
[all...]
H A DTokenizer.cpp34 Tokenizer::Tokenizer(const String8& filename, FileMap* fileMap, char* buffer,
48 status_t Tokenizer::open(const String8& filename, Tokenizer** outTokenizer) {
99 status_t Tokenizer::fromContents(const String8& filename,
106 String8 Tokenizer::getLocation() const {
107 String8 result;
112 String8 Tokenizer::peekRemainderOfLine() const {
122 return String8(mCurrent, eol - mCurrent);
125 String8 Tokenizer::nextToken(const char* delimiters) {
138 return String8(tokenStart, mCurrent - tokenStart);
/system/core/healthd/
H A Dhealthd_common.cpp55 .batteryStatusPath = String8(String8::kEmptyString),
56 .batteryHealthPath = String8(String8::kEmptyString),
57 .batteryPresentPath = String8(String8::kEmptyString),
58 .batteryCapacityPath = String8(String8::kEmptyString),
59 .batteryVoltagePath = String8(String8
[all...]
/system/security/keystore/
H A Dkeystore.h62 ResponseCode initializeUser(const android::String8& pw, uid_t userId);
65 ResponseCode writeMasterKey(const android::String8& pw, uid_t userId);
66 ResponseCode readMasterKey(const android::String8& pw, uid_t userId);
68 android::String8 getKeyName(const android::String8& keyName, const BlobType type);
69 android::String8 getKeyNameForUid(const android::String8& keyName, uid_t uid,
71 android::String8 getKeyNameForUidWithDir(const android::String8& keyName, uid_t uid,
73 NullOr<android::String8> getBlobFileNameIfExist
[all...]
H A Duser_state.h24 #include <utils/String8.h>
50 ResponseCode initialize(const android::String8& pw, Entropy* entropy);
54 ResponseCode writeMasterKey(const android::String8& pw, Entropy* entropy);
55 ResponseCode readMasterKey(const android::String8& pw, Entropy* entropy);
68 void generateKeyFromPassword(uint8_t* key, ssize_t keySize, const android::String8& pw,
/system/bt/service/common/android/bluetooth/
H A Dscan_filter.cc22 #include <utils/String8.h>
26 using android::String8;
36 parcel->writeString16(String16(String8(device_name_.c_str())));
39 status = parcel->writeString16(String16(String8(device_address_.c_str())));
73 device_name_ = std::string(String8(name).string());
78 device_address_ = std::string(String8(addr).string());
H A Dscan_result.cc22 #include <utils/String8.h>
26 using android::String8;
36 parcel->writeString16(String16(String8(device_address_.c_str())));
50 device_address_ = std::string(String8(addr).string());
H A Dbluetooth_gatt_descriptor.cc21 #include <utils/String8.h>
24 using android::String8;
H A Dbluetooth_gatt_included_service.cc22 #include <utils/String8.h>
25 using android::String8;
/system/media/brillo/audio/audioservice/
H A Dbrillo_audio_service_impl.cpp29 EREMOTEIO, android::String8("The audio device handler died."));
37 android::String8("Invalid flag."));
46 EREMOTEIO, android::String8("The audio device handler died."));
79 EREMOTEIO, android::String8("The audio volume handler died."));
90 EREMOTEIO, android::String8("The audio volume handler died."));
105 EREMOTEIO, android::String8("The audio volume handler died."));
122 EREMOTEIO, android::String8("The audio volume handler died."));
134 EREMOTEIO, android::String8("The audio volume handler died."));
144 EREMOTEIO, android::String8("The audio volume handler died."));
154 EREMOTEIO, android::String8("Th
[all...]
/system/tools/aidl/tests/
H A Dsimple_parcelable.cpp21 #include <utils/String8.h>
51 return StringPrintf("%s(%d)", String8(name_).string(), number_);

Completed in 391 milliseconds

123