Searched refs:persistableBundle (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | HotwordDetectionServiceBasicTest.java | 269 PersistableBundle persistableBundle = new PersistableBundle(); in testHotwordDetectionService_createDspDetector_sendOverMaxResult_getException() local 270 persistableBundle.putInt(Utils.KEY_TEST_SCENARIO, in testHotwordDetectionService_createDspDetector_sendOverMaxResult_getException() 276 false, persistableBundle); in testHotwordDetectionService_createDspDetector_sendOverMaxResult_getException() 299 PersistableBundle persistableBundle = new PersistableBundle(); in testHotwordDetectionService_createSoftwareDetector_sendOverMaxResult_getException() local 300 persistableBundle.putInt(Utils.KEY_TEST_SCENARIO, in testHotwordDetectionService_createSoftwareDetector_sendOverMaxResult_getException() 306 false, persistableBundle); in testHotwordDetectionService_createSoftwareDetector_sendOverMaxResult_getException() 330 PersistableBundle persistableBundle = new PersistableBundle(); in testHotwordDetectionService_createDspDetector_customResult_getCustomStatus() local 331 persistableBundle.putInt(Utils.KEY_TEST_SCENARIO, in testHotwordDetectionService_createDspDetector_customResult_getCustomStatus() 333 persistableBundle.putInt(Utils.KEY_INITIALIZATION_STATUS, customStatus); in testHotwordDetectionService_createDspDetector_customResult_getCustomStatus() 338 false, persistableBundle); in testHotwordDetectionService_createDspDetector_customResult_getCustomStatus() [all …]
|
D | HotwordDetectionServiceStressTest.java | 276 PersistableBundle persistableBundle = new PersistableBundle(); in testHotwordDetectionService_onDetectFromMic_success() local 277 persistableBundle.putInt(Helper.KEY_TEST_SCENARIO, in testHotwordDetectionService_onDetectFromMic_success() 287 softwareHotwordDetector.updateState(persistableBundle, in testHotwordDetectionService_onDetectFromMic_success() 316 PersistableBundle persistableBundle = new PersistableBundle(); in testMultipleDetectors_onDetectFromDspAndMic_success() local 317 persistableBundle.putInt(Helper.KEY_TEST_SCENARIO, in testMultipleDetectors_onDetectFromDspAndMic_success() 327 softwareHotwordDetector.updateState(persistableBundle, in testMultipleDetectors_onDetectFromDspAndMic_success()
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/ |
D | PersistableBundleQuery.java | 29 static PersistableBundleQueryHelper.PersistableBundleQueryBase persistableBundle() { in persistableBundle() method
|
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/ |
D | PersistableBundleQueryHelperTest.java | 20 import static com.android.queryable.queries.PersistableBundleQuery.persistableBundle; 117 assertThat(persistableBundle() in persistableBundleQueryHelper_queries()
|
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/ |
D | Utils.java | 337 PersistableBundle persistableBundle = new PersistableBundle(); in createFakePersistableBundleData() local 338 persistableBundle.putString(KEY_FAKE_DATA, VALUE_FAKE_DATA); in createFakePersistableBundleData() 340 persistableBundle.putInt(KEY_AUDIO_STREAM_COPY_BUFFER_LENGTH_BYTES, copyBufferSize); in createFakePersistableBundleData() 342 return persistableBundle; in createFakePersistableBundleData()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/unittests/ |
D | HotwordDetectedResultTest.java | 85 final PersistableBundle persistableBundle = new PersistableBundle(); in testHotwordDetectedResult_bundleExceedMaxBundleSize() local 88 persistableBundle.putInt(Integer.toString(key), 0); in testHotwordDetectedResult_bundleExceedMaxBundleSize() 90 } while (Utils.getParcelableSize(persistableBundle) in testHotwordDetectedResult_bundleExceedMaxBundleSize() 94 () -> new HotwordDetectedResult.Builder().setExtras(persistableBundle).build()); in testHotwordDetectedResult_bundleExceedMaxBundleSize()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainHotwordDetectionService.java | 162 PersistableBundle persistableBundle = new PersistableBundle(); in onDetect() local 167 .setExtras(persistableBundle) in onDetect() 171 persistableBundle.putInt(Integer.toString(key), 0); in onDetect() 173 } while (Utils.getParcelableSize(persistableBundle) in onDetect()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/testcore/ |
D | Helper.java | 163 PersistableBundle persistableBundle = new PersistableBundle(); in createFakePersistableBundleData() local 164 persistableBundle.putString(KEY_FAKE_DATA, VALUE_FAKE_DATA); in createFakePersistableBundleData() 165 return persistableBundle; in createFakePersistableBundleData()
|
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/ |
D | CtsIsolatedInferenceService.java | 74 public static TokenInfo constructTokenInfo(int status, PersistableBundle persistableBundle) { in constructTokenInfo() argument 75 if (persistableBundle == null) { in constructTokenInfo() 78 return new TokenInfo(status, persistableBundle); in constructTokenInfo()
|