Home
last modified time | relevance | path

Searched refs:Create (Results 1 – 25 of 237) sorted by relevance

12345678910

/system/core/libunwindstack/tests/
DDexFileTest.cpp35 EXPECT_TRUE(DexFileFromFile::Create(0, "/file/does/not/exist") == nullptr); in TEST()
45 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) == nullptr); in TEST()
51 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) == nullptr); in TEST()
61 EXPECT_TRUE(DexFileFromFile::Create(0, tf.path) != nullptr); in TEST()
72 EXPECT_TRUE(DexFileFromFile::Create(0x100, tf.path) != nullptr); in TEST()
80 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "") == nullptr); in TEST()
88 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "") == nullptr); in TEST()
96 EXPECT_TRUE(DexFileFromMemory::Create(0x1000, &memory, "") != nullptr); in TEST()
109 EXPECT_TRUE(DexFile::Create(0x500, &memory, &info) != nullptr); in TEST()
122 EXPECT_TRUE(DexFile::Create(0x600, &memory, &info) != nullptr); in TEST()
[all …]
/system/core/libunwindstack/
DDexFile.cpp35 std::unique_ptr<DexFile> DexFile::Create(uint64_t dex_file_offset_in_memory, Memory* memory, in Create() function in unwindstack::DexFile
39 DexFileFromFile::Create(dex_file_offset_in_memory - info->start + info->offset, info->name); in Create()
44 return DexFileFromMemory::Create(dex_file_offset_in_memory, memory, info->name); in Create()
58 std::unique_ptr<DexFileFromFile> DexFileFromFile::Create(uint64_t dex_file_offset_in_file, in Create() function in unwindstack::DexFileFromFile
75 std::unique_ptr<DexFileFromMemory> DexFileFromMemory::Create(uint64_t dex_file_offset_in_memory, in Create() function in unwindstack::DexFileFromMemory
DDexFile.h38 static std::unique_ptr<DexFile> Create(uint64_t dex_file_offset_in_memory, Memory* memory,
47 static std::unique_ptr<DexFileFromFile> Create(uint64_t dex_file_offset_in_file,
56 static std::unique_ptr<DexFileFromMemory> Create(uint64_t dex_file_offset_in_memory,
/system/bt/vendor_libs/test_vendor_lib/packets/test/
Dlink_layer_packet_builder_test.cc62 auto disconnect = DisconnectBuilder::Create(reason); in TEST_F()
94 auto disconnect_builder = DisconnectBuilder::Create(reason); in TEST_F()
100 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
111 auto encrypt_connection_builder = EncryptConnectionBuilder::Create(key); in TEST_F()
118 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
133 auto encrypt_connection_builder = EncryptConnectionBuilder::Create(key); in TEST_F()
140 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
155 auto inquiry_builder = InquiryBuilder::Create(inquiry_type); in TEST_F()
161 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
181 LinkLayerPacketView view = LinkLayerPacketView::Create(packet_ptr); in TEST_F()
[all …]
/system/core/libbacktrace/
Dbacktrace_test.cpp223 Backtrace::Create(BACKTRACE_CURRENT_PROCESS, BACKTRACE_CURRENT_THREAD)); in VerifyLevelBacktrace()
245 Backtrace::Create(BACKTRACE_CURRENT_PROCESS, BACKTRACE_CURRENT_THREAD)); in VerifyMaxBacktrace()
275 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(getpid(), getpid())); in TEST_F()
295 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(getpid(), getpid())); in TEST_F()
359 Backtrace::Create(BACKTRACE_CURRENT_PROCESS, BACKTRACE_CURRENT_THREAD)); in VerifyLevelIgnoreFrames()
365 Backtrace::Create(BACKTRACE_CURRENT_PROCESS, BACKTRACE_CURRENT_THREAD)); in VerifyLevelIgnoreFrames()
371 Backtrace::Create(BACKTRACE_CURRENT_PROCESS, BACKTRACE_CURRENT_THREAD)); in VerifyLevelIgnoreFrames()
431 Backtrace::Create, BacktraceMap::Create); in TEST_F()
444 VerifyProcTest(pid, BACKTRACE_CURRENT_THREAD, ReadyMaxBacktrace, VerifyMaxDump, Backtrace::Create, in TEST_F()
445 BacktraceMap::Create); in TEST_F()
[all …]
Dbacktrace_benchmarks.cpp147 CreateMap(state, BacktraceMap::Create); in BM_create_map()
151 using BacktraceCreateFn = decltype(Backtrace::Create);
161 std::unique_ptr<BacktraceMap> backtrace_map(BacktraceMap::Create(getpid())); in BM_create_backtrace()
162 CreateBacktrace(state, backtrace_map.get(), Backtrace::Create); in BM_create_backtrace()
/system/iorap/src/perfetto/
Dperfetto_consumer.h38 virtual Handle Create(const void* config_proto,
55 virtual Handle Create(const void* config_proto, in Create() function
59 return ::perfetto::consumer::Create(config_proto, in Create()
/system/iorap/src/manager/
Devent_manager.h33 static std::shared_ptr<EventManager> Create();
34 static std::shared_ptr<EventManager> Create(
/system/bt/vendor_libs/test_vendor_lib/packets/hci/
Dacl_packet_view.h35 static AclPacketView Create(std::shared_ptr<std::vector<uint8_t>> packet);
36 static AclPacketView Create(PacketView<true> packet_view);
Dacl_packet_view.cc32 AclPacketView AclPacketView::Create(std::shared_ptr<std::vector<uint8_t>> packet) { in Create() function in test_vendor_lib::packets::AclPacketView
36 AclPacketView AclPacketView::Create(PacketView<true> packet_view) { in Create() function in test_vendor_lib::packets::AclPacketView
Dcommand_packet_view.h34 static CommandPacketView Create(std::shared_ptr<std::vector<uint8_t>> packet);
Dsco_packet_view.h36 static ScoPacketView Create(std::shared_ptr<std::vector<uint8_t>> packet);
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Ddevice_boutique.h38 static std::shared_ptr<Device> Create(const std::vector<std::string>& args);
43 DeviceBoutique::Register(name, &D::Create); in Registrar()
/system/bt/vendor_libs/test_vendor_lib/packets/hci/test/
Dacl_builder_test.cc62 …AclPacketBuilder::Create(handle, packet_boundary_flags, broadcast_flags, std::move(count_payload)); in TEST()
67 AclPacketView count_packet_view = AclPacketView::Create(count_packet_bytes); in TEST()
91 AclPacketBuilder::Create(handle, packet_boundary_flags, broadcast_flags, std::move(payload)); in TEST()
96 AclPacketView packet_view = AclPacketView::Create(packet_bytes); in TEST()
/system/core/init/
Ddescriptors.h56 virtual int Create(const std::string& globalContext) const = 0;
68 virtual int Create(const std::string& context) const override;
77 virtual int Create(const std::string& context) const override;
Ddescriptors.cpp55 int fd = Create(contextStr); in CreateAndPublish()
83 int SocketInfo::Create(const std::string& context) const { in Create() function in android::init::SocketInfo
101 int FileInfo::Create(const std::string&) const { in Create() function in android::init::FileInfo
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dbeacon.cc29 bool Beacon::registered_ = DeviceBoutique::Register(LOG_TAG, &Beacon::Create);
67 std::unique_ptr<packets::LeAdvertisementBuilder> ad = packets::LeAdvertisementBuilder::Create( in TimerTick()
82 …nique_ptr<packets::LeAdvertisementBuilder> scan_response = packets::LeAdvertisementBuilder::Create( in IncomingPacket()
Dremote_loopback_device.cc35 …moteLoopbackDevice::registered_ = DeviceBoutique::Register(LOG_TAG, &RemoteLoopbackDevice::Create);
59 … PageResponseBuilder::Create(true), packet.GetSourceAddress(), packet.GetSourceAddress()), in IncomingPacket()
Dloopback.cc29 bool Loopback::registered_ = DeviceBoutique::Register(LOG_TAG, &Loopback::Create);
87 …nique_ptr<packets::LeAdvertisementBuilder> scan_response = packets::LeAdvertisementBuilder::Create( in IncomingPacket()
Dclassic.h31 static std::shared_ptr<Device> Create() { in Create() function
Dbeacon_swarm.h32 static std::shared_ptr<Device> Create() { in Create() function
/system/nvram/core/tests/
Dgtest_stubs.h70 static TestInstanceBase* Create() { in Create() function
117 : TestDeclarationBase(name, &detail::TestInstance<TestCase>::Create) {} in TestDeclaration()
/system/core/fs_mgr/libfiemap_writer/
Dfiemap_writer_test.cpp254 TEST_F(SplitFiemapTest, Create) { in TEST_F() argument
255 auto ptr = SplitFiemap::Create(testfile, 1024 * 768, 1024 * 32); in TEST_F()
274 auto ptr = SplitFiemap::Create(testfile, 1024 * 768, 1024 * 32); in TEST_F()
286 auto ptr = SplitFiemap::Create(testfile, 1024 * 1024 * 100, 1); in TEST_F()
312 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F()
330 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F()
357 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F()
384 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F()
/system/core/libbinderwrapper/
Dbinder_wrapper.cc29 void BinderWrapper::Create() { in Create() function in android::BinderWrapper
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/
Dlink_layer_packet_view.h36 static LinkLayerPacketView Create(std::shared_ptr<std::vector<uint8_t>> raw);

12345678910