Home
last modified time | relevance | path

Searched refs:otherIndex (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DBaseAppStateDurations.java143 void subtract(BaseAppStateDurations otherDurations, int thisIndex, int otherIndex) { in subtract() argument
145 || otherDurations.mEvents.length <= otherIndex in subtract()
146 || otherDurations.mEvents[otherIndex] == null) { in subtract()
149 + ", thisIndex=" + thisIndex + ", otherIndex=" + otherIndex); in subtract()
153 mEvents[thisIndex] = subtract(mEvents[thisIndex], otherDurations.mEvents[otherIndex]); in subtract()
159 void subtract(BaseAppStateDurations otherDurations, int otherIndex) { in subtract() argument
160 if (otherDurations.mEvents.length <= otherIndex in subtract()
161 || otherDurations.mEvents[otherIndex] == null) { in subtract()
164 + ", otherIndex=" + otherIndex); in subtract()
170 mEvents[i] = subtract(mEvents[i], otherDurations.mEvents[otherIndex]); in subtract()
/aosp14/frameworks/base/core/java/android/content/pm/
H A DSigningDetails.java296 int otherIndex = otherSigningDetails.mPastSigningCertificates.length - 1; in mergeLineageWithAncestorOrSelf() local
297 if (index < 0 || otherIndex < 0) { in mergeLineageWithAncestorOrSelf()
306 otherSigningDetails.mPastSigningCertificates[otherIndex])) { in mergeLineageWithAncestorOrSelf()
320 otherSigningDetails.mPastSigningCertificates[otherIndex--]; in mergeLineageWithAncestorOrSelf()
338 } while (index >= 0 && otherIndex >= 0 && mPastSigningCertificates[index].equals( in mergeLineageWithAncestorOrSelf()
339 otherSigningDetails.mPastSigningCertificates[otherIndex])); in mergeLineageWithAncestorOrSelf()
343 if (index >= 0 && otherIndex >= 0) { in mergeLineageWithAncestorOrSelf()
349 while (otherIndex >= 0) { in mergeLineageWithAncestorOrSelf()
351 otherSigningDetails.mPastSigningCertificates[otherIndex--])); in mergeLineageWithAncestorOrSelf()
H A DPackageParser.java6114 int otherIndex = otherSigningDetails.pastSigningCertificates.length - 1; in mergeLineageWithAncestorOrSelf() local
6115 if (index < 0 || otherIndex < 0) { in mergeLineageWithAncestorOrSelf()
6124 otherSigningDetails.pastSigningCertificates[otherIndex])) { in mergeLineageWithAncestorOrSelf()
6138 otherSigningDetails.pastSigningCertificates[otherIndex--]; in mergeLineageWithAncestorOrSelf()
6146 } while (index >= 0 && otherIndex >= 0 && pastSigningCertificates[index].equals( in mergeLineageWithAncestorOrSelf()
6147 otherSigningDetails.pastSigningCertificates[otherIndex])); in mergeLineageWithAncestorOrSelf()
6151 if (index >= 0 && otherIndex >= 0) { in mergeLineageWithAncestorOrSelf()
6157 while (otherIndex >= 0) { in mergeLineageWithAncestorOrSelf()
6159 otherSigningDetails.pastSigningCertificates[otherIndex--])); in mergeLineageWithAncestorOrSelf()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DMessagingLayoutTransformState.java272 int otherIndex = otherMessages.size() - 1 - i; in transformGroups() local
274 if (otherIndex >= 0) { in transformGroups()
275 otherChild = otherMessages.get(otherIndex).getView(); in transformGroups()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DRecentTasks.java1168 int otherIndex = mTasks.indexOf(other); in add() local
1169 if (otherIndex >= 0) { in add()
1175 taskIndex = otherIndex + 1; in add()
1179 taskIndex = otherIndex; in add()