/aosp12/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/ |
H A D | TcpInfoTest.java | 195 info.put(TcpInfo.Field.ATO, 0); in makeTestTcpInfoHash() 198 info.put(TcpInfo.Field.UNACKED, 0); in makeTestTcpInfoHash() 199 info.put(TcpInfo.Field.SACKED, 0); in makeTestTcpInfoHash() 200 info.put(TcpInfo.Field.LOST, 0); in makeTestTcpInfoHash() 201 info.put(TcpInfo.Field.RETRANS, 0); in makeTestTcpInfoHash() 202 info.put(TcpInfo.Field.FACKETS, 0); in makeTestTcpInfoHash() 207 info.put(TcpInfo.Field.PMTU, 1500); in makeTestTcpInfoHash() 209 info.put(TcpInfo.Field.RTT, 601150); in makeTestTcpInfoHash() 215 info.put(TcpInfo.Field.RCV_RTT, 0); in makeTestTcpInfoHash() 222 info.put(TcpInfo.Field.SEGS_OUT, 2); in makeTestTcpInfoHash() [all …]
|
/aosp12/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/ |
H A D | StructTest.java | 98 @Field(order = 1, type = Type.U16) 100 @Field(order = 2, type = Type.S32) 102 @Field(order = 3, type = Type.U8) 142 @Field(order = 1, type = Type.U16) 144 @Field(order = 2, type = Type.S32) 146 @Field(order = 3, type = Type.U8) 170 @Field(order = 1, type = Type.U16) 172 @Field(order = 2, type = Type.S32) 174 @Field(order = 3, type = Type.U8) 192 @Field(order = 2, type = Type.U8) [all …]
|
/aosp12/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
H A D | RawBatteryStats.java | 113 @interface Field { annotation in RawBatteryStats 175 @Field(index=0) 178 @Field(index=1) 181 @Field(index=2) 184 @Field(index=3) 187 @Field(index=4) 190 @Field(index=5) 193 @Field(index=6) 196 @Field(index=7) 199 @Field(index=8) [all …]
|
/aosp12/art/runtime/native/ |
H A D | java_lang_reflect_Field.cc | 171 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in Field_get() 198 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in GetPrimitiveField() 345 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in Field_set() 387 ObjPtr<mirror::Field> f = soa.Decode<mirror::Field>(javaField); in SetPrimitiveField() 526 FAST_NATIVE_METHOD(Field, getBoolean, "(Ljava/lang/Object;)Z"), 527 FAST_NATIVE_METHOD(Field, getByte, "(Ljava/lang/Object;)B"), 528 FAST_NATIVE_METHOD(Field, getChar, "(Ljava/lang/Object;)C"), 529 FAST_NATIVE_METHOD(Field, getAnnotationNative, 531 FAST_NATIVE_METHOD(Field, getArtField, "()J"), 534 FAST_NATIVE_METHOD(Field, getDouble, "(Ljava/lang/Object;)D"), [all …]
|
/aosp12/art/test/991-field-trace-2/src/art/ |
H A D | Test991.java | 20 import java.lang.reflect.Field; 26 static List<Field> WATCH_FIELDS = Arrays.asList(TestClass1.class.getDeclaredFields()); 32 Executable method, long location, Class<?> f_klass, Object target, Field f) { in notifyFieldAccess() 50 public void handleFieldAccess(Executable m, long l, Class<?> fk, Object t, Field f) {} in handleFieldAccess() 61 public void handleFieldAccess(Executable m, long l, Class<?> fk, Object t, Field f) { in handleFieldAccess() 79 public void handleFieldAccess(Executable m, long l, Class<?> fk, Object t, Field f) { in handleFieldAccess() 97 public void handleFieldAccess(Executable m, long l, Class<?> fk, Object t, Field f) { in handleFieldAccess() 112 Executable m, long location, Class<?> f_klass, Object target, Field f) { in notifyFieldAccess() 144 Field f = t1.getClass().getDeclaredField("xyz"); in accept() 175 Executable.class, Long.TYPE, Class.class, Object.class, Field.class), in run() [all …]
|
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
H A D | Tether4Value.java | 24 import com.android.net.module.util.Struct.Field; 33 @Field(order = 0, type = Type.U32) 37 @Field(order = 1, type = Type.EUI48) 39 @Field(order = 2, type = Type.EUI48) 41 @Field(order = 3, type = Type.UBE16) 44 @Field(order = 4, type = Type.U16) 47 @Field(order = 5, type = Type.ByteArray, arraysize = 16) 50 @Field(order = 6, type = Type.ByteArray, arraysize = 16) 53 @Field(order = 7, type = Type.UBE16) 56 @Field(order = 8, type = Type.UBE16) [all …]
|
H A D | Tether4Key.java | 24 import com.android.net.module.util.Struct.Field; 33 @Field(order = 0, type = Type.U32) 36 @Field(order = 1, type = Type.EUI48) 39 @Field(order = 2, type = Type.U8, padding = 1) 42 @Field(order = 3, type = Type.ByteArray, arraysize = 4) 45 @Field(order = 4, type = Type.ByteArray, arraysize = 4) 48 @Field(order = 5, type = Type.UBE16) 51 @Field(order = 6, type = Type.UBE16)
|
H A D | TetherStatsValue.java | 20 import com.android.net.module.util.Struct.Field; 28 @Field(order = 0, type = Type.U63) 30 @Field(order = 1, type = Type.U63) 32 @Field(order = 2, type = Type.U63) 34 @Field(order = 3, type = Type.U63) 36 @Field(order = 4, type = Type.U63) 38 @Field(order = 5, type = Type.U63)
|
/aosp12/art/runtime/mirror/ |
H A D | field.h | 40 class MANAGED Field : public AccessibleObject { 45 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, art_field_index_)); in GetArtFieldIndex() 51 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, access_flags_)); in GetAccessFlags() 71 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, offset_)); in GetOffset() 76 static ObjPtr<mirror::Field> CreateFromArtField(Thread* self, 97 return OFFSET_OF_OBJECT_MEMBER(Field, declaring_class_); in DeclaringClassOffset() 101 return OFFSET_OF_OBJECT_MEMBER(Field, type_); in TypeOffset() 105 return OFFSET_OF_OBJECT_MEMBER(Field, access_flags_); in AccessFlagsOffset() 109 return OFFSET_OF_OBJECT_MEMBER(Field, art_field_index_); in ArtFieldIndexOffset() 113 return OFFSET_OF_OBJECT_MEMBER(Field, offset_); in OffsetOffset() [all …]
|
H A D | field-inl.h | 31 inline ObjPtr<mirror::Class> Field::GetDeclaringClass() REQUIRES_SHARED(Locks::mutator_lock_) { in GetDeclaringClass() 32 return GetFieldObject<Class>(OFFSET_OF_OBJECT_MEMBER(Field, declaring_class_)); in GetDeclaringClass() 35 inline Primitive::Type Field::GetTypeAsPrimitiveType() { in GetTypeAsPrimitiveType() 39 inline ObjPtr<mirror::Class> Field::GetType() { in GetType() 40 return GetFieldObject<mirror::Class>(OFFSET_OF_OBJECT_MEMBER(Field, type_)); in GetType() 44 inline void Field::SetDeclaringClass(ObjPtr<Class> c) { in SetDeclaringClass() 49 inline void Field::SetType(ObjPtr<Class> type) { in SetType()
|
/aosp12/packages/modules/StatsD/statsd/src/ |
H A D | FieldValue.h | 27 struct Field; 81 struct Field { struct 87 Field() {} in Field() argument 93 Field(const Field& from) : mTag(from.getTag()), mField(from.getField()) { in Field() function 164 inline bool operator==(const Field& that) const { argument 168 inline bool operator!=(const Field& that) const { 172 bool operator<(const Field& that) const { 221 const Field mMatcher; 224 inline const Field& getMatcher() const { in getMatcher() 267 return Matcher(Field(atomId, pos, 2), 0xff7f7f7f); in getFirstUidMatcher() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
H A D | MimeHeader.java | 48 protected final ArrayList<Field> fields = new ArrayList<Field>(); 63 fields.add(new Field(name, value)); in addHeader() 76 for (Field field : fields) { in getHeader() 88 ArrayList<Field> removeFields = new ArrayList<Field>(); in removeHeader() 89 for (Field field : fields) { in removeHeader() 108 for (Field field : fields) { in writeToString() 118 for (Field field : fields) { in writeTo() 126 private static class Field { class in MimeHeader 130 public Field(String name, String value) { in Field() method in MimeHeader.Field
|
/aosp12/frameworks/libs/net/common/device/com/android/net/module/util/structs/ |
H A D | PrefixInformationOption.java | 25 import com.android.net.module.util.Struct.Field; 55 @Field(order = 0, type = Type.S8) 57 @Field(order = 1, type = Type.S8) 59 @Field(order = 2, type = Type.S8) 61 @Field(order = 3, type = Type.S8) 64 @Field(order = 4, type = Type.U32) 66 @Field(order = 5, type = Type.U32) 68 @Field(order = 6, type = Type.S32) 70 @Field(order = 7, type = Type.ByteArray, arraysize = 16)
|
H A D | Ipv6Header.java | 20 import com.android.net.module.util.Struct.Field; 53 @Field(order = 0, type = Type.S32) 55 @Field(order = 1, type = Type.U16) 57 @Field(order = 2, type = Type.S8) 59 @Field(order = 3, type = Type.U8) 61 @Field(order = 4, type = Type.Ipv6Address) 63 @Field(order = 5, type = Type.Ipv6Address)
|
H A D | RaHeader.java | 20 import com.android.net.module.util.Struct.Field; 42 @Field(order = 0, type = Type.S8) 45 @Field(order = 1, type = Type.S8) 47 @Field(order = 2, type = Type.U16) 49 @Field(order = 3, type = Type.U32) 51 @Field(order = 4, type = Type.U32)
|
/aosp12/system/apex/apexd/ |
H A D | apexd_test_utils.h | 54 using ::testing::Field; 80 Field("isVerified", &ApexSessionInfo::isVerified, 82 Field("isStaged", &ApexSessionInfo::isStaged, Eq(other.isStaged)), 83 Field("isActivated", &ApexSessionInfo::isActivated, 85 Field("isRevertInProgress", &ApexSessionInfo::isRevertInProgress, 87 Field("isActivationFailed", &ApexSessionInfo::isActivationFailed, 90 Field("isReverted", &ApexSessionInfo::isReverted, 92 Field("isRevertFailed", &ApexSessionInfo::isRevertFailed, 104 Field("isFactory", &ApexInfo::isFactory, Eq(other.isFactory)), 105 Field("isActive", &ApexInfo::isActive, Eq(other.isActive))), [all …]
|
/aosp12/art/test/1984-structural-redefine-field-trace/src/art/ |
H A D | Test1984.java | 20 import java.lang.reflect.Field; 25 Executable method, long location, Class<?> f_klass, Object target, Field f, Object value) { in notifyFieldModify() 30 Executable method, long location, Class<?> f_klass, Object target, Field f) { in notifyFieldAccess() 94 for (Field f : Transform.class.getDeclaredFields()) { in run() 106 Field.class), in run() 113 Field.class, in run() 116 for (Field f : Transform.class.getDeclaredFields()) { in run() 128 for (Field f : Transform.class.getDeclaredFields()) { in run()
|
/aosp12/packages/services/Car/cpp/watchdog/server/tests/ |
H A D | IoPerfCollectionTest.cpp | 49 using ::testing::Field; 70 Field("count", 83 Field("topNProcesses", 92 Field("genericPackageName", &UserPackageStats::genericPackageName, 105 Field("stats:ProcStats", in __anoncab421ad0202() 138 Field("topNMajorFaults", 143 Field("taskCountByUid", 146 Field("totalMajorFaults", 149 Field("majorFaultsPercentChange", 160 Field("ioBlockedProcessCount", [all …]
|
/aosp12/art/test/1975-hello-structural-transformation/src/art/ |
H A D | Test1975.java | 113 for (Field f : Transform1975.class.getFields()) { in ReadFields() 127 for (Field f : Transform1975.class.getFields()) { in ReadFields() 142 private Field f; 143 public MethodHandleWrapper(MethodHandle mh, Field f) { in MethodHandleWrapper() 150 public Field getField() { in getField() 190 Field[] old_fields = Transform1975.class.getFields(); in doTest() 191 for (Field f : old_fields) { in doTest() 202 Field cur_class_field = Transform1975.class.getDeclaredField("CUR_CLASS"); in doTest() 220 for (Field f : old_fields) { in doTest() 256 private static void printNativeField(long id, Field f, Object value) { in printNativeField() [all …]
|
/aosp12/system/bt/gd/dumpsys/internal/ |
H A D | filter_internal.h | 82 PrivacyLevel FindFieldPrivacyLevel(const reflection::Field& field); 115 bool FilterTypeBool(const reflection::Field& field, flatbuffers::Table* table, PrivacyLevel privacy… 116 bool FilterTypeInteger(const reflection::Field& field, flatbuffers::Table* table, PrivacyLevel priv… 117 bool FilterTypeFloat(const reflection::Field& field, flatbuffers::Table* table, PrivacyLevel privac… 118 bool FilterTypeString(const reflection::Field& field, flatbuffers::Table* table, PrivacyLevel priva… 119 bool FilterTypeStruct(const reflection::Field& field, flatbuffers::Table* table, PrivacyLevel priva…
|
/aosp12/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
H A D | TcpInfo.java | 36 public enum Field { enum in TcpInfo 86 Field(int s) { in Field() method in TcpInfo.Field 93 static final int LOST_OFFSET = getFieldOffset(Field.LOST); 95 static final int RETRANSMITS_OFFSET = getFieldOffset(Field.RETRANSMITS); 97 static final int SEGS_IN_OFFSET = getFieldOffset(Field.SEGS_IN); 99 static final int SEGS_OUT_OFFSET = getFieldOffset(Field.SEGS_OUT); 105 private static int getFieldOffset(@NonNull final Field needle) { in getFieldOffset() 107 for (final Field field : Field.values()) { in getFieldOffset() 117 if (SEGS_IN_OFFSET + Field.SEGS_IN.size > infolen) { in TcpInfo()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | KeySetUtils.java | 22 import java.lang.reflect.Field; 29 Field pkField = ksms.getClass().getDeclaredField("mPublicKeys"); in getPubKey() 43 Field pkField = ksms.getClass().getDeclaredField("mPublicKeys"); in getPubKeyRefCount() 57 Field ksField = ksms.getClass().getDeclaredField("mKeySets"); in getKeySetRefCount() 71 Field ksField = ksms.getClass().getDeclaredField("mKeySetMapping"); in getKeySetMapping() 78 Field ksField = ksms.getClass().getDeclaredField("lastIssuedKeyId"); in getLastIssuedKeyId() 85 Field ksField = ksms.getClass().getDeclaredField("lastIssuedKeySetId"); in getLastIssuedKeySetId()
|
/aosp12/art/test/918-fields/src/art/ |
H A D | Test918.java | 20 import java.lang.reflect.Field; 39 Field f = base.getDeclaredField(fieldName); in testField() 62 private static native String[] getFieldName(Field f); in getFieldName() 63 private static native Class<?> getFieldDeclaringClass(Field f); in getFieldDeclaringClass() 64 private static native int getFieldModifiers(Field f); in getFieldModifiers() 65 private static native boolean isFieldSynthetic(Field f); in isFieldSynthetic()
|
/aosp12/art/libdexfile/dex/ |
H A D | class_accessor-inl.h | 81 inline void ClassAccessor::Field::Read() { in Read() 110 Field field(dex_file_, ptr_pos_, hiddenapi_ptr_pos_); in VisitFieldsAndMethods() 161 inline IterationRange<ClassAccessor::DataIterator<ClassAccessor::Field>> 164 DataIterator<Field>(dex_file_, in GetFieldsInternal() 170 DataIterator<Field>(dex_file_, in GetFieldsInternal() 183 Field field(dex_file_, ptr_pos_, hiddenapi_ptr_pos_); in GetMethodsInternal() 202 inline IterationRange<ClassAccessor::DataIterator<ClassAccessor::Field>> ClassAccessor::GetFields() in GetFields() 207 inline IterationRange<ClassAccessor::DataIterator<ClassAccessor::Field>> 213 inline IterationRange<ClassAccessor::DataIterator<ClassAccessor::Field>> 215 IterationRange<ClassAccessor::DataIterator<ClassAccessor::Field>> fields = GetFields(); in GetInstanceFields()
|
/aosp12/frameworks/base/libs/input/tests/ |
H A D | PointerController_test.cpp | 41 using ::testing::Field; 200 Field(&SpriteIcon::style, CURSOR_TYPE_DEFAULT), in TEST_F() 201 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F() 202 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F() 217 Field(&SpriteIcon::style, type), in TEST_F() 218 Field(&SpriteIcon::hotSpotX, hotspot.first), in TEST_F() 219 Field(&SpriteIcon::hotSpotY, hotspot.second)))); in TEST_F() 240 Field(&SpriteIcon::style, style), in TEST_F() 241 Field(&SpriteIcon::hotSpotX, hotSpotX), in TEST_F() 242 Field(&SpriteIcon::hotSpotY, hotSpotY)))); in TEST_F()
|