/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | bluetooth-current.txt | 11 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin… 12 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin… 13 field public static final int STATE_NOT_PLAYING = 11; // 0xb 14 field public static final int STATE_PLAYING = 10; // 0xa 60 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin… 61 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN) public static final String A… 62 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN) public static final String A… 63 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin… 64 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_ADVERTISE) public static final Str… 65 …field @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public static final Strin… [all …]
|
D | current.txt | 10 field public static final String ACCEPT_HANDOVER = "android.permission.ACCEPT_HANDOVER"; 11 …field public static final String ACCESS_BACKGROUND_LOCATION = "android.permission.ACCESS_BACKGROUN… 12 …field public static final String ACCESS_BLOBS_ACROSS_USERS = "android.permission.ACCESS_BLOBS_ACRO… 13 …field public static final String ACCESS_CHECKIN_PROPERTIES = "android.permission.ACCESS_CHECKIN_PR… 14 …field public static final String ACCESS_COARSE_LOCATION = "android.permission.ACCESS_COARSE_LOCATI… 15 … field public static final String ACCESS_FINE_LOCATION = "android.permission.ACCESS_FINE_LOCATION"; 16 …field @FlaggedApi("android.multiuser.enable_permission_to_access_hidden_profiles") public static f… 17 …field public static final String ACCESS_LOCATION_EXTRA_COMMANDS = "android.permission.ACCESS_LOCAT… 18 …field public static final String ACCESS_MEDIA_LOCATION = "android.permission.ACCESS_MEDIA_LOCATION… 19 … field public static final String ACCESS_NETWORK_STATE = "android.permission.ACCESS_NETWORK_STATE"; [all …]
|
D | system-current.txt | 5 …field public static final String ACCESS_AMBIENT_CONTEXT_EVENT = "android.permission.ACCESS_AMBIENT… 6 …field public static final String ACCESS_AMBIENT_LIGHT_STATS = "android.permission.ACCESS_AMBIENT_L… 7 …field public static final String ACCESS_BROADCAST_RADIO = "android.permission.ACCESS_BROADCAST_RAD… 8 …field public static final String ACCESS_BROADCAST_RESPONSE_STATS = "android.permission.ACCESS_BROA… 9 …field public static final String ACCESS_CACHE_FILESYSTEM = "android.permission.ACCESS_CACHE_FILESY… 10 …field @FlaggedApi("android.app.contextualsearch.flags.enable_service") public static final String … 11 field public static final String ACCESS_CONTEXT_HUB = "android.permission.ACCESS_CONTEXT_HUB"; 12 …field public static final String ACCESS_DRM_CERTIFICATES = "android.permission.ACCESS_DRM_CERTIFIC… 13 …field @Deprecated public static final String ACCESS_FM_RADIO = "android.permission.ACCESS_FM_RADIO… 14 field public static final String ACCESS_FPS_COUNTER = "android.permission.ACCESS_FPS_COUNTER"; [all …]
|
D | wifi-current.txt | 5 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 7 … field 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 9 …field public static final int EASY_CONNECT_EVENT_FAILURE_ENROLLEE_AUTHENTICATION = -11; // 0xfffff… 10 …field public static final int EASY_CONNECT_EVENT_FAILURE_ENROLLEE_FAILED_TO_SCAN_NETWORK_CHANNEL =… 11 …field 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 …]
|
D | test-current.txt | 5 …field @FlaggedApi("com.android.server.accessibility.motion_event_observing") public static final S… 6 … field public static final String ACCESS_NOTIFICATIONS = "android.permission.ACCESS_NOTIFICATIONS"; 7 field public static final String ACTIVITY_EMBEDDING = "android.permission.ACTIVITY_EMBEDDING"; 8 …field public static final String ADJUST_RUNTIME_PERMISSIONS_POLICY = "android.permission.ADJUST_RU… 9 …field public static final String APPROVE_INCIDENT_REPORTS = "android.permission.APPROVE_INCIDENT_R… 10 field public static final String BACKGROUND_CAMERA = "android.permission.BACKGROUND_CAMERA"; 11 …field public static final String BIND_CELL_BROADCAST_SERVICE = "android.permission.BIND_CELL_BROAD… 12 …field public static final String BRIGHTNESS_SLIDER_USAGE = "android.permission.BRIGHTNESS_SLIDER_U… 13 …field public static final String BROADCAST_CLOSE_SYSTEM_DIALOGS = "android.permission.BROADCAST_CL… 14 …field public static final String CHANGE_APP_IDLE_STATE = "android.permission.CHANGE_APP_IDLE_STATE… [all …]
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | GeomagneticFieldTest.java | 63 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/ |
D | SetObjectTest.java | 72 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 …]
|
D | SmallStructsTest.java | 155 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/ |
D | Entity.java | 49 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/ |
D | ApiPresenceChecker.java | 115 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/ |
D | HiddenApiUsedActivity.java | 31 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/ |
D | ApiComplianceCheckerTest.java | 245 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/common/device-side/bedstead/testapisreflection/src/processor/main/java/com/android/bedstead/testapisreflection/processor/ |
D | Processor.java | 281 for (FieldSignature field : allowlistedTestFields) { in generatedMethodsForTestApiClasses() 284 field.getName(), field.getName()); in generatedMethodsForTestApiClasses() 436 for (FieldSignature field : allowlistedTestFields) { in implementParcelable() 437 TypeName fieldTypeName = convertToKotlinCompatibleType(field.getType(), in implementParcelable() 441 PropertySpec.builder(field.getName(), in implementParcelable() 454 field.getName()).build()); in implementParcelable() 457 field.getName()).build()); in implementParcelable() 462 field.getName()).build()); in implementParcelable() 465 field.getName()).build()); in implementParcelable() 470 field.getName()).build()); in implementParcelable() [all …]
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CVE_2022_20135.java | 50 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()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | Versions.java | 65 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/tests/os/src/android/os/cts/ |
D | CustomClassLoaderTest.java | 77 Field field = cl.loadClass("android.os.cts.TestClass").getField("MESSAGE"); in testCustomDexClassLoader() local 78 assertTrue(((String)field.get(null)).equals("expected_field")); in testCustomDexClassLoader() 95 Field field = cl.loadClass("android.os.cts.TestClass").getField("MESSAGE"); in testCustomPathClassLoader() local 96 assertTrue(((String)field.get(null)).equals("expected_field")); in testCustomPathClassLoader()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21124/test-app/src/android/security/cts/CVE_2023_21124_test/ |
D | PocAuthService.java | 119 Field field = setAccessibleFor(LabeledIntent.class, "mNonLocalizedLabel"); in addAccount() local 120 field.set(labeledIntent, spannableString); in addAccount() 133 for (Field field : clazz.getDeclaredFields()) { in setAccessibleFor() 134 if (field.getName().contentEquals(fieldName)) { in setAccessibleFor() 135 field.setAccessible(true); in setAccessibleFor() 136 return field; in setAccessibleFor()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeystoreFeatureMapTest.java | 57 Field field = KeymasterDefs.class.getField("KM_TAG_" + kmField.getName()); in testFeatureTagsMapping() local 58 assertEquals(kmField.getInt(kmField), field.getInt(field)); in testFeatureTagsMapping()
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | BaseKillswitchTest.java | 83 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/ |
D | EnableZslTest.java | 108 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/ |
D | DexMemberChecker.java | 32 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/ |
D | FieldsClassificationTest.java | 198 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/ |
D | T_iput_13.smali | 19 .field public st_i1:I 20 .field protected st_p1:I 21 .field private st_pvt1:I
|
/cts/tests/mediapc/requirements/ |
D | requirements.proto | 51 // The measurement_id is a field name safe string. 60 // The variant_id is a field name safe string. 73 // The measurement_id is a field name safe string. 79 // The variant_id is a field name safe string. 93 // The id is a field name safe string. 107 // The id is a field name safe string. 129 // The measurement_id is a field name safe string.
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/services/ |
D | ServiceStartedEvent.java | 110 .field("flags", mFlags) in describeQuery() 111 .field("startId", mStartId) in describeQuery() 112 .field("intent", mIntent) in describeQuery() 113 .field("service", mService) in describeQuery()
|