The God Given Name:
Jesus did not come by His name accidentally, He was given it by His heavenly Father. Joseph, Mary's future husband, received a visitation from an angel of the Lord in a dream. He was told, "Joseph son of David, do not be afraid to take Mary home to as your wife, because what is conceived in her is from the Holy Spirit. She will give birth to a son, AND YOU ARE TO GIVE HIM THE NAME JESUS, because He will save His people from their sins." (Mt. 1:20,21) Joseph responds in obedience and takes Mary to be his wife. Mary gave birth to a son and Joseph "gave him the name Jesus", (Mt. 1:25).
The name Jesus and Joshua mean the same thing: Jehovah- Savior. Jesus is the Greek word and Joshua is the Hebrew. Jesus was given the name that means Jehovah-Savior because he was going to save His people from their sin, (Mt. 1:21).
The Father's Name:
During His prayer in Jn. 17 Jesus says something about His name that could be difficult at first to receive and understand.
Jn. 17:11,12 - I will remain in the world no longer, but thet are still in the world, and I am coming to you. Holy Father, protect them by the power of YOUR NAME - THE NAME YOU GAVE ME - so that they may be one as we are one. While I was with them, I protected them and kept safe by THAT NAME YOU GAVE ME.
We've already seen where Jesus was given the name JESUS or Jehovah-Savior. According to the Lord He had been given the Father's name.
Jn. 5:43 - I have come in my Father's name.
When born into an earthly family it has in general been the custom for the children to inherit the family name. We then are called by our father's name. Jesus was given the Heavenly Father's name and came to accurately reveal an express that name to the people chosen out of the world by God to be His children.