/system/core/libutils/include/utils/ |
D | String16.h | 39 class String16 42 String16(); 43 String16(const String16& o); 44 String16(const String16& o, 47 explicit String16(const char16_t* o); 48 explicit String16(const char16_t* o, size_t len); 49 explicit String16(const String8& o); 50 explicit String16(const char* o); 51 explicit String16(const char* o, size_t len); 53 ~String16(); [all …]
|
/system/core/libutils/ |
D | String16_fuzz.cpp | 23 std::vector<std::function<void(FuzzedDataProvider&, android::String16, android::String16)>> 27 ([](FuzzedDataProvider&, android::String16 str1, android::String16) -> void { in __anon9568f35f0102() 30 ([](FuzzedDataProvider&, android::String16 str1, android::String16) -> void { in __anon9568f35f0202() 33 ([](FuzzedDataProvider&, android::String16 str1, android::String16) -> void { in __anon9568f35f0302() 38 ([](FuzzedDataProvider&, android::String16 str1, android::String16) -> void { in __anon9568f35f0402() 43 ([](FuzzedDataProvider&, android::String16 str1, android::String16 str2) -> void { in __anon9568f35f0502() 46 ([](FuzzedDataProvider&, android::String16 str1, android::String16 str2) -> void { in __anon9568f35f0602() 49 ([](FuzzedDataProvider&, android::String16 str1, android::String16 str2) -> void { in __anon9568f35f0702() 54 ([](FuzzedDataProvider&, android::String16 str1, android::String16 str2) -> void { in __anon9568f35f0802() 57 ([](FuzzedDataProvider& dataProvider, android::String16 str1, [all …]
|
D | String16.cpp | 34 void* String16::alloc(size_t size) in alloc() 41 char16_t* String16::allocFromUTF8(const char* u8str, size_t u8len) in allocFromUTF8() 69 char16_t* String16::allocFromUTF16(const char16_t* u16str, size_t u16len) { in allocFromUTF16() 88 String16::String16() in String16() function in android::String16 93 String16::String16(const String16& o) in String16() function in android::String16 99 String16::String16(const String16& o, size_t len, size_t begin) in String16() function in android::String16 105 String16::String16(const char16_t* o) : mString(allocFromUTF16(o, strlen16(o))) {} in String16() function in android::String16 107 String16::String16(const char16_t* o, size_t len) : mString(allocFromUTF16(o, len)) {} in String16() function in android::String16 109 String16::String16(const String8& o) in String16() function in android::String16 114 String16::String16(const char* o) in String16() function in android::String16 [all …]
|
D | String16_test.cpp | 35 String16 tmp(u"Verify me"); in TEST() 40 String16 tmp(u"Verify me", 7); in TEST() 45 String16 tmp("Verify me"); in TEST() 50 String16 tmp("Verify me", 7); in TEST() 55 String16 tmp("Verify me"); in TEST() 56 String16 another = tmp; in TEST() 62 String16 tmp("Verify me"); in TEST() 63 String16 another(std::move(tmp)); in TEST() 68 String16 tmp("Verify me"); in TEST() 73 String16 tmp("Verify me"); in TEST() [all …]
|
/system/tools/hidl/hidl2aidl/test/ |
D | cpp_test_compile.cpp | 40 using android::String16; 44 Status status1 = foo->someBar(String16(), String16()); in testIFoo() 46 String16 f; in testIFoo() 57 override.a = String16(); in testIFoo() 60 collision.b = String16(); in testIFoo() 61 collision.c = String16(); in testIFoo() 65 String16 out; in testIBar() 66 Status status1 = bar->someBar(String16(), 3, &out); in testIBar()
|
/system/tools/aidl/tests/ |
D | aidl_test_client_parcelables.cpp | 23 using android::String16; 66 non_empty_bundle.putBoolean(String16("test_bool"), false); in TEST_F() 67 non_empty_bundle.putInt(String16("test_int"), 33); in TEST_F() 68 non_empty_bundle.putLong(String16("test_long"), 34359738368L); in TEST_F() 69 non_empty_bundle.putDouble(String16("test_double"), 1.1); in TEST_F() 70 non_empty_bundle.putString(String16("test_string"), String16("Woot!")); in TEST_F() 71 non_empty_bundle.putBooleanVector(String16("test_bool_vector"), in TEST_F() 73 non_empty_bundle.putIntVector(String16("test_int_vector"), {33, 44, 55, 142}); in TEST_F() 74 non_empty_bundle.putLongVector(String16("test_long_vector"), in TEST_F() 76 non_empty_bundle.putDoubleVector(String16("test_double_vector"), {2.2, 5.4}); in TEST_F() [all …]
|
D | aidl_test_client_primitives.cpp | 32 using android::String16; 109 std::vector<String16> strings = { in TEST_F() 110 String16("Deliver us from evil."), String16(), String16("\0\0", 2), in TEST_F() 114 String16("\xD8\x01\xDC\x37\x20\xAC"), ITestService::STRING_TEST_CONSTANT(), in TEST_F() 150 DoTest(&ITestService::ReverseString, {String16{"f"}, String16{"a"}, String16{"b"}}); in TEST_F() 171 DoTest(&ITestService::ReverseStringList, {String16{"f"}, String16{"a"}, String16{"b"}}); in TEST_F() 175 std::vector<String16> names = {String16{"Larry"}, String16{"Curly"}, String16{"Moe"}}; in TEST_F() 193 String16 ret; in TEST_F() 201 String16 ret; in TEST_F()
|
D | aidl_test_service.cpp | 58 using android::String16; 103 explicit NamedCallback(String16 name) : name_(name) {} in NamedCallback() 105 Status GetName(String16* ret) { in GetName() 111 String16 name_; 119 void LogRepeatedStringToken(const String16& token) { in LogRepeatedStringToken() 142 LogRepeatedStringToken(String16(&token, 1)); in RepeatChar() 166 Status RepeatString(const String16& token, String16* _aidl_return) override { in RepeatString() 255 Status ReverseString(const vector<String16>& input, in ReverseString() 256 vector<String16>* repeated, in ReverseString() 257 vector<String16>* _aidl_return) override { in ReverseString() [all …]
|
D | aidl_test_client_nullables.cpp | 29 using android::String16; 80 DoTest(&ITestService::RepeatNullableString, std::optional<String16>("Blooob")); in TEST_F() 84 std::vector<std::optional<String16>> input; in TEST_F() 85 input.push_back(String16("Wat")); in TEST_F() 86 input.push_back(String16("Blooob")); in TEST_F() 87 input.push_back(String16("Wat")); in TEST_F() 89 input.push_back(String16("YEAH")); in TEST_F() 90 input.push_back(String16("OKAAAAY")); in TEST_F()
|
/system/bt/service/common/android/bluetooth/ |
D | bluetooth_avrcp_media_attr.cc | 23 using android::String16; 31 parcel->writeString16(String16(title_.c_str(), title_.size())); in writeToParcel() 34 status = parcel->writeString16(String16(artist_.c_str(), artist_.size())); in writeToParcel() 37 status = parcel->writeString16(String16(album_.c_str(), album_.size())); in writeToParcel() 40 status = parcel->writeString16(String16(genre_.c_str(), genre_.size())); in writeToParcel() 56 String16 title; in readFromParcel() 61 String16 artist; in readFromParcel() 66 String16 album; in readFromParcel() 71 String16 genre; in readFromParcel()
|
D | scan_filter.cc | 27 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()
|
D | bluetooth_remote_device_props.cc | 25 using android::String16; 33 parcel->writeString16(String16(name_.c_str(), name_.size())); in writeToParcel() 36 status = parcel->writeString16(String16(address_.c_str(), address_.size())); in writeToParcel() 60 String16 name; in readFromParcel() 65 String16 address; in readFromParcel()
|
D | bluetooth_avrcp_string_value.cc | 23 using android::String16; 33 status = parcel->writeString16(String16(value_.c_str(), value_.size())); in writeToParcel() 45 String16 value; in readFromParcel()
|
/system/security/keystore/ |
D | key_store_service.h | 55 ::android::binder::Status get(const ::android::String16& name, int32_t uid, 57 ::android::binder::Status insert(const ::android::String16& name, 60 ::android::binder::Status del(const ::android::String16& name, int32_t uid, 62 ::android::binder::Status exist(const ::android::String16& name, int32_t uid, 64 ::android::binder::Status list(const ::android::String16& namePrefix, int32_t uid, 65 ::std::vector<::android::String16>* _aidl_return) override; 70 const ::android::String16& newPassword, 73 ::android::binder::Status unlock(int32_t userId, const ::android::String16& userPassword, 76 ::android::binder::Status grant(const ::android::String16& name, int32_t granteeUid, 77 ::android::String16* _aidl_return) override; [all …]
|
D | keystore_cli.cpp | 58 service->cmd(String16(argv[2]), &ret); \ 101 service->cmd(String16(argv[2]), uid, &ret); \ 125 ::android::binder::Status ret = service->cmd(String16(argv[2]), uid, &data); \ 148 service->cmd(String16(argv[2]), data, dataSize, &ret); \ 167 ::android::binder::Status ret = service->cmd(String16(argv[2]), &data); \ 179 static int list(const sp<IKeystoreService>& service, const String16& name, int uid) { in list() 180 std::vector<String16> matches; in list() 187 std::vector<String16>::const_iterator it = matches.begin(); in list() 203 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in main() 226 return list(service, argc < 3 ? String16("") : String16(argv[2]), in main()
|
/system/bt/service/example/heart_rate/ |
D | heart_rate_server.h | 31 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/security/keystore/include/keystore/ |
D | KeystoreResponse.h | 33 explicit KeystoreResponse(const int response_code, const String16& error_msg) in KeystoreResponse() 34 : response_code_(response_code), error_msg_(std::make_unique<String16>(error_msg)) {} in KeystoreResponse() 43 error_msg_ = std::make_unique<String16>(*other.error_msg_); in KeystoreResponse() 52 const String16* error_msg() const { return error_msg_.get(); } in error_msg() 56 std::unique_ptr<String16> error_msg_;
|
/system/bt/service/ipc/binder/ |
D | bluetooth_avrcp_target_binder_server.cc | 62 using android::String16; 121 const android::String16& addr, int32_t play_status, int32_t song_len, in GetPlayStatusResponse() 129 const android::String16& addr, const std::vector<int32_t>& attrs, in ListPlayerAppAttrResponse() 137 const android::String16& addr, in GetPlayerAppValueResponse() 151 const android::String16& addr, in GetPlayerAppAttrTextResponse() 165 const android::String16& addr, in GetPlayerAppValueTextResponse() 179 const android::String16& addr, in GetElementAttrResponse() 193 const android::String16& addr, int32_t rsp_status, bool* _aidl_return) { in SetPlayerAppValueResponse() 219 cb->OnGetRemoteFeatures(String16(addr.data(), addr.size()), features); in OnGetRemoteFeatures() 226 cb->OnGetPlayStatus(String16(addr.data(), addr.size())); in OnGetPlayStatus() [all …]
|
D | bluetooth_binder_server.h | 42 using android::String16; 78 Status GetAddress(::android::String16* _aidl_return) override; 81 Status SetName(const ::android::String16& name, bool* _aidl_return) override; 82 Status GetName(::android::String16* _aidl_return) override; 85 Status SspReply(const ::android::String16& device_address, int32_t variant, 87 Status CreateBond(const ::android::String16& device_address, 90 Status RemoveBond(const ::android::String16& device_address, 92 Status GetRemoteDeviceProperties(const ::android::String16& device_address, 120 int fd, const android::Vector<android::String16>& args) override;
|
D | bluetooth_binder_server.cc | 35 using android::String16; 86 Status BluetoothBinderServer::GetAddress(::android::String16* _aidl_return) { in GetAddress() 88 *_aidl_return = String16(String8(adapter_->GetAddress().c_str())); in GetAddress() 100 Status BluetoothBinderServer::SetName(const ::android::String16& name, in SetName() 107 Status BluetoothBinderServer::GetName(::android::String16* _aidl_return) { in GetName() 109 *_aidl_return = String16(String8(adapter_->GetName().c_str())); in GetName() 128 const ::android::String16& device_address, int32_t variant, bool accept, in SspReply() 137 const ::android::String16& device_address, int32_t transport, in CreateBond() 152 const ::android::String16& device_address, bool* _aidl_return) { in RemoveBond() 159 const ::android::String16& device_address, bool* _aidl_return) { in GetRemoteDeviceProperties() [all …]
|
D | bluetooth_low_energy_binder_server.h | 31 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,
|
/system/update_engine/ |
D | binder_service_android.h | 52 const android::String16& url, 55 const std::vector<android::String16>& header_kv_pairs) override; 60 const std::vector<android::String16>& header_kv_pairs) override; 72 const android::String16& metadata_filename, bool* return_value) override; 74 const android::String16& metadata_filename, 75 const std::vector<android::String16>& header_kv_pairs,
|
/system/vold/ |
D | Benchmark.cpp | 120 extras->putString(String16("path"), String16(path.c_str())); in benchmarkInternal() 121 extras->putString(String16("ident"), String16(BenchmarkIdent().c_str())); in benchmarkInternal() 134 if (res == OK) extras->putLong(String16("create"), timer.duration().count()); in benchmarkInternal() 147 if (res == OK) extras->putLong(String16("drop"), timer.duration().count()); in benchmarkInternal() 161 if (res == OK) extras->putLong(String16("run"), timer.duration().count()); in benchmarkInternal() 170 if (res == OK) extras->putLong(String16("destroy"), timer.duration().count()); in benchmarkInternal()
|
/system/tools/aidl/tests/lazy_test/ |
D | main.cpp | 37 using ::android::String16; 39 std::vector<String16> gServiceNames; 42 sp<IBinder> waitForService(const String16& name) { in waitForService() 50 bool isServiceRunning(const String16& name) { in isServiceRunning() 161 const String16 serviceName = String16("aidl_lazy_test_1"); 169 sp<ILazyTestService> waitForLazyTestService(String16 name) { in waitForLazyTestService() 202 gServiceNames.push_back(String16("aidl_lazy_test_1")); in main() 203 gServiceNames.push_back(String16("aidl_lazy_test_2")); in main() 206 gServiceNames.push_back(String16(argv[i])); in main()
|
/system/bt/binder/android/bluetooth/ |
D | bluetooth_device.cc | 24 using android::String16; 31 status_t status = parcel->writeString16(String16(address.ToString().c_str())); in writeToParcel() 36 String16 tmp; in readFromParcel()
|