/packages/apps/TV/src/com/android/tv/tuner/ts/ |
D | SectionParser.java | 586 for (TsDescriptor descriptor : descriptors) { in parseVCT() 587 if (descriptor instanceof ExtendedChannelNameDescriptor) { in parseVCT() 589 (ExtendedChannelNameDescriptor) descriptor; in parseVCT() 712 for (TsDescriptor descriptor : descriptors) { in generateAudioTracks() 713 if (descriptor instanceof Ac3AudioDescriptor) { in generateAudioTracks() 715 (Ac3AudioDescriptor) descriptor; in generateAudioTracks() 726 for (TsDescriptor descriptor : descriptors) { in generateAudioTracks() 727 if (descriptor instanceof Iso639LanguageDescriptor) { in generateAudioTracks() 729 (Iso639LanguageDescriptor) descriptor; in generateAudioTracks() 780 for (TsDescriptor descriptor : descriptors) { in generateCaptionTracks() [all …]
|
/packages/apps/TV/src/com/android/tv/tuner/ |
D | UsbTunerHal.java | 135 ParcelFileDescriptor descriptor = mDvbDeviceAccessor.openDvbDevice( in openDvbFrontEndFd() local 137 if (descriptor != null) { in openDvbFrontEndFd() 138 return descriptor.detachFd(); in openDvbFrontEndFd() 147 ParcelFileDescriptor descriptor = mDvbDeviceAccessor.openDvbDevice( in openDvbDemuxFd() local 149 if (descriptor != null) { in openDvbDemuxFd() 150 return descriptor.detachFd(); in openDvbDemuxFd() 159 ParcelFileDescriptor descriptor = mDvbDeviceAccessor.openDvbDevice( in openDvbDvrFd() local 161 if (descriptor != null) { in openDvbDvrFd() 162 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() 132 maybeSetupPlaceholderDrawable(descriptor); in setImageResourceId() 134 descriptor.buildAsyncMediaRequest(getContext(), this); in setImageResourceId() 162 private void maybeSetupPlaceholderDrawable(final ImageRequestDescriptor descriptor) { in maybeSetupPlaceholderDrawable() argument 163 if (!TextUtils.isEmpty(descriptor.getKey()) && mPlaceholderDrawable != null) { in maybeSetupPlaceholderDrawable() 164 if (descriptor.sourceWidth != ImageRequest.UNSPECIFIED_SIZE && in maybeSetupPlaceholderDrawable() 165 descriptor.sourceHeight != ImageRequest.UNSPECIFIED_SIZE) { in maybeSetupPlaceholderDrawable() 171 descriptor.sourceWidth, descriptor.sourceHeight)); in maybeSetupPlaceholderDrawable()
|
/packages/services/Car/tools/ |
D | update-obd2-sensors.py | 30 def __init__(self, descriptor): argument 33 self.descriptor = descriptor 113 theSensors.descriptor 115 theSensors.descriptor 128 return "Obd2%sSensorIndex.%s," % (theSensors.descriptor,sensorName) 138 theSensors.descriptor 161 intSensors = SensorList(descriptor="Integer") 162 floatSensors = SensorList(descriptor="Float")
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ReadableArchiveTest.java | 74 public void loadArchive(ParcelFileDescriptor descriptor) throws IOException { in loadArchive() argument 77 descriptor, in loadArchive() 300 final ParcelFileDescriptor descriptor = mArchive.openDocument( in commonTestOpenDocument() local 303 assertTrue(Archive.canSeek(descriptor)); in commonTestOpenDocument() 305 new ParcelFileDescriptor.AutoCloseInputStream(descriptor)) { in commonTestOpenDocument() 306 Os.lseek(descriptor.getFileDescriptor(), "I love ".length(), OsConstants.SEEK_SET); in commonTestOpenDocument() 308 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 | UriImageRequest.java | 29 public UriImageRequest(final Context context, final D descriptor) { in UriImageRequest() argument 30 super(context, descriptor); in UriImageRequest()
|
D | VideoThumbnailRequest.java | 40 final UriImageRequestDescriptor descriptor) { in VideoThumbnailRequest() argument 41 super(context, descriptor); in VideoThumbnailRequest()
|
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()
|
D | SimSelectorAvatarRequest.java | 43 final AvatarRequestDescriptor descriptor) { in SimSelectorAvatarRequest() argument 44 super(context, descriptor); in SimSelectorAvatarRequest()
|
D | ImageRequest.java | 53 public ImageRequest(final Context context, final D descriptor) { in ImageRequest() argument 55 mDescriptor = descriptor; in ImageRequest()
|
D | AvatarRequest.java | 47 final AvatarRequestDescriptor descriptor) { in AvatarRequest() argument 48 super(context, descriptor); in AvatarRequest()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | ReadableArchive.java | 169 Context context, ParcelFileDescriptor descriptor, Uri archiveUri, int accessMode, in createForParcelFileDescriptor() argument 174 if (canSeek(descriptor)) { in createForParcelFileDescriptor() 176 fd.setInt$(descriptor.detachFd()); in createForParcelFileDescriptor() 196 new ParcelFileDescriptor.AutoCloseInputStream(descriptor); in createForParcelFileDescriptor() 217 IoUtils.closeQuietly(descriptor); in createForParcelFileDescriptor()
|
D | WriteableArchive.java | 122 Context context, ParcelFileDescriptor descriptor, Uri archiveUri, int accessMode, in createForParcelFileDescriptor() argument 126 return new WriteableArchive(context, descriptor, archiveUri, accessMode, in createForParcelFileDescriptor() 131 IoUtils.closeQuietly(descriptor); in createForParcelFileDescriptor()
|
D | Archive.java | 111 public static boolean canSeek(ParcelFileDescriptor descriptor) { in canSeek() argument 113 return Os.lseek(descriptor.getFileDescriptor(), 0, in canSeek()
|
/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 | 436 UriImageRequestDescriptor descriptor; in getAttachmentBitmap() local 438 descriptor = new MessagePartImageRequestDescriptor(part, in getAttachmentBitmap() 444 descriptor = new MessagePartVideoThumbnailRequestDescriptor(part); in getAttachmentBitmap() 450 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/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
D | EmlMessageLoaderTest.java | 90 final ParcelFileDescriptor descriptor = mFileMap.get(uri); in openFile() local 91 if (descriptor != null) { in openFile() 92 return descriptor; in openFile()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | SettingsDAO.java | 344 final TimeZoneDescriptor descriptor = descriptors[i]; in getTimeZones() local 345 tzIds[i] = descriptor.mTimeZoneId; in getTimeZones() 346 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()
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
D | BuglePhotoBitmapLoader.java | 60 final ImageRequestDescriptor descriptor = in loadInBackground() local 68 descriptor.buildSyncMediaRequest(context); in loadInBackground()
|