Home
last modified time | relevance | path

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

12

/packages/modules/StatsD/statsd/src/external/
DStatsPullerManager.cpp154 auto& receivers = mReceivers[{.atomTag = tagId, .configKey = configKey}]; in RegisterReceiver() local
155 for (auto it = receivers.begin(); it != receivers.end(); it++) { in RegisterReceiver()
157 VLOG("Receiver already registered of %d", (int)receivers.size()); in RegisterReceiver()
175 receivers.push_back(receiverInfo); in RegisterReceiver()
183 VLOG("Puller for tagId %d registered of %d", tagId, (int)receivers.size()); in RegisterReceiver()
194 std::list<ReceiverInfo>& receivers = receiversIt->second; in UnRegisterReceiver() local
195 for (auto it = receivers.begin(); it != receivers.end(); it++) { in UnRegisterReceiver()
197 receivers.erase(it); in UnRegisterReceiver()
198 VLOG("Puller for tagId %d unregistered of %d", tagId, (int)receivers.size()); in UnRegisterReceiver()
227 vector<ReceiverInfo*> receivers; in OnAlarmFired() local
[all …]
/packages/modules/adb/client/
Dtransport_mdns.cpp90 std::vector<std::unique_ptr<ServiceReceiver>> receivers; member
173 g_state->receivers.push_back(std::move(receiver)); in StartDiscovery()
176 for (auto& r : g_state->receivers) { in StartDiscovery()
251 if (!g_state || g_state->receivers.empty()) { in adb_secure_connect_by_service_name()
260 ForEachService(g_state->receivers[kADBSecureConnectServiceRefIndex], instance_name, cb); in adb_secure_connect_by_service_name()
284 if (!g_state || g_state->receivers.empty()) { in mdns_list_discovered_services()
295 for (const auto& receiver : g_state->receivers) { in mdns_list_discovered_services()
308 if (!g_state || g_state->receivers.empty()) { in mdns_get_connect_service_info()
335 ForEachService(g_state->receivers[*index], mdns_instance->instance_name, cb); in mdns_get_connect_service_info()
346 ForEachService(g_state->receivers[kADBSecureConnectServiceRefIndex], name, cb); in mdns_get_connect_service_info()
[all …]
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/common/
DBroadcastManager.java227 final List<ReceiverRecord> receivers = in sendBroadcast() local
229 if (receivers.isEmpty()) { in sendBroadcast()
236 for (ReceiverRecord receiverRecord : receivers) { in sendBroadcast()
287 final List<ReceiverRecord> receivers = in sendOrderedBroadcast() local
289 if (receivers.isEmpty()) { in sendOrderedBroadcast()
293 receivers.add( in sendOrderedBroadcast()
302 receivers, in sendOrderedBroadcast()
312 List<ReceiverRecord> receivers, in postOrderedIntent() argument
322 for (ReceiverRecord receiverRecord : receivers) { in postOrderedIntent()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/admin/
DDevicePolicyFragment.java182 List<ResolveInfo> receivers = pm.queryBroadcastReceivers( in setAdminApps() local
184 if (receivers.isEmpty()) { in setAdminApps()
188 Log.i(TAG, receivers.size() + " receivers for " + ACTION_DEVICE_ADMIN_ENABLED); in setAdminApps()
190 String[] entries = new String[receivers.size()]; in setAdminApps()
192 for (ResolveInfo receiver : receivers) { in setAdminApps()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportVCardActivity.java113 final List<ResolveInfo> receivers = getPackageManager().queryIntentActivities(intent, in hasExportIntentHandler() local
115 return receivers != null && receivers.size() > 0; in hasExportIntentHandler()
/packages/apps/Settings/src/com/android/settings/development/
DVerifyAppsOverUsbPreferenceController.java152 final List<ResolveInfo> receivers = mPackageManager.queryBroadcastReceivers( in shouldBeEnabled() local
154 return !receivers.isEmpty(); in shouldBeEnabled()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAppsPreferenceController.java67 List<ResolveInfo> receivers = mPm.queryBroadcastReceivers( in updateState() local
70 for (ResolveInfo resolveInfo : receivers) { in updateState()
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsCompanionService.java643 private void registerStatsdDeathRecipient(IStatsd statsd, List<BroadcastReceiver> receivers) { in registerStatsdDeathRecipient() argument
644 StatsdDeathRecipient deathRecipient = new StatsdDeathRecipient(statsd, receivers); in registerStatsdDeathRecipient()
651 for (BroadcastReceiver receiver : receivers) { in registerStatsdDeathRecipient()
809 StatsdDeathRecipient(IStatsd statsd, List<BroadcastReceiver> receivers) { in StatsdDeathRecipient() argument
811 mReceiversToUnregister = receivers; in StatsdDeathRecipient()
/packages/apps/Settings/src/com/android/settings/sim/receivers/
DSimCompleteBootReceiver.java17 package com.android.settings.sim.receivers;
DSuwFinishReceiver.java17 package com.android.settings.sim.receivers;
DSimSlotChangeReceiver.java16 package com.android.settings.sim.receivers;
DSimSlotChangeHandler.java17 package com.android.settings.sim.receivers;
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java367 final List<ResolveInfo> receivers = pm.queryBroadcastReceivers(restrictionsIntent, 0); in populateApps() local
373 final boolean hasSettings = resolveInfoListHasPackage(receivers, packageName); in populateApps()
480 private boolean resolveInfoListHasPackage(List<ResolveInfo> receivers, String packageName) { in resolveInfoListHasPackage() argument
481 for (ResolveInfo info : receivers) { in resolveInfoListHasPackage()
/packages/modules/Connectivity/nearby/tests/multidevices/clients/test_service/fastpair_seeker_data_provider/
Dproguard.flags1 # Keep all receivers/service classes.
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java416 final List<ResolveInfo> receivers = pm.queryBroadcastReceivers(restrictionsIntent, 0); in populateApps() local
423 final boolean hasSettings = resolveInfoListHasPackage(receivers, packageName); in populateApps()
537 private boolean resolveInfoListHasPackage(List<ResolveInfo> receivers, String packageName) { in resolveInfoListHasPackage() argument
538 for (ResolveInfo info : receivers) { in resolveInfoListHasPackage()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java461 packageInfo.receivers = new ActivityInfo[adminNames.length]; in setUpPackage()
466 packageInfo.receivers[i] = receiver; in setUpPackage()
/packages/apps/Contacts/src/com/android/contacts/list/
DDefaultContactBrowseListFragment.java1049 final List<ResolveInfo> receivers = in hasExportIntentHandler() local
1052 return receivers != null && receivers.size() > 0; in hasExportIntentHandler()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java239 List<ResolveInfo> receivers = mContext.getPackageManager() in shouldManageNotificationThroughDefaultDialer() local
241 return receivers.size() > 0; in shouldManageNotificationThroughDefaultDialer()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java261 for (ActivityInfo ai : packageInfo.receivers) { in findDeviceAdminInPackage()
276 for (ActivityInfo ai : pi.receivers) { in isComponentInPackageInfo()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java506 List<ResolveInfo> receivers = mContext.getPackageManager() in shouldManageNotificationThroughDefaultDialer() local
508 return receivers.size() > 0; in shouldManageNotificationThroughDefaultDialer()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java449 ArrayMap receivers = (ArrayMap) receiversField.get(loadedApk); in setWebViewProxy() local
450 for (Object receiverMap : receivers.values()) { in setWebViewProxy()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java2300 final List<ResolveInfo> receivers = getPackageManager() in isShortcutCreatable() local
2302 return receivers != null && receivers.size() > 0; in isShortcutCreatable()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java924 final List<ResolveInfo> receivers = pm.queryBroadcastReceivers(verification, 0); in enableVerifierSetting() local
925 return !receivers.isEmpty(); in enableVerifierSetting()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...

12