Home
last modified time | relevance | path

Searched refs:NP (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/os/
DPatternMatcher.java187 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/
DPointerLocationView.java274 final int NP = mPointers.size(); in onDraw() local
356 for (int p = 0; p < NP; p++) { in onDraw()
568 int NP = mPointers.size(); in onPointerEvent() local
575 for (int p=0; p<NP; p++) { in onPointerEvent()
595 while (NP <= id) { in onPointerEvent()
598 NP++; in onPointerEvent()
673 if (id >= NP) { in onPointerEvent()
675 + NP + " pointerindex=" + index in onPointerEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPagedTileLayout.java255 final int NP = mPages.size(); in emptyAndInflateOrRemovePages() local
256 for (int i = 0; i < NP; i++) { in emptyAndInflateOrRemovePages()
259 if (NP == numPages) { in emptyAndInflateOrRemovePages()
DQSTileHost.java317 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/
DJobPackageTracker.java332 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/
DDumpUtils.java362 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/
DProcessCpuTracker.java433 int NP = (pids == null) ? 0 : pids.length; in collectStats() local
436 for (int i=0; i<NP; i++) { in collectStats()
439 NP = pid; in collectStats()
DBatteryStatsImpl.java8096 int NP = mProcessStats.size(); in writeToParcelLocked() local
8097 out.writeInt(NP); in writeToParcelLocked()
8098 for (int ip=0; ip<NP; ip++) { in writeToParcelLocked()
13946 int NP = in.readInt(); in readSummaryFromParcel() local
13947 if (NP > 1000) { in readSummaryFromParcel()
13948 throw new ParcelFormatException("File corrupt: too many sensors " + NP); in readSummaryFromParcel()
13950 for (int is = 0; is < NP; is++) { in readSummaryFromParcel()
13957 NP = in.readInt(); in readSummaryFromParcel()
13958 if (NP > 1000) { in readSummaryFromParcel()
13959 throw new ParcelFormatException("File corrupt: too many processes " + NP); in readSummaryFromParcel()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java1486 final int NP = mProcessNames.getMap().size();
1487 for (int ip = 0; ip < NP; ip++) {
2251 final int NP = mProcessNames.getMap().size(); in killPackageProcessesLocked() local
2252 for (int ip = 0; ip < NP; ip++) { in killPackageProcessesLocked()
2564 final int NP = mProcessNames.getMap().size(); in killAllBackgroundProcessesExceptLocked() local
2565 for (int ip = 0; ip < NP; ip++) { in killAllBackgroundProcessesExceptLocked()
DActivityManagerService.java2743 final int NP = mProcessList.mProcessNames.getMap().size(); in onTransact() local
2744 for (int ip = 0; ip < NP; ip++) { in onTransact()
5300 final int NP = mProcessesOnHold.size(); in finishBooting() local
5301 if (NP > 0) { in finishBooting()
5304 for (int ip=0; ip<NP; ip++) { in finishBooting()
7639 final int NP = mProcessList.mProcessNames.getMap().size(); in installEncryptionUnawareProviders() local
7640 for (int ip = 0; ip < NP; ip++) { in installEncryptionUnawareProviders()
10580 final int NP = mProcessList.mProcessNames.getMap().size(); in dumpProcessesLocked() local
10581 for (int ip=0; ip<NP; ip++) { in dumpProcessesLocked()
10960 final int NP = mProcessList.mProcessNames.getMap().size(); in writeProcessesToProtoLocked() local
[all …]
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4613 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/
DPermissionManagerService.java1620 final int NP = PackageParser.NEW_PERMISSIONS.length; in isNewPlatformPermissionForPackage() local
1621 for (int ip=0; ip<NP; ip++) { in isNewPlatformPermissionForPackage()
/frameworks/base/tools/aapt/
DResourceTable.cpp4036 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/
DPackageParser.java2504 final int NP = PackageParser.NEW_PERMISSIONS.length; in parseBaseApkCommon() local
2506 for (int ip=0; ip<NP; ip++) { in parseBaseApkCommon()