Lines Matching refs:mCurrentContext
226 private int mCurrentContext = CarVolumeService.DEFAULT_CAR_AUDIO_CONTEXT;
259 mCurrentContext : carContext;
456 if (VolumeUtils.carContextToAndroidStream(mCurrentContext) == stream) {
457 carContext = mCurrentContext;
494 if (mCurrentContext == carContext) {
513 writeVolumeToSettings(mCurrentContext, index);
519 if (VolumeUtils.carContextToAndroidStream(mCurrentContext) == stream) {
520 return mCurrentCarContextVolume.get(mCurrentContext);
544 int currentCarStream = carContextToCarStream(mCurrentContext);
552 carStream = mCurrentContext;
556 mCurrentCarContextVolume.put(mCurrentContext, volume);
557 writeVolumeToSettings(mCurrentContext, volume);
559 mHandler.obtainMessage(MSG_UPDATE_VOLUME, mCurrentContext, flag,
587 if (VolumeUtils.carContextToAndroidStream(mCurrentContext) == stream) {
588 return mCarContextVolumeMax.get(mCurrentContext);
615 int currentVolume = mCurrentCarContextVolume.get(mCurrentContext);
618 setStreamVolumeInternalLocked(mCurrentContext, currentVolume + 1,
622 setStreamVolumeInternalLocked(mCurrentContext, currentVolume - 1,
634 Log.d(TAG, "Audio context changed from " + mCurrentContext + " to: "
640 if (primaryFocusContext == mCurrentContext || primaryFocusContext == 0) {
643 int oldContext = mCurrentContext;
644 mCurrentContext = primaryFocusContext;
668 mCurrentContext, currentVolume));
681 writer.println("mCurrentContext:0x" + Integer.toHexString(mCurrentContext));