/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/ |
D | RadioTunerTest.java | 104 assertEquals(RadioManager.STATUS_OK, status); in setup() 201 assertEquals(RadioManager.STATUS_OK, ret); in testSetAndGetConfiguration() 207 assertEquals(RadioManager.STATUS_OK, ret); in testSetAndGetConfiguration() 223 assertEquals(RadioManager.STATUS_OK, ret); in testSetBadConfiguration() 235 assertEquals(RadioManager.STATUS_OK, ret); in testMute() 240 assertEquals(RadioManager.STATUS_OK, ret); in testMute() 261 assertEquals(RadioManager.STATUS_OK, ret); in testStep() 267 assertEquals(RadioManager.STATUS_OK, ret); in testStep() 279 assertEquals(RadioManager.STATUS_OK, ret); in testStepLoop() 294 assertEquals(RadioManager.STATUS_OK, ret); in testTuneAndGetPI() [all …]
|
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/ |
D | FontRequestEmojiCompatConfigTest.java | 25 import static androidx.core.provider.FontsContractCompat.FontFamilyResult.STATUS_OK; 143 verifyLoaderOnFailedCalled(STATUS_OK, in testLoad_fontNotFound() 151 verifyLoaderOnFailedCalled(STATUS_OK, in testLoad_fontUnavailable() 159 verifyLoaderOnFailedCalled(STATUS_OK, in testLoad_malformedQuery() 167 verifyLoaderOnFailedCalled(STATUS_OK, new FontInfo[] {}, in testLoad_resultNotFound() 174 verifyLoaderOnFailedCalled(STATUS_OK, null /* fonts */, in testLoad_nullFontInfo() 182 verifyLoaderOnFailedCalled(STATUS_OK, in testLoad_cannotLoadTypeface() 195 doReturn(new FontFamilyResult(STATUS_OK, fonts)).when(mFontProviderHelper).fetchFonts( in testLoad_success() 214 doReturn(new FontFamilyResult(STATUS_OK, fonts)).when(mFontProviderHelper).fetchFonts( in testLoad_retryPolicy() 236 doReturn(new FontFamilyResult(STATUS_OK, fonts)).when(mFontProviderHelper).fetchFonts( in testLoad_keepRetryingAndGiveUp() [all …]
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 75 public static final int STATUS_OK = SoundTrigger.STATUS_OK; field in SoundTriggerHelper 120 if (status != SoundTrigger.STATUS_OK || modules.size() == 0) { in SoundTriggerHelper() 196 if (status != STATUS_OK) { in startKeyphraseRecognition() 218 if (status != STATUS_OK) { in cleanUpExistingKeyphraseModelLocked() 282 if (status != STATUS_OK) { in startRecognition() 311 if (status != SoundTrigger.STATUS_OK) { in startRecognition() 359 if (status != SoundTrigger.STATUS_OK) { in stopGenericRecognition() 398 if (status != SoundTrigger.STATUS_OK) { in stopKeyphraseRecognition() 442 if (status != SoundTrigger.STATUS_OK) { in stopRecognition() 465 int status = STATUS_OK; in tryStopAndUnloadLocked() [all …]
|
D | SoundTriggerInternal.java | 45 public static final int STATUS_OK = SoundTrigger.STATUS_OK; field in SoundTriggerInternal
|
D | SoundTriggerService.java | 26 import static android.hardware.soundtrigger.SoundTrigger.STATUS_OK; 262 return STATUS_OK; in loadGenericSoundModel() 293 return STATUS_OK; in loadKeyphraseSoundModel() 356 if (ret != STATUS_OK) { in startRecognitionForInt() 364 return STATUS_OK; in startRecognitionForInt() 403 if (ret != STATUS_OK) { in stopRecognitionForIntent() 411 return STATUS_OK; in stopRecognitionForIntent() 441 if (ret != STATUS_OK) { in unloadSoundModel() 446 return STATUS_OK; in unloadSoundModel()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | TunerAdapter.java | 78 return RadioManager.STATUS_OK; in setConfiguration() 95 return RadioManager.STATUS_OK; in getConfiguration() 113 return RadioManager.STATUS_OK; in setMute() 137 return RadioManager.STATUS_OK; in step() 151 return RadioManager.STATUS_OK; in scan() 168 return RadioManager.STATUS_OK; in tune() 191 return RadioManager.STATUS_OK; in cancel() 216 return RadioManager.STATUS_OK; in getProgramInformation()
|
D | RadioManager.java | 68 public static final int STATUS_OK = 0; field in RadioManager 1732 return STATUS_OK; in listModules()
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerDetector.java | 18 import static android.hardware.soundtrigger.SoundTrigger.STATUS_OK; 267 int status = STATUS_OK; in startRecognition() 275 return status == STATUS_OK; in startRecognition() 283 int status = STATUS_OK; in stopRecognition() 290 return status == STATUS_OK; in stopRecognition()
|
/frameworks/base/drm/java/android/drm/ |
D | DrmConvertedStatus.java | 36 public static final int STATUS_OK = 1; field in DrmConvertedStatus 79 return statusCode == STATUS_OK || in isValidStatusCode()
|
D | DrmInfoStatus.java | 35 public static final int STATUS_OK = 1; field in DrmInfoStatus 94 return statusCode == STATUS_OK || statusCode == STATUS_ERROR; in isValidStatusCode()
|
D | DrmOutputStream.java | 19 import static android.drm.DrmConvertedStatus.STATUS_OK; 70 if (status.statusCode == STATUS_OK) { in finish() 105 if (status.statusCode == STATUS_OK) { in write()
|
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
D | DrmPassthruPlugIn.cpp | 83 drmInfoStatus = new DrmInfoStatus(DrmInfoStatus::STATUS_OK, in onProcessDrmInfo() 89 drmInfoStatus = new DrmInfoStatus(DrmInfoStatus::STATUS_OK, in onProcessDrmInfo() 100 drmInfoStatus = new DrmInfoStatus(DrmInfoStatus::STATUS_OK, in onProcessDrmInfo() 230 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, convertedData, 0 /*offset*/); in onConvertData() 235 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, NULL, 0 /*offset*/); in onCloseConvertSession()
|
/frameworks/base/core/java/android/service/voice/ |
D | AlwaysOnHotwordDetector.java | 175 private static final int STATUS_OK = SoundTrigger.STATUS_OK; field in AlwaysOnHotwordDetector 414 return startRecognitionLocked(recognitionFlags) == STATUS_OK; in startRecognition() 442 return stopRecognitionLocked() == STATUS_OK; in stopRecognition() 582 if (code != STATUS_OK) { in startRecognitionLocked() 597 if (code != STATUS_OK) { in stopRecognitionLocked()
|
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/ |
D | GenericSoundModelTest.java | 141 android.hardware.soundtrigger.SoundTrigger.STATUS_OK, r); in testStartStopGenericSoundModel() 146 android.hardware.soundtrigger.SoundTrigger.STATUS_OK, r); in testStartStopGenericSoundModel() 237 android.hardware.soundtrigger.SoundTrigger.STATUS_OK, r); in testFuzzGenericSoundModel() 255 android.hardware.soundtrigger.SoundTrigger.STATUS_OK, r); in testFuzzGenericSoundModel()
|
/frameworks/support/compat/src/main/java/androidx/core/provider/ |
D | FontsContractCompat.java | 190 if (result.getStatusCode() == FontFamilyResult.STATUS_OK) { in getFontInternal() 247 if (typefaceResult.mResult == FontFamilyResult.STATUS_OK) { in getFontSync() 281 } else if (typeface.mResult == FontFamilyResult.STATUS_OK) { in getFontSync() 402 public static final int STATUS_OK = 0; field in FontsContractCompat.FontFamilyResult 419 @IntDef({STATUS_OK, STATUS_WRONG_CERTIFICATES, STATUS_UNEXPECTED_DATA_PROVIDED}) 551 if (result.getStatusCode() != FontFamilyResult.STATUS_OK) { in requestFont() 727 return new FontFamilyResult(FontFamilyResult.STATUS_OK, fonts); in fetchFonts()
|
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
D | EnrollmentUtil.java | 100 return status == SoundTrigger.STATUS_OK; in addOrUpdateSoundModel() 154 return status == SoundTrigger.STATUS_OK; in deleteSoundModel()
|
/frameworks/av/include/drm/ |
D | DrmConvertedStatus.h | 37 static const int STATUS_OK = 1;
|
D | DrmInfoStatus.h | 36 static const int STATUS_OK = 1;
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
D | DrmConvertSession.java | 97 convertedStatus.statusCode == DrmConvertedStatus.STATUS_OK && in convert() 131 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in close()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 264 public static final int STATUS_OK = 0; field in FontsContract.FontFamilyResult 287 STATUS_OK, 358 if (result.getStatusCode() == FontFamilyResult.STATUS_OK) { in getFontSync() 525 if (result.getStatusCode() != FontFamilyResult.STATUS_OK) { in requestFonts() 610 return new FontFamilyResult(FontFamilyResult.STATUS_OK, fonts); in fetchFonts()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractE2ETest.java | 162 assertEquals(FontFamilyResult.STATUS_OK, result.getStatusCode()); in typefaceNotCacheTest() 168 assertEquals(FontFamilyResult.STATUS_OK, result2.getStatusCode()); in typefaceNotCacheTest()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 834 return SoundTriggerInternal.STATUS_OK; in updateKeyphraseSoundModel() 857 if (unloadStatus != SoundTriggerInternal.STATUS_OK) { in deleteKeyphraseSoundModel() 861 return deleted ? SoundTriggerInternal.STATUS_OK : SoundTriggerInternal.STATUS_ERROR; in deleteKeyphraseSoundModel() 989 if (status != SoundTriggerInternal.STATUS_OK) { in unloadAllKeyphraseModels()
|
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/ |
D | FontsContractCompatTest.java | 125 assertEquals(FontFamilyResult.STATUS_OK, result.getStatusCode()); in typefaceNotCacheTest() 131 assertEquals(FontFamilyResult.STATUS_OK, result2.getStatusCode()); in typefaceNotCacheTest()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
D | FwdLockEngine.cpp | 88 retStatus = DrmConvertedStatus::STATUS_OK; in getConvertedStatus() 239 drmInfoStatus = new DrmInfoStatus((int)DrmInfoStatus::STATUS_OK, 0, NULL, String8("")); in onProcessDrmInfo()
|
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/ |
D | FontRequestEmojiCompatConfig.java | 232 if (result.getStatusCode() != FontsContractCompat.FontFamilyResult.STATUS_OK) { in retrieveFontInfo()
|