Home
last modified time | relevance | path

Searched refs:new_name (Results 1 – 3 of 3) sorted by relevance

/system/bt/test/suite/adapter/
Dadapter_unittest.cc63 bt_property_t* new_name = property_new_name("BluetoothTestName1"); in TEST_F() local
81 if (property_equals(name_property, new_name)) { in TEST_F()
82 property_free(new_name); in TEST_F()
83 new_name = property_new_name("BluetoothTestName2"); in TEST_F()
87 EXPECT_EQ(bt_interface()->set_adapter_property(new_name), BT_STATUS_SUCCESS); in TEST_F()
93 EXPECT_TRUE(property_equals(GetProperty(BT_PROPERTY_BDNAME), new_name)) in TEST_F()
96 << " does not match test value " << property_as_name(new_name)->name; in TEST_F()
111 property_free(new_name); in TEST_F()
/system/core/sdcard/
Dfuse.cpp393 char* new_name = static_cast<char*>(realloc(node->name, namelen + 1)); in rename_node_locked() local
394 if (!new_name) { in rename_node_locked()
397 node->name = new_name; in rename_node_locked()
902 const char* old_name, const char* new_name) in handle_rename() argument
920 DLOG(INFO) << "[" << handler->token << "] RENAME " << old_name << "->" << new_name in handle_rename()
933 if (!check_caller_access_to_name(fuse, hdr, new_parent_node, new_name, W_OK)) { in handle_rename()
951 || strcasecmp(old_name, new_name); in handle_rename()
952 if (!(new_actual_name = find_file_within(new_parent_path, new_name, in handle_rename()
966 res = rename_node_locked(child_node, new_name, new_actual_name); in handle_rename()
1357 const char *new_name = old_name + strlen(old_name) + 1; in handle_fuse_request() local
[all …]
/system/extras/perfprofd/quipper/
Dperf_reader.cc736 string new_name = perfized_build_ids_to_filenames.at(build_id); in Localize() local
737 filename_map[string(event->filename)] = new_name; in Localize()
738 build_id_event* new_event = CreateOrUpdateBuildID("", new_name, 0, event); in Localize()
755 const string& new_name = filename_map.at(old_name); in LocalizeUsingFilenames() local
756 build_id_event* new_event = CreateOrUpdateBuildID("", new_name, 0, event); in LocalizeUsingFilenames()