Home
last modified time | relevance | path

Searched refs:String16 (Results 1 – 25 of 25) 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.cpp88 String16::String16() in String16() function in android::String16
93 String16::String16(StaticLinkage) in String16() function in android::String16
106 String16::String16(const String16& o) in String16() function in android::String16
112 String16::String16(const String16& o, size_t len, size_t begin) in String16() function in android::String16
118 String16::String16(const char16_t* o) in String16() function in android::String16
133 String16::String16(const char16_t* o, size_t len) in String16() function in android::String16
148 String16::String16(const String8& o) in String16() function in android::String16
153 String16::String16(const char* o) in String16() function in android::String16
158 String16::String16(const char* o, size_t len) in String16() function in android::String16
163 String16::~String16() in ~String16()
[all …]
DAndroid.mk33 String16.cpp \
DString8.cpp187 String8::String8(const String16& o) in String8()
/system/security/keystore/include/keystore/
DIKeystoreService.h143 virtual int32_t get(const String16& name, uint8_t** item, size_t* itemLength) = 0;
145 virtual int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int uid,
148 virtual int32_t del(const String16& name, int uid) = 0;
150 virtual int32_t exist(const String16& name, int uid) = 0;
152 virtual int32_t list(const String16& prefix, int uid, Vector<String16>* matches) = 0;
156 virtual int32_t onUserPasswordChanged(int32_t userId, const String16& newPassword) = 0;
160 virtual int32_t unlock(int32_t userId, const String16& password) = 0;
164 virtual int32_t generate(const String16& name, int32_t uid, int32_t keyType, int32_t keySize,
167 virtual int32_t import(const String16& name, const uint8_t* data, size_t length, int uid,
170 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])); \
109 int32_t ret = service->cmd(String16(argv[2]), uid); \
130 int32_t ret = service->cmd(String16(argv[2]), data, dataSize); \
150 int32_t ret = service->cmd(String16(argv[2]), &data, &dataSize); \
166 static int list(sp<IKeystoreService> service, const String16& name, int uid) { in list()
167 Vector<String16> matches; in list()
176 Vector<String16>::const_iterator it = matches.begin(); in list()
192 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in main()
215 return list(service, argc < 3 ? String16("") : String16(argv[2]), in main()
DIKeystoreService.cpp421 virtual int32_t get(const String16& name, uint8_t** item, size_t* itemLength) in get()
454 virtual int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int uid, in insert()
479 virtual int32_t del(const String16& name, int uid) in del()
499 virtual int32_t exist(const String16& name, int uid) in exist()
519 virtual int32_t list(const String16& prefix, int uid, Vector<String16>* matches) in list()
561 virtual int32_t onUserPasswordChanged(int32_t userId, const String16& password) in onUserPasswordChanged()
601 virtual int32_t unlock(int32_t userId, const String16& password) in unlock()
640 virtual int32_t generate(const String16& name, int32_t uid, int32_t keyType, int32_t keySize, in generate()
673 virtual int32_t import(const String16& name, const uint8_t* key, size_t keyLength, int uid, in import()
698 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.cpp1223 android::Vector<android::String16> aliases; in resetUser()
1393 ResponseCode list(const android::String8& prefix, android::Vector<android::String16> *matches, in list()
1425 matches->push(android::String16(match, extra)); in list()
1524 bool isHardwareBacked(const android::String16& keyType) const { in isHardwareBacked()
1634 static const android::String16 sRSAKeyType;
1852 const android::String16 KeyStore::sRSAKeyType("RSA");
1878 int32_t get(const String16& name, uint8_t** item, size_t* itemLength) { in get()
1902 int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int targetUid, in insert()
1920 int32_t del(const String16& name, int targetUid) { in del()
1930 int32_t exist(const String16& name, int targetUid) { in exist()
[all …]
/system/core/fingerprintd/
DIFingerprintDaemon.cpp34 static const String16 USE_FINGERPRINT_PERMISSION("android.permission.USE_FINGERPRINT");
35 static const String16 MANAGE_FINGERPRINT_PERMISSION("android.permission.MANAGE_FINGERPRINT");
36 static const String16 HAL_FINGERPRINT_PERMISSION("android.permission.MANAGE_FINGERPRINT"); // TODO
37 static const String16 DUMP_PERMISSION("android.permission.DUMP");
39 const android::String16
42 const android::String16&
187 bool BnFingerprintDaemon::checkPermission(const String16& permission) { in checkPermission()
DIFingerprintDaemon.h51 virtual const android::String16& getInterfaceDescriptor() const;
69 static const android::String16 descriptor;
80 bool checkPermission(const String16& permission);
DFingerprintDaemonProxy.cpp101 sp < IBinder > binder = sm->getService(String16("android.security.keystore")); in notifyKeystore()
/system/core/healthd/
DBatteryPropertiesRegistrar.cpp34 defaultServiceManager()->addService(String16("batteryproperties"), this); in publish()
79 status_t BatteryPropertiesRegistrar::dump(int fd, const Vector<String16>& /*args*/) { in dump() argument
85 String16("android.permission.DUMP"), pid, uid)) in dump()
DBatteryPropertiesRegistrar.h43 status_t dump(int fd, const Vector<String16>& args);
/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()
Dandroid_engine.cpp149 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in rsa_private_transform()
159 int32_t ret = service->sign(String16(key_id), in, len, &reply, &reply_len); in rsa_private_transform()
245 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in ecdsa_sign()
257 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), in ecdsa_sign()
404 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in EVP_PKEY_from_keystore()
414 int32_t ret = service->get_pubkey(String16(key_id), &pubkey, &pubkey_len); in EVP_PKEY_from_keystore()
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()
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()
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/core/gatekeeperd/
Dgatekeeperd.cpp47 static const String16 KEYGUARD_PERMISSION("android.permission.ACCESS_KEYGUARD_SECURE_STORAGE");
48 static const String16 DUMP_PERMISSION("android.permission.DUMP");
246 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in verifyChallenge()
271 sp<IBinder> binder = sm->getService(String16("user")); in getSecureUserId()
299 virtual status_t dump(int fd, const Vector<String16> &) { in dump() argument
339 android::String16("android.service.gatekeeper.IGateKeeperService"), proxy); in main()
DIGateKeeperService.h45 static const android::String16 descriptor;
46 virtual const android::String16& getInterfaceDescriptor() const;
DIGateKeeperService.cpp24 const android::String16 IGateKeeperService::descriptor("android.service.gatekeeper.IGateKeeperServi…
25 const android::String16& IGateKeeperService::getInterfaceDescriptor() const { in getInterfaceDescriptor()
/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/libutils/tests/
DString8_test.cpp80 String16 string16(u"\xd841\xd841\xdc41\x0000"); in TEST_F()