Home
last modified time | relevance | path

Searched refs:mEnables (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DCpmsFrameworkLayerStateInfo.java61 private final List<String> mEnables; field in CpmsFrameworkLayerStateInfo
83 mEnables = enables; in CpmsFrameworkLayerStateInfo()
121 return PowerPolicyDef.PowerComponent.asComponentArray(mEnables); in getCurrentEnabledComponents()
141 return mEnables.contains(component); in isComponentOn()
158 sb.append("enables=").append(String.join(",", mEnables)).append(' '); in toString()
178 && mEnables.equals(that.mEnables) in equals()
191 return Objects.hash(mEnables, mDisables, mControlledEnables, mControlledDisables, in hashCode()
313 private List<String> mEnables; field in CpmsFrameworkLayerStateInfo.StateInfoParser
322 return mEnables; in getEnables()
380 mEnables = new ArrayList<>(); in parseComponentStates()
[all …]
DPowerPolicyDef.java35 private final PowerComponent[] mEnables; field in PowerPolicyDef
40 mEnables = enables; in PowerPolicyDef()
49 return mEnables; in getEnables()
58 String[] enables = Arrays.stream(mEnables).map(PowerComponent::getValue) in toString()
79 && Arrays.equals(mEnables, that.mEnables) in equals()
86 result = 31 * result + Arrays.hashCode(mEnables); in hashCode()