getComponent() function is undefined?

this.getComponent('Player').getComponent('wasd-control').headObject = this.chromeAndroidHeadObject;

Is this code correct?

No, components (this) don’t have components, objects have components (e.g. this.object)
Probably what you want is

this.object.getComponent('wasd-controls')