Home
last modified time | relevance | path

Searched refs:new_name (Results 1 – 6 of 6) 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()
88 EXPECT_EQ(bt_interface()->set_adapter_property(new_name), BT_STATUS_SUCCESS); in TEST_F()
94 EXPECT_TRUE(property_equals(GetProperty(BT_PROPERTY_BDNAME), new_name)) in TEST_F()
97 << " does not match test value " << property_as_name(new_name)->name; in TEST_F()
112 property_free(new_name); in TEST_F()
/system/core/fs_mgr/liblp/
Dutility.cpp239 std::string new_name = group_name.substr(0, group_name.size() - slot_suffix.size()) + in UpdateMetadataForInPlaceSnapshot() local
241 if (!UpdatePartitionGroupName(&group, new_name)) { in UpdateMetadataForInPlaceSnapshot()
242 LERROR << "Group name too long: " << new_name; in UpdateMetadataForInPlaceSnapshot()
257 std::string new_name = in UpdateMetadataForInPlaceSnapshot() local
260 if (!UpdatePartitionName(&partition, new_name)) { in UpdateMetadataForInPlaceSnapshot()
261 LERROR << "Partition name too long: " << new_name; in UpdateMetadataForInPlaceSnapshot()
Dbuilder.cpp285 std::string new_name = in UpdateMetadataForOtherSuper() local
290 if (!UpdateBlockDevicePartitionName(&new_device, new_name)) { in UpdateMetadataForOtherSuper()
291 LERROR << "Partition name too long: " << new_name; in UpdateMetadataForOtherSuper()
/system/extras/simpleperf/
Drecord_test.cpp138 std::string new_name = "a_much_longer_name"; in TEST_F() local
139 r.SetCommandName(new_name); in TEST_F()
141 ASSERT_EQ(std::string(r.comm), new_name); in TEST_F()
/system/extras/boottime_tools/bootanalyze/
Dbootanalyze.py265 new_name = name
267 while timing_points.get(new_name): # if the name is already taken, append #digit
269 new_name = name + "#" + str(name_index)
270 timing_points[new_name] = time_v
574 new_name = name
577 new_name = name + "_" + str(i)
578 existing_event = events.get(new_name)
579 return new_name
/system/core/libprocinfo/
Dprocess_map_test.cpp78 const char* new_name) in TestMapInfo()
80 strcpy(name, new_name); in TestMapInfo()