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.java258 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/
DPagedTileLayout.java253 final int NP = mPages.size(); in emptyAndInflateOrRemovePages() local
254 for (int i = 0; i < NP; i++) { in emptyAndInflateOrRemovePages()
257 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.java428 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()
DBatteryStatsImpl.java8083 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/
DProcessList.java1394 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()
DActivityManagerService.java2715 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/
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.java1616 final int NP = PackageParser.NEW_PERMISSIONS.length; in isNewPlatformPermissionForPackage() local
1617 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.java2460 final int NP = PackageParser.NEW_PERMISSIONS.length; in parseBaseApkCommon() local
2462 for (int ip=0; ip<NP; ip++) { in parseBaseApkCommon()