Home
last modified time | relevance | path

Searched refs:broadcastName (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothLeBroadcast.java461 String broadcastName = getBroadcastName(); in startPrivateBroadcast() local
470 + broadcastName in startPrivateBroadcast()
481 TextUtils.isEmpty(broadcastName) ? null : broadcastName, in startPrivateBroadcast()
500 @Nullable String broadcastName, in buildBroadcastSettings() argument
506 .setBroadcastName(broadcastName) in buildBroadcastSettings()
569 public void setBroadcastName(String broadcastName) { in setBroadcastName() argument
570 setBroadcastName(broadcastName, /* updateContentResolver= */ true); in setBroadcastName()
573 private void setBroadcastName(String broadcastName, boolean updateContentResolver) { in setBroadcastName() argument
574 if (TextUtils.isEmpty(broadcastName)) { in setBroadcastName()
578 if (mBroadcastName != null && TextUtils.equals(mBroadcastName, broadcastName)) { in setBroadcastName()
[all …]
DBluetoothLeBroadcastMetadataExt.kt75 require(this.broadcastName != null) { "Broadcast name is mandatory for QR code" } in <lambda>()
77 this.broadcastName?.toByteArray(Charsets.UTF_8), Base64.NO_WRAP))) in <lambda>()
162 var broadcastName: String? = null in <lambda>() variable
187 require(broadcastName == null) { "Duplicate broadcastName: $input" } in <lambda>()
188 broadcastName = String(Base64.decode(value, Base64.NO_WRAP)) in <lambda>()
258 "broadcastId=$broadcastId, broadcastName=$broadcastName, " + in <lambda>()
267 require(broadcastName != null) { in <lambda>()
268 "broadcastName($broadcastName) must present in QR code string" in <lambda>()
317 setBroadcastName(broadcastName) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputBroadcastDialogTest.java238 final TextView broadcastName = mMediaOutputBroadcastDialog.mDialogView in handleLeBroadcastMetadataChanged_checkBroadcastName() local
243 assertThat(broadcastName.getText().toString()).isEqualTo(BROADCAST_NAME_TEST); in handleLeBroadcastMetadataChanged_checkBroadcastName()
284 TextView broadcastName = mMediaOutputBroadcastDialog.mDialogView.requireViewById( in afterTextChanged_nameLengthMoreThanMax_showErrorMessage() local
286 broadcastName.setText(BROADCAST_NAME_TEST); in afterTextChanged_nameLengthMoreThanMax_showErrorMessage()
308 TextView broadcastName = mMediaOutputBroadcastDialog.mDialogView.requireViewById( in afterTextChanged_enterValidNameAfterLengthMoreThanMax_noErrorMessage() local
310 broadcastName.setText(BROADCAST_NAME_TEST); in afterTextChanged_enterValidNameAfterLengthMoreThanMax_noErrorMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputController.java998 void setBroadcastName(String broadcastName) { in setBroadcastName() argument
1005 broadcast.setProgramInfo(broadcastName); in setBroadcastName()