Added htc logging functions (ported from CyanogenMod)

Change-Id: I8dd9eef986189d25179d282ae12ff111d4f91b3f
added ICS_AUDIO_BLOB ifdefs (ported from CyanogenMod)

Change-Id: Iaee137618b279a2a4184d001763468467ce48cb5