Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 16 of 16) sorted by relevance

/system/core/libcutils/
Dnative_handle.cpp56 native_handle_t* clone = native_handle_create(handle->numFds, handle->numInts); in native_handle_clone() local
57 if (clone == NULL) return NULL; in native_handle_clone()
60 clone->data[i] = dup(handle->data[i]); in native_handle_clone()
61 if (clone->data[i] == -1) { in native_handle_clone()
62 clone->numFds = i; in native_handle_clone()
63 native_handle_close(clone); in native_handle_clone()
64 native_handle_delete(clone); in native_handle_clone()
69 memcpy(&clone->data[handle->numFds], &handle->data[handle->numFds], in native_handle_clone()
72 return clone; in native_handle_clone()
/system/media/camera/docs/
Dmetadata_validate.py201 for clone in soup.find_all("clone"):
202 clone_entry = clone['entry']
203 clone_kind = clone['kind']
205 parent_kind = find_kind(clone)
218 clone_name = fully_qualified_name(clone)
235 clone_hal_version = clone.get('hal_version')
Dmetadata_template.mako72 <clone entry="${prop.name}" kind="${prop.target_kind}"
94 </clone>
Dmetadata_model.py307 def insert_clone(self, clone): argument
322 c = Clone(entry, **clone)
/system/bt/
DREADME.md16 git clone https://android.googlesource.com/platform/system/bt
32 git clone https://github.com/google/googletest.git
33 git clone https://android.googlesource.com/platform/external/aac
34 git clone https://android.googlesource.com/platform/external/libchrome
35 git clone https://android.googlesource.com/platform/external/libldac
36 git clone https://android.googlesource.com/platform/external/modp_b64
37 git clone https://android.googlesource.com/platform/external/tinyxml2
/system/bt/btcore/src/
Dproperty.cc34 bt_property_t* clone = in property_copy_array() local
37 memcpy(&clone[0], &properties[0], sizeof(bt_property_t) * count); in property_copy_array()
39 clone[i].val = osi_calloc(clone[i].len); in property_copy_array()
40 memcpy(clone[i].val, properties[i].val, clone[i].len); in property_copy_array()
43 return clone; in property_copy_array()
/system/bt/osi/test/
Dconfig_test.cc80 std::unique_ptr<config_t> clone = config_new_clone(*config); in TEST_F() local
82 config_set_string(clone.get(), CONFIG_DEFAULT_SECTION, "first_key", in TEST_F()
89 config_get_string(*clone, CONFIG_DEFAULT_SECTION, "first_key", &one) in TEST_F()
/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp255 return clone(nullptr, nullptr, 0, nullptr); in __fork()
261 pid_t first = clone(nullptr, nullptr, CLONE_FILES, nullptr); in create_vm_process()
267 if (clone(nullptr, nullptr, CLONE_FILES, nullptr) == -1) { in create_vm_process()
556 clone(debuggerd_dispatch_pseudothread, pseudothread_stack, in debuggerd_signal_handler()
/system/core/libunwindstack/tests/
DRegsTest.cpp297 std::unique_ptr<Regs> clone(regs->Clone()); in clone_test() local
298 ASSERT_EQ(regs->total_regs(), clone->total_regs()); in clone_test()
299 RegisterType* clone_values = reinterpret_cast<RegisterType*>(clone->RawData()); in clone_test()
306 TEST_F(RegsTest, clone) { in TEST_F() argument
/system/core/libmemunreachable/
DPtracerThread.cpp102 child_pid_ = clone(proxy, stack_->top(), CLONE_VM | CLONE_FS | CLONE_FILES /*|CLONE_UNTRACED*/, in Start()
DREADME.md60clone, is similar to a normal `fork()` child process, except that it shares the address space of t…
78 - `PtracerThread.cpp`: Used to clone the collection process with shared address space.
/system/media/camera/src/
Dcamera_metadata.c658 camera_metadata_t *clone = allocate_camera_metadata( in clone_camera_metadata() local
661 if (clone != NULL) { in clone_camera_metadata()
662 res = append_camera_metadata(clone, src); in clone_camera_metadata()
664 free_camera_metadata(clone); in clone_camera_metadata()
665 clone = NULL; in clone_camera_metadata()
668 assert(validate_camera_metadata_structure(clone, NULL) == OK); in clone_camera_metadata()
669 return clone; in clone_camera_metadata()
/system/extras/simpleperf/demo/
DREADME.md26 $ git clone https://android.googlesource.com/platform/system/extras
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java472 two = safeunionInterface.setI(two, (ArrayList<Long>) testVectorA.clone()); in runClientSafeUnionTests()
487 two = safeunionInterface.setH(two, (ArrayList<Boolean>) testVector.clone()); in runClientSafeUnionTests()
/system/extras/simpleperf/doc/
DREADME.md245 $ git clone https://android.googlesource.com/platform/system/extras
360 $ git clone https://github.com/brendangregg/FlameGraph.git
1216 $ git clone https://github.com/brendangregg/FlameGraph.git
/system/core/init/
Dservice.cpp960 pid = clone(nullptr, nullptr, namespace_flags_ | SIGCHLD, nullptr); in Start()