Home | History | Annotate | Download | only in media

Lines Matching refs:cb

530     public void setStreamSolo(int streamType, boolean state, IBinder cb) {
534 mStreamStates[stream].mute(cb, state);
539 public void setStreamMute(int streamType, boolean state, IBinder cb) {
541 mStreamStates[streamType].mute(cb, state);
663 SetModeDeathHandler(IBinder cb) {
664 mCb = cb;
706 public void setMode(int mode, IBinder cb) {
728 if (h.getBinder() == cb) {
736 hdlr = new SetModeDeathHandler(cb);
737 // cb is null when setMode() is called by AudioService constructor
738 if (cb != null) {
741 cb.linkToDeath(hdlr, 0);
744 Log.w(TAG, "setMode() could not link to "+cb+" binder death");
962 public void startBluetoothSco(IBinder cb){
966 ScoClient client = getScoClient(cb);
971 public void stopBluetoothSco(IBinder cb){
975 ScoClient client = getScoClient(cb);
983 ScoClient(IBinder cb) {
984 mCb = cb;
1082 public ScoClient getScoClient(IBinder cb) {
1088 if (client.getBinder() == cb)
1091 client = new ScoClient(cb);
1359 public void mute(IBinder cb, boolean state) {
1360 VolumeDeathHandler handler = getDeathHandler(cb, state);
1382 VolumeDeathHandler(IBinder cb) {
1383 mICallback = cb;
1460 private VolumeDeathHandler getDeathHandler(IBinder cb, boolean state) {
1466 if (cb == handler.mICallback) {
1473 handler = new VolumeDeathHandler(cb);
2089 private void removeFocusStackEntryForClient(IBinder cb) {
2092 mFocusStack.peek().mSourceRef.equals(cb);
2096 if(fse.mSourceRef.equals(cb)) {
2129 AudioFocusDeathHandler(IBinder cb) {
2130 mCb = cb;
2147 public int requestAudioFocus(int mainStreamType, int focusChangeHint, IBinder cb,
2155 if (!IN_VOICE_COMM_FOCUS_ID.equals(clientId) && ((cb == null) || !cb.pingBinder())) {
2192 mFocusStack.push(new FocusStackEntry(mainStreamType, focusChangeHint, false, fd, cb,
2201 AudioFocusDeathHandler afdh = new AudioFocusDeathHandler(cb);
2203 cb.linkToDeath(afdh, 0);
2206 Log.w(TAG, "AudioFocus requestAudioFocus() could not link to "+cb+" binder death");