Home
last modified time | relevance | path

Searched refs:initResult (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/media/java/android/media/audiofx/
DStreamDefaultEffect.java65 int initResult = native_setup(type.toString(), in StreamDefaultEffect() local
71 if (initResult != AudioEffect.SUCCESS) { in StreamDefaultEffect()
72 Log.e(TAG, "Error code " + initResult + " when initializing StreamDefaultEffect"); in StreamDefaultEffect()
73 switch (initResult) { in StreamDefaultEffect()
83 + " Error: " + initResult)); in StreamDefaultEffect()
DSourceDefaultEffect.java66 int initResult = native_setup(type.toString(), in SourceDefaultEffect() local
72 if (initResult != AudioEffect.SUCCESS) { in SourceDefaultEffect()
73 Log.e(TAG, "Error code " + initResult + " when initializing SourceDefaultEffect"); in SourceDefaultEffect()
74 switch (initResult) { in SourceDefaultEffect()
84 + " Error: " + initResult)); in SourceDefaultEffect()
DAudioEffect.java525 int initResult; in AudioEffect() local
528 initResult = native_setup(new WeakReference<>(this), type.toString(), uuid.toString(), in AudioEffect()
532 if (initResult != SUCCESS && initResult != ALREADY_EXISTS) { in AudioEffect()
533 Log.e(TAG, "Error code " + initResult in AudioEffect()
535 switch (initResult) { in AudioEffect()
545 + " Error: " + initResult)); in AudioEffect()
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { in UnitTest() argument
43 result = initResult; in UnitTest()
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { in UnitTest() argument
43 result = initResult; in UnitTest()
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { in UnitTest() argument
43 result = initResult; in UnitTest()
/frameworks/base/media/java/android/media/
DAudioRecord.java477 int initResult = native_setup(new WeakReference<AudioRecord>(this), mAudioAttributes, in AudioRecord() local
481 if (initResult != SUCCESS) { in AudioRecord()
482 loge("Error code " + initResult + " when initializing native AudioRecord object."); in AudioRecord()
533 final int initResult; in deferred_connect() local
536 initResult = native_setup(new WeakReference<>(this), in deferred_connect()
549 if (initResult != SUCCESS) { in deferred_connect()
550 loge("Error code "+initResult+" when initializing native AudioRecord object."); in deferred_connect()
DAudioTrack.java876 int initResult = native_setup(new WeakReference<AudioTrack>(this), mAttributes, in AudioTrack() local
881 if (initResult != SUCCESS) { in AudioTrack()
882 loge("Error code " + initResult + " when initializing AudioTrack."); in AudioTrack()
958 int initResult = native_setup(new WeakReference<AudioTrack>(this), in deferred_connect() local
973 if (initResult != SUCCESS) { in deferred_connect()
974 loge("Error code " + initResult + " when initializing AudioTrack."); in deferred_connect()