/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 __anone967d5860102() 30 ([](FuzzedDataProvider&, android::String16 str1, android::String16) -> void { in __anone967d5860202() 33 ([](FuzzedDataProvider&, android::String16 str1, android::String16) -> void { in __anone967d5860302() 38 ([](FuzzedDataProvider&, android::String16 str1, android::String16 str2) -> void { in __anone967d5860402() 41 ([](FuzzedDataProvider&, android::String16 str1, android::String16 str2) -> void { in __anone967d5860502() 44 ([](FuzzedDataProvider&, android::String16 str1, android::String16 str2) -> void { in __anone967d5860602() 49 ([](FuzzedDataProvider&, android::String16 str1, android::String16 str2) -> void { in __anone967d5860702() 52 ([](FuzzedDataProvider& dataProvider, android::String16 str1, 53 android::String16 str2) -> void { in __anone967d5860802() [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/aidl/tests/ |
D | aidl_test_client_renamed_interface.cpp | 24 using android::String16; 43 ASSERT_THAT(String16("android.aidl.tests.IOldName"), oldName->getInterfaceDescriptor()); in TEST_F() 44 String16 realName; in TEST_F() 46 ASSERT_THAT(String16("OldName"), realName); in TEST_F() 50 ASSERT_THAT(String16("android.aidl.tests.IOldName"), newName->getInterfaceDescriptor()); in TEST_F() 51 String16 realName; in TEST_F() 53 ASSERT_THAT(String16("NewName"), realName); in TEST_F() 58 ASSERT_THAT(String16("android.aidl.tests.IOldName"), oldAsNew->getInterfaceDescriptor()); in TEST_F() 59 String16 realName; in TEST_F() 61 ASSERT_THAT(String16("OldName"), realName); in TEST_F() [all …]
|
D | aidl_test_client_loggable_interface.cpp | 31 using android::String16; 72 String16 stringValue("def"); in TEST_F() 73 vector<String16> stringArray{String16("ghi"), String16("jkl")}; in TEST_F() 74 vector<String16> listValue{String16("mno")}; in TEST_F() 83 vector<String16> _aidl_return; in TEST_F() 90 EXPECT_EQ(vector<String16>{String16("loggable")}, _aidl_return); in TEST_F()
|
D | aidl_test_client_parcelables.cpp | 29 using android::String16; 106 non_empty_bundle.putBoolean(String16("test_bool"), false); in TEST_F() 107 non_empty_bundle.putInt(String16("test_int"), 33); in TEST_F() 108 non_empty_bundle.putLong(String16("test_long"), 34359738368L); in TEST_F() 109 non_empty_bundle.putDouble(String16("test_double"), 1.1); in TEST_F() 110 non_empty_bundle.putString(String16("test_string"), String16("Woot!")); in TEST_F() 111 non_empty_bundle.putBooleanVector(String16("test_bool_vector"), in TEST_F() 113 non_empty_bundle.putIntVector(String16("test_int_vector"), {33, 44, 55, 142}); in TEST_F() 114 non_empty_bundle.putLongVector(String16("test_long_vector"), in TEST_F() 116 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; 124 std::vector<String16> strings = { in TEST_F() 125 String16("Deliver us from evil."), String16(), String16("\0\0", 2), in TEST_F() 129 String16("\xD8\x01\xDC\x37\x20\xAC"), ITestService::STRING_TEST_CONSTANT(), in TEST_F() 165 DoTest(&ITestService::ReverseString, {String16{"f"}, String16{"a"}, String16{"b"}}); in TEST_F() 186 DoTest(&ITestService::ReverseStringList, {String16{"f"}, String16{"a"}, String16{"b"}}); in TEST_F() 190 std::vector<String16> names = {String16{"Larry"}, String16{"Curly"}, String16{"Moe"}}; in TEST_F() 209 String16 ret; in TEST_F() 217 String16 ret; in TEST_F()
|
D | aidl_test_service.cpp | 72 using android::String16; 127 explicit NamedCallback(String16 name) : name_(name) {} in NamedCallback() 129 Status GetName(String16* ret) { in GetName() 135 String16 name_; 143 Status RealName(String16* output) override { in RealName() 144 *output = String16("OldName"); in RealName() 154 Status RealName(String16* output) override { in RealName() 155 *output = String16("NewName"); in RealName() 287 void LogRepeatedStringToken(const String16& token) { in LogRepeatedStringToken() 314 LogRepeatedStringToken(String16(&token, 1)); in RepeatChar() [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/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() 61 String16 name; in readFromParcel() 66 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/tools/aidl/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/include/android/aidl/loggable/ |
D | ILoggableInterface.h | 24 …String16& stringValue, ::std::vector<::android::String16>* stringArray, ::std::vector<::android::S… 32 …String16&, ::std::vector<::android::String16>*, ::std::vector<::android::String16>*, const ::andro… in LogThis() argument
|
/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/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/aosp/ |
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/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()
|
/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() 216 gServiceNames.push_back(String16("aidl_lazy_test_1")); in main() 217 gServiceNames.push_back(String16("aidl_lazy_test_2")); in main() 220 gServiceNames.push_back(String16(argv[i])); in main()
|
/system/iorap/src/binder/ |
D | iiorap_impl.cc | 85 static std::string String16ToStdString(const ::android::String16& s16) { in String16ToStdString() 198 const ::android::Vector<::android::String16>& args) { in Dump() 205 ::android::String16 arg_prev; in Dump() 206 for (const ::android::String16& arg : args) { in Dump() 208 if (arg == ::android::String16("--all") || arg == ::android::String16("-a")) { in Dump() 211 } else if (arg == ::android::String16("--refresh-properties")) { in Dump() 214 } else if (arg == ::android::String16("--compile-package")) { in Dump() 216 } else if (arg_prev == ::android::String16("--compile-package")) { in Dump() 224 } else if (arg == ::android::String16("--purge-package")) { in Dump() 226 } else if (arg_prev == ::android::String16("--purge-package")) { in Dump() [all …]
|