Searched refs:xmlId (Results 1 – 3 of 3) sorted by relevance
334 final int xmlId = forTest ? com.android.internal.R.xml.power_profile_test in PowerProfile() local336 initLocked(context, xmlId); in PowerProfile()345 public void forceInitForTesting(Context context, @XmlRes int xmlId) { in forceInitForTesting() argument350 initLocked(context, xmlId); in forceInitForTesting()355 private void initLocked(Context context, @XmlRes int xmlId) { in initLocked() argument357 readPowerValuesFromXml(context, xmlId); in initLocked()364 private void readPowerValuesFromXml(Context context, @XmlRes int xmlId) { in readPowerValuesFromXml() argument366 XmlResourceParser parser = resources.getXml(xmlId); in readPowerValuesFromXml()
80 public BatteryUsageStatsRule setTestPowerProfile(@XmlRes int xmlId) { in setTestPowerProfile() argument81 mPowerProfile.forceInitForTesting(mContext, xmlId); in setTestPowerProfile()
507 private XmlResourceParser getTestModemElement(@XmlRes int xmlId, String elementName) in getTestModemElement() argument511 XmlResourceParser parser = resources.getXml(xmlId); in getTestModemElement()