Searched refs:STATUS_OK (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/drm/java/android/drm/
H A DDrmConvertedStatus.java36 public static final int STATUS_OK = 1; field in class:DrmConvertedStatus
79 return statusCode == STATUS_OK ||
H A DDrmInfoStatus.java35 public static final int STATUS_OK = 1; field in class:DrmInfoStatus
94 return statusCode == STATUS_OK || statusCode == STATUS_ERROR;
H A DDrmOutputStream.java19 import static android.drm.DrmConvertedStatus.STATUS_OK;
70 if (status.statusCode == STATUS_OK) {
105 if (status.statusCode == STATUS_OK) {
H A DDrmManagerClient.java148 if (null != status && DrmInfoStatus.STATUS_OK == status.statusCode) {
/frameworks/av/include/drm/
H A DDrmConvertedStatus.h37 static const int STATUS_OK = 1; member in class:android::DrmConvertedStatus
H A DDrmInfoStatus.h36 static const int STATUS_OK = 1; member in class:android::DrmInfoStatus
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
H A DRadioTunerTest.java104 assertEquals(RadioManager.STATUS_OK, status);
201 assertEquals(RadioManager.STATUS_OK, ret);
207 assertEquals(RadioManager.STATUS_OK, ret);
223 assertEquals(RadioManager.STATUS_OK, ret);
235 assertEquals(RadioManager.STATUS_OK, ret);
240 assertEquals(RadioManager.STATUS_OK, ret);
261 assertEquals(RadioManager.STATUS_OK, ret);
267 assertEquals(RadioManager.STATUS_OK, ret);
279 assertEquals(RadioManager.STATUS_OK, ret);
294 assertEquals(RadioManager.STATUS_OK, re
[all...]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DSoundTriggerInternal.java45 public static final int STATUS_OK = SoundTrigger.STATUS_OK; field in class:SoundTriggerInternal
54 * @return One of {@link #STATUS_ERROR} or {@link #STATUS_OK}.
67 * @return One of {@link #STATUS_ERROR} or {@link #STATUS_OK}.
H A DSoundTriggerHelper.java75 public static final int STATUS_OK = SoundTrigger.STATUS_OK; field in class:SoundTriggerHelper
120 if (status != SoundTrigger.STATUS_OK || modules.size() == 0) {
139 * @return One of {@link #STATUS_ERROR} or {@link #STATUS_OK}.
168 * @return One of {@link #STATUS_ERROR} or {@link #STATUS_OK}.
196 if (status != STATUS_OK) {
218 if (status != STATUS_OK) {
236 * @return One of {@link #STATUS_ERROR} or {@link #STATUS_OK}.
282 if (status != STATUS_OK) {
311 if (status != SoundTrigger.STATUS_OK) {
[all...]
H A DSoundTriggerService.java26 import static android.hardware.soundtrigger.SoundTrigger.STATUS_OK;
262 return STATUS_OK;
293 return STATUS_OK;
356 if (ret != STATUS_OK) {
364 return STATUS_OK;
403 if (ret != STATUS_OK) {
411 return STATUS_OK;
441 if (ret != STATUS_OK) {
446 return STATUS_OK;
/frameworks/base/core/java/android/hardware/radio/
H A DTunerAdapter.java78 return RadioManager.STATUS_OK;
95 return RadioManager.STATUS_OK;
113 return RadioManager.STATUS_OK;
137 return RadioManager.STATUS_OK;
151 return RadioManager.STATUS_OK;
168 return RadioManager.STATUS_OK;
191 return RadioManager.STATUS_OK;
216 return RadioManager.STATUS_OK;
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp83 drmInfoStatus = new DrmInfoStatus(DrmInfoStatus::STATUS_OK,
89 drmInfoStatus = new DrmInfoStatus(DrmInfoStatus::STATUS_OK,
100 drmInfoStatus = new DrmInfoStatus(DrmInfoStatus::STATUS_OK,
230 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, convertedData, 0 /*offset*/);
235 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, NULL, 0 /*offset*/);
/frameworks/base/media/java/android/media/soundtrigger/
H A DSoundTriggerDetector.java18 import static android.hardware.soundtrigger.SoundTrigger.STATUS_OK;
267 int status = STATUS_OK;
275 return status == STATUS_OK;
283 int status = STATUS_OK;
290 return status == STATUS_OK;
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
H A DEnrollmentUtil.java100 return status == SoundTrigger.STATUS_OK;
154 return status == SoundTrigger.STATUS_OK;
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
H A DFontRequestEmojiCompatConfigTest.java25 import static androidx.core.provider.FontsContractCompat.FontFamilyResult.STATUS_OK;
143 verifyLoaderOnFailedCalled(STATUS_OK,
151 verifyLoaderOnFailedCalled(STATUS_OK,
159 verifyLoaderOnFailedCalled(STATUS_OK,
167 verifyLoaderOnFailedCalled(STATUS_OK, new FontInfo[] {},
174 verifyLoaderOnFailedCalled(STATUS_OK, null /* fonts */,
182 verifyLoaderOnFailedCalled(STATUS_OK,
195 doReturn(new FontFamilyResult(STATUS_OK, fonts)).when(mFontProviderHelper).fetchFonts(
214 doReturn(new FontFamilyResult(STATUS_OK, fonts)).when(mFontProviderHelper).fetchFonts(
236 doReturn(new FontFamilyResult(STATUS_OK, font
[all...]
/frameworks/base/core/java/android/service/voice/
H A DAlwaysOnHotwordDetector.java175 private static final int STATUS_OK = SoundTrigger.STATUS_OK; field in class:AlwaysOnHotwordDetector
414 return startRecognitionLocked(recognitionFlags) == STATUS_OK;
442 return stopRecognitionLocked() == STATUS_OK;
582 if (code != STATUS_OK) {
597 if (code != STATUS_OK) {
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DDrmConvertSession.java97 convertedStatus.statusCode == DrmConvertedStatus.STATUS_OK &&
131 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK ||
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
H A DGenericSoundModelTest.java141 android.hardware.soundtrigger.SoundTrigger.STATUS_OK, r);
146 android.hardware.soundtrigger.SoundTrigger.STATUS_OK, r);
237 android.hardware.soundtrigger.SoundTrigger.STATUS_OK, r);
255 android.hardware.soundtrigger.SoundTrigger.STATUS_OK, r);
/frameworks/support/compat/src/main/java/androidx/core/provider/
H A DFontsContractCompat.java190 if (result.getStatusCode() == FontFamilyResult.STATUS_OK) {
247 if (typefaceResult.mResult == FontFamilyResult.STATUS_OK) {
281 } else if (typeface.mResult == FontFamilyResult.STATUS_OK) {
402 public static final int STATUS_OK = 0; field in class:FontsContractCompat.FontFamilyResult
419 @IntDef({STATUS_OK, STATUS_WRONG_CERTIFICATES, STATUS_UNEXPECTED_DATA_PROVIDED})
551 if (result.getStatusCode() != FontFamilyResult.STATUS_OK) {
727 return new FontFamilyResult(FontFamilyResult.STATUS_OK, fonts);
/frameworks/base/core/tests/coretests/src/android/provider/
H A DFontsContractE2ETest.java162 assertEquals(FontFamilyResult.STATUS_OK, result.getStatusCode());
168 assertEquals(FontFamilyResult.STATUS_OK, result2.getStatusCode());
/frameworks/base/core/java/android/provider/
H A DFontsContract.java264 public static final int STATUS_OK = 0; field in class:FontsContract.FontFamilyResult
287 STATUS_OK,
358 if (result.getStatusCode() == FontFamilyResult.STATUS_OK) {
525 if (result.getStatusCode() != FontFamilyResult.STATUS_OK) {
610 return new FontFamilyResult(FontFamilyResult.STATUS_OK, fonts);
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/
H A DFontRequestEmojiCompatConfig.java232 if (result.getStatusCode() != FontsContractCompat.FontFamilyResult.STATUS_OK) {
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp88 retStatus = DrmConvertedStatus::STATUS_OK;
239 drmInfoStatus = new DrmInfoStatus((int)DrmInfoStatus::STATUS_OK, 0, NULL, String8(""));
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/
H A DFontsContractCompatTest.java125 assertEquals(FontFamilyResult.STATUS_OK, result.getStatusCode());
131 assertEquals(FontFamilyResult.STATUS_OK, result2.getStatusCode());
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionManagerService.java834 return SoundTriggerInternal.STATUS_OK;
857 if (unloadStatus != SoundTriggerInternal.STATUS_OK) {
861 return deleted ? SoundTriggerInternal.STATUS_OK : SoundTriggerInternal.STATUS_ERROR;
989 if (status != SoundTriggerInternal.STATUS_OK) {

Completed in 836 milliseconds

12