/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/ |
D | TransitionHelper.java | 67 void setEnterTransition(android.app.Fragment fragment, Object transition); in setEnterTransition() 69 void setExitTransition(android.app.Fragment fragment, Object transition); in setExitTransition() 72 Object transition); in setSharedElementEnterTransition() 77 Object getSharedElementEnterTransition(Window window); in getSharedElementEnterTransition() 79 void setSharedElementEnterTransition(Window window, Object transition); in setSharedElementEnterTransition() 81 Object getSharedElementReturnTransition(Window window); in getSharedElementReturnTransition() 83 void setSharedElementReturnTransition(Window window, Object transition); in setSharedElementReturnTransition() 85 Object getSharedElementExitTransition(Window window); in getSharedElementExitTransition() 87 Object getSharedElementReenterTransition(Window window); in getSharedElementReenterTransition() 89 Object getEnterTransition(Window window); in getEnterTransition() [all …]
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | ArrayUtilsTest.java | 29 final Object A = new Object(); in testContains() 30 final Object B = new Object(); in testContains() 31 final Object C = new Object(); in testContains() 32 final Object D = new Object(); in testContains() 34 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, A)); in testContains() 35 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, B)); in testContains() 36 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, C)); in testContains() 37 assertTrue(ArrayUtils.contains(new Object[] { A, null, C }, null)); in testContains() 39 assertFalse(ArrayUtils.contains(new Object[] { A, B, C }, null)); in testContains() 40 assertFalse(ArrayUtils.contains(new Object[] { }, null)); in testContains() [all …]
|
/frameworks/support/media-compat/api21/android/support/v4/media/session/ |
D | MediaControllerCompatApi21.java | 40 public static Object fromToken(Context context, Object sessionToken) { in fromToken() 44 public static Object createCallback(Callback callback) { in createCallback() 48 public static void registerCallback(Object controllerObj, Object callbackObj, Handler handler) { in registerCallback() 53 public static void unregisterCallback(Object controllerObj, Object callbackObj) { in unregisterCallback() 58 public static void setMediaController(Activity activity, Object controllerObj) { in setMediaController() 62 public static Object getMediaController(Activity activity) { in getMediaController() 66 public static Object getSessionToken(Object controllerObj) { in getSessionToken() 70 public static Object getTransportControls(Object controllerObj) { in getTransportControls() 74 public static Object getPlaybackState(Object controllerObj) { in getPlaybackState() 78 public static Object getMetadata(Object controllerObj) { in getMetadata() [all …]
|
D | MediaSessionCompatApi21.java | 44 public static Object createSession(Context context, String tag) { in createSession() 48 public static Object verifySession(Object mediaSession) { in verifySession() 55 public static Object verifyToken(Object token) { in verifyToken() 62 public static Object createCallback(Callback callback) { in createCallback() 66 public static void setCallback(Object sessionObj, Object callbackObj, Handler handler) { in setCallback() 70 public static void setFlags(Object sessionObj, int flags) { in setFlags() 74 public static void setPlaybackToLocal(Object sessionObj, int stream) { in setPlaybackToLocal() 81 public static void setPlaybackToRemote(Object sessionObj, Object volumeProviderObj) { in setPlaybackToRemote() 85 public static void setActive(Object sessionObj, boolean active) { in setActive() 89 public static boolean isActive(Object sessionObj) { in isActive() [all …]
|
D | PlaybackStateCompatApi21.java | 27 public static int getState(Object stateObj) { in getState() 31 public static long getPosition(Object stateObj) { in getPosition() 35 public static long getBufferedPosition(Object stateObj) { in getBufferedPosition() 39 public static float getPlaybackSpeed(Object stateObj) { in getPlaybackSpeed() 43 public static long getActions(Object stateObj) { in getActions() 47 public static CharSequence getErrorMessage(Object stateObj) { in getErrorMessage() 51 public static long getLastPositionUpdateTime(Object stateObj) { in getLastPositionUpdateTime() 55 public static List<Object> getCustomActions(Object stateObj) { in getCustomActions() 59 public static long getActiveQueueItemId(Object stateObj) { in getActiveQueueItemId() 63 public static Object newInstance(int state, long position, long bufferedPosition, in newInstance() [all …]
|
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/ |
D | MediaRouterJellybean.java | 49 public static Object getMediaRouter(Context context) { in getMediaRouter() 54 public static List getRoutes(Object routerObj) { in getRoutes() 65 public static List getCategories(Object routerObj) { in getCategories() 75 public static Object getSelectedRoute(Object routerObj, int type) { in getSelectedRoute() 79 public static void selectRoute(Object routerObj, int types, Object routeObj) { in selectRoute() 84 public static void addCallback(Object routerObj, int types, Object callbackObj) { in addCallback() 89 public static void removeCallback(Object routerObj, Object callbackObj) { in removeCallback() 94 public static Object createRouteCategory(Object routerObj, in createRouteCategory() 99 public static Object createUserRoute(Object routerObj, Object categoryObj) { in createUserRoute() 104 public static void addUserRoute(Object routerObj, Object routeObj) { in addUserRoute() [all …]
|
/frameworks/support/media-compat/api21/android/support/v4/media/ |
D | MediaDescriptionCompatApi21.java | 28 public static String getMediaId(Object descriptionObj) { in getMediaId() 32 public static CharSequence getTitle(Object descriptionObj) { in getTitle() 36 public static CharSequence getSubtitle(Object descriptionObj) { in getSubtitle() 40 public static CharSequence getDescription(Object descriptionObj) { in getDescription() 44 public static Bitmap getIconBitmap(Object descriptionObj) { in getIconBitmap() 48 public static Uri getIconUri(Object descriptionObj) { in getIconUri() 52 public static Bundle getExtras(Object descriptionObj) { in getExtras() 56 public static void writeToParcel(Object descriptionObj, Parcel dest, int flags) { in writeToParcel() 60 public static Object fromParcel(Parcel in) { in fromParcel() 65 public static Object newInstance() { in newInstance() [all …]
|
D | MediaMetadataCompatApi21.java | 29 public static Set<String> keySet(Object metadataObj) { in keySet() 33 public static Bitmap getBitmap(Object metadataObj, String key) { in getBitmap() 37 public static long getLong(Object metadataObj, String key) { in getLong() 41 public static Object getRating(Object metadataObj, String key) { in getRating() 45 public static CharSequence getText(Object metadataObj, String key) { in getText() 49 public static void writeToParcel(Object metadataObj, Parcel dest, int flags) { in writeToParcel() 53 public static Object createFromParcel(Parcel in) { in createFromParcel() 58 public static Object newInstance() { in newInstance() 62 public static void putBitmap(Object builderObj, String key, Bitmap value) { in putBitmap() 66 public static void putLong(Object builderObj, String key, long value) { in putLong() [all …]
|
D | MediaBrowserCompatApi21.java | 33 public static Object createConnectionCallback(ConnectionCallback callback) { in createConnectionCallback() 37 public static Object createBrowser(Context context, ComponentName serviceComponent, in createBrowser() 38 Object callback, Bundle rootHints) { in createBrowser() 43 public static void connect(Object browserObj) { in connect() 47 public static void disconnect(Object browserObj) { in disconnect() 52 public static boolean isConnected(Object browserObj) { in isConnected() 56 public static ComponentName getServiceComponent(Object browserObj) { in getServiceComponent() 60 public static String getRoot(Object browserObj) { in getRoot() 64 public static Bundle getExtras(Object browserObj) { in getExtras() 68 public static Object getSessionToken(Object browserObj) { in getSessionToken() [all …]
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
D | TransitionHelperApi21.java | 34 public static void setEnterTransition(android.app.Fragment fragment, Object transition) { in setEnterTransition() 38 public static void setExitTransition(android.app.Fragment fragment, Object transition) { in setExitTransition() 43 Object transition) { in setSharedElementEnterTransition() 52 public static Object getSharedElementEnterTransition(Window window) { in getSharedElementEnterTransition() 56 public static void setSharedElementEnterTransition(Window window, Object transition) { in setSharedElementEnterTransition() 60 public static Object getSharedElementReturnTransition(Window window) { in getSharedElementReturnTransition() 64 public static void setSharedElementReturnTransition(Window window, Object transition) { in setSharedElementReturnTransition() 68 public static Object getSharedElementExitTransition(Window window) { in getSharedElementExitTransition() 72 public static Object getSharedElementReenterTransition(Window window) { in getSharedElementReenterTransition() 76 public static Object getEnterTransition(Window window) { in getEnterTransition() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | HandlerCaller.java | 81 public void removeMessages(int what, Object obj) { in removeMessages() 113 public Message obtainMessageBO(int what, boolean arg1, Object arg2) { in obtainMessageBO() 117 public Message obtainMessageBOO(int what, boolean arg1, Object arg2, Object arg3) { in obtainMessageBOO() 124 public Message obtainMessageO(int what, Object arg1) { in obtainMessageO() 136 public Message obtainMessageIO(int what, int arg1, Object arg2) { in obtainMessageIO() 140 public Message obtainMessageIIO(int what, int arg1, int arg2, Object arg3) { in obtainMessageIIO() 145 Object arg3, Object arg4) { in obtainMessageIIOO() 152 public Message obtainMessageIOO(int what, int arg1, Object arg2, Object arg3) { in obtainMessageIOO() 159 public Message obtainMessageIOOO(int what, int arg1, Object arg2, Object arg3, Object arg4) { in obtainMessageIOOO() 167 public Message obtainMessageIIOOO(int what, int arg1, int arg2, Object arg3, Object arg4, in obtainMessageIIOOO() [all …]
|
/frameworks/base/tests/CoreTests/android/core/ |
D | HeapTest.java | 45 private WeakReference<Object> newRef() { in newRef() 46 return new WeakReference<Object>(new Object()); in newRef() 49 private static void makeRefs(Object objects[], SoftReference<Object> refs[]) { in makeRefs() 51 objects[i] = (Object) new byte[8 * 1024]; in makeRefs() 52 refs[i] = new SoftReference<Object>(objects[i]); in makeRefs() 60 Object o = refs[i].get(); in checkRefs() 71 private static void clearRefs(Object objects[], int skip) { in clearRefs() 77 private static void clearRefs(Object objects[]) { in clearRefs() 98 Object objects[] = new Object[NUM_REFS]; in testGcSoftRefs() 99 SoftReference<Object> refs[] = new SoftReference[objects.length]; in testGcSoftRefs() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | SpannableTest.java | 35 Object emptySpan = new Object(); in testGetSpans() 37 Object unemptySpan = new Object(); in testGetSpans() 40 Object[] spans; in testGetSpans() 45 spans = spannable.getSpans(0, 1, Object.class); in testGetSpans() 46 MoreAsserts.assertEquals(new Object[]{emptySpan}, spans); in testGetSpans() 47 spans = spannable.getSpans(0, 2, Object.class); in testGetSpans() 48 MoreAsserts.assertEquals(new Object[]{emptySpan, unemptySpan}, spans); in testGetSpans() 49 spans = spannable.getSpans(1, 2, Object.class); in testGetSpans() 50 MoreAsserts.assertEquals(new Object[]{emptySpan, unemptySpan}, spans); in testGetSpans() 51 spans = spannable.getSpans(2, 2, Object.class); in testGetSpans() [all …]
|
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
D | TransitionHelperKitkat.java | 41 static Object createScene(ViewGroup sceneRoot, Runnable enterAction) { in createScene() 47 static Object createTransitionSet(boolean sequential) { in createTransitionSet() 54 static void addTransition(Object transitionSet, Object transition) { in addTransition() 58 static Object createAutoTransition() { in createAutoTransition() 62 static Object createSlide(int slideEdge) { in createSlide() 68 static Object createScale() { in createScale() 73 static Object createFadeTransition(int fadingMode) { in createFadeTransition() 134 static Object createChangeBounds(boolean reparent) { in createChangeBounds() 140 static void setChangeBoundsStartDelay(Object changeBounds, int viewId, int startDelay) { in setChangeBoundsStartDelay() 144 static void setChangeBoundsStartDelay(Object changeBounds, View view, int startDelay) { in setChangeBoundsStartDelay() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | LockGuard.java | 77 private static Object[] sKnownFixed = new Object[INDEX_ACTIVITY + 1]; 79 private static ArrayMap<Object, LockInfo> sKnown = new ArrayMap<>(0, true); 86 public ArraySet<Object> children = new ArraySet<>(0, true); 89 private static LockInfo findOrCreateLockInfo(Object lock) { in findOrCreateLockInfo() 105 public static Object guard(Object lock) { in guard() 113 final Object child = info.children.valueAt(i); in guard() 128 final Object test = sKnown.keyAt(i); in guard() 146 final Object lock = sKnownFixed[i]; in guard() 158 public static Object installLock(Object lock, String label) { in installLock() 167 public static Object installLock(Object lock, int index) { in installLock() [all …]
|
/frameworks/support/media-compat/kitkat/android/support/v4/media/ |
D | RatingCompatKitkat.java | 24 public static Object newUnratedRating(int ratingStyle) { in newUnratedRating() 28 public static Object newHeartRating(boolean hasHeart) { in newHeartRating() 32 public static Object newThumbRating(boolean thumbIsUp) { in newThumbRating() 36 public static Object newStarRating(int starRatingStyle, float starRating) { in newStarRating() 40 public static Object newPercentageRating(float percent) { in newPercentageRating() 44 public static boolean isRated(Object ratingObj) { in isRated() 48 public static int getRatingStyle(Object ratingObj) { in getRatingStyle() 52 public static boolean hasHeart(Object ratingObj) { in hasHeart() 56 public static boolean isThumbUp(Object ratingObj) { in isThumbUp() 60 public static float getStarRating(Object ratingObj) { in getStarRating() [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | MoreAsserts.java | 46 public static void assertAssignableFrom(Class<?> expected, Object actual) { in assertAssignableFrom() 67 String message, Object unexpected, Object actual) { in assertNotEqual() 77 public static void assertNotEqual(Object unexpected, Object actual) { in assertNotEqual() 194 String message, Object[] expected, Object[] actual) { in assertEquals() 199 Object exp = expected[i]; in assertEquals() 200 Object act = actual[i]; in assertEquals() 214 public static void assertEquals(Object[] expected, Object[] actual) { in assertEquals() 220 String message, Set<? extends Object> expected, Set<? extends Object> actual) { in assertEquals() 221 Set<Object> onlyInExpected = new HashSet<Object>(expected); in assertEquals() 223 Set<Object> onlyInActual = new HashSet<Object>(actual); in assertEquals() [all …]
|
/frameworks/base/core/java/android/os/ |
D | HidlSupport.java | 40 public static boolean deepEquals(Object lft, Object rgt) { in deepEquals() 64 Object[] lftArray = (Object[])lft; in deepEquals() 65 Object[] rgtArray = (Object[])rgt; in deepEquals() 72 List<Object> lftList = (List<Object>)lft; in deepEquals() 73 List<Object> rgtList = (List<Object>)rgt; in deepEquals() 78 Iterator<Object> lftIter = lftList.iterator(); in deepEquals() 91 public static int deepHashCode(Object o) { in deepHashCode() 101 return Arrays.hashCode(Arrays.stream((Object[])o) in deepHashCode() 107 return Arrays.hashCode(((List<Object>)o).stream() in deepHashCode() 117 private static void throwErrorIfUnsupportedType(Object o) { in throwErrorIfUnsupportedType() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameValues.java | 31 Object value = super.getValue(); in getCount() 48 public Object getValues() { in getValues() 49 Object value = super.getValue(); in getValues() 54 Object[] array = (Object[])Array.newInstance(value.getClass(), 1); in getValues() 69 public Object getValueAtIndex(int index) { in getValueAtIndex() 70 Object value = super.getValue(); in getValueAtIndex() 92 Object value = getValueAtIndex(index); in getFrameValueAtIndex() 105 public void setValues(Object values) { in setValues() 118 public void setValueAtIndex(Object value, int index) { in setValueAtIndex() 120 Object curValue = super.getValue(); in setValueAtIndex() [all …]
|
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompat.java | 410 final Object mAction; 422 AccessibilityActionCompat(Object action) { in AccessibilityActionCompat() 467 final Object mInfo; 505 CollectionInfoCompat(Object info) { in CollectionInfoCompat() 563 final Object mInfo; 598 CollectionItemInfoCompat(Object info) { in CollectionItemInfoCompat() 682 final Object mInfo; 684 RangeInfoCompat(Object info) { in RangeInfoCompat() 730 public Object newAccessibilityAction(int actionId, CharSequence label) { in newAccessibilityAction() 738 public void addAction(AccessibilityNodeInfo info, Object action) { in addAction() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
D | LeakDetectorTest.java | 54 Object object = new Object(); in trackInstance_doesNotLeakTrackedObject() 74 Object object = new Object(); in trackGarbage_doesNotLeakTrackedObject() 84 Object o1 = new Object(); in testDump() 85 Object o2 = new Object(); in testDump() 86 Collection<Object> col1 = new ArrayList<>(); in testDump() 100 Object o1 = new Object(); in testDisabled() 101 Object o2 = new Object(); in testDisabled() 102 Collection<Object> col1 = new ArrayList<>(); in testDisabled()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandsInterface.java | 141 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged() 144 void registerForVoiceRadioTechChanged(Handler h, int what, Object obj); in registerForVoiceRadioTechChanged() 146 void registerForImsNetworkStateChanged(Handler h, int what, Object obj); in registerForImsNetworkStateChanged() 155 void registerForOn(Handler h, int what, Object obj); in registerForOn() 164 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable() 173 void registerForNotAvailable(Handler h, int what, Object obj); in registerForNotAvailable() 182 void registerForOffOrNotAvailable(Handler h, int what, Object obj); in registerForOffOrNotAvailable() 188 void registerForIccStatusChanged(Handler h, int what, Object obj); in registerForIccStatusChanged() 191 void registerForCallStateChanged(Handler h, int what, Object obj); in registerForCallStateChanged() 194 void registerForNetworkStateChanged(Handler h, int what, Object obj); in registerForNetworkStateChanged() [all …]
|
/frameworks/base/legacy-test/src/junit/framework/ |
D | Assert.java | 62 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() 73 static public void assertEquals(Object expected, Object actual) { in assertEquals() 210 static public void assertNotNull(Object object) { in assertNotNull() 217 static public void assertNotNull(String message, Object object) { in assertNotNull() 228 static public void assertNull(Object object) { in assertNull() 236 static public void assertNull(String message, Object object) { in assertNull() 243 static public void assertSame(String message, Object expected, Object actual) { in assertSame() 252 static public void assertSame(Object expected, Object actual) { in assertSame() 260 static public void assertNotSame(String message, Object expected, Object actual) { in assertNotSame() 268 static public void assertNotSame(Object expected, Object actual) { in assertNotSame() [all …]
|
/frameworks/base/core/java/android/metrics/ |
D | LogMaker.java | 48 private SparseArray<Object> entries = new SparseArray(); 56 public LogMaker(Object[] items) { in LogMaker() 242 public LogMaker addTaggedData(int tag, Object value) { in addTaggedData() 272 public boolean isValidValue(Object value) { in isValidValue() 279 public Object getTaggedData(int tag) { in getTaggedData() 285 Object obj = entries.get(MetricsEvent.RESERVED_FOR_LOGBUILDER_CATEGORY); in getCategory() 295 Object obj = entries.get(MetricsEvent.RESERVED_FOR_LOGBUILDER_TYPE); in getType() 305 Object obj = entries.get(MetricsEvent.RESERVED_FOR_LOGBUILDER_SUBTYPE); in getSubtype() 315 Object obj = entries.get(MetricsEvent.RESERVED_FOR_LOGBUILDER_TIMESTAMP); in getTimestamp() 325 Object obj = entries.get(MetricsEvent.RESERVED_FOR_LOGBUILDER_PACKAGENAME); in getPackageName() [all …]
|
/frameworks/base/core/java/android/database/ |
D | MatrixCursor.java | 29 private Object[] data; 48 this.data = new Object[columnCount * initialCapacity]; in MatrixCursor() 64 private Object get(int column) { in get() 101 public void addRow(Object[] columnValues) { in addRow() 133 Object[] localData = data; in addRow() 134 for (Object columnValue : columnValues) { in addRow() 162 Object[] localData = data; in addRow() 171 Object[] oldData = this.data; in ensureCapacity() 176 this.data = new Object[newSize]; in ensureCapacity() 214 public RowBuilder add(Object columnValue) { in add() [all …]
|