Home
last modified time | relevance | path

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

12

/frameworks/native/libs/binder/ndk/
Dparcel.cpp65 if (status != STATUS_OK) return PruneStatusT(status); in WriteAndValidateArraySize()
67 return STATUS_OK; in WriteAndValidateArraySize()
73 if (status != STATUS_OK) return status; in WriteArray()
74 if (length <= 0) return STATUS_OK; in WriteArray()
84 return STATUS_OK; in WriteArray()
91 if (status != STATUS_OK) return status; in WriteArray()
92 if (length <= 0) return STATUS_OK; in WriteArray()
102 if (status != STATUS_OK) return PruneStatusT(status); in WriteArray()
105 return STATUS_OK; in WriteArray()
116 if (status != STATUS_OK) return PruneStatusT(status); in ReadArray()
[all …]
Dibinder.cpp136 return STATUS_OK; in dump()
366 if (status != STATUS_OK) { in linkToDeath()
373 return STATUS_OK; in linkToDeath()
449 return STATUS_OK; in AIBinder_dump()
571 if (ret != STATUS_OK) { in AIBinder_prepareTransaction()
623 if (ret != STATUS_OK) { in AIBinder_transact()
670 return STATUS_OK; in AIBinder_getExtension()
684 return STATUS_OK; in AIBinder_setExtension()
/frameworks/native/libs/binder/ndk/tests/
Dlibbinder_ndk_unit_test.cpp74 return STATUS_OK; in handleShellCommand()
88 if (status != STATUS_OK) { in generatedService()
102 return STATUS_OK; in doubleNumber()
115 if (status != STATUS_OK) { in manualService()
121 CHECK(STATUS_OK == ABinderProcess_setupPolling(&fd)); in manualPollingService()
160 EXPECT_EQ(STATUS_OK, AIBinder_ping(binder)); in TEST()
170 EXPECT_EQ(STATUS_OK, foo->doubleNumber(1, &out)); in TEST()
198 EXPECT_EQ(STATUS_OK, AIBinder_linkToDeath(binder, recipient, static_cast<void*>(&onDeath))); in TEST()
219 EXPECT_EQ(STATUS_OK, AIBinder_ping(binder)); in TEST()
235 EXPECT_EQ(STATUS_OK, AIBinder_linkToDeath(binder, recipient, nullptr)); in TEST()
[all …]
Diface.cpp57 if (stat != STATUS_OK) break; in IFoo_Class_onTransact()
59 if (stat != STATUS_OK) break; in IFoo_Class_onTransact()
81 binder_status_t stat = STATUS_OK; in doubleNumber()
85 if (stat != STATUS_OK) return stat; in doubleNumber()
88 if (stat != STATUS_OK) return stat; in doubleNumber()
92 if (stat != STATUS_OK) return stat; in doubleNumber()
95 if (stat != STATUS_OK) return stat; in doubleNumber()
101 binder_status_t stat = STATUS_OK; in die()
DbinderVendorDoubleLoadTest.cpp97 EXPECT_EQ(STATUS_OK, AIBinder_ping(binder.get())) << serviceName; in TEST()
104 EXPECT_EQ(STATUS_OK, AIBinder_ping(server->asBinder().get())); in TEST()
108 EXPECT_EQ(STATUS_OK, AStatus_getExceptionCode(status.get())) in TEST()
120 EXPECT_EQ(STATUS_OK, AIBinder_ping(binder.get())); in TEST()
152 CHECK(STATUS_OK == AServiceManager_addService(ndkServer->asBinder().get(), in main()
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
DRadioTunerTest.java102 assertEquals(RadioManager.STATUS_OK, status); in setup()
198 assertEquals(RadioManager.STATUS_OK, ret); in testSetAndGetConfiguration()
204 assertEquals(RadioManager.STATUS_OK, ret); in testSetAndGetConfiguration()
220 assertEquals(RadioManager.STATUS_OK, ret); in testSetBadConfiguration()
232 assertEquals(RadioManager.STATUS_OK, ret); in testMute()
237 assertEquals(RadioManager.STATUS_OK, ret); in testMute()
258 assertEquals(RadioManager.STATUS_OK, ret); in testStep()
264 assertEquals(RadioManager.STATUS_OK, ret); in testStep()
276 assertEquals(RadioManager.STATUS_OK, ret); in testStepLoop()
291 assertEquals(RadioManager.STATUS_OK, ret); in testTuneAndGetPI()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java76 public static final int STATUS_OK = SoundTrigger.STATUS_OK; field in SoundTriggerHelper
121 if (status != SoundTrigger.STATUS_OK || modules.size() == 0) { in SoundTriggerHelper()
197 if (status != STATUS_OK) { in startKeyphraseRecognition()
219 if (status != STATUS_OK) { in cleanUpExistingKeyphraseModelLocked()
278 if (status != STATUS_OK) { in startRecognition()
307 if (status != SoundTrigger.STATUS_OK) { in startRecognition()
328 if (status == STATUS_OK) { in startRecognition()
362 if (status != SoundTrigger.STATUS_OK) { in stopGenericRecognition()
401 if (status != SoundTrigger.STATUS_OK) { in stopKeyphraseRecognition()
445 if (status != SoundTrigger.STATUS_OK) { in stopRecognition()
[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;
275 if (ret == STATUS_OK) { in startRecognition()
294 if (ret == STATUS_OK) { in stopRecognition()
378 return STATUS_OK; in loadGenericSoundModel()
422 return STATUS_OK; in loadKeyphraseSoundModel()
484 if (ret != STATUS_OK) { in startRecognitionForService()
498 return STATUS_OK; in startRecognitionForService()
550 if (ret != STATUS_OK) { in stopRecognitionForService()
564 return STATUS_OK; in stopRecognitionForService()
605 if (ret != STATUS_OK) { in unloadSoundModel()
[all …]
/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()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java18 import static android.hardware.soundtrigger.SoundTrigger.STATUS_OK;
270 int status = STATUS_OK; in startRecognition()
278 return status == STATUS_OK; in startRecognition()
286 int status = STATUS_OK; in stopRecognition()
293 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/native/libs/binder/ndk/include_cpp/android/
Dbinder_parcel_utils.h170 if (status == STATUS_OK) { in AParcel_readNullableStrongBinder()
194 if (ret == STATUS_OK) { in AParcel_readRequiredStrongBinder()
219 if (status == STATUS_OK) { in AParcel_readNullableParcelFileDescriptor()
243 if (status == STATUS_OK) { in AParcel_readRequiredParcelFileDescriptor()
429 if (status != STATUS_OK) { in AParcel_writeParcelable()
442 if (status != STATUS_OK) { in AParcel_readParcelable()
461 if (status != STATUS_OK) { in AParcel_writeNullableParcelable()
475 if (status != STATUS_OK) { in AParcel_readNullableParcelable()
480 return STATUS_OK; in AParcel_readNullableParcelable()
533 if (status == STATUS_OK) {
[all …]
/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/identity/java/android/security/identity/
DResultData.java35 public static final int STATUS_OK = 0; field in ResultData
211 @IntDef({STATUS_OK, STATUS_NO_SUCH_ENTRY, STATUS_NOT_REQUESTED, STATUS_NOT_IN_REQUEST_MESSAGE,
DCredstoreResultData.java90 if (entry.getValue().mStatus == STATUS_OK) { in getRetrievedEntryNames()
147 innerMap.put(name, new EntryData(value, STATUS_OK)); in addEntry()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java175 private static final int STATUS_OK = SoundTrigger.STATUS_OK; field in AlwaysOnHotwordDetector
415 return startRecognitionLocked(recognitionFlags) == STATUS_OK; in startRecognition()
443 return stopRecognitionLocked() == STATUS_OK; in stopRecognition()
583 if (code != STATUS_OK) { in startRecognitionLocked()
598 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/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/base/telephony/common/com/google/android/mms/util/
DDrmConvertSession.java106 convertedStatus.statusCode == DrmConvertedStatus.STATUS_OK && in convert()
141 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in close()
/frameworks/av/include/drm/
DDrmConvertedStatus.h37 static const int STATUS_OK = 1;
DDrmInfoStatus.h36 static const int STATUS_OK = 1;
/frameworks/base/core/java/android/provider/
DFontsContract.java261 public static final int STATUS_OK = 0; field in FontsContract.FontFamilyResult
284 STATUS_OK,
355 if (result.getStatusCode() == FontFamilyResult.STATUS_OK) { in getFontSync()
522 if (result.getStatusCode() != FontFamilyResult.STATUS_OK) { in requestFonts()
607 return new FontFamilyResult(FontFamilyResult.STATUS_OK, fonts); in fetchFonts()

12