Home
last modified time | relevance | path

Searched refs:stateIndex (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DMultiStateStats.java104 States[] states, int[] statesValues, int stateIndex) { in forEachTrackedStateCombination() argument
105 if (stateIndex < statesValues.length) { in forEachTrackedStateCombination()
106 if (!states[stateIndex].mTracked) { in forEachTrackedStateCombination()
107 forEachTrackedStateCombination(consumer, states, statesValues, stateIndex + 1); in forEachTrackedStateCombination()
110 for (int i = 0; i < states[stateIndex].mLabels.length; i++) { in forEachTrackedStateCombination()
111 statesValues[stateIndex] = i; in forEachTrackedStateCombination()
112 forEachTrackedStateCombination(consumer, states, statesValues, stateIndex + 1); in forEachTrackedStateCombination()
214 for (int stateIndex = 0; stateIndex < mStates.length; stateIndex++) { in isValidCompositeState()
215 int state = extractStateFromComposite(composite, stateIndex); in isValidCompositeState()
216 if (state >= mStates[stateIndex].mLabels.length) { in isValidCompositeState()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationLegacySettings.java127 for (int stateIndex = 0; stateIndex < statesSize; stateIndex++) { in writeSettings()
128 final LegacyState state = mStates.valueAt(stateIndex); in writeSettings()
134 final String packageName = mStates.keyAt(stateIndex); in writeSettings()
DDomainVerificationDebug.java212 for (int stateIndex = 0; stateIndex < stateSize; stateIndex++) { in printState()
213 String domain = reusedMap.keyAt(stateIndex); in printState()
214 Integer state = reusedMap.valueAt(stateIndex); in printState()
DDomainVerificationSettings.java156 for (int stateIndex = 0; stateIndex < stateList.size(); stateIndex++) { in restoreSettings()
157 DomainVerificationPkgState newState = stateList.valueAt(stateIndex); in restoreSettings()
DDomainVerificationService.java1559 for (int stateIndex = 0; stateIndex < statesSize; stateIndex++) { in shouldReBroadcastPackage()
1560 Integer state = stateMap.valueAt(stateIndex); in shouldReBroadcastPackage()
/frameworks/base/services/core/java/com/android/server/audio/
DRecordingActivityMonitor.java436 int stateIndex = -1; in updateSnapshot() local
438 stateIndex = findStateByRiid(riid); in updateSnapshot()
440 stateIndex = findStateByPortId(config.getClientPortId()); in updateSnapshot()
442 if (stateIndex == -1) { in updateSnapshot()
446 stateIndex = mRecordStates.size() - 1; in updateSnapshot()
456 final RecordingState state = mRecordStates.get(stateIndex); in updateSnapshot()
475 mRecordStates.remove(stateIndex); in updateSnapshot()
481 mRecordStates.remove(stateIndex); in updateSnapshot()
/frameworks/base/core/java/android/webkit/
DFindAddress.java336 int stateIndex = stateMatch.groupCount(); in isValidZipCode() local
337 while (stateIndex > 0) { in isValidZipCode()
338 if (stateMatch.group(stateIndex--) != null) break; in isValidZipCode()
341 && sStateZipCodeRanges[stateIndex].matches(zipCode); in isValidZipCode()
/frameworks/base/core/java/android/content/res/
DColorStateList.java673 for (int stateIndex = 0; stateIndex < stateCount; stateIndex++) { in hasState()
674 if (states[stateIndex] == state || states[stateIndex] == ~state) { in hasState()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java238 Stat getStat(int stateIndex) { in getStat() argument
240 Stat stat = mStats.get(stateIndex); in getStat()
243 mStats.put(stateIndex, stat); in getStat()
/frameworks/base/core/tests/coretests/src/android/tracing/perfetto/
DTestDataSource.java76 public int stateIndex = lastIndex++; field in TestDataSource.TestTlsState
DDataSourceTest.java397 final int testIntValue = ctx.getCustomTlsState().stateIndex; in multipleTraceInstances()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java227 int stateIndex = 0; in createStateListAnimatorFromXml() local
234 states[stateIndex++] = in createStateListAnimatorFromXml()
249 .addState(StateSet.trimStateSet(states, stateIndex), animator); in createStateListAnimatorFromXml()