Searched refs:result (Results 201 - 225 of 2201) sorted by relevance

1234567891011>>

/frameworks/wilhelm/src/itf/
H A DIEqualizer.cpp63 result = SL_RESULT_SUCCESS;
66 result = SL_RESULT_CONTROL_LOST;
70 result = android_fx_statusToResult(status);
84 result = SL_RESULT_PARAMETER_INVALID;
91 result = SL_RESULT_SUCCESS;
94 result = SL_RESULT_CONTROL_LOST;
97 result = SL_RESULT_SUCCESS;
112 result = SL_RESULT_PARAMETER_INVALID;
117 result = SL_RESULT_SUCCESS;
130 result
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DSetTagsTest.java79 boolean result = false;
83 result = true;
85 assertTrue("Setting a tag with a framework id did not throw an exception", result);
90 boolean result = false;
94 result = true;
96 assertTrue("Setting a tag with an id with no package did not throw an exception", result);
106 boolean result = false;
110 result = true;
112 assertTrue("Setting a tag with an id with app package did not throw an exception", result);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLEnvironment.java103 int result = nativeAddSurface(surface);
104 if (result < 0) {
107 return result;
112 int result = nativeAddSurfaceWidthHeight(surface, width, height);
114 if (result < 0) {
117 return result;
121 int result = nativeAddSurfaceFromMediaRecorder(mediaRecorder);
122 if (result < 0) {
126 return result;
H A DSimpleFrameManager.java43 Frame result = null;
48 result = glFrame;
56 return result;
60 Frame result = null;
63 result = new SimpleFrame(format, this);
67 result = new NativeFrame(format, this);
73 result = glFrame;
78 result = new VertexFrame(format, this);
86 return result;
/frameworks/base/media/tests/NativeMidiDemo/jni/
H A Dnativemidi-jni.cpp127 SLresult result; local
132 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
133 if (SL_RESULT_SUCCESS != result) { stage = "slCreateEngine"; goto handle_error; }
135 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
136 if (SL_RESULT_SUCCESS != result) { stage = "realize Engine object"; goto handle_error; }
138 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
139 if (SL_RESULT_SUCCESS != result) { stage = "get Engine interface"; goto handle_error; }
141 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL);
142 if (SL_RESULT_SUCCESS != result) { stage = "CreateOutputMix"; goto handle_error; }
144 result
252 int result = AMIDI_getDeviceInfo(midiDevice, &deviceInfo); local
278 int result = AMIDI_closeOutputPort(outputPort); local
[all...]
/frameworks/wilhelm/src/
H A Ddata.cpp33 SLresult result = SL_RESULT_SUCCESS; local
47 result = SL_RESULT_PARAMETER_INVALID;
63 result = SL_RESULT_PARAMETER_INVALID;
95 result = SL_RESULT_PARAMETER_INVALID;
97 if (result == SL_RESULT_SUCCESS) {
100 result = AcquireStrongRef((IObject *) device, expectedObjectID);
101 if (SL_RESULT_SUCCESS != result) {
113 result = SL_RESULT_PARAMETER_INVALID;
119 result = SL_RESULT_PARAMETER_INVALID;
125 result
345 SLresult result = SL_RESULT_SUCCESS; local
777 SLresult result; local
857 SLresult result; local
[all...]
/frameworks/av/include/media/
H A Dconvert.h49 * @param[out] result Converted value if success, undefined on failure.
54 static inline bool convertTo(const srcType &input, dstType &result);
108 static inline bool fromString(const std::string &str, T &result) argument
112 * with this type, thus that the result is undefined. */
133 ss >> std::hex >> result; local
139 ss >> result; local
150 * with this type, thus that the result is undefined. */
167 static inline bool run(const std::string &str, dstType &result) argument
169 return fromString<dstType>(str, result);
177 static inline bool run(const srcType &str, std::string &result) argument
214 convertTo(const srcType &input, dstType &result) argument
234 convertTo(const std::string &str, int16_t &result) argument
266 convertTo(const std::string &str, float &result) argument
296 convertTo(const std::string &str, double &result) argument
328 convertTo(const std::string &str, bool &result) argument
356 convertTo(const bool &isSet, std::string &result) argument
375 convertTo(const std::string &str, std::string &result) argument
[all...]
/frameworks/av/media/libaaudio/tests/
H A Dtest_block_adapter.cpp110 int32_t result = mFixedBlockReader.processVariableBlock((uint8_t *) mTestBuffer, sizeBytes); local
111 if (result >= 0) {
112 result = checkSequence((int32_t *)mTestBuffer, variableCount);
114 return result;
124 int result = 0; local
127 for (int i = 0; i<numLoops && result == 0; i++) {
132 result = tester.testInputWrite(size);
134 ASSERT_EQ(0, result);
139 int result = 0; local
142 for (int i = 0; i < numLoops && result
[all...]
/frameworks/av/media/libmedia/include/media/
H A Dconvert.h49 * @param[out] result Converted value if success, undefined on failure.
54 static inline bool convertTo(const srcType &input, dstType &result);
108 static inline bool fromString(const std::string &str, T &result) argument
112 * with this type, thus that the result is undefined. */
133 ss >> std::hex >> result; local
139 ss >> result; local
150 * with this type, thus that the result is undefined. */
167 static inline bool run(const std::string &str, dstType &result) argument
169 return fromString<dstType>(str, result);
177 static inline bool run(const srcType &str, std::string &result) argument
214 convertTo(const srcType &input, dstType &result) argument
234 convertTo(const std::string &str, int16_t &result) argument
266 convertTo(const std::string &str, float &result) argument
296 convertTo(const std::string &str, double &result) argument
328 convertTo(const std::string &str, bool &result) argument
356 convertTo(const bool &isSet, std::string &result) argument
375 convertTo(const std::string &str, std::string &result) argument
[all...]
/frameworks/base/core/java/android/view/
H A DWindowInsets.java274 * <p>The result of this method is equivalent to the return value of
303 final WindowInsets result = new WindowInsets(this);
304 result.mSystemWindowInsets = EMPTY_RECT;
305 result.mSystemWindowInsetsConsumed = true;
306 return result;
322 final WindowInsets result = new WindowInsets(this);
323 result.mSystemWindowInsets = new Rect(
328 return result;
345 final WindowInsets result = new WindowInsets(this);
346 result
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DTestVrActivity.java52 boolean result = false;
54 result = mLatch.await(2L, TimeUnit.SECONDS);
57 return result;
/frameworks/base/libs/hwui/
H A DPathParser.cpp52 * @param result the result of the extraction, including the position of the
101 static float parseFloat(PathParser::ParseResult* result, const char* startPtr, size_t expectedLength) { argument
105 result->failureOccurred = true;
106 result->failureMessage = "Float out of range: ";
107 result->failureMessage.append(startPtr, expectedLength);
111 result->failureOccurred = true;
112 result->failureMessage = "Float format error when parsing: ";
113 result->failureMessage.append(startPtr, expectedLength);
124 static void getFloats(std::vector<float>* outPoints, PathParser::ParseResult* result, argument
165 getPathDataFromAsciiString(PathData* data, ParseResult* result, const char* pathStr, size_t strLen) argument
238 parseAsciiStringForSkPath(SkPath* skPath, ParseResult* result, const char* pathStr, size_t strLen) argument
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.cpp45 Value result; local
46 result.type = TYPEID;
47 result.value = malloc(sizeof(POD));
48 result.count = 1;
49 *reinterpret_cast<POD*>(result.value) = value;
50 return result;
55 Value result; local
56 result.type = TYPEID;
57 result.value = malloc(sizeof(BASE) * count);
58 memcpy(result
151 Value result; local
175 Value result; local
187 Value result; local
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountAuthenticatorDummyActivity.java35 Intent result = intent.getParcelableExtra(AccountManagerServiceTestFixtures.KEY_RESULT);
37 response.onResult(result.getExtras());
39 setResult(RESULT_OK, result);
/frameworks/base/telephony/java/android/telephony/
H A DPreciseCallState.java269 int result = 1;
270 result = prime * result + mRingingCallState;
271 result = prime * result + mForegroundCallState;
272 result = prime * result + mBackgroundCallState;
273 result = prime * result + mDisconnectCause;
274 result
[all...]
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DMemoryAccessTask.java41 long result = 0;
43 result += ++memory[index];
45 Log.v(TAG, "Processing...:" + result);
/frameworks/compile/mclinker/lib/LD/
H A DSectionData.cpp32 SectionData* result = g_SectDataFactory->allocate(); local
33 new (result) SectionData(pSection);
34 return result;
/frameworks/compile/mclinker/lib/Script/
H A DNullaryOp.cpp22 IntOperand* res = result();
31 IntOperand* res = result();
40 IntOperand* res = result();
/frameworks/minikin/tests/util/
H A DFileUtils.cpp31 std::vector<uint8_t> result(st.st_size);
32 LOG_ALWAYS_FATAL_IF(fread(result.data(), 1, st.st_size, fp) != static_cast<size_t>(st.st_size));
34 return result;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DScanDetailCache.java127 ScanDetail result = list.get(i);
128 mMap.remove(result.getBSSIDString());
177 ScanResult result = scanDetail.getScanResult();
182 if (result.is5GHz()) {
186 } else if (result.is24GHz()) {
192 if (result.timestamp != 0) {
194 Log.e("getVisibilityByRssi", " considering " + result.SSID + " " + result.BSSID
195 + " elapsed=" + now_elapsed_ms + " timestamp=" + result.timestamp
198 if ((now_elapsed_ms - (result
[all...]
/frameworks/wilhelm/src/objects/
H A DCAudioRecorder.cpp26 SLresult result = SL_RESULT_SUCCESS; local
30 result = android_audioRecorder_realize(thiz, async);
33 return result;
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
H A DCredential.java217 int result = (int) (mCtime ^ (mCtime >>> 32));
218 result = 31 * result + (int) (mExpTime ^ (mExpTime >>> 32));
219 result = 31 * result + mRealm.hashCode();
220 result = 31 * result + (mCheckAAACert ? 1 : 0);
221 result = 31 * result + (mUserName != null ? mUserName.hashCode() : 0);
222 result
[all...]
/frameworks/native/services/sensorservice/
H A DSensorList.cpp122 String8 result; local
124 forEachSensor([&result] (const Sensor& s) -> bool {
125 result.appendFormat(
136 result.append("\t");
139 result.append("continuous | ");
141 result.append("on-change | ");
143 result.append("one-shot | ");
145 result.append("special-trigger | ");
147 result.append("unknown-mode | ");
151 result
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c75 SLresult result; local
79 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
80 assert(SL_RESULT_SUCCESS == result);
82 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
83 assert(SL_RESULT_SUCCESS == result);
84 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
85 assert(SL_RESULT_SUCCESS == result);
89 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL);
90 assert(SL_RESULT_SUCCESS == result);
91 result
[all...]
/frameworks/av/services/audioflinger/
H A DAudioStreamOut.cpp66 // Maintain a 64-bit render position using the 32-bit result from the HAL.
173 audio_format_t result; local
174 return stream->getFormat(&result) == OK ? result : AUDIO_FORMAT_INVALID;
179 uint32_t result; local
180 return stream->getSampleRate(&result) == OK ? result : 0;
185 audio_channel_mask_t result; local
186 return stream->getChannelMask(&result) == OK ? result
194 status_t result = stream->flush(); local
208 status_t result = stream->write(buffer, numBytes, &bytesWritten); local
[all...]

Completed in 3408 milliseconds

1234567891011>>