/frameworks/support/v4/java/android/support/v4/content/ |
LocalBroadcastManager.java | 71 final ArrayList<ReceiverRecord> receivers; field in class:LocalBroadcastManager.BroadcastRecord 75 receivers = _receivers; 173 ArrayList<ReceiverRecord> receivers = mActions.get(action); local 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 matching thi 219 ArrayList<ReceiverRecord> receivers = null; local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
ApplicationResolverTest.java | 50 List<ShadowApplication.Wrapper> receivers = shadowOf(application).getRegisteredReceivers(); local 51 assertEquals(7, receivers.size()); 52 assertTrue(receivers.get(0).intentFilter.matchAction("com.xtremelabs.robolectric.ACTION1"));
|
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkScorerAppManagerTest.java | 95 List<ResolveInfo> receivers = new ArrayList<>(); local 97 receivers.add(scorer.first); 122 .thenReturn(receivers);
|
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 164 LinearLayout receivers = (LinearLayout)findViewById(R.id.receivers); local 188 if (info.receivers != null) { 189 final int N = info.receivers.length; 191 ActivityInfo ai = info.receivers[i]; 196 receivers.addView(view, lp); 199 receivers.setVisibility(View.GONE);
|
/external/chromium_org/ui/file_manager/video_player/js/cast/ |
caster.js | 138 * @param {Array.<Object>} receivers List of casts. 140 function onReceiver(availability, receivers) { 142 if (!receivers) { 144 receivers = []; 147 player.setCastList(receivers);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
RobolectricConfig.java | 32 private final List<ReceiverAndIntentFilter> receivers = new ArrayList<ReceiverAndIntentFilter>(); field in class:RobolectricConfig 141 receivers.add(new ReceiverAndIntentFilter(receiverName, actions)); 232 return receivers.size(); 237 return receivers.get(receiverIndex).getBroadcastReceiverClassName(); 242 return receivers.get(receiverIndex).getIntentFilterActions();
|
/frameworks/base/services/core/java/com/android/server/am/ |
BroadcastRecord.java | 46 final boolean ordered; // serialize the send to receivers? 53 final List receivers; // contains BroadcastFilter and ResolveInfo field in class:BroadcastRecord 55 long dispatchTime; // when dispatch started on this set of receivers 76 // was found in our list of registered receivers). 161 final int N = receivers != null ? receivers.size() : 0; 165 Object o = receivers.get(i); 192 receivers = _receivers;
|
BroadcastQueue.java | 84 * contains broadcasts to registered receivers, to avoid spinning up 379 if (r.nextReceiver < r.receivers.size()) { 380 Object obj = r.receivers.get(r.nextReceiver); 561 final int N = r.receivers.size(); 565 Object target = r.receivers.get(i); 628 // receivers don't get executed with timeouts. They're intended for 631 int numReceivers = (r.receivers != null) ? r.receivers.size() : 0; 659 if (r.receivers == null || r.nextReceiver >= numReceivers 661 // No more receivers for this broadcast! Send the fina [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsApplication.java | 146 * receivers are enabled) 181 HashMap<String, SmsApplicationData> receivers = new HashMap<String, SmsApplicationData>(); local 183 // Add one entry to the map for every sms receiver (ignoring duplicate sms receivers) 193 if (!receivers.containsKey(packageName)) { 198 receivers.put(packageName, smsApplicationData); 216 final SmsApplicationData smsApplicationData = receivers.get(packageName); 236 final SmsApplicationData smsApplicationData = receivers.get(packageName); 253 final SmsApplicationData smsApplicationData = receivers.get(packageName); 266 final SmsApplicationData smsApplicationData = receivers.get(packageName); 269 receivers.remove(packageName) [all...] |
/frameworks/base/core/java/android/net/ |
NetworkScorerAppManager.java | 92 List<ResolveInfo> receivers = local 94 for (ResolveInfo receiver : receivers) {
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-318420.js | 34 receivers: [bar, bar, undefined, null], 36 for (var a = this.functions, e = this.receivers, c = a.length,
|
regress-1062422.js | 28 // 1062422 Ensure that accessors can handle unexpected receivers.
|
regress-crbug-87478.js | 29 // receivers.
|
regress-1491.js | 29 // receivers.
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
SetDevicePolicyTask.java | 70 for (ActivityInfo ai : pi.receivers) {
|
InstallPackageTask.java | 104 for (ActivityInfo ai : pi.receivers) {
|
/frameworks/base/core/java/android/content/pm/ |
PackageInfo.java | 120 public ActivityInfo[] receivers; field in class:PackageInfo 308 dest.writeTypedArray(receivers, parcelableFlags); 357 receivers = source.createTypedArray(ActivityInfo.CREATOR);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
UiccCarrierPrivilegeRules.java | 312 * @param packageManager PackageManager for getting receivers. 321 List<ResolveInfo> receivers = new ArrayList<ResolveInfo>(); local 322 receivers.addAll(packageManager.queryBroadcastReceivers(intent, 0)); 323 receivers.addAll(packageManager.queryIntentContentProviders(intent, 0)); 324 receivers.addAll(packageManager.queryIntentActivities(intent, 0)); 325 receivers.addAll(packageManager.queryIntentServices(intent, 0)); 327 for (ResolveInfo resolveInfo : receivers) {
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
videoengine_unittest.h | 887 ASSERT_EQ(1U, info.receivers.size()); 889 EXPECT_EQ(1U, info.receivers[0].ssrcs().size()); 890 EXPECT_EQ(info.senders[0].ssrcs()[0], info.receivers[0].ssrcs()[0]); 891 EXPECT_EQ(NumRtpBytes(), info.receivers[0].bytes_rcvd); 892 EXPECT_EQ(NumRtpPackets(), info.receivers[0].packets_rcvd); 893 EXPECT_EQ(0.0, info.receivers[0].fraction_lost); 894 EXPECT_EQ(0, info.receivers[0].packets_lost); 896 // EXPECT_EQ(0, info.receivers[0].packets_concealed); 897 EXPECT_EQ(0, info.receivers[0].firs_sent); 898 EXPECT_EQ(0, info.receivers[0].plis_sent) [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageInfoTest.java | 78 checkInfoArray(expected.receivers, actual.receivers);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
BookmarkUtils.java | 107 List<ResolveInfo> receivers = pm.queryBroadcastReceivers( local 109 return !receivers.isEmpty();
|
/external/chromium_org/v8/test/webkit/fast/js/ |
Promise-then-callback-receiver.js | 26 description('Test whether then callback receivers are correctly set.');
|
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
CaptivePortalLoginActivity.java | 145 ArrayMap receivers = (ArrayMap) receiversField.get(loadedApk); local 146 for (Object receiverMap : receivers.values()) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
SecurityActivity.java | 213 final List<ResolveInfo> receivers = pm.queryBroadcastReceivers(verification, 0); local 214 return (receivers.size() > 0) ? true : false;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
AppLoadingTask.java | 116 List<ResolveInfo> receivers = mPackageManager.queryBroadcastReceivers(restrictionsIntent, local 127 final boolean hasSettings = resolveInfoListHasPackage(receivers, packageName); 197 private boolean resolveInfoListHasPackage(List<ResolveInfo> receivers, String packageName) { 198 for (ResolveInfo info : receivers) {
|