Searched refs:stateIndex (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | MultiStateStats.java | 104 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/ |
D | DomainVerificationLegacySettings.java | 127 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()
|
D | DomainVerificationDebug.java | 212 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()
|
D | DomainVerificationSettings.java | 156 for (int stateIndex = 0; stateIndex < stateList.size(); stateIndex++) { in restoreSettings() 157 DomainVerificationPkgState newState = stateList.valueAt(stateIndex); in restoreSettings()
|
D | DomainVerificationService.java | 1559 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/ |
D | RecordingActivityMonitor.java | 436 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/ |
D | FindAddress.java | 336 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/ |
D | ColorStateList.java | 673 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/ |
D | BatterySavingStats.java | 238 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/ |
D | TestDataSource.java | 76 public int stateIndex = lastIndex++; field in TestDataSource.TestTlsState
|
D | DataSourceTest.java | 397 final int testIntValue = ctx.getCustomTlsState().stateIndex; in multipleTraceInstances()
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorInflater.java | 227 int stateIndex = 0; in createStateListAnimatorFromXml() local 234 states[stateIndex++] = in createStateListAnimatorFromXml() 249 .addState(StateSet.trimStateSet(states, stateIndex), animator); in createStateListAnimatorFromXml()
|