Searched defs:val (Results 176 - 200 of 207) sorted by relevance

123456789

/frameworks/base/tools/aapt2/cmd/
H A DLink.cpp172 void SetVerbose(bool val) { argument
173 verbose_ = val;
449 std::vector<T> make_singleton_vec(T&& val) { argument
451 vec.emplace_back(std::forward<T>(val));
/frameworks/ml/nn/common/operations/internal/optimized/
H A Doptimized_ops.h1101 float val = input_data[Offset(input_dims, c, x, y, b)]; local
1103 float clamped = val < lower ? lower : val;
1122 float val = input_data[Offset(input_dims, c, x, y, b)];
1125 float clamped = val > upper ? upper : val < lower ? lower : val;
1144 float val = input_data[Offset(input_dims, c, x, y, b)];
1147 float clamped = val > upper ? upper : val < lowe
[all...]
/frameworks/rs/rsov/driver/
H A DrsovRuntimeStubs.cpp119 typedef struct { unsigned int val; } rs_allocation_usage_type; member in struct:__anon2178
519 void rsSetElementAt_##T(::rs_allocation a, const T *val, uint32_t x, \
523 ((T *)r)[0] = *val; \
527 void rsSetElementAt_##T(::rs_allocation a, const T *val, uint32_t x, \
529 rsSetElementAt_##T(a, val, x, y, 0); \
531 void rsSetElementAt_##T(::rs_allocation a, const T *val, uint32_t x) { \
532 rsSetElementAt_##T(a, val, x, 0, 0); \
534 void rsGetElementAt_##T(::rs_allocation a, T *val, uint32_t x, uint32_t y, \
538 *val = ((T *)r)[0]; \
542 void rsGetElementAt_##T(::rs_allocation a, T *val, uint32_
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp130 int32_t val; local
131 if (p.readInt32(&val) != OK)
138 if( val > kMaxFilterSize || val < 0)
140 ALOGE("Invalid filter len %d", val);
145 const size_t num = val;
183 // @param val To be searched.
185 bool findMetadata(const Metadata::Filter& filter, const int32_t val) argument
191 return filter.indexOf(val) >= 0;
/frameworks/base/core/java/android/os/
H A DParcel.java287 private static native void nativeWriteInt(long nativePtr, int val); argument
289 private static native void nativeWriteLong(long nativePtr, long val); argument
291 private static native void nativeWriteFloat(long nativePtr, float val); argument
293 private static native void nativeWriteDouble(long nativePtr, double val); argument
294 static native void nativeWriteString(long nativePtr, String val); argument
295 private static native void nativeWriteStrongBinder(long nativePtr, IBinder val); argument
296 private static native long nativeWriteFileDescriptor(long nativePtr, FileDescriptor val); argument
642 public final void writeInt(int val) { argument
643 nativeWriteInt(mNativePtr, val);
650 public final void writeLong(long val) { argument
658 writeFloat(float val) argument
666 writeDouble(double val) argument
674 writeString(String val) argument
685 writeStringNoHelper(String val) argument
690 writeBoolean(boolean val) argument
699 writeCharSequence(CharSequence val) argument
707 writeStrongBinder(IBinder val) argument
715 writeStrongInterface(IInterface val) argument
729 writeFileDescriptor(FileDescriptor val) argument
754 writeRawFileDescriptor(FileDescriptor val) argument
780 writeByte(byte val) argument
795 writeMap(Map val) argument
803 writeMapInternal(Map<String,Object> val) argument
820 writeArrayMapInternal(ArrayMap<String, Object> val) argument
849 writeArrayMap(ArrayMap<String, Object> val) argument
860 writeArraySet(@ullable ArraySet<? extends Object> val) argument
872 writeBundle(Bundle val) argument
885 writePersistableBundle(PersistableBundle val) argument
898 writeSize(Size val) argument
907 writeSizeF(SizeF val) argument
917 writeList(List val) argument
936 writeArray(Object[] val) argument
956 writeSparseArray(SparseArray<Object> val) argument
971 writeSparseBooleanArray(SparseBooleanArray val) argument
989 writeSparseIntArray(SparseIntArray val) argument
1004 writeBooleanArray(boolean[] val) argument
1032 readBooleanArray(boolean[] val) argument
1043 writeCharArray(char[] val) argument
1068 readCharArray(char[] val) argument
1079 writeIntArray(int[] val) argument
1104 readIntArray(int[] val) argument
1115 writeLongArray(long[] val) argument
1141 readLongArray(long[] val) argument
1152 writeFloatArray(float[] val) argument
1178 readFloatArray(float[] val) argument
1189 writeDoubleArray(double[] val) argument
1215 readDoubleArray(double[] val) argument
1226 writeStringArray(String[] val) argument
1251 readStringArray(String[] val) argument
1262 writeBinderArray(IBinder[] val) argument
1277 writeCharSequenceArray(CharSequence[] val) argument
1292 writeCharSequenceList(ArrayList<CharSequence> val) argument
1317 readBinderArray(IBinder[] val) argument
1342 writeTypedList(List<T> val) argument
1349 writeTypedList(List<T> val, int parcelableFlags) argument
1374 writeStringList(List<String> val) argument
1399 writeBinderList(List<IBinder> val) argument
1421 writeParcelableList(List<T> val, int flags) argument
1454 writeTypedArray(T[] val, int parcelableFlags) argument
1622 writeTypedObject(T val, int parcelableFlags) argument
2129 readRawFileDescriptorArray(FileDescriptor[] val) argument
2287 readByteArray(byte[] val) argument
2655 readTypedArray(T[] val, Parcelable.Creator<T> c) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp380 android_media_AudioSystem_dyn_policy_callback(int event, String8 regId, int val) argument
392 event, zestring, val);
H A Dandroid_opengl_GLES31.cpp3367 /* void glGetMultisamplefv ( GLenum pname, GLuint index, GLfloat *val ) */
3376 GLfloat *val = (GLfloat *) 0; local
3381 _exceptionMessage = "val == null";
3393 val = val_base + offset;
3398 (GLfloat *)val
3411 /* void glGetMultisamplefv ( GLenum pname, GLuint index, GLfloat *val ) */
3421 GLfloat *val = (GLfloat *) 0; local
3426 _exceptionMessage = "val == null";
3429 val = (GLfloat *)getPointer(_env, val_buf, (jarray*)&_array, &_remaining, &_bufferOffset);
3430 if (val
[all...]
/frameworks/base/media/java/android/media/
H A DAudioSystem.java273 private static void dynamicPolicyCallbackFromNative(int event, String regId, int val) argument
284 cb.onDynamicPolicyMixStateUpdate(regId, val);
H A DExifInterface.java3919 public void writeByte(int val) throws IOException { argument
3920 mOutputStream.write(val);
3923 public void writeShort(short val) throws IOException { argument
3925 mOutputStream.write((val >>> 0) & 0xFF);
3926 mOutputStream.write((val >>> 8) & 0xFF);
3928 mOutputStream.write((val >>> 8) & 0xFF);
3929 mOutputStream.write((val >>> 0) & 0xFF);
3933 public void writeInt(int val) throws IOException { argument
3935 mOutputStream.write((val >>> 0) & 0xFF);
3936 mOutputStream.write((val >>>
3947 writeUnsignedShort(int val) argument
3951 writeUnsignedInt(long val) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES31.java1002 // C function void glGetMultisamplefv ( GLenum pname, GLuint index, GLfloat *val )
1007 float[] val,
1011 // C function void glGetMultisamplefv ( GLenum pname, GLuint index, GLfloat *val )
1016 java.nio.FloatBuffer val
1004 glGetMultisamplefv( int pname, int index, float[] val, int offset ) argument
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp1227 uint32_t val = ((djbhash >> shift1) & ((maskbits >> shift1) - 1)); local
1228 bitmasks[val] |= 1u << (djbhash & mask);
1229 bitmasks[val] |= 1u << ((djbhash >> shift2) & mask);
1230 val = djbhash & ~1u;
1234 val |= 1;
1236 chain[hashedidx - symidx] = val;
/frameworks/native/libs/binder/
H A DParcel.cpp799 status_t writeByteVectorInternal(Parcel* parcel, const std::vector<T>& val) argument
802 if (val.size() > std::numeric_limits<int32_t>::max()) {
807 status = parcel->writeInt32(val.size());
812 void* data = parcel->writeInplace(val.size());
818 memcpy(data, val.data(), val.size());
824 const std::unique_ptr<std::vector<T>>& val)
826 if (!val) {
830 return writeByteVectorInternal(parcel, *val);
835 status_t Parcel::writeByteVector(const std::vector<int8_t>& val) { argument
823 writeByteVectorInternalPtr(Parcel* parcel, const std::unique_ptr<std::vector<T>>& val) argument
839 writeByteVector(const std::unique_ptr<std::vector<int8_t>>& val) argument
844 writeByteVector(const std::vector<uint8_t>& val) argument
848 writeByteVector(const std::unique_ptr<std::vector<uint8_t>>& val) argument
853 writeInt32Vector(const std::vector<int32_t>& val) argument
858 writeInt32Vector(const std::unique_ptr<std::vector<int32_t>>& val) argument
863 writeInt64Vector(const std::vector<int64_t>& val) argument
868 writeInt64Vector(const std::unique_ptr<std::vector<int64_t>>& val) argument
873 writeFloatVector(const std::vector<float>& val) argument
878 writeFloatVector(const std::unique_ptr<std::vector<float>>& val) argument
883 writeDoubleVector(const std::vector<double>& val) argument
888 writeDoubleVector(const std::unique_ptr<std::vector<double>>& val) argument
893 writeBoolVector(const std::vector<bool>& val) argument
898 writeBoolVector(const std::unique_ptr<std::vector<bool>>& val) argument
903 writeCharVector(const std::vector<char16_t>& val) argument
908 writeCharVector(const std::unique_ptr<std::vector<char16_t>>& val) argument
913 writeString16Vector(const std::vector<String16>& val) argument
918 writeString16Vector( const std::unique_ptr<std::vector<std::unique_ptr<String16>>>& val) argument
924 writeUtf8VectorAsUtf16Vector( const std::unique_ptr<std::vector<std::unique_ptr<std::string>>>& val) argument
929 writeUtf8VectorAsUtf16Vector(const std::vector<std::string>& val) argument
933 writeInt32(int32_t val) argument
938 writeUint32(uint32_t val) argument
943 writeInt32Array(size_t len, const int32_t *val) argument
959 writeByteArray(size_t len, const uint8_t *val) argument
976 writeBool(bool val) argument
981 writeChar(char16_t val) argument
986 writeByte(int8_t val) argument
991 writeInt64(int64_t val) argument
996 writeUint64(uint64_t val) argument
1001 writePointer(uintptr_t val) argument
1006 writeFloat(float val) argument
1013 writeDouble(double val) argument
1025 writeDouble(double val) argument
1081 writeStrongBinder(const sp<IBinder>& val) argument
1086 writeStrongBinderVector(const std::vector<sp<IBinder>>& val) argument
1091 writeStrongBinderVector(const std::unique_ptr<std::vector<sp<IBinder>>>& val) argument
1104 writeWeakBinder(const wp<IBinder>& val) argument
1186 writeUniqueFileDescriptorVector(const std::vector<base::unique_fd>& val) argument
1190 writeUniqueFileDescriptorVector(const std::unique_ptr<std::vector<base::unique_fd>>& val) argument
1258 write(const FlattenableHelperInterface& val) argument
1304 writeObject(const flat_binder_object& val, bool nullMetaData) argument
1533 writeAligned(T val) argument
1550 readByteVectorInternal(const Parcel* parcel, std::vector<T>* val) argument
1582 readByteVectorInternalPtr( const Parcel* parcel, std::unique_ptr<std::vector<T>>* val) argument
2060 sp<IBinder> val; local
2070 wp<IBinder> val; local
2071 unflatten_binder(ProcessState::self(), *this, &val); local
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp1183 static int isAttributeMatching(int i, EGLint attr, EGLint val) argument
1206 val, configFound[index].value);
1543 EGLint val = *attrib_list++; local
1547 if (isAttributeMatching(i, attr, val) == 0) {
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp133 typedef struct { unsigned int val; } rs_allocation_usage_type; member in struct:__anon2099
545 void rsSetElementAt_##T(::rs_allocation a, const T *val, uint32_t x, uint32_t y, uint32_t z) { \
547 if (r != nullptr) ((T *)r)[0] = *val; \
550 void rsSetElementAt_##T(::rs_allocation a, const T *val, uint32_t x, uint32_t y) { \
551 rsSetElementAt_##T(a, val, x, y, 0); \
553 void rsSetElementAt_##T(::rs_allocation a, const T *val, uint32_t x) { \
554 rsSetElementAt_##T(a, val, x, 0, 0); \
556 void rsGetElementAt_##T(::rs_allocation a, T *val, uint32_t x, uint32_t y, uint32_t z) { /*NOLINT*/ \
558 if (r != nullptr) *val = ((T *)r)[0]; \
561 void rsGetElementAt_##T(::rs_allocation a, T *val, uint32_
[all...]
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp2760 uint32_t val; local
2761 if (!mDataSource->getUInt32(offset, &val)) {
2765 mFileMetaData->setFloat(kKeyCaptureFramerate, *(float *)&val);
2769 uint32_t val; local
2770 if (!mDataSource->getUInt32(offset, &val)) {
2774 mFileMetaData->setInt32(kKeyTemporalLayerCount, val);
3871 int32_t val; local
3872 if (params && params->findInt32(kKeyWantsNALFragments, &val)
3873 && val != 0) {
H A DMPEG4Writer.cpp624 char val[PROPERTY_VALUE_MAX]; local
631 if (property_get("ro.build.version.release", val, NULL)
632 && (n = strlen(val)) > 0) {
633 mMetaKeys->setString(kMetaKey_Version, val, n + 1);
638 if (property_get("ro.product.manufacturer", val, NULL)
639 && (n = strlen(val)) > 0) {
640 mMetaKeys->setString(kMetaKey_Manufacturer, val, n + 1);
643 if (property_get("ro.product.model", val, NULL)
644 && (n = strlen(val)) > 0) {
645 mMetaKeys->setString(kMetaKey_Model, val,
3836 AString val; local
3846 float val; local
3856 int32_t val; local
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java1493 * @param val the value of the tag to set.
1497 public ExifTag buildTag(int tagId, int ifdId, Object val) { argument
1499 if (info == 0 || val == null) {
1509 if (!t.setValue(val)) {
1519 * @param val the tag's value.
1522 public ExifTag buildTag(int tagId, Object val) { argument
1524 return buildTag(tagId, ifdId, val);
1546 * @param val the value to set.
1551 public boolean setTagValue(int tagId, int ifdId, Object val) { argument
1556 return t.setValue(val);
1568 setTagValue(int tagId, Object val) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java4501 static void printFlags(PrintWriter pw, int val, Object[] spec) { argument
4505 if ((val & mask) != 0) {
/frameworks/base/tools/aapt/
H A DResource.cpp1032 Res_value val; local
1033 ssize_t idx = table.getResource(0x01010000, &val, true);
1805 Res_value val; local
1810 ssize_t block = resTable.getResource(symbol.id, &val, true);
1814 block = finalResTable.getResource(symbol.id, &val, true);
H A DResourceTable.cpp384 String16 val = String16(block.getAttributeStringValue(minIdx, &len)); local
385 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) {
387 String8(val).string());
393 String16(""), String16("^min"), String16(val), NULL, NULL);
402 String16 val = String16(block.getAttributeStringValue(maxIdx, &len)); local
403 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) {
405 String8(val).string());
411 String16(""), String16("^max"), String16(val), NUL
2556 Res_value val; local
[all...]
/frameworks/rs/support/jni/
H A Dandroid_renderscript_RenderScript.cpp1399 nScriptSetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jint val, jboolean mUseInc) argument
1401 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", (RsContext)con,
1402 (void *)script, slot, val);
1404 dispatchTabInc.ScriptSetVarI((RsContext)con, (RsScript)script, slot, val);
1406 dispatchTab.ScriptSetVarI((RsContext)con, (RsScript)script, slot, val);
1411 nScriptSetVarObj(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val, jboolean mUseInc) argument
1413 LOG_API("nScriptSetVarObj, con(%p), s(%p), slot(%i), val(%i)", (RsContext)con,
1414 (void *)script, slot, val);
1416 dispatchTabInc.ScriptSetVarObj((RsContext)con, (RsScript)script, slot, (RsObjectBase)val);
1418 dispatchTab.ScriptSetVarObj((RsContext)con, (RsScript)script, slot, (RsObjectBase)val);
1423 nScriptSetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val, jboolean mUseInc) argument
1435 nScriptSetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, float val, jboolean mUseInc) argument
1447 nScriptSetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, double val, jboolean mUseInc) argument
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp5001 int64_t val = 0; local
5034 val = (val*16) + get_hex(s[i], &error);
5037 if (val > std::numeric_limits<uint32_t>::max()) {
5050 val = (val*10) + s[i]-'0';
5053 if ((neg && -val < std::numeric_limits<int32_t>::min()) ||
5054 (!neg && val > std::numeric_limits<int32_t>::max())) {
5060 if (neg) val = -val;
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java769 native void rsnScriptSetVarI(long con, long id, int slot, int val); argument
770 synchronized void nScriptSetVarI(long id, int slot, int val) { argument
772 rsnScriptSetVarI(mContext, id, slot, val);
780 native void rsnScriptSetVarJ(long con, long id, int slot, long val); argument
781 synchronized void nScriptSetVarJ(long id, int slot, long val) { argument
783 rsnScriptSetVarJ(mContext, id, slot, val);
791 native void rsnScriptSetVarF(long con, long id, int slot, float val); argument
792 synchronized void nScriptSetVarF(long id, int slot, float val) { argument
794 rsnScriptSetVarF(mContext, id, slot, val);
801 native void rsnScriptSetVarD(long con, long id, int slot, double val); argument
802 nScriptSetVarD(long id, int slot, double val) argument
811 rsnScriptSetVarV(long con, long id, int slot, byte[] val) argument
812 nScriptSetVarV(long id, int slot, byte[] val) argument
816 rsnScriptGetVarV(long con, long id, int slot, byte[] val) argument
817 nScriptGetVarV(long id, int slot, byte[] val) argument
821 rsnScriptSetVarVE(long con, long id, int slot, byte[] val, long e, int[] dims) argument
823 nScriptSetVarVE(long id, int slot, byte[] val, long e, int[] dims) argument
828 rsnScriptSetVarObj(long con, long id, int slot, long val) argument
829 nScriptSetVarObj(long id, int slot, long val) argument
[all...]
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp1787 nScriptSetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jint val) argument
1790 ALOGD("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", (RsContext)con, (void *)script,
1791 slot, val);
1793 rsScriptSetVarI((RsContext)con, (RsScript)script, slot, val);
1808 nScriptSetVarObj(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val) argument
1811 ALOGD("nScriptSetVarObj, con(%p), s(%p), slot(%i), val(%" PRId64 ")", (RsContext)con, (void *)script,
1812 slot, val);
1814 rsScriptSetVarObj((RsContext)con, (RsScript)script, slot, (RsObjectBase)val);
1818 nScriptSetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val) argument
1821 ALOGD("nScriptSetVarJ, con(%p), s(%p), slot(%i), val(
1839 nScriptSetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, float val) argument
1860 nScriptSetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, double val) argument
[all...]
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java2795 void setStayOnSettingInternal(int val) { argument
2797 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, val);
4498 * @param val an {@code int} containing the bits that specify which power sources
4502 public void setStayOnSetting(int val) { argument
4514 setStayOnSettingInternal(val);

Completed in 1130 milliseconds

123456789