/frameworks/base/core/java/android/os/ |
D | PatternMatcher.java | 187 final int NP = pattern.length(); in matchGlobPattern() local 188 if (NP <= 0) { in matchGlobPattern() 194 while ((ip<NP) && (im<NM)) { in matchGlobPattern() 197 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern() 202 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern() 206 if (ip >= (NP-1)) { in matchGlobPattern() 217 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern() 231 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern() 242 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern() 250 if (ip >= NP && im >= NM) { in matchGlobPattern() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 258 final int NP = mPointers.size(); in onDraw() local 334 for (int p = 0; p < NP; p++) { in onDraw() 546 int NP = mPointers.size(); in onPointerEvent() local 553 for (int p=0; p<NP; p++) { in onPointerEvent() 573 while (NP <= id) { in onPointerEvent() 576 NP++; in onPointerEvent() 651 if (id >= NP) { in onPointerEvent() 653 + NP + " pointerindex=" + index in onPointerEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PagedTileLayout.java | 253 final int NP = mPages.size(); in emptyAndInflateOrRemovePages() local 254 for (int i = 0; i < NP; i++) { in emptyAndInflateOrRemovePages() 257 if (NP == numPages) { in emptyAndInflateOrRemovePages()
|
D | QSTileHost.java | 317 final int NP = previousTiles.size(); in changeTiles() local 319 for (int i = 0; i < NP; i++) { in changeTiles()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobPackageTracker.java | 332 final int NP = uidMap.size(); in dump() local 333 for (int j = 0; j < NP; j++) { in dump() 396 final int NP = uidMap.size(); in dump() local 397 for (int j = 0; j < NP; j++) { in dump()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | DumpUtils.java | 362 final int NP = procStates != null ? procStates.length : 1; in dumpStateHeadersCsv() local 365 for (int ip=0; ip<NP; ip++) { in dumpStateHeadersCsv()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 428 int NP = (pids == null) ? 0 : pids.length; in collectStats() local 431 for (int i=0; i<NP; i++) { in collectStats() 434 NP = pid; in collectStats()
|
D | BatteryStatsImpl.java | 8083 int NP = mProcessStats.size(); in writeToParcelLocked() local 8084 out.writeInt(NP); in writeToParcelLocked() 8085 for (int ip=0; ip<NP; ip++) { in writeToParcelLocked() 13947 int NP = in.readInt(); in readSummaryFromParcel() local 13948 if (NP > 1000) { in readSummaryFromParcel() 13949 throw new ParcelFormatException("File corrupt: too many sensors " + NP); in readSummaryFromParcel() 13951 for (int is = 0; is < NP; is++) { in readSummaryFromParcel() 13958 NP = in.readInt(); in readSummaryFromParcel() 13959 if (NP > 1000) { in readSummaryFromParcel() 13960 throw new ParcelFormatException("File corrupt: too many processes " + NP); in readSummaryFromParcel() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessList.java | 1394 final int NP = mProcessNames.getMap().size(); 1395 for (int ip = 0; ip < NP; ip++) { 2124 final int NP = mProcessNames.getMap().size(); in killPackageProcessesLocked() local 2125 for (int ip = 0; ip < NP; ip++) { in killPackageProcessesLocked() 2436 final int NP = mProcessNames.getMap().size(); in killAllBackgroundProcessesExceptLocked() local 2437 for (int ip = 0; ip < NP; ip++) { in killAllBackgroundProcessesExceptLocked()
|
D | ActivityManagerService.java | 2715 final int NP = mProcessList.mProcessNames.getMap().size(); in onTransact() local 2716 for (int ip = 0; ip < NP; ip++) { in onTransact() 5280 final int NP = mProcessesOnHold.size(); in finishBooting() local 5281 if (NP > 0) { in finishBooting() 5284 for (int ip=0; ip<NP; ip++) { in finishBooting() 7608 final int NP = mProcessList.mProcessNames.getMap().size(); in installEncryptionUnawareProviders() local 7609 for (int ip = 0; ip < NP; ip++) { in installEncryptionUnawareProviders() 10529 final int NP = mProcessList.mProcessNames.getMap().size(); in dumpProcessesLocked() local 10530 for (int ip=0; ip<NP; ip++) { in dumpProcessesLocked() 10909 final int NP = mProcessList.mProcessNames.getMap().size(); in writeProcessesToProtoLocked() local [all …]
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 4613 const ssize_t NP = getBagLocked(resolvedParent, &parentBag, &parentTypeSpecFlags); in getBagLocked() local 4614 const size_t NT = ((NP >= 0) ? NP : 0) + N; in getBagLocked() 4619 if (NP > 0) { in getBagLocked() 4620 memcpy(set+1, parentBag, NP*sizeof(bag_entry)); in getBagLocked() 4621 set->numAttrs = NP; in getBagLocked() 4623 ALOGI("Initialized new bag with %zd inherited attributes.\n", NP); in getBagLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 1616 final int NP = PackageParser.NEW_PERMISSIONS.length; in isNewPlatformPermissionForPackage() local 1617 for (int ip=0; ip<NP; ip++) { in isNewPlatformPermissionForPackage()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 4036 const size_t NP = mPublic.size(); in applyPublicEntryOrder() local 4039 for (j=0; j<NP; j++) { in applyPublicEntryOrder()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 2460 final int NP = PackageParser.NEW_PERMISSIONS.length; in parseBaseApkCommon() local 2462 for (int ip=0; ip<NP; ip++) { in parseBaseApkCommon()
|