Home
last modified time | relevance | path

Searched refs:Object (Results 1 – 25 of 2801) sorted by relevance

12345678910>>...113

/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DSomeArgs.java28 private static Object sPoolLock = new Object();
39 public Object arg1;
40 public Object arg2;
41 public Object arg3;
42 public Object arg4;
43 public Object arg5;
44 public Object arg6;
45 public Object arg7;
46 public Object arg8;
47 public Object arg9;
/cts/tests/tests/jni/src/android/jni/cts/
DClassLoaderStaticNonce.java26 static Object ctx;
30 ctx = new Object();
50 private Object toNull = new Object();
54 public static void setCtx(Object in) { in setCtx()
58 public static Object getCtx() { in getCtx()
/cts/tests/tests/print/src/android/print/cts/
DPrinterCapabilitiesChangeTest.java201 Object[] args = invocation.getArguments(); in setUpPrinting()
267 public static Collection<Object[]> getParameters() { in getParameters()
268 ArrayList<Object[]> parameters = new ArrayList<>(); in getParameters()
270 parameters.add(new Object[]{false, null, false, null}); in getParameters()
271 parameters.add(new Object[]{false, null, false, MediaSize.ISO_A0}); in getParameters()
272 parameters.add(new Object[]{false, null, false, MediaSize.ISO_B0}); in getParameters()
273 parameters.add(new Object[]{false, null, true, null}); in getParameters()
274 parameters.add(new Object[]{false, null, true, MediaSize.ISO_A0}); in getParameters()
275 parameters.add(new Object[]{false, null, true, MediaSize.ISO_B0}); in getParameters()
276 parameters.add(new Object[]{false, MediaSize.ISO_A0, false, null}); in getParameters()
[all …]
/cts/tests/tests/database/src/android/database/cts/
DObservableTest.java33 Object observer = new Object(); in testRegisterUnRegisterObserver()
72 Object observer1 = new Object(); in testUnregisterAll()
73 Object observer2 = new Object(); in testUnregisterAll()
97 private class MockObservable extends Observable<Object> {
/cts/tests/tests/text/src/android/text/cts/
DHtmlTest.java75 Object[] spans = spanned.getSpans(start, end, Object.class); in verifySingleTagOnWhileString()
96 Object[] spans = spanned.getSpans(start, end, Object.class); in verifyBadHtml()
111 private static Object[] paramsForTestColor() { in paramsForTestColor()
112 return new Object[] { in paramsForTestColor()
113 new Object[] { "<font color=\"#00FF00\">something</font>", 0xFF00FF00 }, in paramsForTestColor()
114 new Object[] { "<font color=\"navy\">NAVY</font>", 0xFF000080 }, in paramsForTestColor()
116 new Object[] { "<font color=\"green\">GREEN</font>", 0xFF00FF00 }, in paramsForTestColor()
117 new Object[] { "<font color=\"gray\">GRAY</font>", 0xFF888888 }, in paramsForTestColor()
118 new Object[] { "<font color=\"grey\">GREY</font>", 0xFF888888 }, in paramsForTestColor()
119 new Object[] { "<font color=\"lightgray\">LIGHTGRAY</font>", 0xFFCCCCCC }, in paramsForTestColor()
[all …]
DSpannableStringTest.java167 Object[] secondSpans = second.getSpans(0, second.length(), Object.class); in testSubsequence_copiesSpans()
172 Object[][] expected = new Object[][] { in testSubsequence_copiesSpans()
177 Object secondSpan = secondSpans[i]; in testSubsequence_copiesSpans()
191 Object[] firstSpans = first.getSpans(0, first.length(), Object.class); in testCopyConstructor_copiesAllSpans()
195 Object[] secondSpans = second.getSpans(0, second.length(), Object.class); in testCopyConstructor_copiesAllSpans()
199 Object firstSpan = firstSpans[i]; in testCopyConstructor_copiesAllSpans()
200 Object secondSpan = secondSpans[i]; in testCopyConstructor_copiesAllSpans()
217 Object[] secondSpans = second.getSpans(0, second.length(), Object.class); in testCopyGrowable()
247 final Object span1 = new Object(); in testEquals()
248 final Object span2 = new Object(); in testEquals()
[all …]
/cts/tests/tests/content/src/android/content/cts/
DContextMoreTest.java53 final Object[] serviceCache = findServiceCache(context); in testGetSystemService_multiThreaded()
62 final Object service = context.getSystemService(ActivityManager.class); in testGetSystemService_multiThreaded()
112 private static Object readField(Object instance, String fieldName) { in readField()
117 final Object ret = f.get(instance); in readField()
130 private static Object[] findServiceCache(Context context) { in findServiceCache()
136 final Object serviceCache = readField(context, "mServiceCache"); in findServiceCache()
137 if (serviceCache instanceof Object[]) { in findServiceCache()
138 return (Object[]) serviceCache; in findServiceCache()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_object/d/
DT_sput_object_1.java20 public static Object st_i1;
21 protected static Object st_p1;
22 private static Object st_pvt1;
28 public static Object getPvtField() in getPvtField()
DT_sput_object_1.smali16 .super Ljava/lang/Object;
21 .field public static st_i1:Ljava/lang/Object;
23 .field protected static st_p1:Ljava/lang/Object;
25 .field private static st_pvt1:Ljava/lang/Object;
32 invoke-direct {p0}, Ljava/lang/Object;-><init>()V
37 .method public static getPvtField()Ljava/lang/Object;
40 sget-object v0, Ldot/junit/opcodes/sput_object/d/T_sput_object_1;->st_pvt1:Ljava/lang/Object;
50 sput-object p0, Ldot/junit/opcodes/sput_object/d/T_sput_object_1;->st_i1:Ljava/lang/Object;
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_object/d/
DT_iput_object_1.java20 public Object st_i1;
21 protected Object st_p1;
22 private Object st_pvt1;
28 public Object getPvtField() in getPvtField()
DT_iput_object_1.smali16 .super Ljava/lang/Object;
21 .field public st_i1:Ljava/lang/Object;
23 .field protected st_p1:Ljava/lang/Object;
25 .field private st_pvt1:Ljava/lang/Object;
32 invoke-direct {p0}, Ljava/lang/Object;-><init>()V
39 .method public getPvtField()Ljava/lang/Object;
42 … iget-object v0, p0, Ldot/junit/opcodes/iput_object/d/T_iput_object_1;->st_pvt1:Ljava/lang/Object;
50 iput-object p0, p0, Ldot/junit/opcodes/iput_object/d/T_iput_object_1;->st_i1:Ljava/lang/Object;
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_object/d/
DT_iget_object_1.java20 public Object i1 = null;
21 protected Object p1 = null;
22 private Object pvt1 = null;
24 public Object run(){ in run()
DT_iget_object_1.smali16 .super Ljava/lang/Object;
21 .field public i1:Ljava/lang/Object;
23 .field protected p1:Ljava/lang/Object;
25 .field private pvt1:Ljava/lang/Object;
32 invoke-direct {p0}, Ljava/lang/Object;-><init>()V
36 iput-object v0, p0, Ldot/junit/opcodes/iget_object/d/T_iget_object_1;->i1:Ljava/lang/Object;
40 iput-object v0, p0, Ldot/junit/opcodes/iget_object/d/T_iget_object_1;->p1:Ljava/lang/Object;
44 iput-object v0, p0, Ldot/junit/opcodes/iget_object/d/T_iget_object_1;->pvt1:Ljava/lang/Object;
51 .method public run()Ljava/lang/Object;
54 iget-object v1, p0, Ldot/junit/opcodes/iget_object/d/T_iget_object_1;->i1:Ljava/lang/Object;
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_object/d/
DT_sget_object_1.java20 public static Object i1 = null;
21 protected static Object p1 = null;
22 private static Object pvt1 = null;
24 public Object run(){ in run()
DT_sget_object_1.smali16 .super Ljava/lang/Object;
21 .field public static i1:Ljava/lang/Object;
23 .field protected static p1:Ljava/lang/Object;
25 .field private static pvt1:Ljava/lang/Object;
34 sput-object v0, Ldot/junit/opcodes/sget_object/d/T_sget_object_1;->i1:Ljava/lang/Object;
38 sput-object v0, Ldot/junit/opcodes/sget_object/d/T_sget_object_1;->p1:Ljava/lang/Object;
42 sput-object v0, Ldot/junit/opcodes/sget_object/d/T_sget_object_1;->pvt1:Ljava/lang/Object;
50 invoke-direct {p0}, Ljava/lang/Object;-><init>()V
57 .method public run()Ljava/lang/Object;
60 sget-object v1, Ldot/junit/opcodes/sget_object/d/T_sget_object_1;->i1:Ljava/lang/Object;
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorStats.java74 private final Map<String, Object> mValues = new HashMap<>();
83 public synchronized void addValue(String key, Object value) { in addValue()
116 public synchronized Object getValue(String key) { in getValue()
128 public synchronized Map<String, Object> flatten() { in flatten()
129 final Map<String, Object> flattenedMap = new HashMap<>(mValues); in flatten()
131 for (Entry<String, Object> valueEntry : statsEntry.getValue().flatten().entrySet()) { in flatten()
143 final Map<String, Object> flattened = flatten(); in log()
145 Object value = flattened.get(key); in log()
172 final Map<String, Object> flattened = flatten(); in logToFile()
176 Object value = flattened.get(key); in logToFile()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DBaseTelecomTestWithMockServices.java176 public Object expected() { in assertCarModeCallCount()
181 public Object actual() { in assertCarModeCallCount()
838 public Object expected() { in verifyConnectionForOutgoingCall()
843 public Object actual() { in verifyConnectionForOutgoingCall()
1016 public Object expected() { in verifyPhoneStateListenerCallbacksForCall()
1021 public Object actual() { in verifyPhoneStateListenerCallbacksForCall()
1053 public Object expected() { in verifyPhoneStateListenerCallbacksForEmergencyCall()
1058 public Object actual() { in verifyPhoneStateListenerCallbacksForEmergencyCall()
1216 public Object expected() { in assertNumCalls()
1220 public Object actual() { in assertNumCalls()
[all …]
DVideoCallTest.java616 public Object expected() { in assertVideoState()
621 public Object actual() { in assertVideoState()
643 public Object expected() { in assertVideoCallbackRegistered()
648 public Object actual() { in assertVideoCallbackRegistered()
669 public Object expected() { in assertCameraCapabilitiesReceived()
674 public Object actual() { in assertCameraCapabilitiesReceived()
696 public Object expected() { in assertCallDataUsageReceived()
701 public Object actual() { in assertCallDataUsageReceived()
723 public Object expected() { in assertVideoQualityReceived()
728 public Object actual() { in assertVideoQualityReceived()
[all …]
/cts/hostsidetests/jvmti/tagging/app/src/android/jvmti/cts/
DJvmtiTaggingTest.java34 private static WeakReference<Object> test() { in test()
35 Object o1 = new Object(); in test()
38 Object o2 = new Object(); in test()
59 return new WeakReference<Object>(o1); in test()
70 WeakReference<Object> weak = test(); in testTaggingGC()
80 private ArrayList<Object> l;
132 Object[] result = getTaggedObjects(searchTags, returnObjects, returnTags); in getTaggedObjectsRun()
134 Object[] objects = (Object[]) result[0]; in getTaggedObjectsRun()
149 public void check(int count, Object[] objects, long[] tags) { in check()
182 public GetTaggedObjectsExpectation add(Object o, long l) { in add()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSmallStructsTest.java124 Object getInitialValue(String type) { in getInitialValue()
126 return (Object) sInitialValue_int8_t; in getInitialValue()
128 return (Object) sInitialValue_int16_t; in getInitialValue()
130 return (Object) sInitialValue_int32_t; in getInitialValue()
132 return (Object) sInitialValue_int64_t; in getInitialValue()
134 return (Object) sInitialValue_float; in getInitialValue()
136 return (Object) sInitialValue_double; in getInitialValue()
138 return (Object) sInitialValue_float4; in getInitialValue()
155 Object field = scriptFieldClass.getConstructor(RenderScript.class, int.class) in testSmallStructsOfCharArray()
215 Object field = scriptFieldClass.getConstructor(RenderScript.class, int.class) in testSmallStructsOfHeterogeneousTypes()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/filled_new_array_range/d/
DT_filled_new_array_range_2.java20 public Object[] run(Object a, Object b) { in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/filled_new_array/d/
DT_filled_new_array_2.java20 public Object[] run(Object a, Object b) { in run()
/cts/hostsidetests/classloaders/useslibrary/app/src/com/android/cts/useslibrary/
DUsesLibraryTest.java59 Object[] testDexElements = getDexElementsFromClassLoader(testLoader); in testMissingLibrary()
74 Object[] dexElements = getDexElementsFromClassLoader((BaseDexClassLoader) loader); in testDuplicateLibrary()
87 Object[] testDexElements = getDexElementsFromClassLoader(testLoader); in testDuplicateLibrary()
96 private Object[] getDexElementsFromClassLoader(BaseDexClassLoader loader) throws Exception { in getDexElementsFromClassLoader()
100 Object pathList = pathListField.get(loader); in getDexElementsFromClassLoader()
104 return (Object[]) dexElementsField.get(pathList); in getDexElementsFromClassLoader()
108 private DexFile getDexFileFromDexElement(Object dexElement) throws Exception { in getDexFileFromDexElement()
115 Object[] dexElements = getDexElementsFromClassLoader(loader); in getTestDexFile()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/
DT_invoke_virtual_11.smali17 .super Ljava/lang/Object;
23 invoke-direct {v1}, Ljava/lang/Object;-><init>()V
27 .method public run(Ljava/lang/Object;Ljava/lang/Object;)Z
30 invoke-virtual {v6}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/
DT_invoke_super_11.smali17 .super Ljava/lang/Object;
23 invoke-direct {v1}, Ljava/lang/Object;-><init>()V
27 .method public run(Ljava/lang/Object;Ljava/lang/Object;)Z
30 invoke-super {v6}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

12345678910>>...113