Home
last modified time | relevance | path

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

123

/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.cpp129 return STATUS_OK; in dump()
359 if (status != STATUS_OK) { in linkToDeath()
366 return STATUS_OK; in linkToDeath()
442 return STATUS_OK; in AIBinder_dump()
564 if (ret != STATUS_OK) { in AIBinder_prepareTransaction()
616 if (ret != STATUS_OK) { in AIBinder_transact()
663 return STATUS_OK; in AIBinder_getExtension()
677 return STATUS_OK; in AIBinder_setExtension()
/frameworks/native/libs/binder/ndk/test/
Dlibbinder_ndk_unit_test.cpp61 return STATUS_OK; in handleShellCommand()
72 if (status != STATUS_OK) { in generatedService()
86 return STATUS_OK; in doubleNumber()
101 if (status != STATUS_OK) { in manualService()
124 EXPECT_EQ(STATUS_OK, AIBinder_ping(binder)); in TEST()
134 EXPECT_EQ(STATUS_OK, foo->doubleNumber(1, &out)); in TEST()
162 EXPECT_EQ(STATUS_OK, AIBinder_linkToDeath(binder, recipient, static_cast<void*>(&onDeath))); in TEST()
183 EXPECT_EQ(STATUS_OK, AIBinder_ping(binder)); in TEST()
199 EXPECT_EQ(STATUS_OK, AIBinder_linkToDeath(binder, recipient, nullptr)); in TEST()
200 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.java83 public static final int STATUS_OK = SoundTrigger.STATUS_OK; field in SoundTriggerHelper
135 if (status != SoundTrigger.STATUS_OK || modules.size() == 0) { in SoundTriggerHelper()
236 if (status != STATUS_OK) { in startKeyphraseRecognition()
258 if (status != STATUS_OK) { in cleanUpExistingKeyphraseModelLocked()
282 if (status != SoundTrigger.STATUS_OK) { in prepareForRecognition()
292 return STATUS_OK; in prepareForRecognition()
353 if (status != STATUS_OK) { in startRecognition()
368 return STATUS_OK; in startRecognition()
372 if (status != STATUS_OK) { in startRecognition()
380 if (status == STATUS_OK) { in startRecognition()
[all …]
DSoundTriggerInternal.java45 public static final int STATUS_OK = SoundTrigger.STATUS_OK; field in SoundTriggerInternal
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTriggerModule.java108 return SoundTrigger.STATUS_OK; in loadSoundModel()
114 return SoundTrigger.STATUS_OK; in loadSoundModel()
138 return SoundTrigger.STATUS_OK; in unloadSoundModel()
167 return SoundTrigger.STATUS_OK; in startRecognition()
190 return SoundTrigger.STATUS_OK; in stopRecognition()
215 return SoundTrigger.STATUS_OK; in getModelState()
241 return SoundTrigger.STATUS_OK; in setParameter()
/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/drm/java/android/drm/
DDrmConvertedStatus.java38 public static final int STATUS_OK = 1; field in DrmConvertedStatus
81 return statusCode == STATUS_OK || in isValidStatusCode()
DDrmInfoStatus.java37 public static final int STATUS_OK = 1; field in DrmInfoStatus
96 return statusCode == STATUS_OK || statusCode == STATUS_ERROR; in isValidStatusCode()
DDrmOutputStream.java19 import static android.drm.DrmConvertedStatus.STATUS_OK;
72 if (status.statusCode == STATUS_OK) { in finish()
107 if (status.statusCode == STATUS_OK) { in write()
/frameworks/native/libs/binder/ndk/include_ndk/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/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java18 import static android.hardware.soundtrigger.SoundTrigger.STATUS_OK;
314 return status == STATUS_OK; in startRecognition()
322 int status = STATUS_OK; in stopRecognition()
329 return status == STATUS_OK; in stopRecognition()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java213 private static final int STATUS_OK = SoundTrigger.STATUS_OK; field in AlwaysOnHotwordDetector
529 return startRecognitionLocked(recognitionFlags) == STATUS_OK; in startRecognition()
559 return stopRecognitionLocked() == STATUS_OK; in stopRecognition()
793 if (code != STATUS_OK) { in startRecognitionLocked()
808 if (code != STATUS_OK) { in stopRecognitionLocked()
819 if (code != STATUS_OK) { in setParameterLocked()
/frameworks/base/media/java/android/media/voice/
DKeyphraseModelManager.java117 if (status != SoundTrigger.STATUS_OK) { in updateKeyphraseSoundModel()
150 if (status != SoundTrigger.STATUS_OK) { in deleteKeyphraseSoundModel()
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
DGenericSoundModelTest.java140 android.hardware.soundtrigger.SoundTrigger.STATUS_OK, r); in testStartStopGenericSoundModel()
145 android.hardware.soundtrigger.SoundTrigger.STATUS_OK, r); in testStartStopGenericSoundModel()
237 android.hardware.soundtrigger.SoundTrigger.STATUS_OK, r); in testFuzzGenericSoundModel()
256 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/av/include/drm/
DDrmConvertedStatus.h37 static const int STATUS_OK = 1;
DDrmInfoStatus.h36 static const int STATUS_OK = 1;
/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()

123