style changes

Change-Id: I1fde49d1955455c7f2902d76ffad5616a4514d5a
exclude unsupported functions using ifndef __ANDROID__

Change-Id: I18fa94511406e48c6427d7fd99dcdef53359687d