Home
last modified time | relevance | path

Searched refs:descriptor (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/TV/src/com/android/tv/tuner/ts/
DSectionParser.java586 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/
DUsbTunerHal.java135 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/
DAsyncImageView.java120 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/
Dupdate-obd2-sensors.py30 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/
DReadableArchiveTest.java74 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/
DFileImageRequest.java39 final FileImageRequestDescriptor descriptor) { in FileImageRequest() argument
40 super(context, descriptor); in FileImageRequest()
41 mPath = descriptor.path; in FileImageRequest()
42 mCanUseThumbnail = descriptor.canUseThumbnail; in FileImageRequest()
DDecodedImageResource.java203 final ImageRequestDescriptor descriptor = in loadMediaBlocking() local
206 (float) descriptor.desiredWidth / bitmapWidth, in loadMediaBlocking()
207 (float) descriptor.desiredHeight / bitmapHeight); in loadMediaBlocking()
DUriImageRequest.java29 public UriImageRequest(final Context context, final D descriptor) { in UriImageRequest() argument
30 super(context, descriptor); in UriImageRequest()
DVideoThumbnailRequest.java40 final UriImageRequestDescriptor descriptor) { in VideoThumbnailRequest() argument
41 super(context, descriptor); in VideoThumbnailRequest()
DAvatarGroupRequestDescriptor.java49 final AvatarRequestDescriptor descriptor = new AvatarRequestDescriptor( in convertToDescriptor() local
51 avatarDescriptors.add(descriptor); in convertToDescriptor()
DCompositeImageRequest.java46 public CompositeImageRequest(final Context context, final D descriptor) { in CompositeImageRequest() argument
47 super(context, descriptor); in CompositeImageRequest()
DNetworkUriImageRequest.java40 public NetworkUriImageRequest(Context context, D descriptor) { in NetworkUriImageRequest() argument
41 super(context, descriptor); in NetworkUriImageRequest()
DSimSelectorAvatarRequest.java43 final AvatarRequestDescriptor descriptor) { in SimSelectorAvatarRequest() argument
44 super(context, descriptor); in SimSelectorAvatarRequest()
DImageRequest.java53 public ImageRequest(final Context context, final D descriptor) { in ImageRequest() argument
55 mDescriptor = descriptor; in ImageRequest()
DAvatarRequest.java47 final AvatarRequestDescriptor descriptor) { in AvatarRequest() argument
48 super(context, descriptor); in AvatarRequest()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DReadableArchive.java169 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()
DWriteableArchive.java122 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()
DArchive.java111 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/
DBaseWidgetFactory.java171 ImageRequestDescriptor descriptor;
173 descriptor = new AvatarGroupRequestDescriptor(avatarUri, mIconSize, mIconSize);
175 descriptor = new AvatarRequestDescriptor(avatarUri, mIconSize, mIconSize);
179 descriptor.buildSyncMediaRequest(mContext);
DWidgetConversationService.java436 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/
DGattServer.java93 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/
DEmlMessageLoaderTest.java90 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/
DSettingsDAO.java344 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/
DContactRecipientPhotoManager.java67 final AvatarRequestDescriptor descriptor = in populatePhotoBytesAsync()
69 final BindableMediaRequest<ImageResource> req = descriptor.buildAsyncMediaRequest( in populatePhotoBytesAsync()
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoBitmapLoader.java60 final ImageRequestDescriptor descriptor = in loadInBackground() local
68 descriptor.buildSyncMediaRequest(context); in loadInBackground()

12