/frameworks/base/core/java/android/util/ |
H A D | Base64.java | 237 private int value; field in class:Base64.Decoder 246 value = 0; 275 int value = this.value; 288 // (whitespace, etc.), value will end up negative. (All 291 // together will result in a value with its top bit set.) 297 (value = ((alphabet[input[p] & 0xff] << 18) | 301 output[op+2] = (byte) value; 302 output[op+1] = (byte) (value >> 8); 303 output[op] = (byte) (value >> 1 [all...] |
H A D | SparseBooleanArray.java | 94 * Gets the boolean mapped from the specified key, or the specified value 128 * Adds a mapping from the specified key to the specified value, 132 public void put(int key, boolean value) { argument 136 mValues[i] = value; 141 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value); 147 * Returns the number of key-value mappings that this SparseBooleanArray 156 * the key from the <code>index</code>th key-value mapping that this 170 * the value from the <code>index</code>th key-value mapping that this 175 * <code>valueAt(0)</code> will return the value associate 184 setValueAt(int index, boolean value) argument 210 indexOfValue(boolean value) argument 229 append(int key, boolean value) argument [all...] |
H A D | SparseIntArray.java | 99 * Gets the int mapped from the specified key, or the specified value 133 * Adds a mapping from the specified key to the specified value, 137 public void put(int key, int value) { argument 141 mValues[i] = value; 146 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value); 152 * Returns the number of key-value mappings that this SparseIntArray 161 * the key from the <code>index</code>th key-value mapping that this 175 * the value from the <code>index</code>th key-value mapping that this 180 * <code>valueAt(0)</code> will return the value associate 192 setValueAt(int index, int value) argument 213 indexOfValue(int value) argument 232 append(int key, int value) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_slice_header.c | 104 u32 tmp, i, value; local 121 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); 124 pSliceHeader->firstMbInSlice = value; 125 if (value >= picSizeInMbs) 131 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); 134 pSliceHeader->sliceType = value; 146 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); 149 pSliceHeader->picParameterSetId = value; 174 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); 177 pSliceHeader->idrPicId = value; 476 u32 tmp, value, i; local 580 u32 tmp, value; local 737 u32 tmp, value; local 800 u32 tmp, value, i; local 876 u32 tmp, value, i; local 961 u32 tmp, value, i; local 1061 u32 tmp, value, i; local 1169 u32 tmp, value, i; local 1273 u32 tmp, value, i; local 1409 u32 tmp, value, i; local [all...] |
/frameworks/av/media/libaudioprocessing/ |
H A D | AudioResamplerFirGen.h | 67 inline double value() const { function in class:android::SineGen 83 double mCurrent; // current value of sine/cosine 84 double mPrevious; // previous value of sine/cosine 94 * The SineGen returned by value() starts at innerStart = outerStart + n*outerStep; 107 inline SineGen value() { function in class:android::SineGenGen 108 return SineGen(mSineInnerCur.value(), mSineInnerPrev.value(), mTwoCos); 139 * @param x is the value to round. 177 * pass in the absolute value as needed). 192 static const CONSTEXPR double value member in struct:android::I0Term 197 static const CONSTEXPR double value = 1.; member in struct:android::I0Term 202 static const CONSTEXPR double value = I0ATerm<N-1>::value * (2.*N-1.) * (2.*N-1.) / (8. * N); member in struct:android::I0ATerm 207 static const CONSTEXPR double value = member in struct:android::I0ATerm [all...] |
/frameworks/base/core/java/android/os/ |
H A D | BaseBundle.java | 169 * TODO: optimize this later (getting just the value part of a Bundle 171 * with a special single-value Map implementation/serialization. 173 * Note: value in single-pair Bundle may be null. 386 Object deepCopyValue(Object value) { argument 387 if (value == null) { 390 if (value instanceof Bundle) { 391 return ((Bundle)value).deepCopy(); 392 } else if (value instanceof PersistableBundle) { 393 return ((PersistableBundle)value).deepCopy(); 394 } else if (value instanceo 499 putBoolean(@ullable String key, boolean value) argument 511 putByte(@ullable String key, byte value) argument 523 putChar(@ullable String key, char value) argument 535 putShort(@ullable String key, short value) argument 547 putInt(@ullable String key, int value) argument 559 putLong(@ullable String key, long value) argument 571 putFloat(@ullable String key, float value) argument 583 putDouble(@ullable String key, double value) argument 595 putString(@ullable String key, @Nullable String value) argument 607 putCharSequence(@ullable String key, @Nullable CharSequence value) argument 619 putIntegerArrayList(@ullable String key, @Nullable ArrayList<Integer> value) argument 631 putStringArrayList(@ullable String key, @Nullable ArrayList<String> value) argument 643 putCharSequenceArrayList(@ullable String key, @Nullable ArrayList<CharSequence> value) argument 655 putSerializable(@ullable String key, @Nullable Serializable value) argument 667 putBooleanArray(@ullable String key, @Nullable boolean[] value) argument 679 putByteArray(@ullable String key, @Nullable byte[] value) argument 691 putShortArray(@ullable String key, @Nullable short[] value) argument 703 putCharArray(@ullable String key, @Nullable char[] value) argument 715 putIntArray(@ullable String key, @Nullable int[] value) argument 727 putLongArray(@ullable String key, @Nullable long[] value) argument 739 putFloatArray(@ullable String key, @Nullable float[] value) argument 751 putDoubleArray(@ullable String key, @Nullable double[] value) argument 763 putStringArray(@ullable String key, @Nullable String[] value) argument 775 putCharSequenceArray(@ullable String key, @Nullable CharSequence[] value) argument 795 typeWarning(String key, Object value, String className, Object defaultValue, ClassCastException e) argument 811 typeWarning(String key, Object value, String className, ClassCastException e) argument [all...] |
/frameworks/native/libs/vr/libvrflinger/ |
H A D | hwc_types.h | 73 std::is_enum<T>::value && 74 std::is_same<U, typename UnderlyingType<T>::Type>::value, 83 typename UnderlyingType<U>::Type>::value, 113 // as appropriate to define the correct inital value for the enum type. 119 Wrapper(ValueType value) : value(value) {} argument 122 Wrapper(BaseType value) : value(static_cast<ValueType>(value)) {} argument 126 Wrapper(const T& value) argument 155 ValueType value; member in struct:HWC::Wrapper [all...] |
/frameworks/av/include/media/stagefright/foundation/ |
H A D | TypeTraits.h | 35 : std::integral_constant<bool, std::is_integral<T>::value || std::is_enum<T>::value> { }; 46 typename U=typename std::enable_if<is_integral_or_enum<T>::value>::type, 47 bool=std::is_enum<T>::value, 48 bool=std::is_integral<T>::value> 50 static_assert(!std::is_enum<T>::value, "T should not be enum here"); 51 static_assert(!std::is_integral<T>::value, "T should not be integral here"); 58 static_assert(std::is_enum<T>::value, "T should be enum here"); 59 static_assert(!std::is_integral<T>::value, "T should not be integral here"); 66 static_assert(!std::is_enum<T>::value, " [all...] |
/frameworks/av/media/libstagefright/foundation/include/foundation/ |
H A D | TypeTraits.h | 35 : std::integral_constant<bool, std::is_integral<T>::value || std::is_enum<T>::value> { }; 46 typename U=typename std::enable_if<is_integral_or_enum<T>::value>::type, 47 bool=std::is_enum<T>::value, 48 bool=std::is_integral<T>::value> 50 static_assert(!std::is_enum<T>::value, "T should not be enum here"); 51 static_assert(!std::is_integral<T>::value, "T should not be integral here"); 58 static_assert(std::is_enum<T>::value, "T should be enum here"); 59 static_assert(!std::is_integral<T>::value, "T should not be integral here"); 66 static_assert(!std::is_enum<T>::value, " [all...] |
/frameworks/av/media/libstagefright/include/foundation/ |
H A D | TypeTraits.h | 35 : std::integral_constant<bool, std::is_integral<T>::value || std::is_enum<T>::value> { }; 46 typename U=typename std::enable_if<is_integral_or_enum<T>::value>::type, 47 bool=std::is_enum<T>::value, 48 bool=std::is_integral<T>::value> 50 static_assert(!std::is_enum<T>::value, "T should not be enum here"); 51 static_assert(!std::is_integral<T>::value, "T should not be integral here"); 58 static_assert(std::is_enum<T>::value, "T should be enum here"); 59 static_assert(!std::is_integral<T>::value, "T should not be integral here"); 66 static_assert(!std::is_enum<T>::value, " [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | EGLImpl.java | 32 public native boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value); argument 33 public native boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value); argument 37 public native boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value); argument 109 long value = _eglGetDisplay(native_display); 110 if (value == 0) { 113 if (mDisplay.mEGLDisplay != value) 114 mDisplay = new EGLDisplayImpl(value); 119 long value = _eglGetCurrentContext(); 120 if (value == 0) { 123 if (mContext.mEGLContext != value) [all...] |
/frameworks/base/tools/aapt2/ |
H A D | ResourceUtils.cpp | 294 std::unique_ptr<Reference> value = util::make_unique<Reference>(ref); local 295 value->private_reference = private_ref; 296 return value; 320 // Instead we set the data type to TYPE_REFERENCE with a value of 0. 335 const ResourceName& enum_symbol_resource_name = symbol.symbol.name.value(); 337 android::Res_value value = {}; local 338 value.dataType = android::Res_value::TYPE_INT_DEC; 339 value.data = symbol.value; 340 return util::make_unique<BinaryPrimitive>(value); 401 android::Res_value value = {}; local 461 android::Res_value value; local 472 android::Res_value value; local 488 android::Res_value value; local 516 android::Res_value value; local 525 android::Res_value value; local 573 TryParseItemForAttribute( const StringPiece& value, uint32_t type_mask, const std::function<void(const ResourceName&)>& on_create_reference) argument 640 auto value = TryParseItemForAttribute(str, type_mask, on_create_reference); local [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpPacket.h | 60 void setParameter(int index, uint32_t value); 69 void putUInt16(int offset, uint16_t value); 70 void putUInt32(int offset, uint32_t value);
|
/frameworks/base/core/java/android/annotation/ |
H A D | RequiresPermission.java | 59 * a permission which depends on the value of the parameter. For example, consider 90 String value() default ""; 95 * If specified, {@link #anyOf()} and {@link #value()} must both be null. 102 * If specified, {@link #allOf()} and {@link #value()} must both be null. 116 * a permission which depends on the value of the parameter (and typically 122 RequiresPermission value() default @RequiresPermission; 129 * a permission which depends on the value of the parameter (and typically 135 RequiresPermission value() default @RequiresPermission;
|
/frameworks/base/core/java/android/content/pm/ |
H A D | MacAuthenticatedInputStream.java | 53 int value = 0; 55 value |= tag[i] ^ actualTag[i]; 58 return value == 0;
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableParcelable.java | 72 public void marshal(T value, ByteBuffer buffer) { argument 74 Log.v(TAG, "marshal " + value); 81 value.writeToParcel(parcel, /*flags*/0); 85 "Parcelable " + value + " must not have file descriptors"); 95 throw new AssertionError("No data marshaled for " + value); 134 T value = mCreator.createFromParcel(parcel); 138 throw new AssertionError("No data marshaled for " + value); 147 Log.v(TAG, "unmarshal, value is " + value); 150 return mClass.cast(value); 162 calculateMarshalSize(T value) argument [all...] |
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/ |
H A D | Test.java | 36 ((AnnotationWithEnum) TestApplication.annotation).value()); 38 ((AnnotationWithEnum) TestApplication.getAnnotationWithEnum()).value()); 43 ((AnnotationWithClass) TestApplication.annotation3).value());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | GlobalSetting.java | 31 protected abstract void handleValueChanged(int value); argument 43 public void setValue(int value) { argument 44 Global.putInt(mContext.getContentResolver(), mSettingName, value);
|
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
H A D | ImsConfigImplBase.java | 43 * Gets the value for ims service/capabilities parameters from the provisioned 44 * value storage. Synchronous blocking call. 47 * @return value in Integer format. 55 * Gets the value for ims service/capabilities parameters from the provisioned 56 * value storage. Synchronous blocking call. 59 * @return value in String format. 67 * Sets the value for IMS service/capabilities parameters by the operator device 68 * management entity. It sets the config item value in the provisioned storage 69 * from which the master value is derived. Synchronous blocking call. 72 * @param value i 76 setProvisionedValue(int item, int value) argument 90 setProvisionedStringValue(int item, String value) argument 119 setFeatureValue(int feature, int network, int value, ImsConfigListener listener) argument [all...] |
/frameworks/base/tools/incident_report/ |
H A D | generic_message.h | 56 void addInt32(int32_t fieldId, uint32_t value); 57 void addInt64(int32_t fieldId, uint64_t value); 59 void addString(int32_t fieldId, const string& value);
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | Primitive.java | 74 public Primitive getNewPrimitive(int location, float value) { argument 77 return new Primitive(this, location, value, 0f); 79 return new Primitive(this, location, 0f, value);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | IntFloat.java | 8 public float value; field in class:IntFloat 33 out.writeFloat(value); 38 value = in.readFloat();
|
H A D | StringString.java | 8 public String value; field in class:StringString 34 out.writeString(value); 39 value = in.readString();
|
/frameworks/native/services/surfaceflinger/EventLog/ |
H A D | EventLog.h | 62 void writeInt32(int32_t value); 64 void writeInt64(int64_t value); 66 void writeString8(const String8& value);
|
/frameworks/native/services/vr/performanced/ |
H A D | task.cpp | 30 void ParseUidStatusField(const std::string& value, std::array<int, 4>& ids) { argument 31 const char* start = value.c_str(); 100 // The status file has lines with the format <field>:<value>. Extract the 101 // value after the colon. 123 std::string value = Trim(line.substr(offset + 1)); local 125 ALOGD_IF(TRACE, "Task::ReadStatusFields: key=\"%s\" value=\"%s\"", 126 key.c_str(), value.c_str()); 129 name_ = value; 131 thread_group_id_ = std::strtol(value.c_str(), nullptr, 10); 133 parent_process_id_ = std::strtol(value [all...] |