Home
last modified time | relevance | path

Searched refs:old_name (Results 1 – 4 of 4) sorted by relevance

/system/bt/test/suite/adapter/
Dadapter_unittest.cc86 std::string old_name((const char*)property_as_name(name_property)->name, in TEST_F() local
100 bt_property_t* old_name_property = property_new_name(old_name.c_str()); in TEST_F()
108 << " does not match original name" << old_name; in TEST_F()
/system/tools/aidl/tests/rust/
Dtest_client.rs688 let old_name = service.GetOldNameInterface(); in test_renamed_interface() localVariable
689 assert!(old_name.is_ok()); in test_renamed_interface()
694 f(old_name.unwrap(), new_name.unwrap()); in test_renamed_interface()
699 test_renamed_interface(|old_name, _| { in test_renamed_interface_old_as_old()
705 let real_name = old_name.RealName(); in test_renamed_interface_old_as_old()
725 test_renamed_interface(|old_name, _| { in test_renamed_interface_old_as_new()
726 let new_name = old_name in test_renamed_interface_old_as_new()
739 let old_name = new_name in test_renamed_interface_new_as_old() localVariable
742 assert!(old_name.is_ok()); in test_renamed_interface_new_as_old()
744 let real_name = old_name.unwrap().RealName(); in test_renamed_interface_new_as_old()
/system/vold/
DKeyStorage.cpp295 static bool RenameKeyDir(const std::string& old_name, const std::string& new_name) { in RenameKeyDir() argument
298 if (rename(old_name.c_str(), new_name.c_str()) != 0) return false; in RenameKeyDir()
302 if (*it == old_name) *it = new_name; in RenameKeyDir()
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp564 auto old_name = GetOtherPartitionName(name); in MapSourceDevice() local
571 .partition_name = old_name, in MapSourceDevice()