As a native, I would say that Silicon Valley used to mean the area south of SF and around Stanford which includes the headquarters of Google and Facebook - but as tech has expanded North all the way into Oakland and SF it increasingly means everything.