/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 951 int sign = 1; 957 sign = -1; 977 return ResourceHelper.getColor(charSeq) * sign; 985 return ((int)Long.parseLong(charSeq.substring(index), base)) * sign;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vlc_dequant.cpp | 137 if (run_level.sign == 1) 443 if (run_level.sign == 1) 582 if (run_level.sign == 1) 892 if (run_level.sign == 0) 968 if (run_level.sign == 0) 1117 if (run_level.sign == 0)
|
/frameworks/base/media/java/android/media/ |
H A D | MediaDrm.java | 237 final String sign = errorCode < 0 ? "neg_" : ""; 239 "android.media.MediaDrm.error_" + sign + Math.abs(errorCode); 1064 * root of trust, and then perform encrypt, decrypt, sign and verify operations 1067 * The CryptoSession class implements generic encrypt/decrypt/sign/verify methods 1128 public byte[] sign(@NonNull byte[] keyid, @NonNull byte[] message) { method in class:MediaDrm.CryptoSession 1149 * sign and verify messages or data using the session keys established 1154 * to be used for encrypt, decrypt, sign and/or verify 1159 * @param macAlgorithm the algorithm to use for sign and verify
|
/frameworks/base/core/java/android/util/ |
H A D | Half.java | 44 * sign | |_______ significand 500 * Returns the first parameter with the sign of the second parameter. 501 * This method treats NaNs as having a sign. 504 * @param sign A half-precision float value providing the sign of the result 505 * @return A value with the magnitude of the first parameter and the sign 508 public static @HalfFloat short copySign(@HalfFloat short magnitude, @HalfFloat short sign) { argument 509 return (short) ((sign & FP16_SIGN_MASK) | (magnitude & FP16_COMBINED)); 537 * the result is infinity (with the same sign)</li> 539 * the result is zero (with the same sign)</l [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 636 * the selection of a correct sign incorrect. We correct this. Use copysign 639 float sign = (p & 0x1) ? copysign(1.f, v) : 1.f; local 641 return copysign(f, sign); 1057 extern float __attribute__((overloadable)) sign(float v) { function 1062 FN_FUNC_FN(sign) 2140 extern half __attribute__((overloadable)) sign(half h) { function 2145 extern half2 __attribute__((overloadable)) sign(half2 v) { function 2147 ret.x = sign(v.x); 2148 ret.y = sign(v.y); 2151 extern half3 __attribute__((overloadable)) sign(half function 2158 extern half4 __attribute__((overloadable)) sign(half4 v) { function [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | DrmPlugin.h | 210 virtual status_t sign( function in class:clearkeydrm::DrmPlugin
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.h | 122 status_t sign(Vector<uint8_t> const &sessionId,
|
/frameworks/av/include/media/ |
H A D | Drm.h | 111 virtual status_t sign(Vector<uint8_t> const &sessionId,
|
H A D | DrmHal.h | 121 virtual status_t sign(Vector<uint8_t> const &sessionId,
|
H A D | IDrm.h | 107 virtual status_t sign(Vector<uint8_t> const &sessionId,
|
/frameworks/av/media/libmedia/include/media/ |
H A D | Drm.h | 111 virtual status_t sign(Vector<uint8_t> const &sessionId,
|
H A D | DrmHal.h | 121 virtual status_t sign(Vector<uint8_t> const &sessionId,
|
H A D | IDrm.h | 107 virtual status_t sign(Vector<uint8_t> const &sessionId,
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/ |
H A D | armVC.h | 298 * and sign, also updates the index 303 * [in] sign Flag indicating the sign of level 320 OMX_U8 sign, 495 * levelPlus = sign(level)*[abs(level) - LMAX] 544 * levelPlus = sign(level)*[abs(level) - LMAX]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/ |
H A D | armVC.h | 298 * and sign, also updates the index 303 * [in] sign Flag indicating the sign of level 320 OMX_U8 sign, 495 * levelPlus = sign(level)*[abs(level) - LMAX] 544 * levelPlus = sign(level)*[abs(level) - LMAX]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/api/ |
H A D | armVC.h | 298 * and sign, also updates the index 303 * [in] sign Flag indicating the sign of level 320 OMX_U8 sign, 495 * levelPlus = sign(level)*[abs(level) - LMAX] 544 * levelPlus = sign(level)*[abs(level) - LMAX]
|
/frameworks/native/include/media/drm/ |
H A D | DrmAPI.h | 272 // encrypt, decrypt, sign verify operations on operator-provided 314 virtual status_t sign(Vector<uint8_t> const &sessionId,
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMRelocator.cpp | 50 // Reverse sign bit, then subtract sign bit. 225 uint32_t sign = ((pOffset & 0x80000000U) >> 31); local 226 return (pUpper16 & ~0x7ffU) | ((pOffset >> 12) & 0x3ffU) | (sign << 10); 231 uint32_t sign = ((pOffset & 0x80000000U) >> 31); local 232 return ((pLower16 & ~0x2fffU) | ((((pOffset >> 23) & 1) ^ !sign) << 13) | 233 ((((pOffset >> 22) & 1) ^ !sign) << 11) | ((pOffset >> 1) & 0x7ffU)); 250 uint32_t sign = ((pOffset & 0x80000000U) >> 31); local 251 return (pUpper16 & 0xfbc0U) | (sign << 10) | ((pOffset & 0x0003f000U) >> 12); 1030 // Check X is 24bit sign in [all...] |
/frameworks/av/drm/libmediadrm/ |
H A D | Drm.cpp | 714 status_t Drm::sign(Vector<uint8_t> const &sessionId, function in class:android::Drm 730 return mPlugin->sign(sessionId, keyId, message, signature);
|
/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 931 String sign = (gmtoff < 0) ? "-" : "+"; 936 return String.format(Locale.US, "%s%s%02d:%02d", base, sign, hours, minutes);
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 326 public byte[] sign(String key, byte[] data) { method in class:KeyStore 328 return mBinder.sign(key, data);
|
/frameworks/base/packages/SystemUI/tests/ |
H A D | Android.mk | 63 # sign this with platform cert, so this test is allowed to inject key events into
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 395 double sign = cos < 0 ? -1 : 1; 399 float gamma = (float) ((0.5d * sign * Math.pow(cos, 2) + 0.5d) * 0.9d + 0.1d);
|
/frameworks/base/keystore/tests/src/android/security/ |
H A D | KeyStoreTest.java | 447 final byte[] signature = mKeyStore.sign(TEST_KEYNAME, TEST_DATA); 458 final byte[] signature = mKeyStore.sign(TEST_KEYNAME, TEST_DATA); 467 assertNull("Should not be able to sign without first initializing the keystore", 468 mKeyStore.sign(TEST_KEYNAME, TEST_DATA)); 474 assertNull("Should not be able to sign without first generating keys", 475 mKeyStore.sign(TEST_KEYNAME, TEST_DATA));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
H A D | CertPinInstallReceiverTest.java | 169 String sig = new String(Base64.encode(signer.sign(), Base64.DEFAULT));
|