Home
last modified time | relevance | path

Searched refs:ALREADY_EXISTS (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/av/media/libmedia/
DAudioEffect.cpp133 if (iEffect == 0 || (mStatus != NO_ERROR && mStatus != ALREADY_EXISTS)) { in set()
170 if (mStatus == NO_ERROR || mStatus == ALREADY_EXISTS) { in ~AudioEffect()
206 return (mStatus == ALREADY_EXISTS) ? (status_t) INVALID_OPERATION : mStatus; in setEnabled()
233 if (mStatus != NO_ERROR && mStatus != ALREADY_EXISTS) { in command()
267 return (mStatus == ALREADY_EXISTS) ? (status_t) INVALID_OPERATION : mStatus; in setParameter()
287 return (mStatus == ALREADY_EXISTS) ? (status_t) INVALID_OPERATION : mStatus; in setParameterDeferred()
313 return (mStatus == ALREADY_EXISTS) ? (status_t) INVALID_OPERATION : mStatus; in setParameterCommit()
326 if (mStatus != NO_ERROR && mStatus != ALREADY_EXISTS) { in getParameter()
365 if (mStatus == ALREADY_EXISTS) { in controlStatusChanged()
370 mStatus = ALREADY_EXISTS; in controlStatusChanged()
[all …]
DAudioParameter.cpp94 return ALREADY_EXISTS; in add()
/frameworks/base/core/java/android/hardware/camera2/utils/
DCameraBinderDecorator.java41 public static final int ALREADY_EXISTS = -17; field in CameraBinderDecorator
109 case ALREADY_EXISTS: in throwOnError()
/frameworks/base/tools/aapt/
DApkBuilder.cpp40 return ALREADY_EXISTS; in createSplitForConfigs()
112 return ALREADY_EXISTS; in addEntry()
DPackage.cpp349 if (result == ALREADY_EXISTS) { in processFile()
DAaptAssets.cpp622 return ALREADY_EXISTS; in addFile()
631 return ALREADY_EXISTS; in addDir()
DZipFile.cpp381 return ALREADY_EXISTS; in addCommon()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraUtilsBinderDecoratorTest.java78 when(mock.doSomethingAlreadyExists()).thenReturn(ALREADY_EXISTS); in testStereotypes()
109 assertEquals(ALREADY_EXISTS, decoratedMock.doSomethingAlreadyExists()); in testStereotypes()
/frameworks/native/include/binder/
DMemoryHeapBase.h79 return mDevice ? NO_ERROR : ALREADY_EXISTS; in setDevice()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTestUtils.java23 protected static final int ALREADY_EXISTS = -17; field in CameraBinderTestUtils
DCameraDeviceBinderTest.java242 assertEquals(CameraBinderTestUtils.ALREADY_EXISTS, in testCreateStream()
264 assertEquals(CameraBinderTestUtils.ALREADY_EXISTS, in testCreateStreamTwo()
DCameraBinderTest.java345 CameraBinderTestUtils.ALREADY_EXISTS); in testAddRemoveListeners()
/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java130 public static final int ALREADY_EXISTS = -2; field in Visualizer
210 if (result != SUCCESS && result != ALREADY_EXISTS) { in Visualizer()
DAudioEffect.java175 public static final int ALREADY_EXISTS = -2; field in AudioEffect
399 if (initResult != SUCCESS && initResult != ALREADY_EXISTS) { in AudioEffect()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterfaceImplLegacy.cpp168 if (status != NO_ERROR && status != ALREADY_EXISTS) { in startOutput()
205 if (status != NO_ERROR && status != ALREADY_EXISTS) { in doStopOutput()
277 if (status != NO_ERROR && status != ALREADY_EXISTS) { in getInputForAttr()
DAudioPolicyInterfaceImpl.cpp182 if (status != NO_ERROR && status != ALREADY_EXISTS) { in startOutput()
218 if (status != NO_ERROR && status != ALREADY_EXISTS) { in doStopOutput()
313 if (status != NO_ERROR && status != ALREADY_EXISTS) { in getInputForAttr()
DAudioPolicyEffects.cpp115 if (status != NO_ERROR && status != ALREADY_EXISTS) { in addInputEffects()
260 if (status != NO_ERROR && status != ALREADY_EXISTS) { in addOutputSessionEffects()
/frameworks/av/services/camera/libcameraservice/api_pro/
DProCamera2Client.cpp106 return ALREADY_EXISTS; in exclusiveTryLock()
140 return ALREADY_EXISTS; in exclusiveLock()
/frameworks/base/libs/common_time/
Dcommon_clock_service.cpp103 return ALREADY_EXISTS; in registerListener()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerFactory.cpp54 return ALREADY_EXISTS; in registerFactory_l()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp119 case ALREADY_EXISTS: in translateError()
Dandroid_media_AudioEffect.cpp76 case ALREADY_EXISTS: in translateError()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp335 return ALREADY_EXISTS; in createStream()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp846 if (status == NO_ERROR || status == ALREADY_EXISTS) { in threadLoop()
/frameworks/av/camera/tests/
DProCameraTests.cpp1240 EXPECT_EQ(ALREADY_EXISTS, ProCamera::addServiceListener(listener)); in TEST_F()

12