/frameworks/support/core-utils/java/android/support/v4/content/ |
D | LocalBroadcastManager.java | 75 final ArrayList<ReceiverRecord> receivers; field in LocalBroadcastManager.BroadcastRecord 79 receivers = _receivers; in BroadcastRecord() 176 final ArrayList<ReceiverRecord> receivers = mActions.get(action); in unregisterReceiver() local 177 if (receivers != null) { in unregisterReceiver() 178 for (int k=receivers.size()-1; k>=0; k--) { in unregisterReceiver() 179 final ReceiverRecord rec = receivers.get(k); in unregisterReceiver() 182 receivers.remove(k); in unregisterReceiver() 185 if (receivers.size() <= 0) { in unregisterReceiver() 227 ArrayList<ReceiverRecord> receivers = null; in sendBroadcast() local 244 if (receivers == null) { in sendBroadcast() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastRecord.java | 60 final List receivers; // contains BroadcastFilter and ResolveInfo field in BroadcastRecord 190 final int N = receivers != null ? receivers.size() : 0; in dump() 194 Object o = receivers.get(i); in dump() 237 receivers = _receivers; in BroadcastRecord() 272 receivers = from.receivers; in BroadcastRecord() 302 if ((userId != UserHandle.USER_ALL && this.userId != userId) || receivers == null) { in cleanupDisabledPackageReceiversLocked() 308 for (int i = receivers.size() - 1; i >= 0; i--) { in cleanupDisabledPackageReceiversLocked() 309 o = receivers.get(i); in cleanupDisabledPackageReceiversLocked() 323 receivers.remove(i); in cleanupDisabledPackageReceiversLocked() 329 nextReceiver = Math.min(nextReceiver, receivers.size()); in cleanupDisabledPackageReceiversLocked()
|
D | BroadcastQueue.java | 439 if (r.nextReceiver < r.receivers.size()) { in finishReceiverLocked() 440 Object obj = r.receivers.get(r.nextReceiver); in finishReceiverLocked() 850 final int N = r.receivers.size(); in processNextBroadcast() 854 Object target = r.receivers.get(i); in processNextBroadcast() 918 int numReceivers = (r.receivers != null) ? r.receivers.size() : 0; in processNextBroadcast() 946 if (r.receivers == null || r.nextReceiver >= numReceivers in processNextBroadcast() 1020 final Object nextReceiver = r.receivers.get(recIdx); in processNextBroadcast() 1453 curReceiver = r.receivers.get(r.nextReceiver-1); in broadcastTimeoutLocked() 1551 if (logIndex >= 0 && logIndex < r.receivers.size()) { in logBroadcastReceiverDiscardLocked() 1552 Object curReceiver = r.receivers.get(logIndex); in logBroadcastReceiverDiscardLocked()
|
D | ProcessRecord.java | 171 final ArraySet<ReceiverList> receivers = new ArraySet<>(); field in ProcessRecord 426 if (receivers.size() > 0) { in dump() 428 for (int i=0; i<receivers.size(); i++) { in dump() 429 pw.print(prefix); pw.print(" - "); pw.println(receivers.valueAt(i)); in dump()
|
D | ActivityManagerService.java | 18132 for (int i = app.receivers.size() - 1; i >= 0; i--) { 18133 removeReceiverLocked(app.receivers.valueAt(i)); 18135 app.receivers.clear(); 18846 rl.app.receivers.add(rl); 18883 ArrayList receivers = new ArrayList(); 18884 receivers.add(bf); 18891 null, -1, -1, false, null, null, AppOpsManager.OP_NONE, null, receivers, 18924 rl.app.receivers.remove(rl); 18970 List<ResolveInfo> receivers = null; 18999 if (receivers == null) { [all …]
|
/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
D | VendorUtils.java | 150 List<ResolveInfo> receivers = in getAppReceiverFromPackageName() local 152 if (receivers != null && receivers.size() > 0) { in getAppReceiverFromPackageName()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | Partner.java | 133 List<ResolveInfo> receivers; in get() local 135 receivers = pm.queryBroadcastReceivers( in get() 143 receivers = pm.queryBroadcastReceivers(intent, 0); in get() 146 for (ResolveInfo info : receivers) { in get()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInfo.java | 120 public ActivityInfo[] receivers; field in PackageInfo 345 dest.writeTypedArray(receivers, parcelableFlags | Parcelable.PARCELABLE_ELIDE_DUPLICATES); in writeToParcel() 397 receivers = source.createTypedArray(ActivityInfo.CREATOR); in PackageInfo() 422 propagateApplicationInfo(applicationInfo, receivers); in PackageInfo()
|
D | PackageParser.java | 727 final int N = p.receivers.size(); in generatePackageInfo() 732 final Activity a = p.receivers.get(i); in generatePackageInfo() 737 pi.receivers = ArrayUtils.trimToSize(res, num); in generatePackageInfo() 3788 owner.receivers.add(a); in parseBaseApplication() 4042 owner.receivers.add(a); in parseSplitApplication() 5871 public final ArrayList<Activity> receivers = new ArrayList<Activity>(0); field in PackageParser.Package 6194 for (int i=receivers.size()-1; i>=0; i--) { in setPackageName() 6195 receivers.get(i).setPackageName(newName); in setPackageName() 6214 for (int i=receivers.size()-1; i>=0; i--) { in hasComponentClassName() 6215 if (name.equals(receivers.get(i).className)) { in hasComponentClassName() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsApplication.java | 230 HashMap<String, SmsApplicationData> receivers = new HashMap<String, SmsApplicationData>(); in getApplicationCollectionInternal() local 242 if (!receivers.containsKey(packageName)) { in getApplicationCollectionInternal() 246 receivers.put(packageName, smsApplicationData); in getApplicationCollectionInternal() 264 final SmsApplicationData smsApplicationData = receivers.get(packageName); in getApplicationCollectionInternal() 284 final SmsApplicationData smsApplicationData = receivers.get(packageName); in getApplicationCollectionInternal() 301 final SmsApplicationData smsApplicationData = receivers.get(packageName); in getApplicationCollectionInternal() 321 final SmsApplicationData smsApplicationData = receivers.get(packageName); in getApplicationCollectionInternal() 346 final SmsApplicationData smsApplicationData = receivers.get(packageName); in getApplicationCollectionInternal() 371 final SmsApplicationData smsApplicationData = receivers.get(packageName); in getApplicationCollectionInternal() 389 final SmsApplicationData smsApplicationData = receivers.get(packageName); in getApplicationCollectionInternal() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierSmsUtils.java | 59 List<ResolveInfo> receivers = packageManager.queryIntentServices(intent, 0); in getCarrierImsPackageForIntent() local 60 for (ResolveInfo info : receivers) { in getCarrierImsPackageForIntent()
|
D | CarrierServicesSmsFilter.java | 136 List<ResolveInfo> receivers = packageManager.queryIntentServices(intent, 0); in getSystemAppForIntent() local 139 for (ResolveInfo info : receivers) { in getSystemAppForIntent()
|
D | CarrierSignalAgent.java | 297 private void broadcast(Intent intent, Set<ComponentName> receivers, boolean wakeup) { in broadcast() argument 299 for (ComponentName name : receivers) { in broadcast()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRules.java | 355 List<ResolveInfo> receivers = new ArrayList<ResolveInfo>(); in getCarrierPackageNamesForIntent() local 356 receivers.addAll(packageManager.queryBroadcastReceivers(intent, 0)); in getCarrierPackageNamesForIntent() 357 receivers.addAll(packageManager.queryIntentContentProviders(intent, 0)); in getCarrierPackageNamesForIntent() 358 receivers.addAll(packageManager.queryIntentActivities(intent, 0)); in getCarrierPackageNamesForIntent() 359 receivers.addAll(packageManager.queryIntentServices(intent, 0)); in getCarrierPackageNamesForIntent() 361 for (ResolveInfo resolveInfo : receivers) { in getCarrierPackageNamesForIntent()
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiDeviceServer.java | 448 MidiReceiver[] receivers = new MidiReceiver[mOutputPortCount]; in getOutputPortReceivers() local 449 System.arraycopy(mOutputPortDispatchers, 0, receivers, 0, mOutputPortCount); in getOutputPortReceivers() 450 return receivers; in getOutputPortReceivers()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageParserTest.java | 330 assertEquals(1, p.receivers.size()); in assertOneComponentOfEachType() 332 packageName, 0 /* intents */, p.receivers.get(0)); in assertOneComponentOfEachType() 394 assertMetadata(p.receivers.get(0).metaData, in checkPackageWithComponents()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageParserTest.java | 229 assertEquals(a.receivers.size(), b.receivers.size()); in assertPackagesEqual() 230 for (int i = 0; i < a.receivers.size(); ++i) { in assertPackagesEqual() 231 assertActivitiesEqual(a.receivers.get(i), b.receivers.get(i)); in assertPackagesEqual() 452 pkg.receivers.add(new PackageParser.Activity(dummy, new ActivityInfo())); in setKnownFields()
|
/frameworks/base/libs/hwui/ |
D | LayerBuilder.h | 95 void replayBakedOpsImpl(void* arg, BakedOpReceiver* receivers, MergedOpReceiver*) const;
|
D | FrameBuilder.h | 207 void replayBakedOpsImpl(void* arg, BakedOpReceiver* receivers);
|
/frameworks/base/media/lib/signer/ |
D | README.txt | 7 o This library is effectively a PUBLIC API for unbundled CAST receivers
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 165 ArrayMap receivers = (ArrayMap) receiversField.get(loadedApk); in setWebViewProxy() local 166 for (Object receiverMap : receivers.values()) { in setWebViewProxy()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | BroadcastTest.java | 90 public void setExpectedReceivers(String[] receivers) { in setExpectedReceivers() argument 91 mExpectedReceivers = receivers; in setExpectedReceivers()
|
D | LaunchpadActivity.java | 428 private void setExpectedReceivers(String[] receivers) { in setExpectedReceivers() argument 429 mExpectedReceivers = receivers; in setExpectedReceivers()
|
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 168 ArrayMap receivers = (ArrayMap) receiversField.get(loadedApk); in setWebViewProxy() local 169 for (Object receiverMap : receivers.values()) { in setWebViewProxy()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 890 Map<String, Integer> receivers = accounts.mReceiversForType.get(type); in registerAccountListener() local 891 if (receivers == null) { in registerAccountListener() 892 receivers = new HashMap<>(); in registerAccountListener() 893 accounts.mReceiversForType.put(type, receivers); in registerAccountListener() 895 Integer cnt = receivers.get(opPackageName); in registerAccountListener() 896 receivers.put(opPackageName, cnt != null ? cnt + 1 : 1); in registerAccountListener() 923 Map<String, Integer> receivers = accounts.mReceiversForType.get(type); in unregisterAccountListener() local 924 if (receivers == null || receivers.get(opPackageName) == null) { in unregisterAccountListener() 927 Integer cnt = receivers.get(opPackageName); in unregisterAccountListener() 929 receivers.remove(opPackageName); in unregisterAccountListener() [all …]
|