/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioRoute.cpp | 31 String8 result; local 34 result.append(buffer); 37 result.append(buffer); 41 result.append(buffer); 44 result.append(buffer); 47 result.append("\n"); 49 write(fd, result.string(), result.size());
|
AudioSourceDescriptor.cpp | 36 String8 result; local 39 result.append(buffer); 41 result.append(buffer); 42 write(fd, result.string(), result.size());
|
/frameworks/base/libs/hwui/tests/microbench/ |
PathParserBench.cpp | 32 PathParser::ParseResult result; local 34 PathParser::parseAsciiStringForSkPath(&skPath, &result, sPathString, length); 35 benchmark::DoNotOptimize(&result); 44 PathParser::ParseResult result; local 46 PathParser::getPathDataFromAsciiString(&outData, &result, sPathString, length); 47 benchmark::DoNotOptimize(&result);
|
/frameworks/base/tools/aapt2/java/ |
AnnotationProcessor_test.cpp | 30 std::stringstream result; local 31 processor.writeToStream(&result, ""); 32 std::string annotations = result.str(); 41 std::stringstream result; local 42 processor.writeToStream(&result, ""); 43 std::string annotations = result.str();
|
/frameworks/compile/libbcc/lib/Support/ |
OutputFile.cpp | 91 llvm::raw_fd_ostream *result = local 94 if (result == nullptr) { 98 return result;
|
/frameworks/compile/mclinker/lib/MC/ |
ContextFactory.cpp | 25 LDContext* result = find(pPath); local 26 if (result == NULL) { 27 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate(); 28 new (result) LDContext(); 29 f_KeyMap.insert(std::make_pair(pPath, result)); 31 return result; 39 LDContext* result = allocate(); local 40 new (result) LDContext(); 41 return result;
|
InputFactory.cpp | 37 Input* result = Alloc::allocate(); local 38 new (result) Input(pName, pPath, *m_pLast, pType, pFileOffset); 39 return result; 46 Input* result = Alloc::allocate(); local 47 new (result) Input(pName, sys::fs::Path(pPath), *m_pLast, pType, pFileOffset); 48 return result;
|
/frameworks/wilhelm/src/itf/ |
IAudioDecoderCapabilities.c | 28 result = SL_RESULT_PARAMETER_INVALID; 30 result = SL_RESULT_SUCCESS; 37 result = SL_RESULT_PARAMETER_INVALID; 54 result = GetCodecCapabilities(decoderId, pIndex, pDescriptor, DecoderDescriptors); local
|
IAudioEncoderCapabilities.c | 28 result = SL_RESULT_PARAMETER_INVALID; 30 result = SL_RESULT_SUCCESS; 37 result = SL_RESULT_PARAMETER_INVALID; 54 result = GetCodecCapabilities(encoderId, pIndex, pDescriptor, local
|
/frameworks/wilhelm/src/objects/ |
CAudioRecorder.c | 26 SLresult result = SL_RESULT_SUCCESS; local 30 result = android_audioRecorder_realize(thiz, async); 33 return result;
|
CMediaPlayer.c | 29 XAresult result = XA_RESULT_SUCCESS; local 35 result = android_Player_realize(thiz, async); 38 return result;
|
/hardware/bsp/intel/peripheral/libmraa/examples/java/ |
BlinkIO.java | 31 import mraa.Result; 58 Result result = gpio.dir(Dir.DIR_OUT); local 59 if (result != Result.SUCCESS) { 60 mraa.printError(result);
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
GroveMoistureSample.java | 41 String result; local 44 result = "Dry"; 46 result = "Moist"; 48 result = "Wet"; 50 System.out.println("Moisture Value: " + moisture_val + ", " + result);
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
vc1parse_pic_com.c | 31 int32_t result; local 41 result = viddec_pm_peek_bits(ctxt, &tempValue, 17); 42 if(result == -1)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
ListResourceBundleTest.java | 36 Vector<String> result = new Vector<String>(); local 38 result.addElement(keys.nextElement()); 40 assertTrue("Missing key parent1", result.contains("parent1")); 41 assertTrue("Missing key parent2", result.contains("parent2")); 42 assertTrue("Missing key parent3", result.contains("parent3")); 43 assertTrue("Missing key parent4", result.contains("parent4")); 44 assertTrue("Missing key child1", result.contains("child1")); 45 assertTrue("Missing key child2", result.contains("child2")); 46 assertTrue("Missing key child3", result.contains("child3")); 56 Vector result = new Vector() local [all...] |
/libcore/luni/src/main/native/ |
IcuUtilities.cpp | 40 jobjectArray result = env->NewObjectArray(count, JniConstants::stringClass, NULL); local 47 env->SetObjectArrayElement(result, i, javaString.get()); 49 return result;
|
/ndk/sources/cxx-stl/stlport/src/ |
collate.cpp | 36 unsigned long result = 0; local 38 result = 5 * result + *low; 39 return result; 56 unsigned long result = 0; local 58 result = 5 * result + *low; 59 return result;
|
/ndk/tests/device/test-gnustl-full/unit/ |
merge_test.cpp | 40 int result[10]; local 41 merge((int*)numbers1, (int*)numbers1 + 5, (int*)numbers2, (int*)numbers2 + 5, (int*)result); 43 CPPUNIT_ASSERT(result[0]==-5); 44 CPPUNIT_ASSERT(result[1]==1); 45 CPPUNIT_ASSERT(result[2]==6); 46 CPPUNIT_ASSERT(result[3]==13); 47 CPPUNIT_ASSERT(result[4]==25); 48 CPPUNIT_ASSERT(result[5]==26); 49 CPPUNIT_ASSERT(result[6]==36); 50 CPPUNIT_ASSERT(result[7]==46) [all...] |
rotate_test.cpp | 94 int result[6]; local 95 rotate_copy((int*)numbers, (int*)numbers + 3, (int*)numbers + 6, (int*)result); 97 CPPUNIT_ASSERT(result[0]==3); 98 CPPUNIT_ASSERT(result[1]==4); 99 CPPUNIT_ASSERT(result[2]==5); 100 CPPUNIT_ASSERT(result[3]==0); 101 CPPUNIT_ASSERT(result[4]==1); 102 CPPUNIT_ASSERT(result[5]==2);
|
/ndk/tests/device/test-stlport/unit/ |
merge_test.cpp | 40 int result[10]; local 41 merge((int*)numbers1, (int*)numbers1 + 5, (int*)numbers2, (int*)numbers2 + 5, (int*)result); 43 CPPUNIT_ASSERT(result[0]==-5); 44 CPPUNIT_ASSERT(result[1]==1); 45 CPPUNIT_ASSERT(result[2]==6); 46 CPPUNIT_ASSERT(result[3]==13); 47 CPPUNIT_ASSERT(result[4]==25); 48 CPPUNIT_ASSERT(result[5]==26); 49 CPPUNIT_ASSERT(result[6]==36); 50 CPPUNIT_ASSERT(result[7]==46) [all...] |
rotate_test.cpp | 94 int result[6]; local 95 rotate_copy((int*)numbers, (int*)numbers + 3, (int*)numbers + 6, (int*)result); 97 CPPUNIT_ASSERT(result[0]==3); 98 CPPUNIT_ASSERT(result[1]==4); 99 CPPUNIT_ASSERT(result[2]==5); 100 CPPUNIT_ASSERT(result[3]==0); 101 CPPUNIT_ASSERT(result[4]==1); 102 CPPUNIT_ASSERT(result[5]==2);
|
/packages/apps/Camera2/tests/src/com/android/camera/ |
StressTests.java | 39 TestSuite result = new TestSuite(); local 40 result.addTestSuite(CameraLatency.class); 41 result.addTestSuite(CameraStartUp.class); 42 result.addTestSuite(ImageCapture.class); 43 // result.addTestSuite(SwitchPreview.class); 44 return result;
|
/packages/apps/Camera2/tests_camera/src/com/android/camera/ |
StressTests.java | 40 TestSuite result = new TestSuite(); local 41 result.addTestSuite(SwitchPreview.class); 42 result.addTestSuite(ImageCapture.class); 43 result.addTestSuite(CameraLatency.class); 44 result.addTestSuite(CameraStartUp.class); 45 return result;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
trsMatrix.cpp | 40 // return: result if successful 68 double result; local 70 result = m[0][0] * (m[1][1] * m[2][2] - m[1][2] * m[2][1]); 71 result += m[0][1] * (m[1][2] * m[2][0] - m[1][0] * m[2][2]); 72 result += m[0][2] * (m[1][0] * m[2][1] - m[1][1] * m[2][0]); 74 return result;
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/ |
StressTests.java | 39 TestSuite result = new TestSuite(); local 40 result.addTestSuite(SwitchPreview.class); 41 result.addTestSuite(ImageCapture.class); 42 result.addTestSuite(CameraLatency.class); 43 result.addTestSuite(CameraStartUp.class); 44 return result;
|