Home
last modified time | relevance | path

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

/system/core/include/utils/
DString16.h41 class String16
52 String16();
53 explicit String16(StaticLinkage);
54 String16(const String16& o);
55 String16(const String16& o,
58 explicit String16(const char16_t* o);
59 explicit String16(const char16_t* o, size_t len);
60 explicit String16(const String8& o);
61 explicit String16(const char* o);
62 explicit String16(const char* o, size_t len);
[all …]
DString8.h32 class String16; variable
54 explicit String8(const String16& o);
/system/core/libutils/
DString16.cpp91 String16::String16() in String16() function in android::String16
96 String16::String16(StaticLinkage) in String16() function in android::String16
109 String16::String16(const String16& o) in String16() function in android::String16
115 String16::String16(const String16& o, size_t len, size_t begin) in String16() function in android::String16
121 String16::String16(const char16_t* o) in String16() function in android::String16
136 String16::String16(const char16_t* o, size_t len) in String16() function in android::String16
151 String16::String16(const String8& o) in String16() function in android::String16
156 String16::String16(const char* o) in String16() function in android::String16
161 String16::String16(const char* o, size_t len) in String16() function in android::String16
166 String16::~String16() in ~String16()
[all …]
DAndroid.mk37 String16.cpp \
DString8.cpp180 String8::String8(const String16& o) in String8()
/system/security/keystore/include/keystore/
DIKeystoreService.h74 virtual int32_t get(const String16& name, uint8_t** item, size_t* itemLength) = 0;
76 virtual int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int uid,
79 virtual int32_t del(const String16& name, int uid) = 0;
81 virtual int32_t exist(const String16& name, int uid) = 0;
83 virtual int32_t saw(const String16& name, int uid, Vector<String16>* matches) = 0;
87 virtual int32_t password(const String16& password) = 0;
91 virtual int32_t unlock(const String16& password) = 0;
95 virtual int32_t generate(const String16& name, int32_t uid, int32_t keyType, int32_t keySize,
98 virtual int32_t import(const String16& name, const uint8_t* data, size_t length, int uid,
101 virtual int32_t sign(const String16& name, const uint8_t* data, size_t length, uint8_t** out,
[all …]
/system/security/keystore/
Dkeystore_cli.cpp68 int32_t ret = service->cmd(String16(argv[2])); \
91 int32_t ret = service->cmd(String16(argv[2]), uid); \
112 int32_t ret = service->cmd(String16(argv[2]), data, dataSize); \
132 int32_t ret = service->cmd(String16(argv[2]), &data, &dataSize); \
148 static int saw(sp<IKeystoreService> service, const String16& name, int uid) { in saw()
149 Vector<String16> matches; in saw()
158 Vector<String16>::const_iterator it = matches.begin(); in saw()
174 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in main()
197 return saw(service, argc < 3 ? String16("") : String16(argv[2]), in main()
DIKeystoreService.cpp74 virtual int32_t get(const String16& name, uint8_t** item, size_t* itemLength) in get()
107 virtual int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int uid, in insert()
132 virtual int32_t del(const String16& name, int uid) in del()
152 virtual int32_t exist(const String16& name, int uid) in exist()
172 virtual int32_t saw(const String16& name, int uid, Vector<String16>* matches) in saw()
214 virtual int32_t password(const String16& password) in password()
251 virtual int32_t unlock(const String16& password) in unlock()
288 virtual int32_t generate(const String16& name, int32_t uid, int32_t keyType, int32_t keySize, in generate()
320 virtual int32_t import(const String16& name, const uint8_t* key, size_t keyLength, int uid, in import()
345 virtual int32_t sign(const String16& name, const uint8_t* in, size_t inLength, uint8_t** out, in sign()
[all …]
Dkeystore_get.cpp26 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in keystore_get()
34 int32_t ret = service->get(String16(key, keyLength), value, &valueLength); in keystore_get()
Dkeystore.cpp1111 bool isHardwareBacked(const android::String16& keyType) const { in isHardwareBacked()
1208 static const android::String16 sRSAKeyType;
1425 const android::String16 KeyStore::sRSAKeyType("RSA");
1449 int32_t get(const String16& name, uint8_t** item, size_t* itemLength) { in get()
1475 int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int targetUid, in insert()
1504 int32_t del(const String16& name, int targetUid) { in del()
1529 int32_t exist(const String16& name, int targetUid) { in exist()
1551 int32_t saw(const String16& prefix, int targetUid, Vector<String16>* matches) { in saw()
1595 matches->push(String16(match, extra)); in saw()
1642 int32_t password(const String16& password) { in password()
[all …]
/system/security/keystore-engine/
Drsa_meth.cpp83 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in keystore_rsa_priv_enc()
93 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), padded.get(), in keystore_rsa_priv_enc()
127 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in keystore_rsa_priv_dec()
139 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), from, in keystore_rsa_priv_dec()
Decdsa_meth.cpp66 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in keystore_ecdsa_do_sign()
78 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), dgst, in keystore_ecdsa_do_sign()
Ddsa_meth.cpp60 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in keystore_dsa_do_sign()
72 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), dgst, in keystore_dsa_do_sign()
Deng_keystore.cpp111 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in keystore_loadkey()
121 int32_t ret = service->get_pubkey(String16(key_id), &pubkey, &pubkeyLen); in keystore_loadkey()
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp59 String16 serviceName("test.binderAddInts");
95 static ostream &operator<<(ostream &stream, const String16& str);
361 static ostream &operator<<(ostream &stream, const String16& str) in operator <<()
/system/core/healthd/
DBatteryPropertiesRegistrar.cpp33 defaultServiceManager()->addService(String16("batterypropreg"), this); in publish()