Searched defs:result (Results 151 - 175 of 804) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dbasic_op_c_equivalent.h198 result = 32-bit result of L_var3 + (var1 * var2)(Word32)
202 Word32 result; local
204 result = (Word32) var1 * var2;
205 if (result != (Word32) 0x40000000L)
207 L_sum = (result << 1) + L_var3;
210 if ((L_var3 ^ result) > 0)
289 result = 32-bit result of L_var3 - (var1 * var2)
294 Word32 result; local
404 Word32 result; local
479 Word32 result; local
488 Word32 result; local
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPatch.cpp42 String8 result; local
45 result.append(buffer);
47 result.append(buffer);
49 result.append(buffer);
51 result.append(buffer);
53 result.append(buffer);
65 result.append(buffer);
68 result.append(buffer);
80 result.append(buffer);
83 write(fd, result
[all...]
H A DEffectDescriptor.cpp29 String8 result; local
32 result.append(buffer);
34 result.append(buffer);
36 result.append(buffer);
38 result.append(buffer);
40 result.append(buffer);
41 write(fd, result.string(), result.size());
H A DIOProfile.cpp107 String8 result; local
112 result.append(buffer);
113 write(fd, result.string(), result.size());
/frameworks/av/services/audiopolicy/utilities/convert/
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/accounts/
H A DGrantCredentialsPermissionActivity.java161 Intent result = new Intent();
162 result.putExtra("retry", true);
163 setResult(RESULT_OK, result);
164 setAccountAuthenticatorResult(result.getExtras());
175 public final void setAccountAuthenticatorResult(Bundle result) { argument
176 mResultBundle = result;
180 * Sends the result or a {@link AccountManager#ERROR_CODE_CANCELED} error if a
181 * result isn't present.
187 // send the result bundle back if set, otherwise send an error.
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyFaceDetectMapper.java194 * Update the {@code result} camera metadata map with the new value for the
202 * in the capture result.</p>
204 * @param result a non-{@code null} result
207 public void mapResultFaces(CameraMetadataNative result, LegacyRequest legacyRequest) { argument
208 checkNotNull(result, "result must not be null");
255 result.set(CaptureResult.STATISTICS_FACES, convertedFaces.toArray(new Face[0]));
256 result.set(CaptureResult.STATISTICS_FACE_DETECT_MODE, fdMode);
260 result
[all...]
H A DLegacyFocusStateMapper.java275 * Update the {@code result} camera metadata map with the new value for the
281 * @param result a non-{@code null} result
283 public void mapResultTriggers(CameraMetadataNative result) { argument
284 checkNotNull(result, "result must not be null");
296 result.set(CaptureResult.CONTROL_AF_STATE, newAfState);
/frameworks/base/core/java/android/os/
H A DRegistrantList.java74 internalNotifyRegistrants (Object result, Throwable exception) argument
78 r.internalNotifyRegistrant(result, exception);
95 notifyResult(Object result) argument
97 internalNotifyRegistrants (result, null);
104 internalNotifyRegistrants(ar.result, ar.exception);
/frameworks/base/core/jni/android/graphics/
H A DDrawFilter.cpp59 const bool result = (flags & sFilterBitmapFlag) != 0; local
61 return result;
109 int result = RegisterMethodsOrDie(env, "android/graphics/DrawFilter", drawfilter_methods, local
111 result |= RegisterMethodsOrDie(env, "android/graphics/PaintFlagsDrawFilter", paintflags_methods,
H A DInterpolator.cpp53 SkInterpolatorBase::Result result; local
56 result = interp->timeToValues(msec, (SkScalar*)values);
66 return static_cast<jint>(result);
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothInstrumentation.java54 // create the default result response, but only use it in success code path
56 mSuccessResult.putString("result", "SUCCESS");
125 public void finish(Bundle result) { argument
126 if (result == null) {
127 result = new Bundle();
129 finish(Activity.RESULT_OK, result);
/frameworks/base/libs/androidfw/
H A DDisplayEventDispatcher.cpp42 status_t result = mReceiver.initCheck(); local
43 if (result) {
44 ALOGW("Failed to initialize display event receiver, status=%d", result);
45 return result;
H A DStreamingZipInflater.cpp178 int result = Z_OK; local
181 result = inflateInit2(&mInflateState, -MAX_WBITS);
184 if (result == Z_OK) result = ::inflate(&mInflateState, Z_SYNC_FLUSH);
185 if (result < 0) {
187 ALOGE("Error inflating asset: %d", result);
192 if (result == Z_STREAM_END) {
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp65 auto result = mEntries.find(pixelRef); local
66 return result != mEntries.end() ? result->second.get() : nullptr;
70 auto result = mEntries.find(pixelRef); local
71 return result != mEntries.end() ? result->second->texture : nullptr;
H A DInterpolator.cpp77 float result; local
79 result = 1.0f - (1.0f - input) * (1.0f - input);
81 result = 1.0f - pow((1.0f - input), 2 * mFactor);
83 return result;
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGraphRunner.java32 * @param result will be RESULT_FINISHED if the graph finished running
38 public void onRunnerDone(int result); argument
/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.cpp92 const jint result = vm->GetEnv(reinterpret_cast<void**>(&env),
94 return result == JNI_OK ? env : NULL;
105 std::string result(c_value);
108 return result;
128 jobject result = JNI_NULL; local
130 return result;
134 Value result = MakeNullValue(); local
138 result = MakeIntValue(env->CallBooleanMethod(object, method) == JNI_TRUE ? 1 : 0);
141 result = MakeIntValue(env->CallIntMethod(object, method));
144 result
163 jobject result = JNI_NULL; local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_program.cpp137 char result[buffer_size]; local
138 result[buffer_size - 1] = '\0';
139 getvalue_function_(key.c_str(), result, buffer_size, user_data_);
140 return std::string(result);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DCreateDirectoryFragment.java152 protected void onPostExecute(DocumentInfo result) { argument
153 if (result != null) {
155 mActivity.onDirectoryCreated(result);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DDevicePowerStatusAction.java105 private void invokeCallback(int result) { argument
108 callback.onComplete(result);
H A DOneTouchPlayAction.java135 private void invokeCallback(int result) { argument
138 callback.onComplete(result);
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssStatusListenerHelper.java41 protected ListenerOperation<IGnssStatusListener> getHandlerOperation(int result) { argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbDeviceManager.cpp104 int result = ioctl(fd, ACCESSORY_IS_START_REQUESTED); local
106 return (result == 1);
116 int result = ioctl(fd, ACCESSORY_GET_AUDIO_MODE); local
118 return result;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dstats_scorer.cpp37 jfloat result[2]; local
38 result[0] = sum / numPixels; // mean
39 result[1] = sqrt((sumSquares - numPixels * result[0] * result[0]) / (numPixels - 1)); // stdev.
40 env->SetFloatArrayRegion(statsArray, 0, 2, result);
64 jfloat result[2]; local
65 result[0] = sum / numPixels; // mean
66 result[1] = (numPixels == 1) ?
67 0 : sqrt((sumSquares - numPixels * result[
[all...]

Completed in 438 milliseconds

1234567891011>>