Home
last modified time | relevance | path

Searched refs:vers (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java227 final int vers = versions.keyAt(iv); in add() local
235 + " vers " + vers + " proc " + otherProc.getName()); in add()
236 ProcessState thisProc = getProcessStateLocked(pkgName, uid, vers, in add()
243 vers); in add()
254 ServiceState thisSvc = getServiceStateLocked(pkgName, uid, vers, in add()
270 final int vers = otherProc.getVersion(); in add() local
275 thisProc = new ProcessState(this, pkg, uid, vers, name); in add()
277 PackageState thisState = getPackageStateLocked(pkg, uid, vers); in add()
964 final int vers = in.readInt(); in readFromParcel() local
971 proc = new ProcessState(this, pkgName, uid, vers, procName); in readFromParcel()
[all …]
DServiceState.java444 public void dumpTimesCheckin(PrintWriter pw, String pkgName, int uid, int vers, in dumpTimesCheckin() argument
446 dumpTimeCheckin(pw, "pkgsvc-run", pkgName, uid, vers, serviceName, in dumpTimesCheckin()
448 dumpTimeCheckin(pw, "pkgsvc-start", pkgName, uid, vers, serviceName, in dumpTimesCheckin()
450 dumpTimeCheckin(pw, "pkgsvc-bound", pkgName, uid, vers, serviceName, in dumpTimesCheckin()
452 dumpTimeCheckin(pw, "pkgsvc-exec", pkgName, uid, vers, serviceName, in dumpTimesCheckin()
457 int uid, int vers, String serviceName, int serviceType, int opCount, in dumpTimeCheckin() argument
468 pw.print(vers); in dumpTimeCheckin()
DProcessState.java165 public ProcessState(ProcessStats processStats, String pkg, int uid, int vers, String name) { in ProcessState() argument
171 mVersion = vers; in ProcessState()
181 public ProcessState(ProcessState commonProcess, String pkg, int uid, int vers, String name, in ProcessState() argument
188 mVersion = vers; in ProcessState()
1051 public void dumpPackageProcCheckin(PrintWriter pw, String pkgName, int uid, int vers, in dumpPackageProcCheckin() argument
1058 pw.print(vers); in dumpPackageProcCheckin()
1069 pw.print(vers); in dumpPackageProcCheckin()
1081 pw.print(vers); in dumpPackageProcCheckin()
/frameworks/native/libs/binder/
DProcessState.cpp333 int vers = 0; in open_driver() local
334 status_t result = ioctl(fd, BINDER_VERSION, &vers); in open_driver()
340 if (result != 0 || vers != BINDER_CURRENT_PROTOCOL_VERSION) { in open_driver()
342 vers, BINDER_CURRENT_PROTOCOL_VERSION, result); in open_driver()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java155 final SparseArray<ProcessStats.PackageState> vers = uids.valueAt(iuid); in setMemFactorLocked() local
156 for (int iver=vers.size()-1; iver>=0; iver--) { in setMemFactorLocked()
157 final ProcessStats.PackageState pkg = vers.valueAt(iver); in setMemFactorLocked()
318 SparseArray<ProcessStats.PackageState> vers = uids.valueAt(iu); in readLocked() local
319 final int NVERS = vers.size(); in readLocked()
321 Slog.w(TAG, " Vers: " + vers.keyAt(iv)); in readLocked()
322 ProcessStats.PackageState pkgState = vers.valueAt(iv); in readLocked()
DActivityManagerService.java4129 String vers = ri.activityInfo.metaData != null in startSetupActivityLocked() local
4132 if (vers == null && ri.activityInfo.applicationInfo.metaData != null) { in startSetupActivityLocked()
4133 vers = ri.activityInfo.applicationInfo.metaData.getString( in startSetupActivityLocked()
4138 if (vers != null && !vers.equals(lastVers)) { in startSetupActivityLocked()
/frameworks/native/cmds/servicemanager/
Dbinder.c100 struct binder_version vers; in binder_open() local
115 if ((ioctl(bs->fd, BINDER_VERSION, &vers) == -1) || in binder_open()
116 (vers.protocol_version != BINDER_CURRENT_PROTOCOL_VERSION)) { in binder_open()
119 vers.protocol_version, BINDER_CURRENT_PROTOCOL_VERSION); in binder_open()
/frameworks/base/tools/aapt/
DResource.cpp890 sp<XMLNode> vers = root->getChildElement(String16(), String16("uses-sdk")); in massageManifest() local
894 if (vers == NULL) { in massageManifest()
895 vers = XMLNode::newElement(root->getFilename(), String16(), String16("uses-sdk")); in massageManifest()
896 root->insertChildAt(vers, 0); in massageManifest()
899 if (!addTagAttribute(vers, RESOURCES_ANDROID_NAMESPACE, "minSdkVersion", in massageManifest()
903 if (!addTagAttribute(vers, RESOURCES_ANDROID_NAMESPACE, "targetSdkVersion", in massageManifest()
907 if (!addTagAttribute(vers, RESOURCES_ANDROID_NAMESPACE, "maxSdkVersion", in massageManifest()
913 if (vers != NULL) { in massageManifest()
914 const XMLNode::attribute_entry* attr = vers->getAttribute( in massageManifest()
DCommand.cpp1541 int vers = AaptXml::getIntegerAttribute(tree, in doDump() local
1544 if (vers > commonFeatures.openGLESVersion) { in doDump()
1545 commonFeatures.openGLESVersion = vers; in doDump()
1901 int vers = AaptXml::getIntegerAttribute(tree, GL_ES_VERSION_ATTR, in doDump() local
1904 if (vers > top.openGLESVersion) { in doDump()
1905 top.openGLESVersion = vers; in doDump()