/cts/tests/tests/print/src/android/print/cts/ |
D | PrinterCapabilitiesChangeTest.java | 201 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/telephony/current/src/android/telephony/embms/cts/ |
D | SomeArgs.java | 28 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/telecom/src/android/telecom/cts/ |
D | BaseTelecomTestWithMockServices.java | 827 public Object expected() { in verifyPhoneStateListenerCallbacksForCall() 832 public Object actual() { in verifyPhoneStateListenerCallbacksForCall() 867 public Object expected() { in verifyPhoneStateListenerCallbacksForEmergencyCall() 872 public Object actual() { in verifyPhoneStateListenerCallbacksForEmergencyCall() 1030 public Object expected() { in assertNumCalls() 1034 public Object actual() { in assertNumCalls() 1046 public Object expected() { in assertNumConferenceCalls() 1050 public Object actual() { in assertNumConferenceCalls() 1062 public Object expected() { in assertCSConnections() 1067 public Object actual() { in assertCSConnections() [all …]
|
D | VideoCallTest.java | 616 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/tests/tests/text/src/android/text/cts/ |
D | SpannableStringTest.java | 167 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 …]
|
D | SpannableStringBuilderTest.java | 107 assertEquals(0, builder.getSpanFlags(new Object())); in testGetSpanFlags() 403 final Object[] spans = builder.getSpans(0, builder.length(), Object.class); in testAppend_textWithSpan() 461 builder.removeSpan(new Object()); in testRemoveSpan() 607 Object[] emptySpans = builder.getSpans(0, 10, null); in testGetSpans() 628 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsEmptyIfSetSpanIsNotCalled() 709 Object first = new SubscriptSpan(); in testGetSpans_returnsSpansInInsertionOrderWhenTheLaterCoversTheFirst() 710 Object second = new SubscriptSpan(); in testGetSpans_returnsSpansInInsertionOrderWhenTheLaterCoversTheFirst() 715 Object[] spans = builder.getSpans(0, text.length(), Object.class); in testGetSpans_returnsSpansInInsertionOrderWhenTheLaterCoversTheFirst() 727 Object first = new SubscriptSpan(); in testGetSpans_returnsSpansSortedFirstByPriorityThenByInsertionOrder() 728 Object second = new SubscriptSpan(); in testGetSpans_returnsSpansSortedFirstByPriorityThenByInsertionOrder() [all …]
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorStats.java | 73 private final Map<String, Object> mValues = new HashMap<>(); 82 public synchronized void addValue(String key, Object value) { in addValue() 115 public synchronized Object getValue(String key) { in getValue() 127 public synchronized Map<String, Object> flatten() { in flatten() 128 final Map<String, Object> flattenedMap = new HashMap<>(mValues); in flatten() 130 for (Entry<String, Object> valueEntry : statsEntry.getValue().flatten().entrySet()) { in flatten() 142 final Map<String, Object> flattened = flatten(); in log() 144 Object value = flattened.get(key); in log() 158 final Map<String, Object> flattened = flatten(); in logToFile() 162 Object value = flattened.get(key); in logToFile() [all …]
|
/cts/hostsidetests/jvmti/tagging/app/src/android/jvmti/cts/ |
D | JvmtiTaggingTest.java | 34 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/content/src/android/content/cts/ |
D | ContextMoreTest.java | 53 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()
|
D | AsyncQueryHandlerTest.java | 49 private static final Object INSERT_COOKIE = "insert cookie"; 50 private static final Object QUERY_COOKIE = "query cookie"; 51 private static final Object DELETE_COOKIE = "delete cookie"; 52 private static final Object UPDATE_COOKIE = "update cookie"; 275 private void startQuery(int token, Object cookie, Uri uri, String[] projection, in startQuery() 284 private void startInsert(int token, Object cookie, Uri uri, in startInsert() 292 private void startUpdate(int token, Object cookie, Uri uri, ContentValues values, in startUpdate() 300 private void startDelete(int token, Object cookie, Uri uri, String selection, in startDelete() 315 private Object mCookie; 316 private Object mResult; [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_object/d/ |
D | T_iget_object_1.smali | 16 .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/tests/renderscript/src/android/renderscript/cts/ |
D | SmallStructsTest.java | 124 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/jni/src/android/jni/cts/ |
D | ClassLoaderStaticNonce.java | 26 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/tools/vm-tests-tf/src/dot/junit/opcodes/sget_object/d/ |
D | T_sget_object_1.smali | 16 .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/tests/database/src/android/database/cts/ |
D | ObservableTest.java | 33 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/util/src/android/util/cts/ |
D | EventLogTest.java | 63 Object[] arr = (Object[]) events.get(4).getData(); in testWriteEvent() 77 Object[] longArray = new Object[1000]; in testWriteEventWithOversizeValueLimitElision() 100 Object[] arr1 = (Object[]) events.get(1).getData(); in testWriteEventWithOversizeValueLimitElision() 107 Object[] arr2 = (Object[]) events.get(2).getData(); in testWriteEventWithOversizeValueLimitElision() 114 Object[] arr3 = (Object[]) events.get(3).getData(); in testWriteEventWithOversizeValueLimitElision() 121 Object[] arr4 = (Object[]) events.get(4).getData(); in testWriteEventWithOversizeValueLimitElision() 132 Object[] arr6 = (Object[]) events.get(6).getData(); in testWriteEventWithOversizeValueLimitElision() 176 Object[] arr = (Object[]) events.get(1).getData(); in testWriteNullEvent() 225 private List<Event> getEventsAfterMarker(Object marker, int... tags) in getEventsAfterMarker() 245 private void verifyEvent(Event event, int expectedTag, Object expectedData) { in verifyEvent()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_object/d/ |
D | T_sput_object_1.smali | 16 .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;
|
D | T_sput_object_1.java | 20 public static Object st_i1; 21 protected static Object st_p1; 22 private static Object st_pvt1; 28 public static Object getPvtField() in getPvtField()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_object/d/ |
D | T_iput_object_1.smali | 16 .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;
|
D | T_iput_object_1.java | 20 public Object st_i1; 21 protected Object st_p1; 22 private Object st_pvt1; 28 public Object getPvtField() in getPvtField()
|
/cts/hostsidetests/classloaders/useslibrary/app/src/com/android/cts/useslibrary/ |
D | UsesLibraryTest.java | 58 Object[] testDexElements = getDexElementsFromClassLoader(testLoader); in testMissingLibrary() 72 Object[] dexElements = getDexElementsFromClassLoader((BaseDexClassLoader) loader); in testDuplicateLibrary() 85 Object[] testDexElements = getDexElementsFromClassLoader(testLoader); in testDuplicateLibrary() 94 private Object[] getDexElementsFromClassLoader(BaseDexClassLoader loader) throws Exception { in getDexElementsFromClassLoader() 98 Object pathList = pathListField.get(loader); in getDexElementsFromClassLoader() 102 return (Object[]) dexElementsField.get(pathList); in getDexElementsFromClassLoader() 106 private DexFile getDexFileFromDexElement(Object dexElement) throws Exception { in getDexFileFromDexElement() 113 Object[] dexElements = getDexElementsFromClassLoader(loader); in getTestDexFile()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | CallLogTest.java | 39 public Object expected() { in testGetLastOutgoingCall() 44 public Object actual() { in testGetLastOutgoingCall() 64 public Object expected() { in testGetLastOutgoingCall() 69 public Object actual() { in testGetLastOutgoingCall() 89 Object expected(); in expected() 90 Object actual(); in actual()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/ |
D | T_invoke_virtual_11.smali | 17 .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/ |
D | T_invoke_super_11.smali | 17 .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
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | HeaderViewListAdapterTest.java | 163 Object data1 = new Object(); in testGetCount() 164 Object data2 = new Object(); in testGetCount() 172 Object data3 = new Object(); in testGetCount() 173 Object data4 = new Object(); in testGetCount() 234 Object data1 = new Object(); in testGetItem() 235 Object data2 = new Object(); in testGetItem() 243 Object data3 = new Object(); in testGetItem() 244 Object data4 = new Object(); in testGetItem() 411 public Object getItem(int position) { in getItem() 444 private Object mItem; [all …]
|