Home
last modified time | relevance | path

Searched refs:STATUS_OK (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
DRadioTunerTest.java104 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/
DFontRequestEmojiCompatConfigTest.java25 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/
DSoundTriggerHelper.java75 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 …]
DSoundTriggerInternal.java45 public static final int STATUS_OK = SoundTrigger.STATUS_OK; field in SoundTriggerInternal
DSoundTriggerService.java26 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/
DTunerAdapter.java78 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()
DRadioManager.java68 public static final int STATUS_OK = 0; field in RadioManager
1732 return STATUS_OK; in listModules()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java18 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/
DDrmConvertedStatus.java36 public static final int STATUS_OK = 1; field in DrmConvertedStatus
79 return statusCode == STATUS_OK || in isValidStatusCode()
DDrmInfoStatus.java35 public static final int STATUS_OK = 1; field in DrmInfoStatus
94 return statusCode == STATUS_OK || statusCode == STATUS_ERROR; in isValidStatusCode()
DDrmOutputStream.java19 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/
DDrmPassthruPlugIn.cpp83 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/
DAlwaysOnHotwordDetector.java175 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/
DGenericSoundModelTest.java141 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/
DFontsContractCompat.java190 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/
DEnrollmentUtil.java100 return status == SoundTrigger.STATUS_OK; in addOrUpdateSoundModel()
154 return status == SoundTrigger.STATUS_OK; in deleteSoundModel()
/frameworks/av/include/drm/
DDrmConvertedStatus.h37 static const int STATUS_OK = 1;
DDrmInfoStatus.h36 static const int STATUS_OK = 1;
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
DDrmConvertSession.java97 convertedStatus.statusCode == DrmConvertedStatus.STATUS_OK && in convert()
131 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in close()
/frameworks/base/core/java/android/provider/
DFontsContract.java264 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/
DFontsContractE2ETest.java162 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/
DVoiceInteractionManagerService.java834 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/
DFontsContractCompatTest.java125 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/
DFwdLockEngine.cpp88 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/
DFontRequestEmojiCompatConfig.java232 if (result.getStatusCode() != FontsContractCompat.FontFamilyResult.STATUS_OK) { in retrieveFontInfo()

12