Code-switching: the use of more than one language or dialect to communicate in the same conversation.
Mr. Ma receives visiting customers and explains his company to them in Mandarin, and knowing that there are two Shaanxi customers, he immediately holds up the Shaanxi dialect and they talked about a few words does not belong to code-switching.