/cts/tests/tests/networksecurityconfig/networksecurityconfig-attributes/src/android/security/net/config/cts/ |
D | TestAttributes.java | 23 NetworkSecurityPolicy instance = NetworkSecurityPolicy.getInstance(); in testCleartextTrafficPermitted() local 26 assertFalse(instance.isCleartextTrafficPermitted()); in testCleartextTrafficPermitted() 28 assertFalse(instance.isCleartextTrafficPermitted("foo.bar")); in testCleartextTrafficPermitted() 30 assertTrue(instance.isCleartextTrafficPermitted("example.foo.bar")); in testCleartextTrafficPermitted() 33 assertTrue(instance.isCleartextTrafficPermitted("android.com")); in testCleartextTrafficPermitted() 34 assertTrue(instance.isCleartextTrafficPermitted("foo.android.com")); in testCleartextTrafficPermitted() 36 assertTrue(instance.isCleartextTrafficPermitted("example.com")); in testCleartextTrafficPermitted() 37 assertTrue(instance.isCleartextTrafficPermitted("test.example.com")); in testCleartextTrafficPermitted() 39 assertTrue(instance.isCleartextTrafficPermitted("example.com")); in testCleartextTrafficPermitted()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/instance_of/d/T_instance_of_2.smalis/ |
D | T_instance_of_2.smali | 37 new-instance v10, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass; 41 instance-of v15, v10, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SuperClass; 50 instance-of v15, v10, [Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SuperClass; 57 instance-of v15, v10, Ljava/lang/Object; 62 new-instance v10, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass; 66 instance-of v15, v10, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SuperInterface; 71 new-instance v10, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SuperClass; 75 instance-of v15, v10, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass; 80 new-instance v10, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass; 84 instance-of v15, v10, Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SuperInterface2; [all …]
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-nested-domains/src/android/security/net/config/cts/ |
D | NestedDomainConfigTest.java | 25 NetworkSecurityPolicy instance = NetworkSecurityPolicy.getInstance(); in testRootDomainConfig() local 26 assertTrue(instance.isCleartextTrafficPermitted("android.com")); in testRootDomainConfig() 31 NetworkSecurityPolicy instance = NetworkSecurityPolicy.getInstance(); in testNestedDomainConfig() local 32 assertFalse(instance.isCleartextTrafficPermitted("developer.android.com")); in testNestedDomainConfig()
|
/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/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/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/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/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | NotificationListener.java | 35 private static NotificationListener instance; field in NotificationListener 45 return instance; in getInstance() 67 instance = this; in onListenerConnected()
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | InstrumentedAccessibilityService.java | 192 final T instance = getInstanceForClass(clazz, TIMEOUT_SERVICE_ENABLE); in enableService() local 193 if (instance == null) { in enableService() 201 return instance; in enableService() 214 final T instance = (T) ref.get(); in getInstanceForClass() local 215 if (instance == null) { in getInstanceForClass() 218 return instance; in getInstanceForClass()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | ConditionProviderServiceTest.java | 362 PollableConditionProviderService instance = in pollForConnection() local 365 while (tries-- > 0 && (waitForConnection ? instance == null : instance != null)) { in pollForConnection() 371 instance = (PollableConditionProviderService) service.getMethod("getInstance") in pollForConnection() 375 if (waitForConnection && instance == null) { in pollForConnection() 378 } else if (!waitForConnection && instance != null) { in pollForConnection()
|
/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(Message instance, String methodName, Object... args) in invoke() argument 142 instance.getClass().getDeclaredMethod(methodName, inputParamTypes), in invoke() 143 instance, args); in invoke()
|
/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/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
|
/cts/hostsidetests/gputools/layers/jni/ |
D | nullLayer.cpp | 176 VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetInstanceProcAddr(VkInstance instance, const char* funcN… in GetInstanceProcAddr() argument 183 return (PFN_vkVoidFunction)g_VulkanDispatchTable.GetInstanceProcAddr(instance, funcName); in GetInstanceProcAddr() 215 …API_ATTR PFN_vkVoidFunction VKAPI_CALL vkGetInstanceProcAddr(VkInstance instance, const char *func… in vkGetInstanceProcAddr() argument 216 return GetInstanceProcAddr(instance, funcName); in vkGetInstanceProcAddr()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TestJournalProvider.java | 321 final TestJournalContainer instance = getInstance(); in start() local 322 synchronized (instance) { in start() 323 instance.mContainer.clear(); in start() 325 return instance; in start()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/check_cast/d/T_check_cast_2.smalis/ |
D | T_check_cast_2.smali | 37 new-instance v10, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass; 56 new-instance v10, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass; 63 new-instance v10, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SuperClass; 81 new-instance v10, Ldot/junit/opcodes/check_cast/d/T_check_cast_2/SubClass;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | struct_field.rscript | 92 // Compare contents of a struct InnerOne instance against incoming argument values. 104 // Compare contents of a struct InnerOne instance within global 111 // instance within global variable "outer" against incoming argument values. 117 // instance within global variable "outer" against incoming argument values.
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_object/d/ |
D | T_iget_object_30.smali | 20 # instance fields 38 new-instance v0, Ldot/junit/opcodes/iget_object/d/T_iget_object_30;
|
D | T_iget_object_21.smali | 20 # instance fields 30 new-instance v0, Ljava/lang/Object;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_object/d/ |
D | T_iput_object_30.smali | 20 # instance fields 38 new-instance v0, Ldot/junit/opcodes/iput_object/d/T_iput_object_30;
|
/cts/hostsidetests/gputools/apps/jni/ |
D | android_gputools_cts_RootlessGpuDebug.cpp | 61 VkInstance instance; in initVulkan() local 62 VkResult vkResult = vkCreateInstance(&instance_info, nullptr, &instance); in initVulkan()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_instance/d/ |
D | T_new_instance_2.smali | 20 # instance fields 36 new-instance v0, Ldot/junit/opcodes/new_instance/d/T_new_instance_2;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/opc_throw/d/ |
D | T_opc_throw_5.smali | 34 new-instance v2, Ljava/lang/Object; 42 new-instance v1, Ljava/lang/NullPointerException;
|