Home
last modified time | relevance | path

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

12345678910>>...121

/cts/tests/video/src/android/video/cts/
DVideoCodecClaimsPerformanceTest.java67 public static Collection<Object[]> input() { in input()
73 final List<Object[]> argsList = new ArrayList<>(); in input()
80 new Object[]{MediaFormat.MIMETYPE_VIDEO_AVC, 320, 240, 20, true, in input()
83 new Object[]{MediaFormat.MIMETYPE_VIDEO_AVC, 720, 480, 30, true, in input()
89 new Object[]{MediaFormat.MIMETYPE_VIDEO_VP8, 320, 180, 30, true, in input()
92 new Object[]{MediaFormat.MIMETYPE_VIDEO_VP8, 640, 360, 30, true, in input()
99 new Object[]{MediaFormat.MIMETYPE_VIDEO_AV1, 720, 480, 30, true, in input()
102 new Object[]{MediaFormat.MIMETYPE_VIDEO_AV1, 1280, 720, 30, true, in input()
105 new Object[]{MediaFormat.MIMETYPE_VIDEO_AV1, 1920, 1080, 30, true, in input()
113 new Object[]{MediaFormat.MIMETYPE_VIDEO_AVC, 320, 240, 30, false, in input()
[all …]
DHevcVp9ClaimsPerformanceTest.java60 public static Collection<Object[]> input() { in input()
66 final List<Object[]> argsList = new ArrayList<>(); in input()
72 argsList.add(new Object[]{new ArrayList<>(Arrays.asList(MediaFormat.MIMETYPE_VIDEO_HEVC, in input()
76 argsList.add(new Object[]{new ArrayList<>(Arrays.asList(MediaFormat.MIMETYPE_VIDEO_HEVC, in input()
79 argsList.add(new Object[]{new ArrayList<>( in input()
86 argsList.add(new Object[]{new ArrayList<>(Arrays.asList(MediaFormat.MIMETYPE_VIDEO_HEVC, in input()
91 final List<Object[]> updatedArgsList = new ArrayList<>(); in input()
92 for (Object[] arg : argsList) { in input()
93 Object[] argUpdate = new Object[argLength + 1]; in input()
/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/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/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockModemConfigInterface.java76 void registerForNumOfLiveModemChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForNumOfLiveModemChanged()
81 void registerForPhoneCapabilityChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForPhoneCapabilityChanged()
87 Object obj); in registerForSimultaneousCallingSupportStatusChanged()
92 void registerForSimSlotStatusChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForSimSlotStatusChanged()
98 void registerForBasebandVersionChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForBasebandVersionChanged()
103 void registerForDeviceIdentityChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForDeviceIdentityChanged()
106 void registerForDeviceImeiInfoChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForDeviceImeiInfoChanged()
111 void registerForRadioStateChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForRadioStateChanged()
126 void registerForCardStatusChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForCardStatusChanged()
131 void registerForSimAppDataChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForSimAppDataChanged()
[all …]
/cts/tests/tests/database/src/android/database/cts/
DObservableTest.java41 Object observer = new Object(); in testRegisterUnRegisterObserver()
81 Object observer1 = new Object(); in testUnregisterAll()
82 Object observer2 = new Object(); in testUnregisterAll()
106 private class MockObservable extends Observable<Object> {
/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/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/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/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/content/src/android/content/cts/
DContextMoreTest.java56 final Object[] serviceCache = findServiceCache(context); in testGetSystemService_multiThreaded()
65 final Object service = context.getSystemService(ActivityManager.class); in testGetSystemService_multiThreaded()
115 private static Object readField(Object instance, String fieldName) { in readField()
120 final Object ret = f.get(instance); in readField()
133 private static Object[] findServiceCache(Context context) { in findServiceCache()
139 final Object serviceCache = readField(context, "mServiceCache"); in findServiceCache()
140 if (serviceCache instanceof Object[]) { in findServiceCache()
141 return (Object[]) serviceCache; in findServiceCache()
/cts/tests/tests/telecom/src/android/telecom/cts/
DBaseTelecomTestWithMockServices.java195 public Object expected() { in assertCarModeCallCount()
200 public Object actual() { in assertCarModeCallCount()
995 public Object expected() { in verifyConnectionForOutgoingCall()
1000 public Object actual() { in verifyConnectionForOutgoingCall()
1187 public Object expected() { in verifyPhoneStateListenerCallbacksForCall()
1192 public Object actual() { in verifyPhoneStateListenerCallbacksForCall()
1224 public Object expected() { in verifyPhoneStateListenerCallbacksForEmergencyCall()
1229 public Object actual() { in verifyPhoneStateListenerCallbacksForEmergencyCall()
1455 public Object expected() {
1459 public Object actual() {
[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/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DWaitUntil.java107 public Object expected() { in waitUntilIdIsSet()
112 public Object actual() { in waitUntilIdIsSet()
139 public Object expected() { in waitUntilCallAudioStateIsSet()
144 public Object actual() { in waitUntilCallAudioStateIsSet()
174 public Object expected() { in waitUntilAvailableEndpointsIsSet()
179 public Object actual() { in waitUntilAvailableEndpointsIsSet()
209 public Object expected() { in waitUntilConnectionIsNonNull()
214 public Object actual() { in waitUntilConnectionIsNonNull()
247 public Object expected() { in waitUntilCurrentCallEndpointIsSet()
252 public Object actual() { in waitUntilCurrentCallEndpointIsSet()
[all …]
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DFrameworkMethodWithParameter.java33 private final Object mInjectedParam;
35 public FrameworkMethodWithParameter(FrameworkMethod frameworkMethod, Object injectedParam) { in FrameworkMethodWithParameter()
63 public Object invokeExplosively(Object target, Object... params) throws Throwable { in invokeExplosively()
64 Object[] allParams = params; in invokeExplosively()
66 allParams = new Object[1 + params.length]; in invokeExplosively()
118 public boolean equals(Object obj) { in equals()
/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()

12345678910>>...121