/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/ |
D | LiveDataFunctionsTest.java | 61 CaptureObserver<Object> observer = new CaptureObserver<>(); in testNullLiveData() 104 pair(dataOf(new Object()), false), in testEmitsNull() 252 Object object = new Object(); in testIff_truthTable() 266 pair(new MutableLiveData<>(), dataOf(new Object())), in testIff_uninitialized() 274 MutableLiveData<Object> value = new MutableLiveData<>(); in testIff_changePredicate() 275 Object valueObject = new Object(); in testIff_changePredicate() 277 CaptureObserver<Object> observer = new CaptureObserver<>(); in testIff_changePredicate() 304 MutableLiveData<Object> value = new MutableLiveData<>(); in testIff_changeValue() 305 Object firstObject = new Object(); in testIff_changeValue() 306 CaptureObserver<Object> observer = new CaptureObserver<>(); in testIff_changeValue() [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/ |
D | TestDataFactory.java | 105 final Object[][] cursorData = new Object[][] { in getConversationListCursor() 106 new Object[] { Long.valueOf(1), "name1", "content://icon1", in getConversationListCursor() 109 new Object[] { Long.valueOf(2), "name2", "content://icon2", in getConversationListCursor() 112 new Object[] { Long.valueOf(3), "name3", "content://icon3", in getConversationListCursor() 124 new Object[][] {}); in getEmptyConversationListCursor() 128 final Object[][] cursorData = new Object[][] { in getConversationMessageCursor() 129 new Object[] { Long.valueOf(0), Long.valueOf(1), Long.valueOf(1), in getConversationMessageCursor() 133 new Object[] { Long.valueOf(1), Long.valueOf(1), Long.valueOf(2), in getConversationMessageCursor() 137 new Object[] { Long.valueOf(2), Long.valueOf(1), Long.valueOf(1), in getConversationMessageCursor() 141 new Object[] { Long.valueOf(3), Long.valueOf(1), Long.valueOf(1), in getConversationMessageCursor() [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | Log.java | 43 public static void d(String prefix, String format, Object... args) { in d() 48 public static void d(Object objectPrefix, String format, Object... args) { in d() 53 public static void i(String prefix, String format, Object... args) { in i() 58 public static void i(Object objectPrefix, String format, Object... args) { in i() 63 public static void v(String prefix, String format, Object... args) { in v() 68 public static void v(Object objectPrefix, String format, Object... args) { in v() 73 public static void w(String prefix, String format, Object... args) { in w() 78 public static void w(Object objectPrefix, String format, Object... args) { in w() 83 public static void e(String prefix, Throwable tr, String format, Object... args) { in e() 88 public static void e(Object objectPrefix, Throwable tr, String format, Object... args) { in e() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | CompatUtils.java | 80 public static Object newInstance(final Constructor<?> constructor, final Object ... args) { in newInstance() 93 public static Object invoke(final Object receiver, final Object defaultValue, in invoke() 94 final Method method, final Object... args) { in invoke() 107 public static Object getFieldValue(final Object receiver, final Object defaultValue, in getFieldValue() 120 public static void setFieldValue(final Object receiver, final Field field, final Object value) { in setFieldValue() 178 public T invoke(final Object receiver, final Object... args) { in invoke() 190 public int invoke(final Object receiver, final Object... args) { in invoke() 202 public float invoke(final Object receiver, final Object... args) { in invoke() 214 public boolean invoke(final Object receiver, final Object... args) { in invoke()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowSecureSettings.java | 34 private static final Map<ContentResolver, Table<Integer, String, Object>> sUserDataMap = 40 final Table<Integer, String, Object> userTable = getUserTable(resolver); in putStringForUser() 53 final Table<Integer, String, Object> userTable = getUserTable(resolver); in getStringForUser() 62 final Table<Integer, String, Object> userTable = getUserTable(resolver); in putIntForUser() 72 final Table<Integer, String, Object> userTable = getUserTable(resolver); in getIntForUser() 74 final Object object = userTable.get(userHandle, name); in getIntForUser() 82 final Table<Integer, String, Object> userTable = getUserTable(resolver); in putLongForUser() 92 final Table<Integer, String, Object> userTable = getUserTable(resolver); in getLongForUser() 94 final Object object = userTable.get(userHandle, name); in getLongForUser() 102 final Table<Integer, String, Object> userTable = getUserTable(resolver); in putFloatForUser() [all …]
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | ComparatorTester.java | 78 private final List<List<Object>> equalityGroups; 126 public ComparatorTester addEqualityGroup(Object... objects) { in addEqualityGroup() 134 private int compare(Object a, Object b) { in compare() 137 compareValue = ((Comparable<Object>) a).compareTo(b); in compare() 153 for (Object reference : equalityGroups.get(referenceIndex)) { in doTestEquivalanceGroupOrdering() 157 for (Object other : equalityGroups.get(otherIndex)) { in doTestEquivalanceGroupOrdering() 169 for (List<Object> referenceGroup : equalityGroups) { in doTestEqualsCompatibility() 170 for (Object reference : referenceGroup) { in doTestEqualsCompatibility() 171 for (List<Object> otherGroup : equalityGroups) { in doTestEqualsCompatibility() 172 for (Object other : otherGroup) { in doTestEqualsCompatibility() [all …]
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | MockSuggestionProviderCursor.java | 35 public Row addRow(Object... values) { in addRow() 41 public Object get(int column) { in get() 91 private final Object[] mValues; 92 public Row(Object... values) { in Row() 96 mValues = new Object[mColumns.length]; in Row() 102 public Row setColumn(int column, Object value) { in setColumn() 107 public Object get(int column) { in get() 112 Object o = mValues[column]; in getDouble() 119 Object o = mValues[column]; in getFloat() 126 Object o = mValues[column]; in getInt() [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastSearchIndexableProvider.java | 114 Object[] ref = new Object[7]; in queryXmlResources() 132 Object[] raw = new Object[INDEXABLES_RAW_COLUMNS.length]; in queryRawData() 170 Object[] ref; in queryNonIndexableKeys() 173 ref = new Object[1]; in queryNonIndexableKeys() 181 ref = new Object[1]; in queryNonIndexableKeys() 189 ref = new Object[1]; in queryNonIndexableKeys() 196 ref = new Object[1]; in queryNonIndexableKeys() 203 ref = new Object[1]; in queryNonIndexableKeys() 213 ref = new Object[1]; in queryNonIndexableKeys() 221 ref = new Object[1]; in queryNonIndexableKeys() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | Log.java | 33 public static void d(Object obj, String msg) { in d() 37 public static void d(Object obj, String str1, Object str2) { in d() 41 public static void v(Object obj, String msg) { in v() 45 public static void v(Object obj, String str1, Object str2) { in v() 57 public static void e(Object obj, String msg, Exception e) { in e() 61 public static void e(Object obj, String msg) { in e() 69 public static void i(Object obj, String msg) { in i() 73 public static void w(Object obj, String msg) { in w() 77 public static String piiHandle(Object pii) { in piiHandle() 109 public static String pii(Object pii) { in pii() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | MultiChoiceManager.java | 54 public int getItemMediaType(Object item); in getItemMediaType() 55 public int getItemSupportedOperations(Object item); in getItemSupportedOperations() 56 public ArrayList<Uri> getSubItemUrisForItem(Object item); in getSubItemUrisForItem() 57 public Uri getItemUri(Object item); in getItemUri() 58 public Object getItemAtPosition(int position); in getItemAtPosition() 59 public Object getPathForItemAtPosition(int position); in getPathForItemAtPosition() 60 public void deleteItemWithPath(Object itemPath); in deleteItemWithPath() 97 private String getItemMimetype(Object item) { in getItemMimetype() 112 Object item = mDelegate.getItemAtPosition(position); in onItemCheckedStateChanged() 190 private List<Object> mPaths; [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ActionServiceTest.java | 54 final Action action, final Object data, final Object result) { in onActionSucceeded() 69 final Object data, final Object result) { in onActionFailed() 125 private static final Object dontRelyOnMe = "dontRelyOnMe"; 126 private static final Object becauseIChange = "becauseIChange"; 127 private static final Object executeActionResult = "executeActionResult"; 128 private static final Object processResponseResult = "processResponseResult"; 129 private static final Object processFailureResult = "processFailureResult"; 187 transient Object dontRelyOnMe; 193 protected Object executeAction() { in executeAction() 203 protected Object processBackgroundResponse(final Bundle response) { in processBackgroundResponse() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | LogUtils.java | 29 public static void v(String message, Object... args) { in v() 33 public static void d(String message, Object... args) { in d() 37 public static void i(String message, Object... args) { in i() 41 public static void w(String message, Object... args) { in w() 45 public static void e(String message, Object... args) { in e() 53 public static void wtf(String message, Object... args) { in wtf() 83 public void v(String message, Object... args) { in v() 90 public void d(String message, Object... args) { in d() 97 public void i(String message, Object... args) { in i() 104 public void w(String message, Object... args) { in w() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/ |
D | TimeZonePickerScreenPreferenceController.java | 75 List<Map<String, Object>> zones = ZoneGetter.getZonesList(getContext()); in constructTimeZoneList() 80 void setZonesList(List<Map<String, Object>> zones) { in setZonesList() 83 for (Map<String, Object> zone : zones) { in setZonesList() 89 private Preference createTimeZonePreference(Map<String, Object> timeZone) { in createTimeZonePreference() 112 private static final class TimeZonesComparator implements Comparator<Map<String, Object>> { 119 public int compare(Map<String, Object> map1, Map<String, Object> map2) { in compare() 130 private int compareWithKey(Map<String, Object> map1, Map<String, Object> map2, in compareWithKey() 132 Object value1 = map1.get(comparisonKey); in compareWithKey() 133 Object value2 = map2.get(comparisonKey); in compareWithKey() 141 private boolean isComparable(Object value) { in isComparable()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TransitionStore.java | 22 private HashMap<Object, Object> mStorage = new HashMap<Object, Object>(); 24 public void put(Object key, Object value) { in put() 28 public <T> void putIfNotPresent(Object key, T valueIfNull) { in putIfNotPresent() 33 public <T> T get(Object key) { in get() 38 public <T> T get(Object key, T valueIfNull) { in get()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ActionMonitor.java | 56 final Object data, final Object result); in onActionExecuted() 71 final Action action, final Object data, final Object result); in onActionSucceeded() 77 final Object data, final Object result); in onActionFailed() 123 private final Object mLock = new Object(); 154 private final Object mData; 189 final Object data) { in ActionMonitor() 295 final int expectedOldState, final Object result, in complete() 340 final Object result, final boolean succeeded) { in setCompleteState() 365 final int expectedOldState, final boolean hasBackgroundActions, final Object result) { in executed() 402 final int expectedOldState, final boolean hasBackgroundActions, final Object result) { in setExecutedState()
|
D | GetOrCreateConversationAction.java | 47 final Object data, final String conversationId); in onGetOrCreateConversationSucceeded() 51 final Object data); in onGetOrCreateConversationFailed() 55 final ArrayList<ParticipantData> participants, final Object data, in getOrCreateConversation() 67 final String[] recipients, final Object data, final LaunchConversationData listener) { in getOrCreateConversation() 92 protected Object executeAction() { in executeAction() 125 GetOrCreateConversationActionMonitor(final Object data, in GetOrCreateConversationActionMonitor() 134 final Action action, final Object data, final Object result) { in onActionSucceeded() 144 final Action action, final Object data, final Object result) { in onActionFailed()
|
D | ReadDraftDataAction.java | 41 final Object data, final MessageData message, in onReadDraftDataSucceeded() 44 abstract void onReadDraftDataFailed(final ReadDraftDataAction action, final Object data); in onReadDraftDataFailed() 51 final MessageData incomingDraft, final Object data, in readDraftData() 83 protected Object executeAction() { in executeAction() 119 ReadDraftDataActionMonitor(final Object data, in ReadDraftDataActionMonitor() 128 final Action action, final Object data, final Object result) { in onActionSucceeded() 140 final Action action, final Object data, final Object result) { in onActionFailed()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
D | TagDispatchCaptureSession.java | 46 private final Map<Object, ResponseListener> mListeners; 52 public CaptureCallback(Map<Object, ResponseListener> listeners) { in CaptureCallback() argument 59 Object tag = request.getTag(); in onCaptureStarted() 66 Object tag = request.getTag(); in onCaptureProgressed() 73 Object tag = request.getTag(); in onCaptureCompleted() 80 Object tag = request.getTag(); in onCaptureFailed() 111 private Object generateTag() { in generateTag() 112 Object tag = Long.valueOf(mTagCounter); in generateTag() 138 Map<Object, ResponseListener> tagListenerMap = new HashMap<Object, ResponseListener>(); in submitRequest() 142 Object tag = generateTag(); in submitRequest()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtilsTests.java | 67 Object[] spans = result.getSpans(0, result.length(), SuggestionSpan.class); in testConcatWithSuggestionSpansOnly() 80 actualCount = spanned.getSpans(0, spanned.length(), Object.class).length; in assertSpanCount() 87 private static void assertSpan(final CharSequence cs, final Object expectedSpan, in assertSpan() 91 final Object[] actualSpans = spanned.getSpans(0, spanned.length(), Object.class); in assertSpan() 92 for (Object actualSpan : actualSpans) { in assertSpan() 113 final Object span1 = new Object(); in testSplitCharSequenceWithSpan() 114 final Object span2 = new Object(); in testSplitCharSequenceWithSpan() 115 final Object span3 = new Object(); in testSplitCharSequenceWithSpan()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/ |
D | LogUtils.java | 156 public static void v(String tag, String format, Object... args) { in v() 172 public static void v(String tag, Throwable tr, String format, Object... args) { in v() 187 public static void d(String tag, String format, Object... args) { in d() 203 public static void d(String tag, Throwable tr, String format, Object... args) { in d() 218 public static void i(String tag, String format, Object... args) { in i() 234 public static void i(String tag, Throwable tr, String format, Object... args) { in i() 249 public static void w(String tag, String format, Object... args) { in w() 265 public static void w(String tag, Throwable tr, String format, Object... args) { in w() 280 public static void e(String tag, String format, Object... args) { in e() 296 public static void e(String tag, Throwable tr, String format, Object... args) { in e() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | ContactsManagerTest.java | 82 mMatrixCursor.addRow(new Object[] { 1, contactName1, 0, 0, 0 }); in testGetValidNames() 83 mMatrixCursor.addRow(new Object[] { 2, null /* null name */, 0, 0, 0 }); in testGetValidNames() 84 mMatrixCursor.addRow(new Object[] { 3, contactName2, 0, 0, 0 }); in testGetValidNames() 85 mMatrixCursor.addRow(new Object[] { 4, "floopy@example.com" /* invalid name */, 0, 0, 0 }); in testGetValidNames() 86 mMatrixCursor.addRow(new Object[] { 5, "news-group" /* invalid name */, 0, 0, 0 }); in testGetValidNames() 100 mMatrixCursor.addRow(new Object[] { i, "name" + i, i, now, 1 }); in testGetValidNamesAffinity() 118 mMatrixCursor.addRow(new Object[] { 1, "name", 1, month_ago, 1 }); in testComputeAffinity() 134 mMatrixCursor.addRow(new Object[] { 1, "firstname", 0, 0, 0 }); in testGetCount() 135 mMatrixCursor.addRow(new Object[] { 2, null /* null name */, 0, 0, 0 }); in testGetCount() 136 mMatrixCursor.addRow(new Object[] { 3, "larry", 0, 0, 0 }); in testGetCount() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | FilteredNumberAsyncQueryHandler.java | 58 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() 71 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() 78 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() 85 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() 100 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in hasBlockedNumbers() 160 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in isBlockedNumber() 308 public void onInsertComplete(int token, Object cookie, Uri uri) { in blockNumber() 351 public void onQueryComplete(int token, Object cookie, Cursor cursor) { in unblock() 366 public void onDeleteComplete(int token, Object cookie, int result) { in unblock() 431 protected void onQueryComplete(int token, Object cookie, Cursor cursor) {} in onQueryComplete() [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | ParticipantRefreshTest.java | 69 private void addPhoneLookup(final String phone, final Object[][] lookupResult) { in addPhoneLookup() 154 addPhoneLookup("650-123-1233", new Object[][] { in testIncrementalRefreshNotResolvedSingleMatch() 168 addPhoneLookup("650-123-1233", new Object[][] { in testIncrementalRefreshNotResolvedMultiMatch() 182 addPhoneLookup("650-123-1233", new Object[][] { in testIncrementalRefreshResolvedSingleMatch() 195 addPhoneLookup("650-123-1233", new Object[][] { in testFullRefreshResolvedSingleMatch() 209 addPhoneLookup("650-123-1233", new Object[][] { in testIncrementalRefreshNotFound() 223 addPhoneLookup("650-123-1233", new Object[][] { in testFullRefreshNotFound() 236 addPhoneLookup("650-123-1233", new Object[][] { in testFullRefreshResolvedMultiMatch1() 250 addPhoneLookup("650-123-1233", new Object[][] { in testFullRefreshResolvedMultiMatch2() 264 addPhoneLookup("650-123-1233", new Object[][] { in testFullRefreshResolvedMultiMatch3() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
D | GalleryProvider.java | 138 Object[] columnValues = new Object[projection.length]; in queryPicasaItem() 210 AsyncTask<Object, Object, Object> task = new AsyncTask<Object, Object, Object>() { in openPipeHelper() 212 protected Object doInBackground(Object... params) { in openPipeHelper() 221 AsyncTaskUtil.executeInParallel(task, (Object[]) null); in openPipeHelper()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/log/ |
D | L.java | 36 public static void v(String tag, @NonNull String msg, Object... args) { in v() 49 public static void d(String tag, @NonNull String msg, Object... args) { in d() 62 public static void i(String tag, @NonNull String msg, Object... args) { in i() 75 public static void w(String tag, @NonNull String msg, Object... args) { in w() 88 public static void e(String tag, @NonNull String msg, Object... args) { in e() 100 public static void e(String tag, Exception e, @NonNull String msg, Object... args) { in e() 111 public static void wtf(String tag, @NonNull String msg, Object... args) { in wtf() 123 public static void wtf(String tag, Exception e, @NonNull String msg, Object... args) { in wtf()
|