Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DPatternMatcher.java177 final int NP = pattern.length(); in matchGlobPattern() local
178 if (NP <= 0) { in matchGlobPattern()
184 while ((ip<NP) && (im<NM)) { in matchGlobPattern()
187 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern()
192 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern()
196 if (ip >= (NP-1)) { in matchGlobPattern()
207 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern()
221 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern()
232 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchGlobPattern()
240 if (ip >= NP && im >= NM) { in matchGlobPattern()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java229 final int NP = mPointers.size(); in onDraw() local
294 for (int p = 0; p < NP; p++) { in onDraw()
529 int NP = mPointers.size(); in onPointerEvent() local
536 for (int p=0; p<NP; p++) { in onPointerEvent()
556 while (NP <= id) { in onPointerEvent()
559 NP++; in onPointerEvent()
634 if (id >= NP) { in onPointerEvent()
636 + NP + " pointerindex=" + index in onPointerEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPagedTileLayout.java186 final int NP = mPages.size(); in distributeTiles() local
187 for (int i = 0; i < NP; i++) { in distributeTiles()
DQSTileHost.java261 final int NP = previousTiles.size(); in changeTiles() local
263 for (int i = 0; i < NP; i++) { in changeTiles()
/frameworks/base/core/java/com/android/internal/app/procstats/
DDumpUtils.java259 final int NP = procStates != null ? procStates.length : 1; in dumpStateHeadersCsv() local
262 for (int ip=0; ip<NP; ip++) { in dumpStateHeadersCsv()
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java417 int NP = (pids == null) ? 0 : pids.length; in collectStats() local
420 for (int i=0; i<NP; i++) { in collectStats()
423 NP = pid; in collectStats()
DBatteryStatsImpl.java7080 int NP = mProcessStats.size(); in writeToParcelLocked() local
7081 out.writeInt(NP); in writeToParcelLocked()
7082 for (int ip=0; ip<NP; ip++) { in writeToParcelLocked()
12103 int NP = in.readInt(); in readSummaryFromParcel() local
12104 if (NP > 1000) { in readSummaryFromParcel()
12105 throw new ParcelFormatException("File corrupt: too many sensors " + NP); in readSummaryFromParcel()
12107 for (int is = 0; is < NP; is++) { in readSummaryFromParcel()
12114 NP = in.readInt(); in readSummaryFromParcel()
12115 if (NP > 1000) { in readSummaryFromParcel()
12116 throw new ParcelFormatException("File corrupt: too many processes " + NP); in readSummaryFromParcel()
[all …]
/frameworks/base/services/core/java/com/android/server/job/
DJobPackageTracker.java324 final int NP = uidMap.size(); in dump() local
325 for (int j = 0; j < NP; j++) { in dump()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4410 const ssize_t NP = getBagLocked(resolvedParent, &parentBag, &parentTypeSpecFlags); in getBagLocked() local
4411 const size_t NT = ((NP >= 0) ? NP : 0) + N; in getBagLocked()
4416 if (NP > 0) { in getBagLocked()
4417 memcpy(set+1, parentBag, NP*sizeof(bag_entry)); in getBagLocked()
4418 set->numAttrs = NP; in getBagLocked()
4420 ALOGI("Initialized new bag with %zd inherited attributes.\n", NP); in getBagLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2894 final int NP = mProcessNames.getMap().size(); in onTransact() local
2895 for (int ip=0; ip<NP; ip++) { in onTransact()
6103 final int NP = mProcessNames.getMap().size(); in killAllBackgroundProcesses() local
6104 for (int ip = 0; ip < NP; ip++) { in killAllBackgroundProcesses()
6160 final int NP = mProcessNames.getMap().size(); in killAllBackgroundProcessesExcept() local
6161 for (int ip = 0; ip < NP; ip++) { in killAllBackgroundProcessesExcept()
6443 final int NP = mProcessNames.getMap().size(); in killPackageProcessesLocked() local
6444 for (int ip=0; ip<NP; ip++) { in killPackageProcessesLocked()
7371 final int NP = mProcessesOnHold.size(); in finishBooting() local
7372 if (NP > 0) { in finishBooting()
[all …]
/frameworks/base/tools/aapt/
DResourceTable.cpp4039 const size_t NP = mPublic.size(); in applyPublicEntryOrder() local
4042 for (j=0; j<NP; j++) { in applyPublicEntryOrder()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java2562 final int NP = PackageParser.NEW_PERMISSIONS.length; in parseBaseApkCommon() local
2564 for (int ip=0; ip<NP; ip++) { in parseBaseApkCommon()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java13402 final int NP = PackageParser.NEW_PERMISSIONS.length; in isNewPlatformPermissionForPackage() local
13403 for (int ip=0; ip<NP; ip++) { in isNewPlatformPermissionForPackage()