/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/voiceinteraction/ |
D | HotwordAudioStreamCopierTest.java | 35 import android.service.voice.HotwordDetectedResult; 86 HotwordDetectedResult originalResult = buildHotwordDetectedResultWithStreams( in testDefaultCopyBufferLength() 89 HotwordDetectedResult managedResult = mCopier.startCopyingAudioStreams( in testDefaultCopyBufferLength() 128 HotwordDetectedResult originalResult = buildHotwordDetectedResultWithStreams( in testCustomCopyBufferLength() 131 HotwordDetectedResult managedResult = mCopier.startCopyingAudioStreams( in testCustomCopyBufferLength() 160 HotwordDetectedResult originalResult = buildHotwordDetectedResultWithStreams( in testInvalidCopyBufferLength_NonPositive() 163 HotwordDetectedResult managedResult = mCopier.startCopyingAudioStreams( in testInvalidCopyBufferLength_NonPositive() 189 HotwordDetectedResult originalResult = buildHotwordDetectedResultWithStreams( in testInvalidCopyBufferLength_ExceedsMaximum() 192 HotwordDetectedResult managedResult = mCopier.startCopyingAudioStreams( in testInvalidCopyBufferLength_ExceedsMaximum() 218 HotwordDetectedResult originalResult = buildHotwordDetectedResultWithStreams( in testInvalidCopyBufferLength_NotAnInt() [all …]
|
/frameworks/base/core/java/android/service/voice/ |
D | HotwordDetectedResult.java | 56 public final class HotwordDetectedResult implements Parcelable { class 348 public static int getUsageSize(@NonNull HotwordDetectedResult hotwordDetectedResult) { in getUsageSize() 368 totalBits += bitCount(HotwordDetectedResult.getMaxScore()); in getUsageSize() 371 totalBits += bitCount(HotwordDetectedResult.getMaxScore()); in getUsageSize() 374 totalBits += bitCount(HotwordDetectedResult.getMaxHotwordPhraseId()); in getUsageSize() 381 totalBits += bitCount(HotwordDetectedResult.getMaxBackgroundAudioPower()); in getUsageSize() 625 /* package-private */ HotwordDetectedResult( in HotwordDetectedResult() method in HotwordDetectedResult 829 HotwordDetectedResult that = (HotwordDetectedResult) o; in equals() 901 /* package-private */ HotwordDetectedResult(@NonNull Parcel in) { in HotwordDetectedResult() method in HotwordDetectedResult 945 public static final @NonNull Parcelable.Creator<HotwordDetectedResult> CREATOR [all …]
|
D | IDspHotwordDetectionCallback.aidl | 19 import android.service.voice.HotwordDetectedResult; 34 in HotwordDetectedResult hotwordDetectedResult); in onDetected()
|
D | IMicrophoneHotwordDetectionVoiceInteractionCallback.aidl | 20 import android.service.voice.HotwordDetectedResult; 35 in HotwordDetectedResult hotwordDetectedResult, in onDetected()
|
D | HotwordDetectionService.java | 425 public void onDetected(@NonNull HotwordDetectedResult result) { in onDetected() 428 if (!persistableBundle.isEmpty() && HotwordDetectedResult.getParcelableSize( in onDetected() 429 persistableBundle) > HotwordDetectedResult.getMaxBundleSize()) { in onDetected() 432 + HotwordDetectedResult.getMaxBundleSize() in onDetected()
|
D | HotwordDetectedResult.aidl | 19 parcelable HotwordDetectedResult;
|
D | SoftwareHotwordDetector.java | 170 @Nullable HotwordDetectedResult hotwordDetectedResult, in onDetected() 219 HotwordDetectedResult result) { in onKeyphraseDetected() 226 public void onKeyphraseDetectedFromExternalSource(HotwordDetectedResult result) { in onKeyphraseDetectedFromExternalSource()
|
D | AlwaysOnHotwordDetector.java | 429 private final HotwordDetectedResult mHotwordDetectedResult; 444 @Nullable HotwordDetectedResult hotwordDetectedResult, in EventPayload() 552 public HotwordDetectedResult getHotwordDetectedResult() { in getHotwordDetectedResult() 620 private HotwordDetectedResult mHotwordDetectedResult = null; 716 @NonNull HotwordDetectedResult hotwordDetectedResult) { in setHotwordDetectedResult() 1655 KeyphraseRecognitionEvent event, HotwordDetectedResult result) { in onKeyphraseDetected() 1669 public void onKeyphraseDetectedFromExternalSource(HotwordDetectedResult result) { in onKeyphraseDetectedFromExternalSource()
|
D | VisualQueryDetector.java | 522 HotwordDetectedResult result) { in onKeyphraseDetected() 529 public void onKeyphraseDetectedFromExternalSource(HotwordDetectedResult result) { in onKeyphraseDetectedFromExternalSource()
|
D | AbstractDetector.java | 233 @Nullable HotwordDetectedResult hotwordDetectedResult, in onDetected()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IHotwordRecognitionStatusCallback.aidl | 20 import android.service.voice.HotwordDetectedResult; 41 in HotwordDetectedResult result); in onKeyphraseDetected() 48 void onKeyphraseDetectedFromExternalSource(in HotwordDetectedResult result); in onKeyphraseDetectedFromExternalSource()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | HotwordAudioStreamCopier.java | 36 import android.service.voice.HotwordDetectedResult; 94 public HotwordDetectedResult startCopyingAudioStreams(@NonNull HotwordDetectedResult result) in startCopyingAudioStreams() 113 public HotwordDetectedResult startCopyingAudioStreams( in startCopyingAudioStreams() 114 @NonNull HotwordDetectedResult result, boolean shouldNotifyAppOpsManager) in startCopyingAudioStreams() 141 totalMetadataBundleSizeBytes += HotwordDetectedResult.getParcelableSize(metadata); in startCopyingAudioStreams()
|
D | SoftwareTrustedHotwordDetectorSession.java | 38 import android.service.voice.HotwordDetectedResult; 106 public void onDetected(HotwordDetectedResult result) throws RemoteException { in startListeningFromMicLocked() 148 HotwordDetectedResult newResult; in startListeningFromMicLocked() 179 Slog.i(TAG, "Egressed " + HotwordDetectedResult.getUsageSize(newResult) in startListeningFromMicLocked()
|
D | DspTrustedHotwordDetectorSession.java | 40 import android.service.voice.HotwordDetectedResult; 107 public void onDetected(HotwordDetectedResult result) throws RemoteException { in detectFromDspSourceLocked() 157 HotwordDetectedResult newResult; in detectFromDspSourceLocked() 175 Slog.i(TAG, "Egressed " + HotwordDetectedResult.getUsageSize(newResult) in detectFromDspSourceLocked()
|
D | DetectorSession.java | 78 import android.service.voice.HotwordDetectedResult; 430 HotwordDetectedResult hotwordDetectedResult, in startListeningFromWearableLocked() 636 public void onDetected(HotwordDetectedResult triggerResult) in handleExternalSourceHotwordDetectionLocked() 679 HotwordDetectedResult newResult; in handleExternalSourceHotwordDetectionLocked() 717 + HotwordDetectedResult.getUsageSize(newResult) in handleExternalSourceHotwordDetectionLocked() 844 void saveProximityValueToBundle(HotwordDetectedResult result) { in saveProximityValueToBundle() 942 void enforceExtraKeyphraseIdNotLeaked(HotwordDetectedResult result, in enforceExtraKeyphraseIdNotLeaked()
|
/frameworks/base/core/api/ |
D | system-current.txt | 13439 method @Nullable public android.service.voice.HotwordDetectedResult getHotwordDetectedResult(); 13482 public final class HotwordDetectedResult implements android.os.Parcelable { 13513 …ic static final android.os.Parcelable.Creator<android.service.voice.HotwordDetectedResult> CREATOR; 13520 public static final class HotwordDetectedResult.Builder { 13521 ctor public HotwordDetectedResult.Builder(); 13522 method @NonNull public android.service.voice.HotwordDetectedResult build(); 13523 method @NonNull public android.service.voice.HotwordDetectedResult.Builder setAudioChannel(int); 13524 …method @NonNull public android.service.voice.HotwordDetectedResult.Builder setAudioStreams(@NonNul… 13525 …method @NonNull public android.service.voice.HotwordDetectedResult.Builder setBackgroundAudioPower… 13526 …method @NonNull public android.service.voice.HotwordDetectedResult.Builder setConfidenceLevel(int); [all …]
|
D | test-current.txt | 3206 …ventPayload.Builder setHotwordDetectedResult(@NonNull android.service.voice.HotwordDetectedResult);
|