/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImageDescriptorTest.java | 45 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_encodingConstants() local 46 Assert.assertEquals(expected, descriptor.toString()); in testBuildImageDescriptor_encodingConstants() 61 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_encodingObject() local 62 Assert.assertEquals(expected, descriptor.toString()); in testBuildImageDescriptor_encodingObject() 76 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_proprietaryEncoding() local 77 Assert.assertEquals(expected, descriptor.toString()); in testBuildImageDescriptor_proprietaryEncoding() 92 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_transformationConstantStretch() local 93 Assert.assertEquals(expected, descriptor.toString()); in testBuildImageDescriptor_transformationConstantStretch() 108 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_transformationConstantCrop() local 109 Assert.assertEquals(expected, descriptor.toString()); in testBuildImageDescriptor_transformationConstantCrop() [all …]
|
/packages/services/Car/tools/ |
D | update-obd2-sensors.py | 30 def __init__(self, descriptor): argument 33 self.descriptor = descriptor 145 "public final class %sSensorIndex {\n" % theSensors.descriptor + \ 146 " private %sSensorIndex() {}\n" % theSensors.descriptor 157 theSensors.descriptor.upper(), 159 self.adjustSensorId(theSensors.descriptor.upper(), str(theSensor.id)) 162 def adjustSensorId(self, descriptor, sensorId): argument 164 return "DIAGNOSTIC_SENSOR_%s_%s" % (descriptor, sensorId.upper()) 170 return "%sSensorIndex.%s," % (theSensors.descriptor,sensorName) 202 intSensors = SensorList(descriptor="Integer") [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | SectionParser.java | 907 for (TsDescriptor descriptor : descriptors) { in parseVCT() 908 if (descriptor instanceof ExtendedChannelNameDescriptor) { in parseVCT() 910 (ExtendedChannelNameDescriptor) descriptor; in parseVCT() 1212 for (TsDescriptor descriptor : descriptors) { in generateAudioTracks() 1213 if (descriptor instanceof Ac3AudioDescriptor) { in generateAudioTracks() 1214 Ac3AudioDescriptor audioDescriptor = (Ac3AudioDescriptor) descriptor; in generateAudioTracks() 1232 for (TsDescriptor descriptor : descriptors) { in generateAudioTracks() 1233 if (descriptor instanceof Iso639LanguageDescriptor) { in generateAudioTracks() 1235 (Iso639LanguageDescriptor) descriptor; in generateAudioTracks() 1288 for (TsDescriptor descriptor : descriptors) { in generateCaptionTracks() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/dvb/ |
D | DvbTunerHal.java | 140 ParcelFileDescriptor descriptor = in openDvbFrontEndFd() local 143 if (descriptor != null) { in openDvbFrontEndFd() 144 return descriptor.detachFd(); in openDvbFrontEndFd() 153 ParcelFileDescriptor descriptor = in openDvbDemuxFd() local 156 if (descriptor != null) { in openDvbDemuxFd() 157 return descriptor.detachFd(); in openDvbDemuxFd() 166 ParcelFileDescriptor descriptor = in openDvbDvrFd() local 169 if (descriptor != null) { in openDvbDvrFd() 170 return descriptor.detachFd(); in openDvbDvrFd()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AsyncImageView.java | 120 public void setImageResourceId(@Nullable final ImageRequestDescriptor descriptor) { in setImageResourceId() argument 121 final String requestKey = (descriptor == null) ? null : descriptor.getKey(); in setImageResourceId() 134 maybeSetupPlaceholderDrawable(descriptor); in setImageResourceId() 136 descriptor.buildAsyncMediaRequest(getContext(), this); in setImageResourceId() 164 private void maybeSetupPlaceholderDrawable(final ImageRequestDescriptor descriptor) { in maybeSetupPlaceholderDrawable() argument 165 if (!TextUtils.isEmpty(descriptor.getKey()) && mPlaceholderDrawable != null) { in maybeSetupPlaceholderDrawable() 166 if (descriptor.sourceWidth != ImageRequest.UNSPECIFIED_SIZE && in maybeSetupPlaceholderDrawable() 167 descriptor.sourceHeight != ImageRequest.UNSPECIFIED_SIZE) { in maybeSetupPlaceholderDrawable() 173 descriptor.sourceWidth, descriptor.sourceHeight)); in maybeSetupPlaceholderDrawable()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ReadableArchiveTest.java | 84 private void loadArchive(ParcelFileDescriptor descriptor, String mimeType) in loadArchive() argument 88 descriptor, in loadArchive() 95 private void loadArchive(ParcelFileDescriptor descriptor) in loadArchive() argument 97 loadArchive(descriptor, "application/zip"); in loadArchive() 393 final ParcelFileDescriptor descriptor = mArchive.openDocument( in commonTestOpenDocument() local 396 assertTrue(Archive.canSeek(descriptor)); in commonTestOpenDocument() 398 new ParcelFileDescriptor.AutoCloseInputStream(descriptor)) { in commonTestOpenDocument() 399 Os.lseek(descriptor.getFileDescriptor(), "I love ".length(), OsConstants.SEEK_SET); in commonTestOpenDocument() 401 Os.lseek(descriptor.getFileDescriptor(), 0, OsConstants.SEEK_SET); in commonTestOpenDocument()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | FileImageRequest.java | 39 final FileImageRequestDescriptor descriptor) { in FileImageRequest() argument 40 super(context, descriptor); in FileImageRequest() 41 mPath = descriptor.path; in FileImageRequest() 42 mCanUseThumbnail = descriptor.canUseThumbnail; in FileImageRequest()
|
D | DecodedImageResource.java | 203 final ImageRequestDescriptor descriptor = in loadMediaBlocking() local 206 (float) descriptor.desiredWidth / bitmapWidth, in loadMediaBlocking() 207 (float) descriptor.desiredHeight / bitmapHeight); in loadMediaBlocking()
|
D | VideoThumbnailRequest.java | 36 final UriImageRequestDescriptor descriptor) { in VideoThumbnailRequest() argument 37 super(context, descriptor); in VideoThumbnailRequest()
|
D | UriImageRequest.java | 29 public UriImageRequest(final Context context, final D descriptor) { in UriImageRequest() argument 30 super(context, descriptor); in UriImageRequest()
|
D | AvatarGroupRequestDescriptor.java | 49 final AvatarRequestDescriptor descriptor = new AvatarRequestDescriptor( in convertToDescriptor() local 51 avatarDescriptors.add(descriptor); in convertToDescriptor()
|
D | CompositeImageRequest.java | 46 public CompositeImageRequest(final Context context, final D descriptor) { in CompositeImageRequest() argument 47 super(context, descriptor); in CompositeImageRequest()
|
D | NetworkUriImageRequest.java | 40 public NetworkUriImageRequest(Context context, D descriptor) { in NetworkUriImageRequest() argument 41 super(context, descriptor); in NetworkUriImageRequest()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/ |
D | CarBleCentralManager.java | 316 BluetoothGattDescriptor descriptor = 318 descriptor.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE); 319 if (!gatt.writeDescriptor(descriptor)) { 335 public void onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, 337 super.onDescriptorWrite(gatt, descriptor, status);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | ReadableArchive.java | 206 Context context, ParcelFileDescriptor descriptor, Uri archiveUri, in createForParcelFileDescriptor() argument 209 if (canSeek(descriptor)) { in createForParcelFileDescriptor() 210 return new ReadableArchive(context, descriptor, in createForParcelFileDescriptor() 231 new ParcelFileDescriptor.AutoCloseInputStream(descriptor); in createForParcelFileDescriptor() 257 FileUtils.closeQuietly(descriptor); in createForParcelFileDescriptor()
|
D | WriteableArchive.java | 119 Context context, ParcelFileDescriptor descriptor, Uri archiveUri, int accessMode, in createForParcelFileDescriptor() argument 123 return new WriteableArchive(context, descriptor, archiveUri, accessMode, in createForParcelFileDescriptor() 128 FileUtils.closeQuietly(descriptor); in createForParcelFileDescriptor()
|
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/data/ |
D | SectionParserTest.java | 125 ContentAdvisoryDescriptor descriptor = createDescriptorForTest(ratingRegion); in testGenerateContentRating_validInputs() local 129 Collections.singletonList((TsDescriptor) descriptor))) in testGenerateContentRating_validInputs() 138 ContentAdvisoryDescriptor descriptor = createDescriptorForTest(ratingRegion); in testGenerateContentRating_invalidInput() local 141 Collections.singletonList((TsDescriptor) descriptor))) in testGenerateContentRating_invalidInput()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | BaseWidgetFactory.java | 171 ImageRequestDescriptor descriptor; 173 descriptor = new AvatarGroupRequestDescriptor(avatarUri, mIconSize, mIconSize); 175 descriptor = new AvatarRequestDescriptor(avatarUri, mIconSize, mIconSize); 179 descriptor.buildSyncMediaRequest(mContext);
|
D | WidgetConversationService.java | 437 UriImageRequestDescriptor descriptor; in getAttachmentBitmap() local 439 descriptor = new MessagePartImageRequestDescriptor(part, in getAttachmentBitmap() 445 descriptor = new MessagePartVideoThumbnailRequestDescriptor(part); in getAttachmentBitmap() 451 descriptor.buildSyncMediaRequest(mContext); in getAttachmentBitmap()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | GattServer.java | 93 BluetoothGattDescriptor descriptor = in GattServer() local 98 characteristic.addDescriptor(descriptor); in GattServer() 152 BluetoothGattDescriptor descriptor) { in onDescriptorReadRequest() argument 158 BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, in onDescriptorWriteRequest() argument
|
/packages/services/Car/tools/keventreader/server/ |
D | inputsource.cpp | 46 return descriptor() >= 0; in operator bool() 49 int InputSource::descriptor() const { in descriptor() function in InputSource
|
D | eventgatherer.cpp | 27 mFds.push_back({dev->descriptor(), POLLIN, 0}); in EventGatherer() 28 mDevices.emplace(dev->descriptor(), std::move(dev)); in EventGatherer()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | RequestGetImage.java | 38 public RequestGetImage(String imageHandle, BipImageDescriptor descriptor) { in RequestGetImage() argument 43 mImageDescriptor = descriptor; in RequestGetImage()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | SettingsDAO.kt | 334 val descriptor = descriptors[i] in getTimeZones() constant 335 tzIds[i] = descriptor!!.mTimeZoneId in getTimeZones() 336 tzNames[i] = descriptor.mTimeZoneName in getTimeZones()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactRecipientPhotoManager.java | 67 final AvatarRequestDescriptor descriptor = in populatePhotoBytesAsync() 69 final BindableMediaRequest<ImageResource> req = descriptor.buildAsyncMediaRequest( in populatePhotoBytesAsync()
|