Lines Matching defs:rec

4556             ProcessRecord rec = mLruProcesses.get(i);
4557 if (rec.thread != null && rec.thread.asBinder() == threadBinder) {
4580 ProcessRecord rec = mLruProcesses.get(i);
4581 if (rec.thread != null
4582 && rec.setProcState >= ActivityManager.PROCESS_STATE_CACHED_ACTIVITY) {
4603 ProcessRecord rec = mLruProcesses.get(i);
4604 if (rec == dyingProc || rec.thread == null) {
4608 memInfos.add(new ProcessMemInfo(rec.processName, rec.pid, rec.setAdj,
4609 rec.setProcState, rec.adjType, rec.makeAdjReason()));
4611 if ((rec.lastLowMemory+GC_MIN_INTERVAL) <= now) {
4615 if (rec.setAdj <= ProcessList.HEAVY_WEIGHT_APP_ADJ) {
4616 rec.lastRequestedGc = 0;
4618 rec.lastRequestedGc = rec.lastLowMemory;
4620 rec.reportLowMemory = true;
4621 rec.lastLowMemory = now;
4622 mProcessesToGc.remove(rec);
4623 addProcessToGcListLocked(rec);
6664 PendingIntentRecord rec = ref != null ? ref.get() : null;
6665 if (rec != null) {
6668 if (rec.key.requestIntent != null) {
6669 rec.key.requestIntent.replaceExtras(intents != null ?
6673 intents[intents.length-1] = rec.key.requestIntent;
6674 rec.key.allIntents = intents;
6675 rec.key.allResolvedTypes = resolvedTypes;
6677 rec.key.allIntents = null;
6678 rec.key.allResolvedTypes = null;
6681 return rec;
6683 rec.canceled = true;
6687 return rec;
6689 rec = new PendingIntentRecord(this, key, callingUid);
6690 mIntentSenderRecords.put(key, rec.ref);
6696 activity.pendingResults.add(rec.ref);
6698 return rec;
6707 PendingIntentRecord rec = (PendingIntentRecord)sender;
6710 .getPackageUid(rec.key.packageName, UserHandle.getCallingUserId());
6716 + rec.key.packageName;
6723 cancelIntentSenderLocked(rec, true);
6727 void cancelIntentSenderLocked(PendingIntentRecord rec, boolean cleanActivity) {
6728 rec.canceled = true;
6729 mIntentSenderRecords.remove(rec.key);
6730 if (cleanActivity && rec.key.activity != null) {
6731 rec.key.activity.pendingResults.remove(rec.ref);
11133 final PendingIntentRecord rec = (PendingIntentRecord)sender;
11139 int uid = rec.uid == MY_UID ? Process.SYSTEM_UID : rec.uid;
11142 sourcePkg != null ? sourcePkg : rec.key.packageName);
11152 final PendingIntentRecord rec = (PendingIntentRecord)sender;
11157 int uid = rec.uid == MY_UID ? Process.SYSTEM_UID : rec.uid;
11166 final PendingIntentRecord rec = (PendingIntentRecord)sender;
11171 int uid = rec.uid == MY_UID ? Process.SYSTEM_UID : rec.uid;
14149 PendingIntentRecord rec = ref != null ? ref.get(): null;
14150 if (dumpPackage != null && (rec == null
14151 || !dumpPackage.equals(rec.key.packageName))) {
14155 if (rec != null) {
14156 pw.print(" * "); pw.println(rec);
14158 rec.dump(pw, " ");