Home
last modified time | relevance | path

Searched refs:broadcast (Results 1 – 25 of 82) sorted by relevance

1234

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingUtils.java274 LocalBluetoothLeBroadcast broadcast = in addSourceToTargetSinks() local
276 if (broadcast == null) { in addSourceToTargetSinks()
287 broadcast.getLatestBluetoothLeBroadcastMetadata(); in addSourceToTargetSinks()
318 LocalBluetoothLeBroadcast broadcast = in isBroadcasting()
320 return broadcast != null && broadcast.isEnabled(null); in isBroadcasting()
329 LocalBluetoothLeBroadcast broadcast = in stopBroadcasting() local
331 if (broadcast == null) { in stopBroadcasting()
334 broadcast.stopBroadcast(broadcast.getLatestBroadcastId()); in stopBroadcasting()
387 LocalBluetoothLeBroadcast broadcast = profileManager.getLeAudioBroadcastProfile(); in isAudioSharingProfileReady()
388 if (broadcast == null || !broadcast.isProfileReady()) { in isAudioSharingProfileReady()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterBroadcastDispatcher.java111 Broadcast broadcast = broadcasts.get(i); in sendRefreshSafetySources() local
115 broadcast, in sendRefreshSafetySources()
132 Broadcast broadcast, in sendRefreshSafetySourcesBroadcast() argument
139 String packageName = broadcast.getPackageName(); in sendRefreshSafetySourcesBroadcast()
142 getUserIdsToSourceIds(broadcast, userProfileGroup, refreshReason); in sendRefreshSafetySourcesBroadcast()
191 Broadcast broadcast = broadcasts.get(i); in sendEnabledChanged() local
193 sendEnabledChangedBroadcast(broadcast, broadcastOptions, userProfileGroups); in sendEnabledChanged()
205 Broadcast broadcast, in sendEnabledChangedBroadcast() argument
208 Intent intent = createExplicitEnabledChangedIntent(broadcast.getPackageName()); in sendEnabledChangedBroadcast()
214 broadcast, in sendEnabledChangedBroadcast()
[all …]
DSafetyCenterConfigReader.java408 Broadcast broadcast = packageNameToBroadcast.get(safetySource.getPackageName()); in extractBroadcasts() local
409 if (broadcast == null) { in extractBroadcasts()
410 broadcast = new Broadcast(safetySource.getPackageName()); in extractBroadcasts()
411 packageNameToBroadcast.put(safetySource.getPackageName(), broadcast); in extractBroadcasts() local
412 broadcasts.add(broadcast); in extractBroadcasts()
414 broadcast.mSourceIdsForProfileParent.add(safetySource.getId()); in extractBroadcasts()
416 broadcast.mSourceIdsForProfileParentOnPageOpen.add(safetySource.getId()); in extractBroadcasts()
421 broadcast.mSourceIdsForManagedProfiles.add(safetySource.getId()); in extractBroadcasts()
423 broadcast.mSourceIdsForManagedProfilesOnPageOpen.add( in extractBroadcasts()
434 broadcast.mSourceIdsForPrivateProfile.add(safetySource.getId()); in extractBroadcasts()
[all …]
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java419 byte[] clientMac, boolean broadcast) { in DhcpPacket() argument
427 mBroadcast = broadcast; in DhcpPacket()
504 byte requestCode, boolean broadcast) { in fillInPacket() argument
562 if (broadcast) { in fillInPacket()
1137 boolean broadcast = (bootpFlags & 0x8000) != 0; in decodeFullPacket()
1349 broadcast, ipSrc, rapidCommit); in decodeFullPacket()
1353 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac); in decodeFullPacket()
1357 transactionId, secs, clientIp, relayIp, clientMac, broadcast); in decodeFullPacket()
1366 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac, in decodeFullPacket()
1371 transactionId, secs, relayIp, clientMac, broadcast); in decodeFullPacket()
[all …]
DDhcpAckPacket.java32 DhcpAckPacket(int transId, short secs, boolean broadcast, Inet4Address serverAddress, in DhcpAckPacket() argument
35 super(transId, secs, clientIp, yourIp, serverAddress, relayIp, clientMac, broadcast); in DhcpAckPacket()
36 mBroadcast = broadcast; in DhcpAckPacket()
DDhcpNakPacket.java30 boolean broadcast) { in DhcpNakPacket() argument
32 INADDR_ANY /* nextIp */, relayIp, clientMac, broadcast); in DhcpNakPacket()
DDhcpDiscoverPacket.java35 boolean broadcast, Inet4Address srcIp, boolean rapidCommit) { in DhcpDiscoverPacket() argument
36 super(transId, secs, INADDR_ANY, INADDR_ANY, INADDR_ANY, relayIp, clientMac, broadcast); in DhcpDiscoverPacket()
DDhcpRequestPacket.java30 byte[] clientMac, boolean broadcast) { in DhcpRequestPacket() argument
31 super(transId, secs, clientIp, INADDR_ANY, INADDR_ANY, relayIp, clientMac, broadcast); in DhcpRequestPacket()
DDhcpOfferPacket.java34 DhcpOfferPacket(int transId, short secs, boolean broadcast, Inet4Address serverAddress, in DhcpOfferPacket() argument
36 super(transId, secs, clientIp, yourIp, serverAddress, relayIp, clientMac, broadcast); in DhcpOfferPacket()
/packages/modules/NeuralNetworks/common/types/operations/src/
DBroadcast.cpp24 namespace broadcast { namespace
74 return broadcast::validate(OperationType::ADD, context); in __anon186a66d20102()
77 return broadcast::validate(OperationType::MUL, context); in __anon186a66d20202()
80 return broadcast::validate(OperationType::DIV, context); in __anon186a66d20302()
83 return broadcast::validate(OperationType::SUB, context); in __anon186a66d20402()
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/
DBroadcastScanActivity.java61 BluetoothLeBroadcastMetadata broadcast = null; in onCreate()
65 broadcast = b; in onCreate()
70 if (broadcast == null) { in onCreate()
93 boolean isPublic = broadcast.isPublicBroadcast(); in onCreate()
97 String name = broadcast.getBroadcastName(); in onCreate()
106 broadcast.getPublicBroadcastMetadata(); in onCreate()
120 new BluetoothLeBroadcastMetadata.Builder(broadcast); in onCreate()
DBroadcastItemsAdapter.java101 public void updateBroadcastMetadata(BluetoothLeBroadcastMetadata broadcast) { in updateBroadcastMetadata() argument
102 mBroadcastMetadataList.removeIf(bc -> (bc.getBroadcastId() == broadcast.getBroadcastId())); in updateBroadcastMetadata()
103 mBroadcastMetadataList.add(broadcast); in updateBroadcastMetadata()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeManagerBroadcastQueue.java78 @NonNull QueuedBroadcast broadcast) { in queueOrSendBroadcast() argument
87 broadcast.send(); in queueOrSendBroadcast()
92 .add(broadcast); in queueOrSendBroadcast()
100 for (QueuedBroadcast broadcast : queuedBroadcasts) { in sendAllBroadcasts()
101 broadcast.send(); in sendAllBroadcasts()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DSourceAddedState.java76 Bundle broadcast = new Bundle(); in getOnClickListener()
77 broadcast.putString( in getOnClickListener()
79 broadcast.putInt( in getOnClickListener()
90 .setArguments(broadcast) in getOnClickListener()
/packages/services/Telephony/src/com/android/phone/vvm/
DCarrierVvmPackageInstalledReceiver.java101 Intent broadcast = new Intent(ACTION_CARRIER_VVM_PACKAGE_INSTALLED); in onReceive() local
102 broadcast.putExtra(Intent.EXTRA_PACKAGE_NAME, packageName); in onReceive()
103 broadcast.setPackage(vvmPackage); in onReceive()
104 context.sendBroadcast(broadcast); in onReceive()
/packages/apps/Settings/src/com/android/settings/media/
DMediaOutputIndicatorWorker.java177 LocalBluetoothLeBroadcast broadcast = in isBroadcastSupported() local
179 return broadcast != null ? true : false; in isBroadcastSupported()
187 LocalBluetoothLeBroadcast broadcast = in isDeviceBroadcasting() local
189 if (broadcast == null) { in isDeviceBroadcasting()
192 return broadcast.isEnabled(null); in isDeviceBroadcasting()
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster.cc270 auto& broadcast = kv_it.second; in UpdateStreamingContextTypeOnAllSubgroups() local
271 if (broadcast->GetState() == BroadcastStateMachine::State::STREAMING) { in UpdateStreamingContextTypeOnAllSubgroups()
272 auto announcement = broadcast->GetBroadcastAnnouncement(); in UpdateStreamingContextTypeOnAllSubgroups()
327 broadcast->UpdateBroadcastAnnouncement(std::move(announcement)); in UpdateStreamingContextTypeOnAllSubgroups()
916 auto& broadcast = broadcast_pair.second; in Dump() local
917 if (broadcast) stream << *broadcast; in Dump()
993 const auto& broadcast = instance->broadcasts_.at(broadcast_id); in OnStateMachineEvent() local
994 const auto& broadcast_config = broadcast->GetBroadcastConfig(); in OnStateMachineEvent()
999 broadcast->SetMuted(false); in OnStateMachineEvent()
1163 const std::unique_ptr<BroadcastStateMachine>& broadcast, in sendBroadcastData() argument
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DBootCompletedReceiver.java76 final Intent broadcast = new Intent(ContactsContract.Intents.CONTACTS_DATABASE_CREATED); in onReceive() local
77 broadcast.setFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT); in onReceive()
78 context.sendBroadcast(broadcast, android.Manifest.permission.READ_CONTACTS); in onReceive()
/packages/modules/Bluetooth/flags/
Dsecurity.aconfig7 description: "Key missing broadcast for Classic devices"
14 description: "Key missing broadcast would be send as ordered broadcast"
Dleaudio.aconfig8 description: "New APIs to improve broadcast source sync"
30 description: "Support le audio broadcast audio routing policies"
72 description: "Le audio broadcast feature roll-out control flag"
235 …description: "Introduce getting active state for LE Audio to avoid unnecessary broadcast handover …
282 description: "Destroy broadcast if it fails to start in time"
292 description: "Set broadcast sink volume with setVolume API"
/packages/modules/StatsD/statsd/src/packages/
DUidMap.cpp134 wp<PackageInfoListener> broadcast = NULL; in updateMap() local
164 broadcast = mSubscriber; in updateMap()
170 auto strongPtr = broadcast.promote(); in updateMap()
179 wp<PackageInfoListener> broadcast = NULL; in updateApp() local
201 broadcast = mSubscriber; in updateApp()
215 auto strongPtr = broadcast.promote(); in updateApp()
239 wp<PackageInfoListener> broadcast = NULL; in removeApp() local
265 broadcast = mSubscriber; in removeApp()
268 auto strongPtr = broadcast.promote(); in removeApp()
/packages/apps/Settings/src/com/android/settings/
DSettingsInitialize.java63 public void onReceive(Context context, Intent broadcast) { in onReceive() argument
67 managedProfileSetup(context, pm, broadcast, userInfo); in onReceive()
74 private void managedProfileSetup(Context context, final PackageManager pm, Intent broadcast, in managedProfileSetup() argument
79 Log.i(TAG, "Received broadcast: " + broadcast.getAction() in managedProfileSetup()
/packages/modules/NeuralNetworks/common/cpu_operations/
DBroadcast.cpp52 namespace broadcast { namespace
646 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(ADD, broadcast::prepare, broadcast::executeAdd,
648 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(MUL, broadcast::prepare, broadcast::executeMul,
650 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(SUB, broadcast::prepare, broadcast::executeSub,
652 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(DIV, broadcast::prepare, broadcast::executeDiv,
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/
DEmergencyActionFragment.java36 import com.android.emergency.action.broadcast.EmergencyActionBroadcastReceiver;
187 Intent broadcast = in startTimer()
191 activity.sendBroadcast(broadcast); in startTimer()
/packages/apps/Nfc/testutils/pn532/
Dpn532.py162 def send_broadcast(self, broadcast): argument
164 self.log.debug("Sending broadcast %s", hexlify(broadcast).decode())
169 self.construct_frame([IN_COMMUNICATE_THRU] + list(with_crc16a(broadcast)))

1234