/cts/tests/tests/networksecurityconfig/networksecurityconfig-attributes/src/android/security/net/config/cts/ |
D | TestAttributes.java | 24 NetworkSecurityPolicy instance = NetworkSecurityPolicy.getInstance(); in testCleartextTrafficPermitted() local 27 assertFalse(instance.isCleartextTrafficPermitted()); in testCleartextTrafficPermitted() 29 assertFalse(instance.isCleartextTrafficPermitted("foo.bar")); in testCleartextTrafficPermitted() 31 assertTrue(instance.isCleartextTrafficPermitted("example.foo.bar")); in testCleartextTrafficPermitted() 34 assertTrue(instance.isCleartextTrafficPermitted("android.com")); in testCleartextTrafficPermitted() 35 assertTrue(instance.isCleartextTrafficPermitted("foo.android.com")); in testCleartextTrafficPermitted() 37 assertTrue(instance.isCleartextTrafficPermitted("example.com")); in testCleartextTrafficPermitted() 38 assertTrue(instance.isCleartextTrafficPermitted("test.example.com")); in testCleartextTrafficPermitted() 40 assertTrue(instance.isCleartextTrafficPermitted("example.com")); in testCleartextTrafficPermitted()
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-nested-domains/src/android/security/net/config/cts/ |
D | NestedDomainConfigTest.java | 27 NetworkSecurityPolicy instance = NetworkSecurityPolicy.getInstance(); in testRootDomainConfig() local 28 assertTrue(instance.isCleartextTrafficPermitted("android.com")); in testRootDomainConfig() 33 NetworkSecurityPolicy instance = NetworkSecurityPolicy.getInstance(); in testNestedDomainConfig() local 34 assertFalse(instance.isCleartextTrafficPermitted("developer.android.com")); in testNestedDomainConfig()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/instance_of/d/ |
D | T_instance_of_2.d | 63 new-instance v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass 65 instance-of v15, v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SuperClass 71 instance-of v15, v10, [Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SuperClass; 76 instance-of v15, v10, java/lang/Object 80 new-instance v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass 82 instance-of v15, v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SuperInterface 86 new-instance v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SuperClass 88 instance-of v15, v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass 92 new-instance v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass 94 instance-of v15, v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SuperInterface2 [all …]
|
/cts/tests/sensor/jni/ |
D | android_hardware_cts_SensorNativeTest.cpp | 34 void tearDown(JNIEnv*, jclass, jlong instance) { in tearDown() argument 35 delete reinterpret_cast<SensorTest *>(instance); in tearDown() 38 void test(JNIEnv* env, jclass, jlong instance) { in test() argument 39 SensorTest *test = reinterpret_cast<SensorTest *>(instance); in test()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
D | MockVrListenerService.java | 51 public final VrListenerService instance; field in MockVrListenerService.Event 56 instance = i; in Event() 61 public static Event build(VrListenerService instance, EventType type, Object argument1) { in build() argument 62 return new Event(instance, type, argument1); in build() 65 public static Event build(VrListenerService instance, EventType type) { in build() argument 66 return new Event(instance, type, null); in build()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerNegativeTest.java | 50 private static Object readField(Object instance, String field) in readField() argument 52 final Field f = instance.getClass().getDeclaredField(field); in readField() 54 final Object ret = f.get(instance); in readField() 61 private static void callMethodExpectingSecurityException(Object instance, String name, in callMethodExpectingSecurityException() argument 66 for (Method method : instance.getClass().getDeclaredMethods()) { in callMethodExpectingSecurityException() 78 m.invoke(instance, args); in callMethodExpectingSecurityException()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | SoundGenerator.java | 8 private static SoundGenerator instance; field in SoundGenerator 49 if (instance == null) { in getInstance() 50 instance = new SoundGenerator(); in getInstance() 52 return instance; in getInstance()
|
D | AudioRecordHelper.java | 26 private static AudioRecordHelper instance; field in AudioRecordHelper 63 if (instance == null) { in getInstance() 64 instance = new AudioRecordHelper(); in getInstance() 66 return instance; in getInstance()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorNativeTest.java | 35 protected native void nativeTearDown(long instance); in nativeTearDown() argument 36 private native void nativeTest(long instance); in nativeTest() argument
|
D | SensorIntegrationTests.java | 140 for(int instance = 0; instance < INSTANCES_TO_USE; ++instance) { in testSensorsMovingRates()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | InstrumentedAccessibilityService.java | 159 final T instance = getInstanceForClass(clazz, TIMEOUT_SERVICE_ENABLE); in enableService() local 160 if (instance == null) { in enableService() 168 return instance; in enableService() 181 final T instance = (T) ref.get(); in getInstanceForClass() local 182 if (instance == null) { in getInstanceForClass() 185 return instance; in getInstanceForClass()
|
/cts/hostsidetests/gputools/apps/jni/ |
D | android_gputools_cts_RootlessGpuDebug.cpp | 55 VkInstance instance; in initVulkan() local 56 VkResult vkResult = vkCreateInstance(&instance_info, nullptr, &instance); in initVulkan()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextMoreTest.java | 112 private static Object readField(Object instance, String fieldName) { in readField() argument 115 f = instance.getClass().getDeclaredField(fieldName); in readField() 117 final Object ret = f.get(instance); in readField()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | DisplayModifier.java | 256 paint.setShader(ResourceModifier.instance().repeatShader); 262 paint.setShader(ResourceModifier.instance().translatedShader); 268 paint.setShader(ResourceModifier.instance().scaledShader); 274 paint.setShader(ResourceModifier.instance().composeShader); 295 paint.setShader(ResourceModifier.instance().horGradient); 301 paint.setShader(ResourceModifier.instance().diagGradient); 307 paint.setShader(ResourceModifier.instance().vertGradient); 313 paint.setShader(ResourceModifier.instance().radGradient); 319 paint.setShader(ResourceModifier.instance().sweepGradient); 419 canvas.drawBitmapMesh(ResourceModifier.instance().bitmap, 3, 3, [all …]
|
/cts/hostsidetests/gputools/layers/jni/ |
D | nullLayer.cpp | 132 VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetInstanceProcAddr(VkInstance instance, const char* funcN… in GetInstanceProcAddr() argument 139 return (PFN_vkVoidFunction)g_VulkanDispatchTable.GetInstanceProcAddr(instance, funcName); in GetInstanceProcAddr() 171 …API_ATTR PFN_vkVoidFunction VKAPI_CALL vkGetInstanceProcAddr(VkInstance instance, const char *func… in vkGetInstanceProcAddr() argument 172 return GetInstanceProcAddr(instance, funcName); in vkGetInstanceProcAddr()
|
D | vk_layer_interface.h | 44 typedef VkResult(VKAPI_PTR* PFN_vkSetInstanceLoaderData)(VkInstance instance,
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | SettingsIncidentTest.java | 127 private static <T> T invoke(Method method, Object instance, Object... args) { in invoke() argument 130 return (T) method.invoke(instance, args); in invoke() 136 private static <T> T invoke(GeneratedMessage instance, String methodName, Object... args) in invoke() argument 142 instance.getClass().getDeclaredMethod(methodName, inputParamTypes), in invoke() 143 instance, args); in invoke()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/opc_throw/d/ |
D | T_opc_throw_5.d | 30 new-instance v2, java/lang/Object 35 new-instance v1, java/lang/NullPointerException
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/d/ |
D | T_return_object_13.d | 30 new-instance v1, dot/junit/opcodes/return_object/d/TChild 41 instance-of v2, v2, dot/junit/opcodes/return_object/d/TChild
|
D | T_return_object_12.d | 29 new-instance v1, dot/junit/opcodes/return_object/d/TChild 39 instance-of v0, v2, dot/junit/opcodes/return_object/d/TChild
|
D | T_return_object_14.d | 30 new-instance v0, dot/junit/opcodes/return_object/d/TSuper 43 instance-of v0, v1, dot/junit/opcodes/return_object/d/TChild
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaSession2TestBase.java | 113 TestControllerInterface instance = onCreateController(token, callback); in createController() local 114 if (!(instance instanceof MediaController2)) { in createController() 116 + instance); in createController() 118 MediaController2 controller = (MediaController2) instance; in createController()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/check_cast/d/ |
D | T_check_cast_2.d | 63 new-instance v10, dot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass 78 new-instance v10, dot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass 85 new-instance v10, dot/junit/opcodes/check_cast/d/T_check_cast_2/SuperClass 97 new-instance v10, dot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass
|
/cts/tests/tests/rscpp/librscpptest/ |
D | Android.mk | 36 instance.rs \
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_instance/d/ |
D | T_new_instance_10.d | 30 new-instance v6, java/lang/String
|