/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/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()
|
/packages/modules/StatsD/statsd/tests/external/ |
D | puller_util_test.cpp | 62 vector<shared_ptr<LogEvent>> data = { in TEST() local 84 vector<shared_ptr<LogEvent>> data = { in TEST() local 117 vector<shared_ptr<LogEvent>> data = { in TEST() local 146 vector<shared_ptr<LogEvent>> data = { in TEST() local 177 vector<shared_ptr<LogEvent>> data = { in TEST() local 205 vector<shared_ptr<LogEvent>> data = { in TEST() local 233 vector<shared_ptr<LogEvent>> data = { in TEST() local 258 vector<shared_ptr<LogEvent>> data = { in TEST() local 298 vector<shared_ptr<LogEvent>> data = { in TEST() local 334 vector<shared_ptr<LogEvent>> data = { in TEST() local [all …]
|
/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/Car/Settings/tests/robotests/src/com/android/car/settings/tts/ |
D | TtsPlaybackPreferenceControllerTest.java | 178 Intent data = new Intent(); in voiceDataCheck_processActivityResult_dataIsNotNull_updatesDefaultSynth() local 194 Intent data = new Intent(); in voiceDataCheck_processActivityResult_checkSuccess_hasVoices_populatesPreference() local 224 Intent data = new Intent(); in getSampleText_processActivityResult_emptyText_setsDefaultText() local 238 Intent data = new Intent(); in getSampleText_processActivityResult_dataIsNotNull_setsCorrectText() local 253 Intent data = new Intent(); in defaultLanguage_handlePreferenceChanged_passEmptyValue_setsDefault() local 276 Intent data = new Intent(); in defaultLanguage_handlePreferenceChanged_passLocale_setsLocale() local 299 Intent data = new Intent(); in defaultLanguage_handlePreferenceChanged_passLocale_setsSummary() local 432 Intent data = new Intent(); in refreshUi_defaultLocaleNotSupported_disablesPreferencesExceptLanguage() local 459 Intent data = new Intent(); in refreshUi_initialized_defaultLocaleSupported_enablesPreference() 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/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/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/services/Car/car-lib/src/android/car/hardware/ |
D | CarSensorEvent.java | 228 public EnvironmentData getEnvironmentData(EnvironmentData data) { in getEnvironmentData() 256 public IgnitionStateData getIgnitionStateData(IgnitionStateData data) { in getIgnitionStateData() 284 public NightData getNightData(NightData data) { in getNightData() 312 public GearData getGearData(GearData data) { in getGearData() 340 public ParkingBrakeData getParkingBrakeData(ParkingBrakeData data) { in getParkingBrakeData() 369 public FuelLevelData getFuelLevelData(FuelLevelData data) { in getFuelLevelData() 405 public OdometerData getOdometerData(OdometerData data) { in getOdometerData() 433 public RpmData getRpmData(RpmData data) { in getRpmData() 461 public CarSpeedData getCarSpeedData(CarSpeedData data) { in getCarSpeedData() 493 public CarWheelTickDistanceData getCarWheelTickDistanceData(CarWheelTickDistanceData data) { in getCarWheelTickDistanceData() [all …]
|
/packages/modules/StatsD/tests/src/android/cts/statsd/alert/ |
D | AnomalyDetectionTests.java | 132 List<EventMetricData> data = getEventMetricDataList(); in testCountAnomalyDetection() local 175 List<EventMetricData> data = getEventMetricDataList(); in testDurationAnomalyDetection() local 238 List<EventMetricData> data = getEventMetricDataList(); in testDurationAnomalyDetectionForLateAlarms() local 273 List<EventMetricData> data = getEventMetricDataList(); in testValueAnomalyDetection() local 319 List<EventMetricData> data = getEventMetricDataList(); in testPerfetto() local 365 List<EventMetricData> data = getEventMetricDataList(); in testGaugeAnomalyDetection() local 407 List<EventMetricData> data = getEventMetricDataList(); in testPulledAnomalyDetection() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceBuilderUtilsTest.java | 112 final SliceData data = getMockData(SLIDER_CONTROLLER, SliceData.SliceType.SLIDER); in buildSliderSlice_returnsMatchingSlice() local 157 final SliceData data = getMockData(); in getDynamicSummary_allowDynamicSummary_returnsControllerSummary() local 170 final SliceData data = getMockData(); in getDynamicSummary_allowDynamicSummary_nullSummary_returnsNull() local 183 final SliceData data = getMockData("", ""); in getDynamicSummary_noScreenTitle_returnsPrefControllerSummary() local 196 final SliceData data = getMockData("", TITLE); in getDynamicSummary_screenTitleMatchesTitle_returnsPrefControllerSummary() local 209 final SliceData data = getMockData(null, null); in getDynamicSummary_emptyScreenTitle_emptyControllerSummary_returnsEmptyString() local 219 final SliceData data = getMockData(summaryPlaceholder, summaryPlaceholder); in getDynamicSummary_screenTitleAndControllerPlaceholder_returnsSliceEmptyString() local 286 final SliceData data = getMockData(FakeUnavailablePreferenceController.class, in testUnsupportedSlice_validTitleSummary() local 299 final SliceData data = getMockData(FakeUnavailablePreferenceController.class, in testDisabledForUserSlice_validTitleSummary() local 312 final SliceData data = getMockData(FakeUnavailablePreferenceController.class, in testDisabledDependentSettingSlice_validTitleSummary() local [all …]
|
/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/modules/StatsD/statsd/tests/metrics/ |
D | ValueMetricProducer_test.cpp | 283 vector<std::shared_ptr<LogEvent>>* data) { in TEST() 359 vector<std::shared_ptr<LogEvent>>* data) { in TEST_P() 368 vector<std::shared_ptr<LogEvent>>* data) { in TEST_P() 420 vector<std::shared_ptr<LogEvent>>* data) { in TEST() 611 vector<std::shared_ptr<LogEvent>>* data) { in TEST() 618 vector<std::shared_ptr<LogEvent>>* data) { in TEST() 625 vector<std::shared_ptr<LogEvent>>* data) { in TEST() 755 vector<std::shared_ptr<LogEvent>>* data) { in TEST_P() 833 vector<std::shared_ptr<LogEvent>>* data) { in TEST_P() 840 vector<std::shared_ptr<LogEvent>>* data) { in TEST_P() [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/modules/Wifi/framework/java/android/net/wifi/util/ |
D | HexEncoding.java | 53 public static char[] encode(byte[] data) { in encode() 60 public static char[] encode(byte[] data, boolean upperCase) { in encode() 67 public static char[] encode(byte[] data, int offset, int len) { in encode() 74 private static char[] encode(byte[] data, int offset, int len, boolean upperCase) { in encode() 90 public static String encodeToString(byte[] data) { in encodeToString() 97 public static String encodeToString(byte[] data, boolean upperCase) { in encodeToString()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | FrameParser.java | 70 private static short getUnsignedByte(ByteBuffer data) { in getUnsignedByte() 77 private static int getUnsignedShort(ByteBuffer data) { in getUnsignedShort() 88 private void parseEthernetFrame(ByteBuffer data) { in parseEthernetFrame() 126 private void parseIpv4Packet(ByteBuffer data) { in parseIpv4Packet() 177 private void parseTcpPacket(ByteBuffer data) { in parseTcpPacket() 194 private void parseUdpPacket(ByteBuffer data) { in parseUdpPacket() 227 private void parseDhcpPacket(ByteBuffer data) { in parseDhcpPacket() 293 private void parseIcmpPacket(ByteBuffer data) { in parseIcmpPacket() 322 private void parseArpPacket(ByteBuffer data) { in parseArpPacket() 346 private void parseIpv6Packet(ByteBuffer data) { in parseIpv6Packet() [all …]
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | SetupFingerprintEnrollIntroduction.java | 74 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() 90 private Intent getMetricIntent(Intent data) { in getMetricIntent() 102 private Intent setFingerprintCount(Intent data) { in setFingerprintCount() 117 Intent data; in onCancelButtonClick() local
|
/packages/apps/Settings/tests/unit/src/com/android/settings/slices/ |
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/audio_util/ |
D | MediaPlayerWrapperTest.java | 270 MediaData data = mMediaUpdateData.getValue(); in testNoQueueMediaUpdates() local 338 MediaData data = mMediaUpdateData.getValue(); in testDataOnUpdateNoQueue() local 378 MediaData data = mMediaUpdateData.getValue(); in testNullMetadata() local 403 MediaData data = mMediaUpdateData.getValue(); in testNullQueue() local 455 MediaData data = mMediaUpdateData.getValue(); in testPlaybackStateUpdateSpam() local 576 MediaData data = mMediaUpdateData.getValue(); in testMetadataSync() local 626 MediaData data = mMediaUpdateData.getValue(); in testMetadataSyncFail() local 707 MediaData data = mMediaUpdateData.getValue(); in testMetadataSyncFuzz() 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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ANQPDataTest.java | 84 ANQPData data = new ANQPData(mClock, null); in createWithNullElements() local 96 ANQPData data = new ANQPData(mClock, null); in verifyExpiration() local 125 ANQPData data = new ANQPData(mClock, anqpList1); in createWithElementsAndUpdate() local 179 ANQPData data = new ANQPData(mClock, anqpList); in testDataLifetime() local
|