| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
package android.service.voice; |
| 18 |
|
| 19 |
import android.annotation.IntDef; |
| 20 |
import android.annotation.NonNull; |
| 21 |
import android.annotation.Nullable; |
| 22 |
import android.annotation.SystemApi; |
| 23 |
import android.compat.annotation.UnsupportedAppUsage; |
| 24 |
import android.content.res.Resources; |
| 25 |
import android.media.AudioRecord; |
| 26 |
import android.media.MediaSyncEvent; |
| 27 |
import android.os.Parcel; |
| 28 |
import android.os.Parcelable; |
| 29 |
import android.os.PersistableBundle; |
| 30 |
|
| 31 |
import com.android.internal.R; |
| 32 |
import com.android.internal.util.DataClass; |
| 33 |
import com.android.internal.util.Preconditions; |
| 34 |
|
| 35 |
import java.lang.annotation.Retention; |
| 36 |
import java.lang.annotation.RetentionPolicy; |
| 37 |
import java.util.ArrayList; |
| 38 |
import java.util.Collections; |
| 39 |
import java.util.List; |
| 40 |
import java.util.Objects; |
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
@DataClass( |
| 48 |
genConstructor = false, |
| 49 |
genBuilder = true, |
| 50 |
genEqualsHashCode = true, |
| 51 |
genHiddenConstDefs = true, |
| 52 |
genParcelable = true, |
| 53 |
genToString = true |
| 54 |
) |
| 55 |
@SystemApi |
| 56 |
public final class HotwordDetectedResult implements Parcelable { |
| 57 |
|
| 58 |
|
| 59 |
public static final int CONFIDENCE_LEVEL_NONE = 0; |
| 60 |
|
| 61 |
|
| 62 |
public static final int CONFIDENCE_LEVEL_LOW = 1; |
| 63 |
|
| 64 |
|
| 65 |
public static final int CONFIDENCE_LEVEL_LOW_MEDIUM = 2; |
| 66 |
|
| 67 |
|
| 68 |
public static final int CONFIDENCE_LEVEL_MEDIUM = 3; |
| 69 |
|
| 70 |
|
| 71 |
public static final int CONFIDENCE_LEVEL_MEDIUM_HIGH = 4; |
| 72 |
|
| 73 |
|
| 74 |
public static final int CONFIDENCE_LEVEL_HIGH = 5; |
| 75 |
|
| 76 |
|
| 77 |
public static final int CONFIDENCE_LEVEL_VERY_HIGH = 6; |
| 78 |
|
| 79 |
|
| 80 |
@IntDef(prefix = {"CONFIDENCE_LEVEL_"}, value = { |
| 81 |
CONFIDENCE_LEVEL_NONE, |
| 82 |
CONFIDENCE_LEVEL_LOW, |
| 83 |
CONFIDENCE_LEVEL_LOW_MEDIUM, |
| 84 |
CONFIDENCE_LEVEL_MEDIUM, |
| 85 |
CONFIDENCE_LEVEL_MEDIUM_HIGH, |
| 86 |
CONFIDENCE_LEVEL_HIGH, |
| 87 |
CONFIDENCE_LEVEL_VERY_HIGH |
| 88 |
}) |
| 89 |
@interface HotwordConfidenceLevelValue { |
| 90 |
} |
| 91 |
|
| 92 |
|
| 93 |
public static final int HOTWORD_OFFSET_UNSET = -1; |
| 94 |
|
| 95 |
|
| 96 |
public static final int AUDIO_CHANNEL_UNSET = -1; |
| 97 |
|
| 98 |
|
| 99 |
private static final int LIMIT_HOTWORD_OFFSET_MAX_VALUE = 60 * 60 * 1000; |
| 100 |
|
| 101 |
|
| 102 |
private static final int LIMIT_AUDIO_CHANNEL_MAX_VALUE = 63; |
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
|
| 108 |
|
| 109 |
private static final String EXTRA_PROXIMITY = |
| 110 |
"android.service.voice.extra.PROXIMITY"; |
| 111 |
|
| 112 |
|
| 113 |
). |
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
public static final int PROXIMITY_UNKNOWN = -1; |
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
|
| 124 |
public static final int PROXIMITY_NEAR = 1; |
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
public static final int PROXIMITY_FAR = 2; |
| 132 |
|
| 133 |
|
| 134 |
@IntDef(prefix = {"PROXIMITY"}, value = { |
| 135 |
PROXIMITY_UNKNOWN, |
| 136 |
PROXIMITY_NEAR, |
| 137 |
PROXIMITY_FAR |
| 138 |
}) |
| 139 |
@Retention(RetentionPolicy.SOURCE) |
| 140 |
public @interface ProximityValue {} |
| 141 |
|
| 142 |
|
| 143 |
@HotwordConfidenceLevelValue |
| 144 |
private final int mConfidenceLevel; |
| 145 |
private static int defaultConfidenceLevel() { |
| 146 |
return CONFIDENCE_LEVEL_NONE; |
| 147 |
} |
| 148 |
|
| 149 |
|
| 150 |
|
| 151 |
|
| 152 |
|
| 153 |
|
| 154 |
@Nullable |
| 155 |
private MediaSyncEvent mMediaSyncEvent = null; |
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
|
| 162 |
|
| 163 |
private int mHotwordOffsetMillis = HOTWORD_OFFSET_UNSET; |
| 164 |
|
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
|
| 169 |
|
| 170 |
|
| 171 |
private int mHotwordDurationMillis = 0; |
| 172 |
|
| 173 |
|
| 174 |
|
| 175 |
|
| 176 |
|
| 177 |
|
| 178 |
private int mAudioChannel = AUDIO_CHANNEL_UNSET; |
| 179 |
|
| 180 |
|
| 181 |
|
| 182 |
|
| 183 |
|
| 184 |
private boolean mHotwordDetectionPersonalized = false; |
| 185 |
|
| 186 |
|
| 187 |
|
| 188 |
|
| 189 |
|
| 190 |
|
| 191 |
private final int mScore; |
| 192 |
private static int defaultScore() { |
| 193 |
return 0; |
| 194 |
} |
| 195 |
|
| 196 |
|
| 197 |
|
| 198 |
|
| 199 |
|
| 200 |
|
| 201 |
private final int mPersonalizedScore; |
| 202 |
private static int defaultPersonalizedScore() { |
| 203 |
return 0; |
| 204 |
} |
| 205 |
|
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
|
| 210 |
|
| 211 |
public static int getMaxScore() { |
| 212 |
return 255; |
| 213 |
} |
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
|
| 220 |
private final int mHotwordPhraseId; |
| 221 |
private static int defaultHotwordPhraseId() { |
| 222 |
return 0; |
| 223 |
} |
| 224 |
|
| 225 |
|
| 226 |
|
| 227 |
|
| 228 |
public static int getMaxHotwordPhraseId() { |
| 229 |
return 63; |
| 230 |
} |
| 231 |
|
| 232 |
|
| 233 |
|
| 234 |
|
| 235 |
|
| 236 |
|
| 237 |
@NonNull |
| 238 |
private final List<HotwordAudioStream> mAudioStreams; |
| 239 |
private static List<HotwordAudioStream> defaultAudioStreams() { |
| 240 |
return Collections.emptyList(); |
| 241 |
} |
| 242 |
|
| 243 |
|
| 244 |
|
| 245 |
|
| 246 |
|
| 247 |
|
| 248 |
|
| 249 |
|
| 250 |
|
| 251 |
|
| 252 |
|
| 253 |
|
| 254 |
|
| 255 |
|
| 256 |
|
| 257 |
|
| 258 |
|
| 259 |
|
| 260 |
|
| 261 |
|
| 262 |
|
| 263 |
|
| 264 |
|
| 265 |
|
| 266 |
|
| 267 |
|
| 268 |
@NonNull |
| 269 |
private final PersistableBundle mExtras; |
| 270 |
private static PersistableBundle defaultExtras() { |
| 271 |
return new PersistableBundle(); |
| 272 |
} |
| 273 |
|
| 274 |
private static int sMaxBundleSize = -1; |
| 275 |
|
| 276 |
|
| 277 |
|
| 278 |
|
| 279 |
|
| 280 |
|
| 281 |
|
| 282 |
public static int getMaxBundleSize() { |
| 283 |
if (sMaxBundleSize < 0) { |
| 284 |
sMaxBundleSize = Resources.getSystem().getInteger( |
| 285 |
R.integer.config_hotwordDetectedResultMaxBundleSize); |
| 286 |
} |
| 287 |
return sMaxBundleSize; |
| 288 |
} |
| 289 |
|
| 290 |
|
| 291 |
|
| 292 |
|
| 293 |
|
| 294 |
|
| 295 |
|
| 296 |
|
| 297 |
|
| 298 |
|
| 299 |
public @Nullable MediaSyncEvent getMediaSyncEvent() { |
| 300 |
return mMediaSyncEvent; |
| 301 |
} |
| 302 |
|
| 303 |
|
| 304 |
|
| 305 |
|
| 306 |
|
| 307 |
|
| 308 |
public static int getParcelableSize(@NonNull Parcelable parcelable) { |
| 309 |
final Parcel p = Parcel.obtain(); |
| 310 |
parcelable.writeToParcel(p, 0); |
| 311 |
p.setDataPosition(0); |
| 312 |
final int size = p.dataSize(); |
| 313 |
p.recycle(); |
| 314 |
return size; |
| 315 |
} |
| 316 |
|
| 317 |
|
| 318 |
|
| 319 |
|
| 320 |
|
| 321 |
|
| 322 |
public static int getUsageSize(@NonNull HotwordDetectedResult hotwordDetectedResult) { |
| 323 |
int totalBits = 0; |
| 324 |
|
| 325 |
if (hotwordDetectedResult.getConfidenceLevel() != defaultConfidenceLevel()) { |
| 326 |
totalBits += bitCount(CONFIDENCE_LEVEL_VERY_HIGH); |
| 327 |
} |
| 328 |
if (hotwordDetectedResult.getHotwordOffsetMillis() != HOTWORD_OFFSET_UNSET) { |
| 329 |
totalBits += bitCount(LIMIT_HOTWORD_OFFSET_MAX_VALUE); |
| 330 |
} |
| 331 |
if (hotwordDetectedResult.getHotwordDurationMillis() != 0) { |
| 332 |
totalBits += bitCount(AudioRecord.getMaxSharedAudioHistoryMillis()); |
| 333 |
} |
| 334 |
if (hotwordDetectedResult.getAudioChannel() != AUDIO_CHANNEL_UNSET) { |
| 335 |
totalBits += bitCount(LIMIT_AUDIO_CHANNEL_MAX_VALUE); |
| 336 |
} |
| 337 |
|
| 338 |
|
| 339 |
totalBits += 1; |
| 340 |
|
| 341 |
if (hotwordDetectedResult.getScore() != defaultScore()) { |
| 342 |
totalBits += bitCount(HotwordDetectedResult.getMaxScore()); |
| 343 |
} |
| 344 |
if (hotwordDetectedResult.getPersonalizedScore() != defaultPersonalizedScore()) { |
| 345 |
totalBits += bitCount(HotwordDetectedResult.getMaxScore()); |
| 346 |
} |
| 347 |
if (hotwordDetectedResult.getHotwordPhraseId() != defaultHotwordPhraseId()) { |
| 348 |
totalBits += bitCount(HotwordDetectedResult.getMaxHotwordPhraseId()); |
| 349 |
} |
| 350 |
PersistableBundle persistableBundle = hotwordDetectedResult.getExtras(); |
| 351 |
if (!persistableBundle.isEmpty()) { |
| 352 |
totalBits += getParcelableSize(persistableBundle) * Byte.SIZE; |
| 353 |
} |
| 354 |
return totalBits; |
| 355 |
} |
| 356 |
|
| 357 |
private static int bitCount(long value) { |
| 358 |
int bits = 0; |
| 359 |
while (value > 0) { |
| 360 |
bits++; |
| 361 |
value = value >> 1; |
| 362 |
} |
| 363 |
return bits; |
| 364 |
} |
| 365 |
|
| 366 |
private void onConstructed() { |
| 367 |
Preconditions.checkArgumentInRange(mScore, 0, getMaxScore(), "score"); |
| 368 |
Preconditions.checkArgumentInRange(mPersonalizedScore, 0, getMaxScore(), |
| 369 |
"personalizedScore"); |
| 370 |
Preconditions.checkArgumentInRange(mHotwordPhraseId, 0, getMaxHotwordPhraseId(), |
| 371 |
"hotwordPhraseId"); |
| 372 |
Preconditions.checkArgumentInRange((long) mHotwordDurationMillis, 0, |
| 373 |
AudioRecord.getMaxSharedAudioHistoryMillis(), "hotwordDurationMillis"); |
| 374 |
if (mHotwordOffsetMillis != HOTWORD_OFFSET_UNSET) { |
| 375 |
Preconditions.checkArgumentInRange(mHotwordOffsetMillis, 0, |
| 376 |
LIMIT_HOTWORD_OFFSET_MAX_VALUE, "hotwordOffsetMillis"); |
| 377 |
} |
| 378 |
if (mAudioChannel != AUDIO_CHANNEL_UNSET) { |
| 379 |
Preconditions.checkArgumentInRange(mAudioChannel, 0, LIMIT_AUDIO_CHANNEL_MAX_VALUE, |
| 380 |
"audioChannel"); |
| 381 |
} |
| 382 |
if (!mExtras.isEmpty()) { |
| 383 |
|
| 384 |
|
| 385 |
|
| 386 |
if (mExtras.containsKey(EXTRA_PROXIMITY)) { |
| 387 |
int proximityValue = mExtras.getInt(EXTRA_PROXIMITY); |
| 388 |
mExtras.remove(EXTRA_PROXIMITY); |
| 389 |
|
| 390 |
|
| 391 |
if (mExtras.size() > 0) { |
| 392 |
Preconditions.checkArgumentInRange(getParcelableSize(mExtras), 0, |
| 393 |
getMaxBundleSize(), "extras"); |
| 394 |
} |
| 395 |
mExtras.putInt(EXTRA_PROXIMITY, proximityValue); |
| 396 |
} else { |
| 397 |
Preconditions.checkArgumentInRange(getParcelableSize(mExtras), 0, |
| 398 |
getMaxBundleSize(), "extras"); |
| 399 |
} |
| 400 |
} |
| 401 |
} |
| 402 |
|
| 403 |
|
| 404 |
|
| 405 |
|
| 406 |
|
| 407 |
|
| 408 |
@UnsupportedAppUsage |
| 409 |
public @NonNull List<HotwordAudioStream> getAudioStreams() { |
| 410 |
return List.copyOf(mAudioStreams); |
| 411 |
} |
| 412 |
|
| 413 |
@DataClass.Suppress("addAudioStreams") |
| 414 |
abstract static class BaseBuilder { |
| 415 |
|
| 416 |
|
| 417 |
|
| 418 |
|
| 419 |
|
| 420 |
|
| 421 |
@UnsupportedAppUsage |
| 422 |
public @NonNull Builder setAudioStreams(@NonNull List<HotwordAudioStream> value) { |
| 423 |
Objects.requireNonNull(value, "value should not be null"); |
| 424 |
final Builder builder = (Builder) this; |
| 425 |
|
| 426 |
builder.mBuilderFieldsSet |= 0x200; |
| 427 |
builder.mAudioStreams = List.copyOf(value); |
| 428 |
return builder; |
| 429 |
} |
| 430 |
} |
| 431 |
|
| 432 |
|
| 433 |
|
| 434 |
|
| 435 |
|
| 436 |
public Builder buildUpon() { |
| 437 |
return new Builder() |
| 438 |
.setConfidenceLevel(mConfidenceLevel) |
| 439 |
.setMediaSyncEvent(mMediaSyncEvent) |
| 440 |
.setHotwordOffsetMillis(mHotwordOffsetMillis) |
| 441 |
.setHotwordDurationMillis(mHotwordDurationMillis) |
| 442 |
.setAudioChannel(mAudioChannel) |
| 443 |
.setHotwordDetectionPersonalized(mHotwordDetectionPersonalized) |
| 444 |
.setScore(mScore) |
| 445 |
.setPersonalizedScore(mPersonalizedScore) |
| 446 |
.setHotwordPhraseId(mHotwordPhraseId) |
| 447 |
.setAudioStreams(mAudioStreams) |
| 448 |
.setExtras(mExtras); |
| 449 |
} |
| 450 |
|
| 451 |
|
| 452 |
|
| 453 |
|
| 454 |
|
| 455 |
|
| 456 |
|
| 457 |
|
| 458 |
|
| 459 |
|
| 460 |
|
| 461 |
public void setProximity(double distance) { |
| 462 |
int proximityLevel = convertToProximityLevel(distance); |
| 463 |
if (proximityLevel != PROXIMITY_UNKNOWN) { |
| 464 |
mExtras.putInt(EXTRA_PROXIMITY, proximityLevel); |
| 465 |
} |
| 466 |
} |
| 467 |
|
| 468 |
|
| 469 |
|
| 470 |
|
| 471 |
|
| 472 |
|
| 473 |
|
| 474 |
|
| 475 |
|
| 476 |
@ProximityValue |
| 477 |
private int convertToProximityLevel(double distance) { |
| 478 |
if (distance < 0) { |
| 479 |
return PROXIMITY_UNKNOWN; |
| 480 |
} else if (distance <= 3) { |
| 481 |
return PROXIMITY_NEAR; |
| 482 |
} else { |
| 483 |
return PROXIMITY_FAR; |
| 484 |
} |
| 485 |
} |
| 486 |
|
| 487 |
|
| 488 |
|
| 489 |
|
| 490 |
|
| 491 |
|
| 492 |
|
| 493 |
|
| 494 |
|
| 495 |
|
| 496 |
|
| 497 |
|
| 498 |
|
| 499 |
|
| 500 |
|
| 501 |
|
| 502 |
|
| 503 |
@IntDef(prefix = "CONFIDENCE_LEVEL_", value = { |
| 504 |
CONFIDENCE_LEVEL_NONE, |
| 505 |
CONFIDENCE_LEVEL_LOW, |
| 506 |
CONFIDENCE_LEVEL_LOW_MEDIUM, |
| 507 |
CONFIDENCE_LEVEL_MEDIUM, |
| 508 |
CONFIDENCE_LEVEL_MEDIUM_HIGH, |
| 509 |
CONFIDENCE_LEVEL_HIGH, |
| 510 |
CONFIDENCE_LEVEL_VERY_HIGH |
| 511 |
}) |
| 512 |
@Retention(RetentionPolicy.SOURCE) |
| 513 |
@DataClass.Generated.Member |
| 514 |
public @interface ConfidenceLevel {} |
| 515 |
|
| 516 |
|
| 517 |
@DataClass.Generated.Member |
| 518 |
public static String confidenceLevelToString(@ConfidenceLevel int value) { |
| 519 |
switch (value) { |
| 520 |
case CONFIDENCE_LEVEL_NONE: |
| 521 |
return "CONFIDENCE_LEVEL_NONE"; |
| 522 |
case CONFIDENCE_LEVEL_LOW: |
| 523 |
return "CONFIDENCE_LEVEL_LOW"; |
| 524 |
case CONFIDENCE_LEVEL_LOW_MEDIUM: |
| 525 |
return "CONFIDENCE_LEVEL_LOW_MEDIUM"; |
| 526 |
case CONFIDENCE_LEVEL_MEDIUM: |
| 527 |
return "CONFIDENCE_LEVEL_MEDIUM"; |
| 528 |
case CONFIDENCE_LEVEL_MEDIUM_HIGH: |
| 529 |
return "CONFIDENCE_LEVEL_MEDIUM_HIGH"; |
| 530 |
case CONFIDENCE_LEVEL_HIGH: |
| 531 |
return "CONFIDENCE_LEVEL_HIGH"; |
| 532 |
case CONFIDENCE_LEVEL_VERY_HIGH: |
| 533 |
return "CONFIDENCE_LEVEL_VERY_HIGH"; |
| 534 |
default: return Integer.toHexString(value); |
| 535 |
} |
| 536 |
} |
| 537 |
|
| 538 |
|
| 539 |
@IntDef(prefix = "LIMIT_", value = { |
| 540 |
LIMIT_HOTWORD_OFFSET_MAX_VALUE, |
| 541 |
LIMIT_AUDIO_CHANNEL_MAX_VALUE |
| 542 |
}) |
| 543 |
@Retention(RetentionPolicy.SOURCE) |
| 544 |
@DataClass.Generated.Member |
| 545 |
@interface Limit {} |
| 546 |
|
| 547 |
|
| 548 |
@DataClass.Generated.Member |
| 549 |
static String limitToString(@Limit int value) { |
| 550 |
switch (value) { |
| 551 |
case LIMIT_HOTWORD_OFFSET_MAX_VALUE: |
| 552 |
return "LIMIT_HOTWORD_OFFSET_MAX_VALUE"; |
| 553 |
case LIMIT_AUDIO_CHANNEL_MAX_VALUE: |
| 554 |
return "LIMIT_AUDIO_CHANNEL_MAX_VALUE"; |
| 555 |
default: return Integer.toHexString(value); |
| 556 |
} |
| 557 |
} |
| 558 |
|
| 559 |
|
| 560 |
@IntDef(prefix = "PROXIMITY_", value = { |
| 561 |
PROXIMITY_UNKNOWN, |
| 562 |
PROXIMITY_NEAR, |
| 563 |
PROXIMITY_FAR |
| 564 |
}) |
| 565 |
@Retention(RetentionPolicy.SOURCE) |
| 566 |
@DataClass.Generated.Member |
| 567 |
public @interface Proximity {} |
| 568 |
|
| 569 |
|
| 570 |
@DataClass.Generated.Member |
| 571 |
public static String proximityToString(@Proximity int value) { |
| 572 |
switch (value) { |
| 573 |
case PROXIMITY_UNKNOWN: |
| 574 |
return "PROXIMITY_UNKNOWN"; |
| 575 |
case PROXIMITY_NEAR: |
| 576 |
return "PROXIMITY_NEAR"; |
| 577 |
case PROXIMITY_FAR: |
| 578 |
return "PROXIMITY_FAR"; |
| 579 |
default: return Integer.toHexString(value); |
| 580 |
} |
| 581 |
} |
| 582 |
|
| 583 |
@DataClass.Generated.Member |
| 584 |
HotwordDetectedResult( |
| 585 |
@HotwordConfidenceLevelValue int confidenceLevel, |
| 586 |
@Nullable MediaSyncEvent mediaSyncEvent, |
| 587 |
int hotwordOffsetMillis, |
| 588 |
int hotwordDurationMillis, |
| 589 |
int audioChannel, |
| 590 |
boolean hotwordDetectionPersonalized, |
| 591 |
int score, |
| 592 |
int personalizedScore, |
| 593 |
int hotwordPhraseId, |
| 594 |
@NonNull List<HotwordAudioStream> audioStreams, |
| 595 |
@NonNull PersistableBundle extras) { |
| 596 |
this.mConfidenceLevel = confidenceLevel; |
| 597 |
com.android.internal.util.AnnotationValidations.validate( |
| 598 |
HotwordConfidenceLevelValue.class, null, mConfidenceLevel); |
| 599 |
this.mMediaSyncEvent = mediaSyncEvent; |
| 600 |
this.mHotwordOffsetMillis = hotwordOffsetMillis; |
| 601 |
this.mHotwordDurationMillis = hotwordDurationMillis; |
| 602 |
this.mAudioChannel = audioChannel; |
| 603 |
this.mHotwordDetectionPersonalized = hotwordDetectionPersonalized; |
| 604 |
this.mScore = score; |
| 605 |
this.mPersonalizedScore = personalizedScore; |
| 606 |
this.mHotwordPhraseId = hotwordPhraseId; |
| 607 |
this.mAudioStreams = audioStreams; |
| 608 |
com.android.internal.util.AnnotationValidations.validate( |
| 609 |
NonNull.class, null, mAudioStreams); |
| 610 |
this.mExtras = extras; |
| 611 |
com.android.internal.util.AnnotationValidations.validate( |
| 612 |
NonNull.class, null, mExtras); |
| 613 |
|
| 614 |
onConstructed(); |
| 615 |
} |
| 616 |
|
| 617 |
|
| 618 |
|
| 619 |
|
| 620 |
@DataClass.Generated.Member |
| 621 |
public @HotwordConfidenceLevelValue int getConfidenceLevel() { |
| 622 |
return mConfidenceLevel; |
| 623 |
} |
| 624 |
|
| 625 |
|
| 626 |
|
| 627 |
|
| 628 |
|
| 629 |
|
| 630 |
|
| 631 |
@DataClass.Generated.Member |
| 632 |
public int getHotwordOffsetMillis() { |
| 633 |
return mHotwordOffsetMillis; |
| 634 |
} |
| 635 |
|
| 636 |
|
| 637 |
|
| 638 |
|
| 639 |
|
| 640 |
|
| 641 |
|
| 642 |
@DataClass.Generated.Member |
| 643 |
public int getHotwordDurationMillis() { |
| 644 |
return mHotwordDurationMillis; |
| 645 |
} |
| 646 |
|
| 647 |
|
| 648 |
|
| 649 |
|
| 650 |
|
| 651 |
|
| 652 |
@DataClass.Generated.Member |
| 653 |
public int getAudioChannel() { |
| 654 |
return mAudioChannel; |
| 655 |
} |
| 656 |
|
| 657 |
|
| 658 |
|
| 659 |
|
| 660 |
|
| 661 |
@DataClass.Generated.Member |
| 662 |
public boolean isHotwordDetectionPersonalized() { |
| 663 |
return mHotwordDetectionPersonalized; |
| 664 |
} |
| 665 |
|
| 666 |
|
| 667 |
|
| 668 |
|
| 669 |
|
| 670 |
|
| 671 |
@DataClass.Generated.Member |
| 672 |
public int getScore() { |
| 673 |
return mScore; |
| 674 |
} |
| 675 |
|
| 676 |
|
| 677 |
|
| 678 |
|
| 679 |
|
| 680 |
|
| 681 |
@DataClass.Generated.Member |
| 682 |
public int getPersonalizedScore() { |
| 683 |
return mPersonalizedScore; |
| 684 |
} |
| 685 |
|
| 686 |
|
| 687 |
|
| 688 |
|
| 689 |
|
| 690 |
|
| 691 |
@DataClass.Generated.Member |
| 692 |
public int getHotwordPhraseId() { |
| 693 |
return mHotwordPhraseId; |
| 694 |
} |
| 695 |
|
| 696 |
|
| 697 |
|
| 698 |
|
| 699 |
|
| 700 |
|
| 701 |
|
| 702 |
|
| 703 |
|
| 704 |
|
| 705 |
|
| 706 |
|
| 707 |
|
| 708 |
|
| 709 |
|
| 710 |
|
| 711 |
|
| 712 |
|
| 713 |
|
| 714 |
|
| 715 |
|
| 716 |
|
| 717 |
|
| 718 |
|
| 719 |
|
| 720 |
|
| 721 |
@DataClass.Generated.Member |
| 722 |
public @NonNull PersistableBundle getExtras() { |
| 723 |
return mExtras; |
| 724 |
} |
| 725 |
|
| 726 |
@Override |
| 727 |
@DataClass.Generated.Member |
| 728 |
public String toString() { |
| 729 |
|
| 730 |
|
| 731 |
|
| 732 |
return "HotwordDetectedResult { " + |
| 733 |
"confidenceLevel = " + mConfidenceLevel + ", " + |
| 734 |
"mediaSyncEvent = " + mMediaSyncEvent + ", " + |
| 735 |
"hotwordOffsetMillis = " + mHotwordOffsetMillis + ", " + |
| 736 |
"hotwordDurationMillis = " + mHotwordDurationMillis + ", " + |
| 737 |
"audioChannel = " + mAudioChannel + ", " + |
| 738 |
"hotwordDetectionPersonalized = " + mHotwordDetectionPersonalized + ", " + |
| 739 |
"score = " + mScore + ", " + |
| 740 |
"personalizedScore = " + mPersonalizedScore + ", " + |
| 741 |
"hotwordPhraseId = " + mHotwordPhraseId + ", " + |
| 742 |
"audioStreams = " + mAudioStreams + ", " + |
| 743 |
"extras = " + mExtras + |
| 744 |
" }"; |
| 745 |
} |
| 746 |
|
| 747 |
@Override |
| 748 |
@DataClass.Generated.Member |
| 749 |
public boolean equals(@Nullable Object o) { |
| 750 |
|
| 751 |
|
| 752 |
|
| 753 |
|
| 754 |
if (this == o) return true; |
| 755 |
if (o == null || getClass() != o.getClass()) return false; |
| 756 |
@SuppressWarnings("unchecked") |
| 757 |
HotwordDetectedResult that = (HotwordDetectedResult) o; |
| 758 |
|
| 759 |
return true |
| 760 |
&& mConfidenceLevel == that.mConfidenceLevel |
| 761 |
&& Objects.equals(mMediaSyncEvent, that.mMediaSyncEvent) |
| 762 |
&& mHotwordOffsetMillis == that.mHotwordOffsetMillis |
| 763 |
&& mHotwordDurationMillis == that.mHotwordDurationMillis |
| 764 |
&& mAudioChannel == that.mAudioChannel |
| 765 |
&& mHotwordDetectionPersonalized == that.mHotwordDetectionPersonalized |
| 766 |
&& mScore == that.mScore |
| 767 |
&& mPersonalizedScore == that.mPersonalizedScore |
| 768 |
&& mHotwordPhraseId == that.mHotwordPhraseId |
| 769 |
&& Objects.equals(mAudioStreams, that.mAudioStreams) |
| 770 |
&& Objects.equals(mExtras, that.mExtras); |
| 771 |
} |
| 772 |
|
| 773 |
@Override |
| 774 |
@DataClass.Generated.Member |
| 775 |
public int hashCode() { |
| 776 |
|
| 777 |
|
| 778 |
|
| 779 |
int _hash = 1; |
| 780 |
_hash = 31 * _hash + mConfidenceLevel; |
| 781 |
_hash = 31 * _hash + Objects.hashCode(mMediaSyncEvent); |
| 782 |
_hash = 31 * _hash + mHotwordOffsetMillis; |
| 783 |
_hash = 31 * _hash + mHotwordDurationMillis; |
| 784 |
_hash = 31 * _hash + mAudioChannel; |
| 785 |
_hash = 31 * _hash + Boolean.hashCode(mHotwordDetectionPersonalized); |
| 786 |
_hash = 31 * _hash + mScore; |
| 787 |
_hash = 31 * _hash + mPersonalizedScore; |
| 788 |
_hash = 31 * _hash + mHotwordPhraseId; |
| 789 |
_hash = 31 * _hash + Objects.hashCode(mAudioStreams); |
| 790 |
_hash = 31 * _hash + Objects.hashCode(mExtras); |
| 791 |
return _hash; |
| 792 |
} |
| 793 |
|
| 794 |
@Override |
| 795 |
@DataClass.Generated.Member |
| 796 |
public void writeToParcel(@NonNull Parcel dest, int flags) { |
| 797 |
|
| 798 |
|
| 799 |
|
| 800 |
int flg = 0; |
| 801 |
if (mHotwordDetectionPersonalized) flg |= 0x20; |
| 802 |
if (mMediaSyncEvent != null) flg |= 0x2; |
| 803 |
dest.writeInt(flg); |
| 804 |
dest.writeInt(mConfidenceLevel); |
| 805 |
if (mMediaSyncEvent != null) dest.writeTypedObject(mMediaSyncEvent, flags); |
| 806 |
dest.writeInt(mHotwordOffsetMillis); |
| 807 |
dest.writeInt(mHotwordDurationMillis); |
| 808 |
dest.writeInt(mAudioChannel); |
| 809 |
dest.writeInt(mScore); |
| 810 |
dest.writeInt(mPersonalizedScore); |
| 811 |
dest.writeInt(mHotwordPhraseId); |
| 812 |
dest.writeParcelableList(mAudioStreams, flags); |
| 813 |
dest.writeTypedObject(mExtras, flags); |
| 814 |
} |
| 815 |
|
| 816 |
@Override |
| 817 |
@DataClass.Generated.Member |
| 818 |
public int describeContents() { return 0; } |
| 819 |
|
| 820 |
|
| 821 |
@SuppressWarnings({"unchecked", "RedundantCast"}) |
| 822 |
@DataClass.Generated.Member |
| 823 |
HotwordDetectedResult(@NonNull Parcel in) { |
| 824 |
|
| 825 |
|
| 826 |
|
| 827 |
int flg = in.readInt(); |
| 828 |
boolean hotwordDetectionPersonalized = (flg & 0x20) != 0; |
| 829 |
int confidenceLevel = in.readInt(); |
| 830 |
MediaSyncEvent mediaSyncEvent = (flg & 0x2) == 0 ? null : (MediaSyncEvent) in.readTypedObject(MediaSyncEvent.CREATOR); |
| 831 |
int hotwordOffsetMillis = in.readInt(); |
| 832 |
int hotwordDurationMillis = in.readInt(); |
| 833 |
int audioChannel = in.readInt(); |
| 834 |
int score = in.readInt(); |
| 835 |
int personalizedScore = in.readInt(); |
| 836 |
int hotwordPhraseId = in.readInt(); |
| 837 |
List<HotwordAudioStream> audioStreams = new ArrayList<>(); |
| 838 |
in.readParcelableList(audioStreams, HotwordAudioStream.class.getClassLoader()); |
| 839 |
PersistableBundle extras = (PersistableBundle) in.readTypedObject(PersistableBundle.CREATOR); |
| 840 |
|
| 841 |
this.mConfidenceLevel = confidenceLevel; |
| 842 |
com.android.internal.util.AnnotationValidations.validate( |
| 843 |
HotwordConfidenceLevelValue.class, null, mConfidenceLevel); |
| 844 |
this.mMediaSyncEvent = mediaSyncEvent; |
| 845 |
this.mHotwordOffsetMillis = hotwordOffsetMillis; |
| 846 |
this.mHotwordDurationMillis = hotwordDurationMillis; |
| 847 |
this.mAudioChannel = audioChannel; |
| 848 |
this.mHotwordDetectionPersonalized = hotwordDetectionPersonalized; |
| 849 |
this.mScore = score; |
| 850 |
this.mPersonalizedScore = personalizedScore; |
| 851 |
this.mHotwordPhraseId = hotwordPhraseId; |
| 852 |
this.mAudioStreams = audioStreams; |
| 853 |
com.android.internal.util.AnnotationValidations.validate( |
| 854 |
NonNull.class, null, mAudioStreams); |
| 855 |
this.mExtras = extras; |
| 856 |
com.android.internal.util.AnnotationValidations.validate( |
| 857 |
NonNull.class, null, mExtras); |
| 858 |
|
| 859 |
onConstructed(); |
| 860 |
} |
| 861 |
|
| 862 |
@DataClass.Generated.Member |
| 863 |
public static final @NonNull Parcelable.Creator<HotwordDetectedResult> CREATOR |
| 864 |
= new Parcelable.Creator<HotwordDetectedResult>() { |
| 865 |
@Override |
| 866 |
public HotwordDetectedResult[] newArray(int size) { |
| 867 |
return new HotwordDetectedResult[size]; |
| 868 |
} |
| 869 |
|
| 870 |
@Override |
| 871 |
public HotwordDetectedResult createFromParcel(@NonNull Parcel in) { |
| 872 |
return new HotwordDetectedResult(in); |
| 873 |
} |
| 874 |
}; |
| 875 |
|
| 876 |
|
| 877 |
|
| 878 |
|
| 879 |
@SuppressWarnings("WeakerAccess") |
| 880 |
@DataClass.Generated.Member |
| 881 |
public static final class Builder extends BaseBuilder { |
| 882 |
|
| 883 |
private @HotwordConfidenceLevelValue int mConfidenceLevel; |
| 884 |
private @Nullable MediaSyncEvent mMediaSyncEvent; |
| 885 |
private int mHotwordOffsetMillis; |
| 886 |
private int mHotwordDurationMillis; |
| 887 |
private int mAudioChannel; |
| 888 |
private boolean mHotwordDetectionPersonalized; |
| 889 |
private int mScore; |
| 890 |
private int mPersonalizedScore; |
| 891 |
private int mHotwordPhraseId; |
| 892 |
private @NonNull List<HotwordAudioStream> mAudioStreams; |
| 893 |
private @NonNull PersistableBundle mExtras; |
| 894 |
|
| 895 |
private long mBuilderFieldsSet = 0L; |
| 896 |
|
| 897 |
public Builder() { |
| 898 |
} |
| 899 |
|
| 900 |
|
| 901 |
|
| 902 |
|
| 903 |
@DataClass.Generated.Member |
| 904 |
public @NonNull Builder setConfidenceLevel(@HotwordConfidenceLevelValue int value) { |
| 905 |
checkNotUsed(); |
| 906 |
mBuilderFieldsSet |= 0x1; |
| 907 |
mConfidenceLevel = value; |
| 908 |
return this; |
| 909 |
} |
| 910 |
|
| 911 |
|
| 912 |
|
| 913 |
|
| 914 |
|
| 915 |
|
| 916 |
@DataClass.Generated.Member |
| 917 |
public @NonNull Builder setMediaSyncEvent(@NonNull MediaSyncEvent value) { |
| 918 |
checkNotUsed(); |
| 919 |
mBuilderFieldsSet |= 0x2; |
| 920 |
mMediaSyncEvent = value; |
| 921 |
return this; |
| 922 |
} |
| 923 |
|
| 924 |
|
| 925 |
|
| 926 |
|
| 927 |
|
| 928 |
|
| 929 |
|
| 930 |
@DataClass.Generated.Member |
| 931 |
public @NonNull Builder setHotwordOffsetMillis(int value) { |
| 932 |
checkNotUsed(); |
| 933 |
mBuilderFieldsSet |= 0x4; |
| 934 |
mHotwordOffsetMillis = value; |
| 935 |
return this; |
| 936 |
} |
| 937 |
|
| 938 |
|
| 939 |
|
| 940 |
|
| 941 |
|
| 942 |
|
| 943 |
|
| 944 |
@DataClass.Generated.Member |
| 945 |
public @NonNull Builder setHotwordDurationMillis(int value) { |
| 946 |
checkNotUsed(); |
| 947 |
mBuilderFieldsSet |= 0x8; |
| 948 |
mHotwordDurationMillis = value; |
| 949 |
return this; |
| 950 |
} |
| 951 |
|
| 952 |
|
| 953 |
|
| 954 |
|
| 955 |
|
| 956 |
|
| 957 |
@DataClass.Generated.Member |
| 958 |
public @NonNull Builder setAudioChannel(int value) { |
| 959 |
checkNotUsed(); |
| 960 |
mBuilderFieldsSet |= 0x10; |
| 961 |
mAudioChannel = value; |
| 962 |
return this; |
| 963 |
} |
| 964 |
|
| 965 |
|
| 966 |
|
| 967 |
|
| 968 |
|
| 969 |
@DataClass.Generated.Member |
| 970 |
public @NonNull Builder setHotwordDetectionPersonalized(boolean value) { |
| 971 |
checkNotUsed(); |
| 972 |
mBuilderFieldsSet |= 0x20; |
| 973 |
mHotwordDetectionPersonalized = value; |
| 974 |
return this; |
| 975 |
} |
| 976 |
|
| 977 |
|
| 978 |
|
| 979 |
|
| 980 |
|
| 981 |
|
| 982 |
@DataClass.Generated.Member |
| 983 |
public @NonNull Builder setScore(int value) { |
| 984 |
checkNotUsed(); |
| 985 |
mBuilderFieldsSet |= 0x40; |
| 986 |
mScore = value; |
| 987 |
return this; |
| 988 |
} |
| 989 |
|
| 990 |
|
| 991 |
|
| 992 |
|
| 993 |
|
| 994 |
|
| 995 |
@DataClass.Generated.Member |
| 996 |
public @NonNull Builder setPersonalizedScore(int value) { |
| 997 |
checkNotUsed(); |
| 998 |
mBuilderFieldsSet |= 0x80; |
| 999 |
mPersonalizedScore = value; |
| 1000 |
return this; |
| 1001 |
} |
| 1002 |
|
| 1003 |
|
| 1004 |
|
| 1005 |
|
| 1006 |
|
| 1007 |
|
| 1008 |
@DataClass.Generated.Member |
| 1009 |
public @NonNull Builder setHotwordPhraseId(int value) { |
| 1010 |
checkNotUsed(); |
| 1011 |
mBuilderFieldsSet |= 0x100; |
| 1012 |
mHotwordPhraseId = value; |
| 1013 |
return this; |
| 1014 |
} |
| 1015 |
|
| 1016 |
|
| 1017 |
|
| 1018 |
|
| 1019 |
|
| 1020 |
|
| 1021 |
|
| 1022 |
|
| 1023 |
|
| 1024 |
|
| 1025 |
|
| 1026 |
|
| 1027 |
|
| 1028 |
|
| 1029 |
|
| 1030 |
|
| 1031 |
|
| 1032 |
|
| 1033 |
|
| 1034 |
|
| 1035 |
|
| 1036 |
|
| 1037 |
|
| 1038 |
|
| 1039 |
|
| 1040 |
|
| 1041 |
@DataClass.Generated.Member |
| 1042 |
public @NonNull Builder setExtras(@NonNull PersistableBundle value) { |
| 1043 |
checkNotUsed(); |
| 1044 |
mBuilderFieldsSet |= 0x400; |
| 1045 |
mExtras = value; |
| 1046 |
return this; |
| 1047 |
} |
| 1048 |
|
| 1049 |
|
| 1050 |
public @NonNull HotwordDetectedResult build() { |
| 1051 |
checkNotUsed(); |
| 1052 |
mBuilderFieldsSet |= 0x800; |
| 1053 |
|
| 1054 |
if ((mBuilderFieldsSet & 0x1) == 0) { |
| 1055 |
mConfidenceLevel = defaultConfidenceLevel(); |
| 1056 |
} |
| 1057 |
if ((mBuilderFieldsSet & 0x2) == 0) { |
| 1058 |
mMediaSyncEvent = null; |
| 1059 |
} |
| 1060 |
if ((mBuilderFieldsSet & 0x4) == 0) { |
| 1061 |
mHotwordOffsetMillis = HOTWORD_OFFSET_UNSET; |
| 1062 |
} |
| 1063 |
if ((mBuilderFieldsSet & 0x8) == 0) { |
| 1064 |
mHotwordDurationMillis = 0; |
| 1065 |
} |
| 1066 |
if ((mBuilderFieldsSet & 0x10) == 0) { |
| 1067 |
mAudioChannel = AUDIO_CHANNEL_UNSET; |
| 1068 |
} |
| 1069 |
if ((mBuilderFieldsSet & 0x20) == 0) { |
| 1070 |
mHotwordDetectionPersonalized = false; |
| 1071 |
} |
| 1072 |
if ((mBuilderFieldsSet & 0x40) == 0) { |
| 1073 |
mScore = defaultScore(); |
| 1074 |
} |
| 1075 |
if ((mBuilderFieldsSet & 0x80) == 0) { |
| 1076 |
mPersonalizedScore = defaultPersonalizedScore(); |
| 1077 |
} |
| 1078 |
if ((mBuilderFieldsSet & 0x100) == 0) { |
| 1079 |
mHotwordPhraseId = defaultHotwordPhraseId(); |
| 1080 |
} |
| 1081 |
if ((mBuilderFieldsSet & 0x200) == 0) { |
| 1082 |
mAudioStreams = defaultAudioStreams(); |
| 1083 |
} |
| 1084 |
if ((mBuilderFieldsSet & 0x400) == 0) { |
| 1085 |
mExtras = defaultExtras(); |
| 1086 |
} |
| 1087 |
HotwordDetectedResult o = new HotwordDetectedResult( |
| 1088 |
mConfidenceLevel, |
| 1089 |
mMediaSyncEvent, |
| 1090 |
mHotwordOffsetMillis, |
| 1091 |
mHotwordDurationMillis, |
| 1092 |
mAudioChannel, |
| 1093 |
mHotwordDetectionPersonalized, |
| 1094 |
mScore, |
| 1095 |
mPersonalizedScore, |
| 1096 |
mHotwordPhraseId, |
| 1097 |
mAudioStreams, |
| 1098 |
mExtras); |
| 1099 |
return o; |
| 1100 |
} |
| 1101 |
|
| 1102 |
private void checkNotUsed() { |
| 1103 |
if ((mBuilderFieldsSet & 0x800) != 0) { |
| 1104 |
throw new IllegalStateException( |
| 1105 |
"This Builder should not be reused. Use a new Builder instance instead"); |
| 1106 |
} |
| 1107 |
} |
| 1108 |
} |
| 1109 |
|
| 1110 |
@DataClass.Generated( |
| 1111 |
time = 1668528946960L, |
| 1112 |
codegenVersion = "1.0.23", |
| 1113 |
sourceFile = "frameworks/base/core/java/android/service/voice/HotwordDetectedResult.java", |
| 1114 |
inputSignatures = "public static final int CONFIDENCE_LEVEL_NONE\npublic static final int CONFIDENCE_LEVEL_LOW\npublic static final int CONFIDENCE_LEVEL_LOW_MEDIUM\npublic static final int CONFIDENCE_LEVEL_MEDIUM\npublic static final int CONFIDENCE_LEVEL_MEDIUM_HIGH\npublic static final int CONFIDENCE_LEVEL_HIGH\npublic static final int CONFIDENCE_LEVEL_VERY_HIGH\npublic static final int HOTWORD_OFFSET_UNSET\npublic static final int AUDIO_CHANNEL_UNSET\nprivate static final int LIMIT_HOTWORD_OFFSET_MAX_VALUE\nprivate static final int LIMIT_AUDIO_CHANNEL_MAX_VALUE\nprivate static final java.lang.String EXTRA_PROXIMITY\npublic static final int PROXIMITY_UNKNOWN\npublic static final int PROXIMITY_NEAR\npublic static final int PROXIMITY_FAR\nprivate final @android.service.voice.HotwordDetectedResult.HotwordConfidenceLevelValue int mConfidenceLevel\nprivate @android.annotation.Nullable android.media.MediaSyncEvent mMediaSyncEvent\nprivate int mHotwordOffsetMillis\nprivate int mHotwordDurationMillis\nprivate int mAudioChannel\nprivate boolean mHotwordDetectionPersonalized\nprivate final int mScore\nprivate final int mPersonalizedScore\nprivate final int mHotwordPhraseId\nprivate final @android.annotation.NonNull java.util.List<android.service.voice.HotwordAudioStream> mAudioStreams\nprivate final @android.annotation.NonNull android.os.PersistableBundle mExtras\nprivate static int sMaxBundleSize\nprivate static int defaultConfidenceLevel()\nprivate static int defaultScore()\nprivate static int defaultPersonalizedScore()\npublic static int getMaxScore()\nprivate static int defaultHotwordPhraseId()\npublic static int getMaxHotwordPhraseId()\nprivate static java.util.List<android.service.voice.HotwordAudioStream> defaultAudioStreams()\nprivate static android.os.PersistableBundle defaultExtras()\npublic static int getMaxBundleSize()\npublic @android.annotation.Nullable android.media.MediaSyncEvent getMediaSyncEvent()\npublic static int getParcelableSize(android.os.Parcelable)\npublic static int getUsageSize(android.service.voice.HotwordDetectedResult)\nprivate static int bitCount(long)\nprivate void onConstructed()\npublic @android.compat.annotation.UnsupportedAppUsage @android.annotation.NonNull java.util.List<android.service.voice.HotwordAudioStream> getAudioStreams()\npublic android.service.voice.HotwordDetectedResult.Builder buildUpon()\npublic void setProximity(double)\nprivate @android.service.voice.HotwordDetectedResult.ProximityValue int convertToProximityLevel(double)\nclass HotwordDetectedResult extends java.lang.Object implements [android.os.Parcelable]\npublic @android.compat.annotation.UnsupportedAppUsage @android.annotation.NonNull android.service.voice.HotwordDetectedResult.Builder setAudioStreams(java.util.List<android.service.voice.HotwordAudioStream>)\nclass BaseBuilder extends java.lang.Object implements []\n@com.android.internal.util.DataClass(genConstructor=false, genBuilder=true, genEqualsHashCode=true, genHiddenConstDefs=true, genParcelable=true, genToString=true)\npublic @android.compat.annotation.UnsupportedAppUsage @android.annotation.NonNull android.service.voice.HotwordDetectedResult.Builder setAudioStreams(java.util.List<android.service.voice.HotwordAudioStream>)\nclass BaseBuilder extends java.lang.Object implements []") |
| 1115 |
@Deprecated |
| 1116 |
private void __metadata() {} |
| 1117 |
|
| 1118 |
|
| 1119 |
|
| 1120 |
|
| 1121 |
|
| 1122 |
} |