Home
last modified time | relevance | path

Searched refs:receivers (Results 1 – 24 of 24) sorted by relevance

/frameworks/support/v4/java/android/support/v4/content/
DLocalBroadcastManager.java71 final ArrayList<ReceiverRecord> receivers; field in LocalBroadcastManager.BroadcastRecord
75 receivers = _receivers; in BroadcastRecord()
173 ArrayList<ReceiverRecord> receivers = mActions.get(action); in unregisterReceiver() local
174 if (receivers != null) { in unregisterReceiver()
175 for (int k=0; k<receivers.size(); k++) { in unregisterReceiver()
176 if (receivers.get(k).receiver == receiver) { in unregisterReceiver()
177 receivers.remove(k); in unregisterReceiver()
181 if (receivers.size() <= 0) { in unregisterReceiver()
219 ArrayList<ReceiverRecord> receivers = null; in sendBroadcast() local
236 if (receivers == null) { in sendBroadcast()
[all …]
/frameworks/base/services/java/com/android/server/am/
DBroadcastRecord.java48 final List receivers; // contains BroadcastFilter and ResolveInfo field in BroadcastRecord
150 final int N = receivers != null ? receivers.size() : 0; in dump()
154 Object o = receivers.get(i); in dump()
175 receivers = _receivers; in BroadcastRecord()
DProcessRecord.java116 final HashSet<ReceiverList> receivers = new HashSet<ReceiverList>(); field in ProcessRecord
262 if (receivers.size() > 0) { in dump()
263 pw.print(prefix); pw.print("receivers="); pw.println(receivers); in dump()
DActivityManagerService.java5472 ArrayList receivers = null; in sendPendingThumbnail() local
5502 if (receivers == null) { in sendPendingThumbnail()
5503 receivers = new ArrayList(); in sendPendingThumbnail()
5505 receivers.add(pr); in sendPendingThumbnail()
5517 if (receivers != null) { in sendPendingThumbnail()
5518 final int N = receivers.size(); in sendPendingThumbnail()
5522 (PendingThumbnailsRecord)receivers.get(i); in sendPendingThumbnail()
9649 if (app.receivers.size() > 0) { in cleanUpApplicationRecordLocked()
9650 Iterator<ReceiverList> it = app.receivers.iterator(); in cleanUpApplicationRecordLocked()
9654 app.receivers.clear(); in cleanUpApplicationRecordLocked()
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java99 public ActivityInfo[] receivers; field in PackageInfo
226 dest.writeTypedArray(receivers, parcelableFlags); in writeToParcel()
263 receivers = source.createTypedArray(ActivityInfo.CREATOR); in PackageInfo()
DPackageParser.java259 int N = p.receivers.size(); in generatePackageInfo()
262 pi.receivers = new ActivityInfo[N]; in generatePackageInfo()
266 if (p.receivers.get(i).info.enabled) num++; in generatePackageInfo()
268 pi.receivers = new ActivityInfo[num]; in generatePackageInfo()
271 final Activity activity = p.receivers.get(i); in generatePackageInfo()
274 pi.receivers[j++] = generateActivityInfo(p.receivers.get(i), flags); in generatePackageInfo()
1760 owner.receivers.add(a); in parseApplication()
2936 public final ArrayList<Activity> receivers = new ArrayList<Activity>(0); field in PackageParser.Package
3034 for (int i=receivers.size()-1; i>=0; i--) { in setPackageName()
3035 receivers.get(i).setPackageName(newName); in setPackageName()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DBroadcastTest.java89 public void setExpectedReceivers(String[] receivers) { in setExpectedReceivers() argument
90 mExpectedReceivers = receivers; in setExpectedReceivers()
DLaunchpadActivity.java428 private void setExpectedReceivers(String[] receivers) { in setExpectedReceivers() argument
429 mExpectedReceivers = receivers; in setExpectedReceivers()
/frameworks/base/docs/html/guide/topics/manifest/
Dreceiver-element.jd27 subclass) as one of the application's components. Broadcast receivers enable
37 for more on dynamically created receivers.
50 application components, including broadcast receivers. The
Dintent-filter-element.jd99 meaning for both activities and broadcast receivers:
108 <li><p>It controls the order in which broadcast receivers are executed to
Dmanifest-intro.jd35 services, broadcast receivers, and content providers that the application is
217 broadcast receivers
319 receivers) are activated by <i>intents</i>. An intent is a
434 broadcast receivers, and content providers) with permissions. It can employ
/frameworks/base/docs/html/resources/articles/
Dmultitasking-android-way.jd53 …n publish in their manifest: <span style="font-style:italic;">broadcast receivers</span> and <span…
57 <p>Broadcast receivers are great for doing small pieces of work in response to an external stimulus…
61 <p>Process management for services is different than broadcast receivers, because an unbounded numb…
92 …Application widgets are broadcast receivers that Android sends broadcasts to when it needs to inte…
/frameworks/base/docs/html/guide/topics/
Dfundamentals.jd10 services, content providers, and broadcast receivers)</li>
169 <dt><b>Broadcast receivers</b></dt>
176 receivers don't display a user interface, they may <a
217 broadcast receivers&mdash;are activated by an asynchronous message called an <em>intent</em>.
235 <p>For broadcast receivers, the intent simply defines the
335 for broadcast receivers</li>
344 receivers can be either declared in the manifest or created dynamically in code (as
357 {@link android.content.Intent} to start activities, services, and broadcast receivers. You can do so
/frameworks/base/docs/html/guide/basics/
Dbuilding-blocks.jd22 services, intent receivers, and content providers described below)
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java1166 final List<ResolveInfo> receivers = queryIntentReceivers(verification, PACKAGE_MIME_TYPE, in getRequiredVerifierLPr() local
1171 final int N = receivers.size(); in getRequiredVerifierLPr()
1173 final ResolveInfo info = receivers.get(i); in getRequiredVerifierLPr()
2462 return mReceivers.queryIntentForPackage(intent, resolvedType, flags, pkg.receivers); in queryIntentReceivers()
3732 N = pkg.receivers.size(); in scanPackageLI()
3735 PackageParser.Activity a = pkg.receivers.get(i); in scanPackageLI()
3993 N = pkg.receivers.size(); in removePackageLI()
3996 PackageParser.Activity a = pkg.receivers.get(i); in removePackageLI()
4932 List<ResolveInfo> receivers) { in matchComponentForVerifier() argument
4935 final int NR = receivers.size(); in matchComponentForVerifier()
[all …]
/frameworks/base/docs/html/guide/topics/intents/
Dintents-filters.jd31 broadcast receivers &mdash; are activated through messages, called <i>intents</i>.
60 are delivered to all interested broadcast receivers. Many kinds of broadcasts
66 of broadcast receivers to respond to the intent, instantiating them if necessary.
68 only to broadcast receivers, never to activities or services. An intent passed to
343 perform the requested action or the set of broadcast receivers to respond
373 services, and broadcast receivers can have one or more intent filters.
415 broadcast receivers that are registered dynamically by calling <code>{@link android.content.Context…
692 queryBroadcastReceivers()}, for broadcast receivers.
/frameworks/base/docs/html/guide/appendix/
Dglossary.jd50 or more activities, services, listeners, and intent receivers. From a
156 delivers a broadcast Intent to all interested broadcast receivers, which
/frameworks/base/docs/html/resources/faq/
Dcommontasks.jd334 <p>The listening classes, called broadcast receivers, extend {@link android.content.BroadcastReceiv…
344 receivers, not to the &quot;best&quot; match). </p>
365 registering receivers dynamically. For a full code example, see the AlarmService
/frameworks/base/docs/html/guide/developing/projects/
Dindex.jd165 For instance, it describes: certain qualities about the activities, services, intent receivers,
/frameworks/base/docs/html/guide/topics/fundamentals/
Dprocesses-and-threads.jd191 regardless of what happens to the activity. This is the same reason that broadcast receivers should
Dservices.jd167 listeners, receivers, etc. This is the last call the service receives.</dd>
/frameworks/base/docs/html/sdk/
DOLD_RELEASENOTES.jd315 This should make it easier to debug intent receivers, services,
/frameworks/base/api/
Dcurrent.txt6108 field public android.content.pm.ActivityInfo[] receivers;
D14.txt6108 field public android.content.pm.ActivityInfo[] receivers;