/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | BindingTest.java | 41 final TestBindableData data = new TestBindableData(TEST_DATA_ID); in testDataStartsUnbound() local 47 final TestBindableData data = new TestBindableData(TEST_DATA_ID); in testBindingUpdatesDataAndBindee() local 50 assertEquals(binding.getData(), data); in testBindingUpdatesDataAndBindee() local 63 final TestBindableData data = new TestBindableData(TEST_DATA_ID); in testRebindingFails() local 76 final TestBindableData data = new TestBindableData(TEST_DATA_ID); in testUnbindingClearsDataAndBindee() local 101 final TestBindableData data = new TestBindableData(TEST_DATA_ID); in testUnbindingAndRebinding() local 103 assertEquals(binding.getData(), data); in testUnbindingAndRebinding() local 112 final TestBindableData data = new TestBindableData(TEST_DATA_ID); in testBindingReference() local 114 assertEquals(binding.getData(), data); in testBindingReference() local 119 assertEquals(bindingRef.getData(), data); in testBindingReference() local
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/ |
D | MediaViewTest.java | 95 Bundle data = new Bundle(); in testShowExifData_PartialGpsTags() local 110 Bundle data = new Bundle(); in testShowExifData_PartialDimensionTags() local 124 Bundle data = mMetadata.getBundle(Shared.METADATA_KEY_VIDEO); in testShowVideoData() local 133 Bundle data = mMetadata.getBundle(Shared.METADATA_KEY_AUDIO); in testShowAudioData() local 148 Bundle data = mMetadata.getBundle(Shared.METADATA_KEY_VIDEO); in testShowVideoData_HourPlusDuration() local 159 Bundle data = new Bundle(); in testGetAddress() local
|
D | TestMetadata.java | 29 Bundle data = new Bundle(); in populateExifData() local 49 Bundle data = new Bundle(); in populateVideoData() local 59 Bundle data = new Bundle(); in populateAudioData() local
|
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
D | DataUriThumbnailDrawable.java | 30 protected byte[] getPreferredImageBytes(String data) { in getPreferredImageBytes() 42 protected InputStream getFallbackImageStream(String data) { in getFallbackImageStream() 51 protected boolean dataChangedLocked(String data) { in dataChangedLocked()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | CursorPhotoSource.java | 48 ImageData data = null; in naturalNext() local 66 ImageData data = null; in naturalPrevious() local 83 protected abstract void openCursor(ImageData data); in openCursor() 84 protected abstract void findPosition(ImageData data); in findPosition() 85 protected abstract ImageData unpackImageData(Cursor cursor, ImageData data); in unpackImageData()
|
D | LocalSource.java | 90 AlbumData data = foundAlbums.get(id); in findAlbums() local 126 protected void openCursor(ImageData data) { in openCursor() 137 protected void findPosition(ImageData data) { in findPosition() 160 protected ImageData unpackImageData(Cursor cursor, ImageData data) { in unpackImageData() 221 ImageData data = unpackImageData(cursor, null); in findImages() local 243 protected InputStream getStream(ImageData data, int longSide) { in getStream()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FilmstripItemList.java | 84 public void set(int pos, FilmstripItem data) { in set() 86 mUriMap.put(data.getData().getUri(), data); in set() local 89 public void add(FilmstripItem data) { in add() 91 mUriMap.put(data.getData().getUri(), data); in add() local 94 public void add(int pos, FilmstripItem data) { in add() 96 mUriMap.put(data.getData().getUri(), data); in add() local
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/ |
D | ConversationMessageDataTest.java | 37 final ConversationMessageData data = new ConversationMessageData(); in testBindFirstMessage() local 51 final ConversationMessageData data = new ConversationMessageData(); in testBindTwice() local 78 final ConversationMessageData data = new ConversationMessageData(); in testMessageClustering() local
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/ |
D | TtsPlaybackPreferenceControllerTest.java | 175 Intent data = new Intent(); in voiceDataCheck_processActivityResult_dataIsNotNull_updatesDefaultSynth() local 191 Intent data = new Intent(); in voiceDataCheck_processActivityResult_checkSuccess_hasVoices_populatesPreference() local 220 Intent data = new Intent(); in getSampleText_processActivityResult_emptyText_setsDefaultText() local 234 Intent data = new Intent(); in getSampleText_processActivityResult_dataIsNotNull_setsCorrectText() local 247 Intent data = new Intent(); in defaultLanguage_handlePreferenceChanged_passEmptyValue_setsDefault() local 267 Intent data = new Intent(); in defaultLanguage_handlePreferenceChanged_passLocale_setsLocale() local 287 Intent data = new Intent(); in defaultLanguage_handlePreferenceChanged_passLocale_setsSummary() local 404 Intent data = new Intent(); in refreshUi_defaultLocaleNotSupported_disablesPreferencesExceptLanguage() local 429 Intent data = new Intent(); in refreshUi_initialized_defaultLocaleSupported_enablesPreference() local
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
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() 119 ReadDraftDataActionMonitor(final Object data, in ReadDraftDataActionMonitor() 128 final Action action, final Object data, final Object result) { in onActionSucceeded() 131 mListener.onReadDraftDataFailed((ReadDraftDataAction) action, data); in onActionSucceeded() local 133 mListener.onReadDraftDataSucceeded((ReadDraftDataAction) action, data, in onActionSucceeded() local 140 final Action action, final Object data, final Object result) { in onActionFailed()
|
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() 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()
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
D | NativeP2pDevice.java | 40 private native boolean doSend(byte[] data); in doSend() 42 public boolean send(byte[] data) { in send() 58 public native byte[] doTransceive(byte[] data); in doTransceive() 60 public byte[] transceive(byte[] data) { in transceive()
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarSensorEvent.java | 224 public EnvironmentData getEnvironmentData(EnvironmentData data) { in getEnvironmentData() 252 public IgnitionStateData getIgnitionStateData(IgnitionStateData data) { in getIgnitionStateData() 280 public NightData getNightData(NightData data) { in getNightData() 308 public GearData getGearData(GearData data) { in getGearData() 336 public ParkingBrakeData getParkingBrakeData(ParkingBrakeData data) { in getParkingBrakeData() 365 public FuelLevelData getFuelLevelData(FuelLevelData data) { in getFuelLevelData() 401 public OdometerData getOdometerData(OdometerData data) { in getOdometerData() 429 public RpmData getRpmData(RpmData data) { in getRpmData() 457 public CarSpeedData getCarSpeedData(CarSpeedData data) { in getCarSpeedData() 489 public CarWheelTickDistanceData getCarWheelTickDistanceData(CarWheelTickDistanceData data) { in getCarWheelTickDistanceData() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/ |
D | StorageSettingsManagerTest.java | 91 SparseArray<StorageAsyncLoader.AppsStorageResult> data = new SparseArray<>(); in volumeSizeCallback_onLoadFinished_listenerOnSizeCalculatedCalled() local 109 SparseArray<StorageAsyncLoader.AppsStorageResult> data = new SparseArray<>(); in appsStorageResult_unregisterListener_onlyOneListenerOnDataLoadedCalled() local 130 SparseArray<StorageAsyncLoader.AppsStorageResult> data = new SparseArray<>(); in onReceivedSizes_storageResultNotLoaded_noListenersCalled() local 150 SparseArray<StorageAsyncLoader.AppsStorageResult> data = new SparseArray<>(); in onReceivedSizes_volumeSizeNotLoaded_noListenersCalled() local
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | ClipDatas.java | 30 final ClipData data = Mockito.mock(ClipData.class); in createTestClipData() local 36 final ClipData data = createTestClipData(); in createTestClipData() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceBuilderUtilsTest.java | 113 final SliceData data = getDummyData(SLIDER_CONTROLLER, SliceData.SliceType.SLIDER); in buildSliderSlice_returnsMatchingSlice() local 210 final SliceData data = getDummyData(); in getDynamicSummary_allowDynamicSummary_returnsControllerSummary() local 223 final SliceData data = getDummyData(); in getDynamicSummary_allowDynamicSummary_nullSummary_returnsNull() local 236 final SliceData data = getDummyData("", ""); in getDynamicSummary_noScreenTitle_returnsPrefControllerSummary() local 249 final SliceData data = getDummyData("", TITLE); in getDynamicSummary_screenTitleMatchesTitle_returnsPrefControllerSummary() local 262 final SliceData data = getDummyData(null, null); in getDynamicSummary_emptyScreenTitle_emptyControllerSummary_returnsEmptyString() local 272 final SliceData data = getDummyData(summaryPlaceholder, summaryPlaceholder); in getDynamicSummary_screenTitleAndControllerPlaceholder_returnsSliceEmptyString() local 339 final SliceData data = getDummyData(FakeUnavailablePreferenceController.class, in testUnsupportedSlice_validTitleSummary() local 352 final SliceData data = getDummyData(FakeUnavailablePreferenceController.class, in testDisabledForUserSlice_validTitleSummary() local 365 final SliceData data = getDummyData(FakeUnavailablePreferenceController.class, in testDisabledDependentSettingSlice_validTitleSummary() local [all …]
|
D | SliceDataTest.java | 59 SliceData data = builder.build(); in testBuilder_buildsMatchingObject() local 138 SliceData data = builder.build(); in testBuilder_noSubtitle_buildsMatchingObject() local 161 SliceData data = builder.build(); in testBuilder_noScreenTitle_buildsMatchingObject() local 184 SliceData data = builder.build(); in testBuilder_noIcon_buildsMatchingObject() local 208 SliceData data = builder.build(); in testBuilder_noUri_buildsMatchingObject() local
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/binding/ |
D | Binding.java | 48 public boolean isBound(final T data) { in isBound() 60 public void ensureBound(final T data) { in ensureBound() 73 public void bind(final T data) { in bind()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/ |
D | MediaPlayerWrapperTest.java | 235 MediaData data = mMediaUpdateData.getValue(); in testNoQueueMediaUpdates() local 303 MediaData data = mMediaUpdateData.getValue(); in testDataOnUpdateNoQueue() local 343 MediaData data = mMediaUpdateData.getValue(); in testNullMetadata() local 368 MediaData data = mMediaUpdateData.getValue(); in testNullQueue() local 420 MediaData data = mMediaUpdateData.getValue(); in testPlaybackStateUpdateSpam() local 540 MediaData data = mMediaUpdateData.getValue(); in testMetadataSync() local 590 MediaData data = mMediaUpdateData.getValue(); in testMetadataSyncFail() local 671 MediaData data = mMediaUpdateData.getValue(); in testMetadataSyncFuzz() local
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherBackupAgent.java | 22 BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) { in onRestore() 28 ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) { in onBackup()
|
/packages/providers/CallLogProvider/src/com/android/calllogbackup/ |
D | CallLogBackupAgent.java | 145 public void onBackup(ParcelFileDescriptor oldStateDescriptor, BackupDataOutput data, in onBackup() 180 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore() 199 void runBackup(CallLogBackupState state, BackupDataOutput data, Iterable<Call> calls) { in runBackup() 316 Call readCallFromData(BackupDataInput data) { in readCallFromData() 427 DataOutputStream data = new DataOutputStream(baos); in addCallToBackup() local 547 private void writeString(DataOutputStream data, String str) throws IOException { in writeString() 556 private String readString(DataInputStream data) throws IOException { in readString() 564 private void writeInteger(DataOutputStream data, Integer num) throws IOException { in writeInteger() 573 private Integer readInteger(DataInputStream data) throws IOException { in readInteger()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ContactPickerData.java | 43 void onAllContactsCursorUpdated(Cursor data); in onAllContactsCursorUpdated() 44 void onFrequentContactsCursorUpdated(Cursor data); in onFrequentContactsCursorUpdated() 45 void onContactCustomColorLoaded(ContactPickerData data); in onContactCustomColorLoaded() 94 public void onLoadFinished(final Loader<Cursor> loader, final Cursor data) { in onLoadFinished()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | Cea708Parser.java | 255 public void parseClosedCaption(ByteBuffer data, long framePtsUs) { in parseClosedCaption() 323 private void parseDtvCcPacket(byte[] data, int limit) { in parseDtvCcPacket() 401 private int parseServiceBlockData(byte[] data, int pos) { in parseServiceBlockData() 423 private int parseC0(byte[] data, int pos) { in parseC0() 477 private int parseC1(byte[] data, int pos) { in parseC1() 821 private int parseG0(byte[] data, int pos) { in parseG0() 834 private int parseG1(byte[] data, int pos) { in parseG1() 843 private int parseExt1(byte[] data, int pos) { in parseExt1() 863 private int parseC2(byte[] data, int pos) { in parseC2() 883 private int parseC3(byte[] data, int pos) { in parseC3() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetConfigure.java | 104 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() 125 private void setPhotoWidget(Intent data) { in setPhotoWidget() 137 private void setChoosenPhoto(Intent data) { in setChoosenPhoto() 163 private void setChoosenAlbum(Intent data) { in setChoosenAlbum() 188 private void setWidgetType(Intent data) { in setWidgetType()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | StateManager.java | 52 Bundle data) { in startState() 78 int requestCode, Bundle data) { in startStateForResult() 132 public void notifyActivityResult(int requestCode, int resultCode, Intent data) { in notifyActivityResult() 226 Class<? extends ActivityState> klass, Bundle data) { in switchState() 276 Bundle data = bundle.getBundle(KEY_DATA); in restoreFromState() local 330 public Bundle data; field in StateManager.StateEntry 333 public StateEntry(Bundle data, ActivityState state) { in StateEntry()
|