Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 619) sorted by relevance

12345678910>>...25

/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/
Dbluetooth-current.txt10field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
11field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
12 field public static final int STATE_NOT_PLAYING = 11; // 0xb
13 field public static final int STATE_PLAYING = 10; // 0xa
59field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
60field @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN) public static final String A…
61field @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN) public static final String A…
62field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
63field @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADVERTISE) public static final Str…
64field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin…
[all …]
Dcurrent.txt10 field public static final String ACCEPT_HANDOVER = "android.permission.ACCEPT_HANDOVER";
11field public static final String ACCESS_ADSERVICES_ATTRIBUTION = "android.permission.ACCESS_ADSERV…
12field public static final String ACCESS_ADSERVICES_CUSTOM_AUDIENCES = "android.permission.ACCESS_A…
13field public static final String ACCESS_ADSERVICES_TOPICS = "android.permission.ACCESS_ADSERVICES_…
14field public static final String ACCESS_BACKGROUND_LOCATION = "android.permission.ACCESS_BACKGROUN…
15field public static final String ACCESS_BLOBS_ACROSS_USERS = "android.permission.ACCESS_BLOBS_ACRO…
16field public static final String ACCESS_CHECKIN_PROPERTIES = "android.permission.ACCESS_CHECKIN_PR…
17field public static final String ACCESS_COARSE_LOCATION = "android.permission.ACCESS_COARSE_LOCATI…
18field public static final String ACCESS_FINE_LOCATION = "android.permission.ACCESS_FINE_LOCATION";
19field public static final String ACCESS_LOCATION_EXTRA_COMMANDS = "android.permission.ACCESS_LOCAT…
[all …]
Dwifi-current.txt5 field public static final int EASY_CONNECT_EVENT_FAILURE_AUTHENTICATION = -2; // 0xfffffffe
6 field public static final int EASY_CONNECT_EVENT_FAILURE_BUSY = -5; // 0xfffffffb
7field public static final int EASY_CONNECT_EVENT_FAILURE_CANNOT_FIND_NETWORK = -10; // 0xfffffff6
8 field public static final int EASY_CONNECT_EVENT_FAILURE_CONFIGURATION = -4; // 0xfffffffc
9field public static final int EASY_CONNECT_EVENT_FAILURE_ENROLLEE_AUTHENTICATION = -11; // 0xfffff…
10field public static final int EASY_CONNECT_EVENT_FAILURE_ENROLLEE_FAILED_TO_SCAN_NETWORK_CHANNEL =…
11field public static final int EASY_CONNECT_EVENT_FAILURE_ENROLLEE_REJECTED_CONFIGURATION = -12; //…
12 field public static final int EASY_CONNECT_EVENT_FAILURE_GENERIC = -7; // 0xfffffff9
13 field public static final int EASY_CONNECT_EVENT_FAILURE_INVALID_NETWORK = -9; // 0xfffffff7
14 field public static final int EASY_CONNECT_EVENT_FAILURE_INVALID_URI = -1; // 0xffffffff
[all …]
Dtest-current.txt5field public static final String ACCESS_NOTIFICATIONS = "android.permission.ACCESS_NOTIFICATIONS";
6 field public static final String ACTIVITY_EMBEDDING = "android.permission.ACTIVITY_EMBEDDING";
7field public static final String APPROVE_INCIDENT_REPORTS = "android.permission.APPROVE_INCIDENT_R…
8 field public static final String BACKGROUND_CAMERA = "android.permission.BACKGROUND_CAMERA";
9field public static final String BIND_CELL_BROADCAST_SERVICE = "android.permission.BIND_CELL_BROAD…
10field public static final String BRIGHTNESS_SLIDER_USAGE = "android.permission.BRIGHTNESS_SLIDER_U…
11field public static final String BROADCAST_CLOSE_SYSTEM_DIALOGS = "android.permission.BROADCAST_CL…
12field public static final String CHANGE_APP_IDLE_STATE = "android.permission.CHANGE_APP_IDLE_STATE…
13 field public static final String CLEAR_APP_USER_DATA = "android.permission.CLEAR_APP_USER_DATA";
14 field public static final String CLEAR_FREEZE_PERIOD = "android.permission.CLEAR_FREEZE_PERIOD";
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/
DGeomagneticFieldTest.java63 GeomagneticField field = new GeomagneticField(lat, lon, altitude, time); in assertMagneticField() local
64 assertEquals(dec, field.getDeclination(), DECLINATION_THRESHOLD); in assertMagneticField()
65 assertEquals(inc, field.getInclination(), INCLINATION_THRESHOLD); in assertMagneticField()
66 assertEquals(strength, field.getFieldStrength(), FIELD_STRENGTH_THRESHOLD); in assertMagneticField()
69 assertEquals(horizontalFieldStrengthNanoTesla, field.getHorizontalStrength(), in assertMagneticField()
72 assertEquals(verticalFieldStrengthNanoTesla, field.getZ(), FIELD_STRENGTH_THRESHOLD); in assertMagneticField()
74 Math.toDegrees(Math.atan2(field.getY(), field.getX()))); in assertMagneticField()
77 Math.sqrt(field.getX() * field.getX() + field.getY() * field.getY()), in assertMagneticField()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSetObjectTest.java72 ScriptField__set_object_element_input field = new ScriptField__set_object_element_input( in testSetObjectElement() local
76 field.set(mItem, 0, true); in testSetObjectElement()
78 mIn = field.getAllocation(); in testSetObjectElement()
93 ScriptField__set_object_type_input field = new ScriptField__set_object_type_input(mRS, 1); in testSetObjectType() local
96 field.set(mItem, 0, true); in testSetObjectType()
98 mIn = field.getAllocation(); in testSetObjectType()
115 … ScriptField__set_object_allocation_input field = new ScriptField__set_object_allocation_input( in testSetObjectAllocation() local
119 field.set(mItem, 0, true); in testSetObjectAllocation()
121 mIn = field.getAllocation(); in testSetObjectAllocation()
137 ScriptField__set_object_sampler_input field = new ScriptField__set_object_sampler_input( in testSetObjectSampler() local
[all …]
DSmallStructsTest.java155 Object field = scriptFieldClass.getConstructor(RenderScript.class, int.class) in testSmallStructsOfCharArray() local
158 .invoke(field); in testSmallStructsOfCharArray()
170 set_bytes.invoke(field, elem, bytes, true); in testSmallStructsOfCharArray()
215 Object field = scriptFieldClass.getConstructor(RenderScript.class, int.class) in testSmallStructsOfHeterogeneousTypes() local
218 .invoke(field); in testSmallStructsOfHeterogeneousTypes()
226 fieldASetter.invoke(field, elem, initialValueA, true); in testSmallStructsOfHeterogeneousTypes()
232 fieldBSetter.invoke(field, elem, initialValueB, true); in testSmallStructsOfHeterogeneousTypes()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
DEntity.java49 for (Field field : mFields) { in createEntitySql()
50 if (field.mPos > 0) sb.append(", "); in createEntitySql()
51 sb.append(field.mName).append(" ").append(field.mSqLiteType); in createEntitySql()
52 if (field.mName.equals(BaseColumns._ID)) { in createEntitySql()
105 final Field field = Field.newInstance(mPos++, name, fieldType); in addFieldInternal() local
106 mFields.add(field); in addFieldInternal()
107 mFieldMap.put(field.mName, field); in addFieldInternal()
/cts/tests/signature/lib/common/src/android/signature/cts/
DApiPresenceChecker.java115 for (JDiffClassDescription.JDiffField field : classDescription.getFields()) { in checkFieldsCompliance()
117 Field f = classFieldMap.get(field.mName); in checkFieldsCompliance()
120 field.toReadableString(classDescription.getAbsoluteClassName()), in checkFieldsCompliance()
122 field.toSignatureString()); in checkFieldsCompliance()
124 checkField(classDescription, runtimeClass, field, f); in checkFieldsCompliance()
129 field.toReadableString(classDescription.getAbsoluteClassName()), in checkFieldsCompliance()
163 for (Field field : testClass.getDeclaredFields()) { in buildFieldMapImpl()
164 fieldMap.put(field.getName(), field); in buildFieldMapImpl() local
172 JDiffClassDescription.JDiffField fieldDescription, Field field) { in checkField() argument
/cts/hostsidetests/appcompat/hiddenapi/app/src/android/compat/hiddenapi/cts/
DHiddenApiUsedActivity.java31 Field field = Activity.class.getDeclaredField("mWindow"); in onCreate() local
32 field.setAccessible(true); in onCreate()
33 Object object = field.get(this); in onCreate()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DApiComplianceCheckerTest.java245 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testFinalField() local
247 clz.addField(field); in testFinalField()
249 assertEquals(field.toSignatureString(), "public final java.lang.String FINAL_FIELD"); in testFinalField()
255 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testStaticField() local
257 clz.addField(field); in testStaticField()
259 assertEquals(field.toSignatureString(), "public static java.lang.String STATIC_FIELD"); in testStaticField()
265 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testVolatileFiled() local
267 clz.addField(field); in testVolatileFiled()
269 assertEquals(field.toSignatureString(), "public volatile java.lang.String VOLATILE_FIELD"); in testVolatileFiled()
275 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField( in testTransientField() local
[all …]
/cts/tests/tests/security/src/android/security/cts/
DCVE_2022_20135.java50 Field field = clazz.getDeclaredField("mPayload"); in testPocCVE_2022_20135() local
51 assumeNotNull(field); in testPocCVE_2022_20135()
52 field.setAccessible(true); in testPocCVE_2022_20135()
53 field.set(obj, new byte[0]); in testPocCVE_2022_20135()
DCVE_2021_0521.java46 Field field = c.getDeclaredField("TRANSACTION_getAllPackages"); in getFunctionCode() local
47 field.setAccessible(true); in getFunctionCode()
48 code = field.getInt(c); in getFunctionCode()
/cts/tests/tests/os/src/android/os/cts/
DCustomClassLoaderTest.java71 Field field = cl.loadClass("android.os.cts.TestClass").getField("MESSAGE"); in testCustomDexClassLoader() local
72 assertTrue(((String)field.get(null)).equals("expected_field")); in testCustomDexClassLoader()
89 Field field = cl.loadClass("android.os.cts.TestClass").getField("MESSAGE"); in testCustomPathClassLoader() local
90 assertTrue(((String)field.get(null)).equals("expected_field")); in testCustomPathClassLoader()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DVersions.java65 for (Field field : Build.VERSION_CODES.class.getFields()) { in versionToLetter()
66 if (!java.lang.reflect.Modifier.isStatic(field.getModifiers())) { in versionToLetter()
69 if (!field.getType().equals(int.class)) { in versionToLetter()
73 int fieldValue = (int) field.get(null); in versionToLetter()
76 return field.getName(); in versionToLetter()
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DBaseKillswitchTest.java83 public void fieldAccessibleViaReflection(boolean accessible, DexField field) { in doTestKillswitchMechanism()
87 field.toString(), in doTestKillswitchMechanism()
94 public void fieldAccessibleViaJni(boolean accessible, DexField field) { in doTestKillswitchMechanism()
98 field.toString(), in doTestKillswitchMechanism()
/cts/tests/camera/api25test/src/android/camera/cts/api25test/
DEnableZslTest.java108 for (Field field : allFields) { in getEnableZslValue()
109 if (Modifier.isStatic(field.getModifiers()) && in getEnableZslValue()
110 field.getType() == CaptureRequest.Key.class && in getEnableZslValue()
111 field.getGenericType() instanceof ParameterizedType) { in getEnableZslValue()
112 ParameterizedType paramType = (ParameterizedType)field.getGenericType(); in getEnableZslValue()
115 CaptureRequest.Key key = (CaptureRequest.Key)field.get(request); in getEnableZslValue()
/cts/tests/signature/lib/android/src/android/signature/cts/
DDexMemberChecker.java32 void fieldAccessibleViaReflection(boolean accessible, DexField field); in fieldAccessibleViaReflection() argument
33 void fieldAccessibleViaJni(boolean accessible, DexField field); in fieldAccessibleViaJni() argument
91 DexField field = (DexField) dexMember; in checkSingleMember() local
94 hasMatchingField_Reflection(klass, field), in checkSingleMember()
95 field); in checkSingleMember() local
99 observer.fieldAccessibleViaJni(hasMatchingField_JNI(klass, field), field); in checkSingleMember() local
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DFieldsClassificationTest.java198 final EditText field = mActivity.getCell(1, 1); in testMiss_exactMatchAlgorithm() local
208 callback.assertUiUnavailableEvent(field); in testMiss_exactMatchAlgorithm()
232 final EditText field = mActivity.getCell(1, 1); in testHit_exactMatchLast4Algorithm() local
245 callback.assertUiUnavailableEvent(field); in testHit_exactMatchLast4Algorithm()
269 final EditText field = mActivity.getCell(1, 1); in testHit_CreditCardAlgorithm() local
282 callback.assertUiUnavailableEvent(field); in testHit_CreditCardAlgorithm()
307 final EditText field = mActivity.getCell(1, 1); in testHit_useDefaultAlgorithm() local
320 callback.assertUiUnavailableEvent(field); in testHit_useDefaultAlgorithm()
344 final EditText field = mActivity.getCell(1, 1); in simpleHitTest() local
357 callback.assertUiUnavailableEvent(field); in simpleHitTest()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput/d/
DT_iput_13.smali19 .field public st_i1:I
20 .field protected st_p1:I
21 .field private st_pvt1:I
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/services/
DServiceStartedEvent.java108 .field("flags", mFlags) in describeQuery()
109 .field("startId", mStartId) in describeQuery()
110 .field("intent", mIntent) in describeQuery()
111 .field("service", mService) in describeQuery()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/delegatedadminreceivers/
DDelegatedAdminChoosePrivateKeyAliasEvent.java133 .field("intent", mIntent) in describeQuery()
134 .field("delegatedAdminReceiver", mDelegatedAdminReceiver) in describeQuery()
135 .field("uid", mUid) in describeQuery()
136 .field("uri", mUri) in describeQuery()
137 .field("alias", mAlias) in describeQuery()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminChoosePrivateKeyAliasEvent.java132 .field("intent", mIntent) in describeQuery()
133 .field("deviceAdminReceiver", mDeviceAdminReceiver) in describeQuery()
134 .field("uid", mUid) in describeQuery()
135 .field("uri", mUri) in describeQuery()
136 .field("alias", mAlias) in describeQuery()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_byte/d/
DT_iput_byte_1.smali19 .field public st_i1:B
20 .field protected st_p1:B
21 .field private st_pvt1:B
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_short/d/
DT_iput_short_1.smali19 .field public st_i1:S
20 .field protected st_p1:S
21 .field private st_pvt1:S

12345678910>>...25