It doesn't, but `this.shell(...)` uses `this.exec(...)`, which uses `this.adbCmd`. As per lines 569-572:

```` js
ADB.prototype.setDeviceId = function(deviceId) {
  this.curDeviceId = deviceId;
  this.adbCmd = this.adb + " -s " + deviceId;
};
````