Searched refs:new_name (Results 1 – 4 of 4) sorted by relevance
/system/core/libcutils/ |
D | process_name.c | 39 void set_process_name(const char* new_name) { in set_process_name() argument 44 if (new_name == NULL) { in set_process_name() 49 int len = strlen(new_name); in set_process_name() 51 strcpy(copy, new_name); in set_process_name() 56 prctl(PR_SET_NAME, (unsigned long) new_name, 0, 0, 0); in set_process_name() 58 prctl(PR_SET_NAME, (unsigned long) new_name + len - 15, 0, 0, 0); in set_process_name()
|
/system/bt/test/suite/adapter/ |
D | adapter_unittest.cpp | 66 bt_property_t *new_name = property_new_name("BluetoothTestName1"); in TEST_F() local 84 if (property_equals(name_property, new_name)) { in TEST_F() 85 property_free(new_name); in TEST_F() 86 new_name = property_new_name("BluetoothTestName2"); in TEST_F() 90 EXPECT_EQ(bt_interface()->set_adapter_property(new_name), BT_STATUS_SUCCESS); in TEST_F() 96 EXPECT_TRUE(property_equals(GetProperty(BT_PROPERTY_BDNAME), new_name)) in TEST_F() 99 << " does not match test value " << property_as_name(new_name)->name; in TEST_F() 113 property_free(new_name); in TEST_F()
|
/system/core/sdcard/ |
D | sdcard.c | 611 char* new_name = realloc(node->name, namelen + 1); in rename_node_locked() local 612 if (!new_name) { in rename_node_locked() 615 node->name = new_name; in rename_node_locked() 1100 const char* old_name, const char* new_name) in handle_rename() argument 1118 old_name, new_name, in handle_rename() 1129 if (!check_caller_access_to_name(fuse, hdr, new_parent_node, new_name, W_OK)) { in handle_rename() 1147 || strcasecmp(old_name, new_name); in handle_rename() 1148 if (!(new_actual_name = find_file_within(new_parent_path, new_name, in handle_rename() 1162 res = rename_node_locked(child_node, new_name, new_actual_name); in handle_rename() 1574 const char *new_name = old_name + strlen(old_name) + 1; in handle_fuse_request() local [all …]
|
/system/extras/perfprofd/quipper/ |
D | perf_reader.cc | 704 string new_name = perfized_build_ids_to_filenames.at(build_id); in Localize() local 705 filename_map[string(event->filename)] = new_name; in Localize() 706 build_id_event* new_event = CreateOrUpdateBuildID("", new_name, 0, event); in Localize() 723 const string& new_name = filename_map.at(old_name); in LocalizeUsingFilenames() local 724 build_id_event* new_event = CreateOrUpdateBuildID("", new_name, 0, event); in LocalizeUsingFilenames()
|