Home
last modified time | relevance | path

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

1234

/system/core/libutils/include/utils/
DString16.h43 class String16
54 String16();
55 explicit String16(StaticLinkage);
56 String16(const String16& o);
57 String16(const String16& o,
60 explicit String16(const char16_t* o);
61 explicit String16(const char16_t* o, size_t len);
62 explicit String16(const String8& o);
63 explicit String16(const char* o);
64 explicit String16(const char* o, size_t len);
[all …]
/system/tools/aidl/tests/
Daidl_test_client_parcelables.cpp94 non_empty_bundle.putBoolean(String16("test_bool"), false); in ConfirmPersistableBundles()
95 non_empty_bundle.putInt(String16("test_int"), 33); in ConfirmPersistableBundles()
96 non_empty_bundle.putLong(String16("test_long"), 34359738368l); in ConfirmPersistableBundles()
97 non_empty_bundle.putDouble(String16("test_double"), 1.1); in ConfirmPersistableBundles()
98 non_empty_bundle.putString(String16("test_string"), String16("Woot!")); in ConfirmPersistableBundles()
99 non_empty_bundle.putBooleanVector(String16("test_bool_vector"), in ConfirmPersistableBundles()
101 non_empty_bundle.putIntVector(String16("test_int_vector"), {33, 44, 55, 142}); in ConfirmPersistableBundles()
102 non_empty_bundle.putLongVector(String16("test_long_vector"), in ConfirmPersistableBundles()
104 non_empty_bundle.putDoubleVector(String16("test_double_vector"), {2.2, 5.4}); in ConfirmPersistableBundles()
105 non_empty_bundle.putStringVector(String16("test_string_vector"), in ConfirmPersistableBundles()
[all …]
Daidl_test_client_nullables.cpp28 using android::String16;
56 bool ValuesEqual<vector<unique_ptr<String16>>>( in ValuesEqual()
57 const unique_ptr<vector<unique_ptr<String16>>>& in, in ValuesEqual()
58 const unique_ptr<vector<unique_ptr<String16>>>& out) { in ValuesEqual()
72 const unique_ptr<String16>& a = (*in)[i]; in ValuesEqual()
73 const unique_ptr<String16>& b = (*out)[i]; in ValuesEqual()
236 unique_ptr<String16>(new String16("Blooob")), in ConfirmNullables()
241 unique_ptr<vector<unique_ptr<String16>>> test_string_array( in ConfirmNullables()
242 new vector<unique_ptr<String16>>()); in ConfirmNullables()
243 test_string_array->push_back(unique_ptr<String16>(new String16("Wat"))); in ConfirmNullables()
[all …]
Daidl_test_client_primitives.cpp33 using android::String16;
61 test_map["third_val"] = String16("OHAI"); in ConfirmPrimitiveRepeat()
99 vector<String16> inputs = { in ConfirmPrimitiveRepeat()
100 String16("Deliver us from evil."), in ConfirmPrimitiveRepeat()
101 String16(), in ConfirmPrimitiveRepeat()
102 String16("\0\0", 2), in ConfirmPrimitiveRepeat()
106 String16("\xD8\x01\xDC\x37\x20\xAC"), in ConfirmPrimitiveRepeat()
111 String16 reply; in ConfirmPrimitiveRepeat()
141 {String16{"f"}, String16{"a"}, String16{"b"}})) { in ConfirmReverseArrays()
152 {String16{"f"}, String16{"a"}, String16{"b"}})) { in ConfirmReverseLists()
[all …]
Daidl_test_service.cpp54 using android::String16;
94 explicit NamedCallback(String16 name) : name_(name) {} in NamedCallback()
96 Status GetName(String16* ret) { in GetName()
102 String16 name_;
110 void LogRepeatedStringToken(const String16& token) { in LogRepeatedStringToken()
137 LogRepeatedStringToken(String16(&token, 1)); in RepeatChar()
161 Status RepeatString(const String16& token, String16* _aidl_return) override { in RepeatString()
246 Status ReverseString(const vector<String16>& input, in ReverseString()
247 vector<String16>* repeated, in ReverseString()
248 vector<String16>* _aidl_return) override { in ReverseString()
[all …]
/system/core/libutils/
DString16.cpp101 String16::String16() in String16() function in android::String16
106 String16::String16(StaticLinkage) in String16() function in android::String16
119 String16::String16(const String16& o) in String16() function in android::String16
125 String16::String16(const String16& o, size_t len, size_t begin) in String16() function in android::String16
131 String16::String16(const char16_t* o) : mString(allocFromUTF16(o, strlen16(o))) {} in String16() function in android::String16
133 String16::String16(const char16_t* o, size_t len) : mString(allocFromUTF16(o, len)) {} in String16() function in android::String16
135 String16::String16(const String8& o) in String16() function in android::String16
140 String16::String16(const char* o) in String16() function in android::String16
145 String16::String16(const char* o, size_t len) in String16() function in android::String16
150 String16::~String16() in ~String16()
[all …]
/system/security/keystore/
Dkey_store_service.h42 KeyStoreServiceReturnCode get(const android::String16& name, int32_t uid,
44 KeyStoreServiceReturnCode insert(const android::String16& name, const hidl_vec<uint8_t>& item,
46 KeyStoreServiceReturnCode del(const android::String16& name, int targetUid) override;
47 KeyStoreServiceReturnCode exist(const android::String16& name, int targetUid) override;
48 KeyStoreServiceReturnCode list(const android::String16& prefix, int targetUid,
49 android::Vector<android::String16>* matches) override;
54 const android::String16& password) override;
59 KeyStoreServiceReturnCode unlock(int32_t userId, const android::String16& pw) override;
64 generate(const android::String16& name, int32_t targetUid, int32_t keyType, int32_t keySize,
66 KeyStoreServiceReturnCode import(const android::String16& name, const hidl_vec<uint8_t>& data,
[all …]
Dkeystore_cli.cpp69 int32_t ret = service->cmd(String16(argv[2])); \
110 int32_t ret = service->cmd(String16(argv[2]), uid); \
134 int32_t ret = service->cmd(String16(argv[2]), uid, &data); \
159 int32_t ret = service->cmd(String16(argv[2]), data, dataSize); \
178 int32_t ret = service->cmd(String16(argv[2]), &data); \
193 static int list(const sp<IKeystoreService>& service, const String16& name, int uid) { in list()
194 Vector<String16> matches; in list()
203 Vector<String16>::const_iterator it = matches.begin(); in list()
219 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in main()
242 return list(service, argc < 3 ? String16("") : String16(argv[2]), in main()
DIKeystoreService.cpp137 KeyStoreServiceReturnCode get(const String16& name, int32_t uid, in get()
158 KeyStoreServiceReturnCode insert(const String16& name, const hidl_vec<uint8_t>& item, int uid, in insert()
179 KeyStoreServiceReturnCode del(const String16& name, int uid) override { in del()
197 KeyStoreServiceReturnCode exist(const String16& name, int uid) override { in exist()
215 KeyStoreServiceReturnCode list(const String16& prefix, int uid, in list()
216 Vector<String16>* matches) override { in list()
255 const String16& password) override { in onUserPasswordChanged()
291 KeyStoreServiceReturnCode unlock(int32_t userId, const String16& password) override { in unlock()
326 KeyStoreServiceReturnCode generate(const String16& name, int32_t uid, int32_t keyType, in generate()
358 KeyStoreServiceReturnCode import(const String16& name, const hidl_vec<uint8_t>& key, int uid, in import()
[all …]
/system/update_engine/
Dbinder_service_brillo.cc28 using android::String16;
40 string NormalString(const String16& in) { in NormalString()
61 const String16& app_version, const String16& omaha_url, int flags) { in AttemptUpdate()
93 status->current_operation_ = String16{current_op.c_str()}; in GetStatus()
94 status->new_version_ = String16{new_version.c_str()}; in GetStatus()
105 const String16& target_channel, bool powerwash) { in SetChannel()
112 String16* out_channel) { in GetChannel()
117 *out_channel = String16(channel_string.c_str()); in GetChannel()
122 const String16& in_cohort_hint) { in SetCohortHint()
128 String16* out_cohort_hint) { in GetCohortHint()
[all …]
Dbinder_service_brillo.h57 android::binder::Status AttemptUpdate(const android::String16& app_version,
58 const android::String16& omaha_url,
66 android::binder::Status SetChannel(const android::String16& target_channel,
69 android::String16* out_channel) override;
71 const android::String16& cohort_hint) override;
73 android::String16* out_cohort_hint) override;
84 android::String16* out_prev_version) override;
86 android::String16* out_rollback_partition) override;
/system/security/keystore/include/keystore/
DIKeystoreService.h123 virtual ::keystore::KeyStoreServiceReturnCode get(const String16& name, int32_t uid,
126 virtual ::keystore::KeyStoreServiceReturnCode insert(const String16& name,
130 virtual ::keystore::KeyStoreServiceReturnCode del(const String16& name, int uid) = 0;
132 virtual ::keystore::KeyStoreServiceReturnCode exist(const String16& name, int uid) = 0;
134 virtual ::keystore::KeyStoreServiceReturnCode list(const String16& prefix, int uid,
135 Vector<String16>* matches) = 0;
140 onUserPasswordChanged(int32_t userId, const String16& newPassword) = 0;
145 const String16& password) = 0;
149 virtual ::keystore::KeyStoreServiceReturnCode generate(const String16& name, int32_t uid,
154 virtual ::keystore::KeyStoreServiceReturnCode import(const String16& name,
[all …]
/system/update_engine/client_library/
Dclient_binder.cc29 using android::String16;
44 return getService(String16{"android.brillo.UpdateEngineService"}, in Init()
51 return service_->AttemptUpdate(String16{in_app_version.c_str()}, in AttemptUpdate()
52 String16{in_omaha_url.c_str()}, in AttemptUpdate()
77 return service_->SetCohortHint(String16{in_cohort_hint.c_str()}).isOk(); in SetCohortHint()
81 String16 out_as_string16; in GetCohortHint()
113 String16 out_as_string16; in GetRollbackPartition()
123 String16 out_as_string16; in GetPrevVersion()
148 const String16& current_operation, in HandleStatusUpdate()
149 const String16& new_version, in HandleStatusUpdate()
[all …]
/system/bt/service/example/heart_rate/
Dheart_rate_server.h31 using android::String16;
62 Status OnCharacteristicReadRequest(const String16& device_address,
65 Status OnDescriptorReadRequest(const String16& device_address, int request_id,
67 Status OnCharacteristicWriteRequest(const String16& device_address,
72 Status OnDescriptorWriteRequest(const String16& device_address,
77 Status OnExecuteWriteRequest(const String16& device_address, int request_id,
79 Status OnNotificationSent(const String16& device_address,
81 Status OnConnectionStateChanged(const String16& device_address,
/system/hardware/interfaces/wifi/keystore/1.0/default/
Dkeystore.cpp18 String16("android.security.keystore"))); in getBlob()
25 auto ret = service->get(String16(key.c_str()), AID_WIFI, &value); in getBlob()
38 String16("android.security.keystore"))); in getPublicKey()
44 auto ret = service->get_pubkey(String16(keyId.c_str()), &pubkey); in getPublicKey()
58 String16("android.security.keystore"))); in sign()
64 auto ret = service->sign(String16(keyId.c_str()), dataToSign, &signedData); in sign()
/system/bt/service/common/android/bluetooth/
Dscan_filter.cc27 using android::String16;
36 parcel->writeString16(String16(String8(device_name_.c_str()))); in writeToParcel()
39 status = parcel->writeString16(String16(String8(device_address_.c_str()))); in writeToParcel()
70 String16 name; in readFromParcel()
75 String16 addr; in readFromParcel()
Dscan_result.cc27 using android::String16;
36 parcel->writeString16(String16(String8(device_address_.c_str()))); in writeToParcel()
47 String16 addr; in readFromParcel()
/system/security/keystore-engine/
Dkeystore_backend_binder.cpp42 sp<IBinder> binder = sm->getService(String16(keystore_service_name)); in sign()
52 auto ret = service->sign(String16(key_id), inBlob, &reply_vec); in sign()
65 sp<IBinder> binder = sm->getService(String16(keystore_service_name)); in get_pubkey()
74 auto ret = service->get_pubkey(String16(key_id), &pubkey_vec); in get_pubkey()
/system/bt/service/ipc/binder/
Dbluetooth_low_energy_binder_server.h31 using android::String16;
58 Status Connect(int client_id, const String16& address, bool is_direct,
60 Status Disconnect(int client_id, const String16& address,
62 Status SetMtu(int client_id, const String16& address, int mtu,
Dbluetooth_binder_server.h38 using android::String16;
66 Status GetAddress(::android::String16* _aidl_return) override;
69 Status SetName(const ::android::String16& name, bool* _aidl_return) override;
70 Status GetName(::android::String16* _aidl_return) override;
89 int fd, const android::Vector<android::String16>& args) override;
Dbluetooth_low_energy_binder_server.cc24 using android::String16;
66 const String16& address, in Connect()
86 const String16& address, in Disconnect()
103 const String16& address, int mtu, in SetMtu()
133 String16(address, std::strlen(address)), connected); in OnConnectionState()
149 cb->OnMtuChanged(status, String16(address, std::strlen(address)), mtu); in OnMtuChanged()
Dbluetooth_binder_server.cc31 using android::String16;
83 Status BluetoothBinderServer::GetAddress(::android::String16* _aidl_return) { in GetAddress()
85 *_aidl_return = String16(String8(adapter_->GetAddress().c_str())); in GetAddress()
97 Status BluetoothBinderServer::SetName(const ::android::String16& name, in SetName()
104 Status BluetoothBinderServer::GetName(::android::String16* _aidl_return) { in GetName()
106 *_aidl_return = String16(String8(adapter_->GetName().c_str())); in GetName()
226 int fd, const android::Vector<android::String16>& args) { in dump()
Dbluetooth_gatt_server_binder_server.cc24 using ::android::String16;
111 int server_id, const String16& device_address, int request_id, int status, in SendResponse()
131 int server_id, const String16& device_address, int handle, bool confirm, in SendNotification()
189 String16(device_address.c_str(), device_address.length()), request_id, in OnCharacteristicReadRequest()
206 String16(device_address.c_str(), device_address.length()), request_id, in OnDescriptorReadRequest()
253 String16(device_address.c_str(), device_address.length()), request_id, in OnCharacteristicWriteRequest()
271 String16(device_address.c_str(), device_address.length()), request_id, in OnDescriptorWriteRequest()
288 String16(device_address.c_str(), device_address.length()), request_id, in OnExecuteWriteRequest()
305 String16(device_address.c_str(), device_address.length()), connected); in OnConnectionStateChanged()
/system/core/storaged/
Dstoraged_service.cpp85 status_t Storaged::dump(int fd, const Vector<String16>& args) { in dump()
91 String16("android.permission.DUMP"), pid, uid)) { in dump()
101 if (arg == String16("--hours")) { in dump()
108 if (arg == String16("--time_window")) { in dump()
115 if (arg == String16("--threshold")) { in dump()
122 if (arg == String16("--force")) { in dump()
163 sp<IBinder> binder = sm->getService(String16("storaged")); in get_storaged_service()
/system/libhwbinder/include/hwbinder/
DProcessState.h45 const String16& name);
46 sp<IBinder> getContextObject(const String16& name,
51 typedef bool (*context_check_func)(const String16& name,
109 KeyedVector<String16, sp<IBinder> >

1234