Searched refs:receivers (Results 1 – 25 of 27) sorted by relevance
12
154 auto& receivers = mReceivers[{.atomTag = tagId, .configKey = configKey}]; in RegisterReceiver() local155 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() local195 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 …]
90 std::vector<std::unique_ptr<ServiceReceiver>> receivers; member173 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 …]
227 final List<ReceiverRecord> receivers = in sendBroadcast() local229 if (receivers.isEmpty()) { in sendBroadcast()236 for (ReceiverRecord receiverRecord : receivers) { in sendBroadcast()287 final List<ReceiverRecord> receivers = in sendOrderedBroadcast() local289 if (receivers.isEmpty()) { in sendOrderedBroadcast()293 receivers.add( in sendOrderedBroadcast()302 receivers, in sendOrderedBroadcast()312 List<ReceiverRecord> receivers, in postOrderedIntent() argument322 for (ReceiverRecord receiverRecord : receivers) { in postOrderedIntent()
182 List<ResolveInfo> receivers = pm.queryBroadcastReceivers( in setAdminApps() local184 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()
113 final List<ResolveInfo> receivers = getPackageManager().queryIntentActivities(intent, in hasExportIntentHandler() local115 return receivers != null && receivers.size() > 0; in hasExportIntentHandler()
152 final List<ResolveInfo> receivers = mPackageManager.queryBroadcastReceivers( in shouldBeEnabled() local154 return !receivers.isEmpty(); in shouldBeEnabled()
67 List<ResolveInfo> receivers = mPm.queryBroadcastReceivers( in updateState() local70 for (ResolveInfo resolveInfo : receivers) { in updateState()
643 private void registerStatsdDeathRecipient(IStatsd statsd, List<BroadcastReceiver> receivers) { in registerStatsdDeathRecipient() argument644 StatsdDeathRecipient deathRecipient = new StatsdDeathRecipient(statsd, receivers); in registerStatsdDeathRecipient()651 for (BroadcastReceiver receiver : receivers) { in registerStatsdDeathRecipient()809 StatsdDeathRecipient(IStatsd statsd, List<BroadcastReceiver> receivers) { in StatsdDeathRecipient() argument811 mReceiversToUnregister = receivers; in StatsdDeathRecipient()
17 package com.android.settings.sim.receivers;
16 package com.android.settings.sim.receivers;
367 final List<ResolveInfo> receivers = pm.queryBroadcastReceivers(restrictionsIntent, 0); in populateApps() local373 final boolean hasSettings = resolveInfoListHasPackage(receivers, packageName); in populateApps()480 private boolean resolveInfoListHasPackage(List<ResolveInfo> receivers, String packageName) { in resolveInfoListHasPackage() argument481 for (ResolveInfo info : receivers) { in resolveInfoListHasPackage()
1 # Keep all receivers/service classes.
416 final List<ResolveInfo> receivers = pm.queryBroadcastReceivers(restrictionsIntent, 0); in populateApps() local423 final boolean hasSettings = resolveInfoListHasPackage(receivers, packageName); in populateApps()537 private boolean resolveInfoListHasPackage(List<ResolveInfo> receivers, String packageName) { in resolveInfoListHasPackage() argument538 for (ResolveInfo info : receivers) { in resolveInfoListHasPackage()
461 packageInfo.receivers = new ActivityInfo[adminNames.length]; in setUpPackage()466 packageInfo.receivers[i] = receiver; in setUpPackage()
1049 final List<ResolveInfo> receivers = in hasExportIntentHandler() local1052 return receivers != null && receivers.size() > 0; in hasExportIntentHandler()
239 List<ResolveInfo> receivers = mContext.getPackageManager() in shouldManageNotificationThroughDefaultDialer() local241 return receivers.size() > 0; in shouldManageNotificationThroughDefaultDialer()
261 for (ActivityInfo ai : packageInfo.receivers) { in findDeviceAdminInPackage()276 for (ActivityInfo ai : pi.receivers) { in isComponentInPackageInfo()
506 List<ResolveInfo> receivers = mContext.getPackageManager() in shouldManageNotificationThroughDefaultDialer() local508 return receivers.size() > 0; in shouldManageNotificationThroughDefaultDialer()
449 ArrayMap receivers = (ArrayMap) receiversField.get(loadedApk); in setWebViewProxy() local450 for (Object receiverMap : receivers.values()) { in setWebViewProxy()
2300 final List<ResolveInfo> receivers = getPackageManager() in isShortcutCreatable() local2302 return receivers != null && receivers.size() > 0; in isShortcutCreatable()
924 final List<ResolveInfo> receivers = pm.queryBroadcastReceivers(verification, 0); in enableVerifierSetting() local925 return !receivers.isEmpty(); in enableVerifierSetting()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...