Lines Matching defs:cb

971     public void forceVolumeControlStream(int streamType, IBinder cb) {
980 mForceControlStreamClient = new ForceControlStreamClient(cb);
988 ForceControlStreamClient(IBinder cb) {
989 if (cb != null) {
991 cb.linkToDeath(this, 0);
994 Log.w(TAG, "ForceControlStreamClient() could not link to "+cb+" binder death");
995 cb = null;
998 mCb = cb;
1165 public void setStreamSolo(int streamType, boolean state, IBinder cb) {
1169 mStreamStates[stream].mute(cb, state);
1174 public void setStreamMute(int streamType, boolean state, IBinder cb) {
1176 mStreamStates[streamType].mute(cb, state);
1186 public void setMasterMute(boolean state, int flags, IBinder cb) {
1421 SetModeDeathHandler(IBinder cb, int pid) {
1422 mCb = cb;
1462 public void setMode(int mode, IBinder cb) {
1476 newModeOwnerPid = setModeInt(mode, cb, Binder.getCallingPid());
1488 int setModeInt(int mode, IBinder cb, int pid) {
1490 if (cb == null) {
1513 cb = hdlr.getBinder();
1518 hdlr = new SetModeDeathHandler(cb, pid);
1522 cb.linkToDeath(hdlr, 0);
1525 Log.w(TAG, "setMode() could not link to "+cb+" binder death");
1541 cb.unlinkToDeath(hdlr, 0);
1887 public void startBluetoothSco(IBinder cb){
1892 ScoClient client = getScoClient(cb, true);
1897 public void stopBluetoothSco(IBinder cb){
1902 ScoClient client = getScoClient(cb, false);
1914 ScoClient(IBinder cb) {
1915 mCb = cb;
2071 private ScoClient getScoClient(IBinder cb, boolean create) {
2077 if (client.getBinder() == cb)
2081 client = new ScoClient(cb);
2930 public synchronized void mute(IBinder cb, boolean state) {
2931 VolumeDeathHandler handler = getDeathHandler(cb, state);
2957 VolumeDeathHandler(IBinder cb) {
2958 mICallback = cb;
3057 private VolumeDeathHandler getDeathHandler(IBinder cb, boolean state) {
3062 if (cb == handler.mICallback) {
3069 handler = new VolumeDeathHandler(cb);
4167 private void removeFocusStackEntryForClient(IBinder cb) {
4170 mFocusStack.peek().mSourceRef.equals(cb);
4174 if(fse.mSourceRef.equals(cb)) {
4212 AudioFocusDeathHandler(IBinder cb) {
4213 mCb = cb;
4230 public int requestAudioFocus(int mainStreamType, int focusChangeHint, IBinder cb,
4237 if (!cb.pingBinder()) {
4250 AudioFocusDeathHandler afdh = new AudioFocusDeathHandler(cb);
4252 cb.linkToDeath(afdh, 0);
4255 Log.w(TAG, "AudioFocus requestAudioFocus() could not link to "+cb+" binder death");
4265 cb.unlinkToDeath(afdh, 0);
4290 mFocusStack.push(new FocusStackEntry(mainStreamType, focusChangeHint, fd, cb,
4643 RcClientDeathHandler(IBinder cb, PendingIntent pi) {
4644 mCb = cb;