Home
last modified time | relevance | path

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

12

/packages/modules/StatsD/statsd/src/external/
DStatsPullerManager.cpp185 auto& receivers = mReceivers[{.atomTag = tagId, .configKey = configKey}]; in RegisterReceiver() local
186 for (auto it = receivers.begin(); it != receivers.end(); it++) { in RegisterReceiver()
188 VLOG("Receiver already registered of %d", (int)receivers.size()); in RegisterReceiver()
206 receivers.push_back(receiverInfo); in RegisterReceiver()
214 VLOG("Puller for tagId %d registered of %d", tagId, (int)receivers.size()); in RegisterReceiver()
225 std::list<ReceiverInfo>& receivers = receiversIt->second; in UnRegisterReceiver() local
226 for (auto it = receivers.begin(); it != receivers.end(); it++) { in UnRegisterReceiver()
228 receivers.erase(it); in UnRegisterReceiver()
229 VLOG("Puller for tagId %d unregistered of %d", tagId, (int)receivers.size()); in UnRegisterReceiver()
258 vector<ReceiverInfo*> receivers; in OnAlarmFired() local
[all …]
/packages/modules/adb/client/
Dtransport_mdns.cpp90 std::vector<std::unique_ptr<ServiceReceiver>> receivers; member
184 g_state->receivers.push_back(std::move(receiver)); in StartDiscovery()
187 for (auto& r : g_state->receivers) { in StartDiscovery()
262 if (!g_state || g_state->receivers.empty()) { in adb_secure_connect_by_service_name()
271 ForEachService(g_state->receivers[kADBSecureConnectServiceRefIndex], instance_name, cb); in adb_secure_connect_by_service_name()
295 if (!g_state || g_state->receivers.empty()) { in mdns_list_discovered_services()
306 for (const auto& receiver : g_state->receivers) { in mdns_list_discovered_services()
319 if (!g_state || g_state->receivers.empty()) { in mdns_get_connect_service_info()
346 ForEachService(g_state->receivers[*index], mdns_instance->instance_name, cb); in mdns_get_connect_service_info()
357 ForEachService(g_state->receivers[kADBSecureConnectServiceRefIndex], name, cb); in mdns_get_connect_service_info()
[all …]
/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/modules/StatsD/service/java/com/android/server/stats/
DStatsCompanionService.java649 private void registerStatsdDeathRecipient(IStatsd statsd, List<BroadcastReceiver> receivers) { in registerStatsdDeathRecipient() argument
650 StatsdDeathRecipient deathRecipient = new StatsdDeathRecipient(statsd, receivers); in registerStatsdDeathRecipient()
657 for (BroadcastReceiver receiver : receivers) { in registerStatsdDeathRecipient()
760 StatsdDeathRecipient(IStatsd statsd, List<BroadcastReceiver> receivers) { in StatsdDeathRecipient() argument
762 mReceiversToUnregister = receivers; in StatsdDeathRecipient()
/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/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java365 final List<ResolveInfo> receivers = pm.queryBroadcastReceivers(restrictionsIntent, 0); in populateApps() local
371 final boolean hasSettings = resolveInfoListHasPackage(receivers, packageName); in populateApps()
478 private boolean resolveInfoListHasPackage(List<ResolveInfo> receivers, String packageName) { in resolveInfoListHasPackage() argument
479 for (ResolveInfo info : receivers) { in resolveInfoListHasPackage()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java415 final List<ResolveInfo> receivers = pm.queryBroadcastReceivers(restrictionsIntent, 0); in populateApps() local
422 final boolean hasSettings = resolveInfoListHasPackage(receivers, packageName); in populateApps()
536 private boolean resolveInfoListHasPackage(List<ResolveInfo> receivers, String packageName) { in resolveInfoListHasPackage() argument
537 for (ResolveInfo info : receivers) { in resolveInfoListHasPackage()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/receivers/
DMmsReceiver.java17 package com.android.car.messenger.impl.receivers;
DSmsReceiver.java17 package com.android.car.messenger.impl.receivers;
/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/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/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java240 List<ResolveInfo> receivers = mContext.getPackageManager() in shouldManageNotificationThroughDefaultDialer() local
242 return receivers.size() > 0; in shouldManageNotificationThroughDefaultDialer()
/packages/apps/Contacts/src/com/android/contacts/list/
DDefaultContactBrowseListFragment.java1046 final List<ResolveInfo> receivers = in hasExportIntentHandler() local
1049 return receivers != null && receivers.size() > 0; in hasExportIntentHandler()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java262 for (ActivityInfo ai : packageInfo.receivers) { in findDeviceAdminInPackage()
277 for (ActivityInfo ai : pi.receivers) { in isComponentInPackageInfo()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java503 List<ResolveInfo> receivers = mContext.getPackageManager() in shouldManageNotificationThroughDefaultDialer() local
505 return receivers.size() > 0; in shouldManageNotificationThroughDefaultDialer()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java288 ArrayMap receivers = (ArrayMap) receiversField.get(loadedApk); in setWebViewProxy() local
289 for (Object receiverMap : receivers.values()) { in setWebViewProxy()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java903 final List<ResolveInfo> receivers = pm.queryBroadcastReceivers(verification, 0); in enableVerifierSetting() local
904 return !receivers.isEmpty(); in enableVerifierSetting()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java2294 final List<ResolveInfo> receivers = getPackageManager() in isShortcutCreatable() local
2296 return receivers != null && receivers.size() > 0; in isShortcutCreatable()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...

12