Searched defs:receivers (Results 1 - 8 of 8) sorted by relevance

/frameworks/support/v4/java/android/support/v4/content/
H A DLocalBroadcastManager.java71 final ArrayList<ReceiverRecord> receivers; field in class:LocalBroadcastManager.BroadcastRecord
75 receivers = _receivers;
173 ArrayList<ReceiverRecord> receivers = mActions.get(action);
174 if (receivers != null) {
175 for (int k=0; k<receivers.size(); k++) {
176 if (receivers.get(k).receiver == receiver) {
177 receivers.remove(k);
181 if (receivers.size() <= 0) {
193 * executing while the receivers are run.
195 * @param intent The Intent to broadcast; all receivers matchin
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageInfo.java120 public ActivityInfo[] receivers; field in class:PackageInfo
309 dest.writeTypedArray(receivers, parcelableFlags);
358 receivers = source.createTypedArray(ActivityInfo.CREATOR);
H A DPackageParser.java482 int N = p.receivers.size();
485 pi.receivers = new ActivityInfo[N];
489 if (p.receivers.get(i).info.enabled) num++;
491 pi.receivers = new ActivityInfo[num];
494 final Activity activity = p.receivers.get(i);
497 pi.receivers[j++] = generateActivityInfo(p.receivers.get(i), flags,
2692 owner.receivers.add(a);
2890 owner.receivers.add(a);
3218 outError[0] = "Heavy-weight applications can not have receivers i
4299 public final ArrayList<Activity> receivers = new ArrayList<Activity>(0); field in class:PackageParser.Package
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DBroadcastRecord.java50 final boolean ordered; // serialize the send to receivers?
58 final List receivers; // contains BroadcastFilter and ResolveInfo field in class:BroadcastRecord
61 long dispatchTime; // when dispatch started on this set of receivers
82 // was found in our list of registered receivers).
174 final int N = receivers != null ? receivers.size() : 0;
178 Object o = receivers.get(i);
206 receivers = _receivers;
221 if ((userId != UserHandle.USER_ALL && this.userId != userId) || receivers == null) {
227 for (int i = receivers
[all...]
H A DProcessRecord.java157 final ArraySet<ReceiverList> receivers = new ArraySet<>(); field in class:ProcessRecord
398 if (receivers.size() > 0) {
400 for (int i=0; i<receivers.size(); i++) {
401 pw.print(prefix); pw.print(" - "); pw.println(receivers.valueAt(i));
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DBroadcastTest.java90 public void setExpectedReceivers(String[] receivers) { argument
91 mExpectedReceivers = receivers;
H A DLaunchpadActivity.java428 private void setExpectedReceivers(String[] receivers) { argument
429 mExpectedReceivers = receivers;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java532 // All available receivers, for your resolving pleasure.
2364 final List<ResolveInfo> receivers = queryIntentReceivers(verification, PACKAGE_MIME_TYPE,
2369 final int N = receivers.size();
2371 final ResolveInfo info = receivers.get(i);
2429 final List<ResolveInfo> receivers = queryIntentReceivers(verification, PACKAGE_MIME_TYPE,
2435 final int N = receivers.size();
2437 final ResolveInfo info = receivers.get(i);
5167 return mReceivers.queryIntentForPackage(intent, resolvedType, flags, pkg.receivers,
7322 N = pkg.receivers.size();
7325 PackageParser.Activity a = pkg.receivers
9804 matchComponentForVerifier(String packageName, List<ResolveInfo> receivers) argument
9828 matchVerifiers(PackageInfoLite pkgInfo, List<ResolveInfo> receivers, final PackageVerificationState verificationState) argument
[all...]

Completed in 155 milliseconds