/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
H A D | basic_op_c_equivalent.h | 198 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 D | AudioPatch.cpp | 42 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 D | EffectDescriptor.cpp | 29 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 D | IOProfile.cpp | 107 String8 result; local 112 result.append(buffer); 113 write(fd, result.string(), result.size());
|
/frameworks/av/services/audiopolicy/utilities/convert/ |
H A D | convert.h | 49 * @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 D | GrantCredentialsPermissionActivity.java | 161 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 D | LegacyFaceDetectMapper.java | 194 * 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 D | LegacyFocusStateMapper.java | 275 * 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 D | RegistrantList.java | 74 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 D | DrawFilter.cpp | 59 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 D | Interpolator.cpp | 53 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 D | BluetoothInstrumentation.java | 54 // 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 D | DisplayEventDispatcher.cpp | 42 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 D | StreamingZipInflater.cpp | 178 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 D | AssetAtlas.cpp | 65 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 D | Interpolator.cpp | 77 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 D | GraphRunner.java | 32 * @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 D | jni_util.cpp | 92 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 D | native_program.cpp | 137 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 D | CreateDirectoryFragment.java | 152 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 D | DevicePowerStatusAction.java | 105 private void invokeCallback(int result) { argument 108 callback.onComplete(result);
|
H A D | OneTouchPlayAction.java | 135 private void invokeCallback(int result) { argument 138 callback.onComplete(result);
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GnssStatusListenerHelper.java | 41 protected ListenerOperation<IGnssStatusListener> getHandlerOperation(int result) { argument
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_UsbDeviceManager.cpp | 104 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 D | stats_scorer.cpp | 37 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...] |