Searched defs:descriptor (Results 1 - 25 of 79) sorted by relevance

1234

/frameworks/base/core/java/android/os/
H A DIHwBinder.java40 * Return as IHwInterface instance only if this implements descriptor.
42 * @param descriptor for example foo.bar@1.0::IBaz
46 public IHwInterface queryLocalInterface(String descriptor); argument
H A DHwRemoteBinder.java36 public IHwInterface queryLocalInterface(String descriptor) { argument
H A DIServiceManager.java63 static final String descriptor = "android.os.IServiceManager"; field in interface:IServiceManager
H A DFileObserver.java102 public void stopWatching(int descriptor) { argument
103 stopWatching(m_fd, descriptor);
H A DIBinder.java116 * of the transaction for its canonical interface descriptor.
206 public @Nullable IInterface queryLocalInterface(@NonNull String descriptor); argument
211 * @param fd The raw file descriptor that the dump is being sent to.
221 * @param fd The raw file descriptor that the dump is being sent to.
231 * @param in The raw file descriptor that an input data stream can be read from.
232 * @param out The raw file descriptor that normal command messages should be written to.
233 * @param err The raw file descriptor that command error messages should be written to.
/frameworks/native/include/ui/
H A DGralloc2.h106 Error allocate(BufferDescriptor descriptor, uint32_t count,
109 Error allocate(BufferDescriptor descriptor, argument
112 return allocate(descriptor, 1, outStride, outBufferHandle);
118 BufferDescriptor descriptor; local
119 Error error = mMapper.createDescriptor(descriptorInfo, &descriptor);
121 error = allocate(descriptor, count, outStride, outBufferHandles);
/frameworks/native/libs/ui/include/ui/
H A DGralloc2.h106 Error allocate(BufferDescriptor descriptor, uint32_t count,
109 Error allocate(BufferDescriptor descriptor, argument
112 return allocate(descriptor, 1, outStride, outBufferHandle);
118 BufferDescriptor descriptor; local
119 Error error = mMapper.createDescriptor(descriptorInfo, &descriptor);
121 error = allocate(descriptor, count, outStride, outBufferHandles);
/frameworks/native/libs/ui/include_vndk/ui/
H A DGralloc2.h106 Error allocate(BufferDescriptor descriptor, uint32_t count,
109 Error allocate(BufferDescriptor descriptor, argument
112 return allocate(descriptor, 1, outStride, outBufferHandle);
118 BufferDescriptor descriptor; local
119 Error error = mMapper.createDescriptor(descriptorInfo, &descriptor);
121 error = allocate(descriptor, count, outStride, outBufferHandles);
/frameworks/wilhelm/src/
H A Ddevices.h22 const SLAudioInputDescriptor *descriptor; member in struct:AudioInput_id_descriptor
27 const SLAudioOutputDescriptor *descriptor; member in struct:AudioOutput_id_descriptor
32 const SLLEDDescriptor *descriptor; member in struct:LED_id_descriptor
37 const SLVibraDescriptor *descriptor; member in struct:Vibra_id_descriptor
44 /** \brief Associates a codec ID with a corresponding codec descriptor */
48 const SLAudioCodecDescriptor *mDescriptor; ///< The corresponding descriptor
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSessionRoute.cpp93 const sp<DeviceDescriptor>& descriptor,
107 if (descriptor != 0 || route->mDeviceDescriptor != 0) {
111 route->mDeviceDescriptor = descriptor;
113 route = new SessionRoute(session, streamType, source, descriptor, uid);
115 if (descriptor != 0) {
90 addRoute(audio_session_t session, audio_stream_type_t streamType, audio_source_t source, const sp<DeviceDescriptor>& descriptor, uid_t uid) argument
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DPipeManagerTest.java53 final ParcelFileDescriptor descriptor = mPipeManager.readDocument(
56 assertDescriptor(descriptor, HELLO_BYTES);
60 final ParcelFileDescriptor descriptor = mPipeManager.readDocument(
63 assertDescriptorError(descriptor);
68 final ParcelFileDescriptor descriptor = mPipeManager.readThumbnail(
71 assertDescriptor(descriptor, HELLO_BYTES);
75 final ParcelFileDescriptor descriptor = mPipeManager.readThumbnail(
78 assertDescriptorError(descriptor);
81 private void assertDescriptor(ParcelFileDescriptor descriptor, byte[] expectedBytes) argument
86 new ParcelFileDescriptor.AutoCloseInputStream(descriptor)) {
95 assertDescriptorError(ParcelFileDescriptor descriptor) argument
[all...]
/frameworks/av/media/libaaudio/src/binding/
H A DAudioEndpointParcelable.cpp50 * Add the file descriptor to the table.
117 aaudio_result_t AudioEndpointParcelable::resolve(EndpointDescriptor *descriptor) { argument
119 &descriptor->upMessageQueueDescriptor);
122 &descriptor->downMessageQueueDescriptor);
126 &descriptor->dataQueueDescriptor);
H A DRingBufferParcelable.cpp131 aaudio_result_t RingBufferParcelable::resolve(SharedMemoryParcelable *memoryParcels, RingBufferDescriptor *descriptor) { argument
135 (void **) &descriptor->readCounterAddress);
141 (void **) &descriptor->writeCounterAddress);
146 result = mDataParcelable.resolve(memoryParcels, (void **) &descriptor->dataAddress);
151 descriptor->bytesPerFrame = mBytesPerFrame;
152 descriptor->framesPerBurst = mFramesPerBurst;
153 descriptor->capacityInFrames = mCapacityInFrames;
154 descriptor->flags = mFlags;
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
H A DMediaRouteProviderDescriptor.java67 * Returns true if the route provider descriptor and all of the routes that
70 * This verification is deep. If the provider descriptor is known to be
124 * Creates an empty media route provider descriptor builder.
131 * Creates a media route provider descriptor builder whose initial contents are
132 * copied from an existing descriptor.
134 public Builder(MediaRouteProviderDescriptor descriptor) { argument
135 if (descriptor == null) {
136 throw new IllegalArgumentException("descriptor must not be null");
139 mBundle = new Bundle(descriptor.mBundle);
141 descriptor
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCallback.java120 * Callback reporting the result of a descriptor read operation.
123 * @param descriptor Descriptor that was read from the associated remote device.
127 public void onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, argument
132 * Callback indicating the result of a descriptor write operation.
135 * @param descriptor Descriptor that was writte to the associated remote device.
139 public void onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, argument
H A DBluetoothGattServerCallback.java82 * A remote client has requested to read a local descriptor.
90 * @param descriptor Descriptor to be read
93 int offset, BluetoothGattDescriptor descriptor) {
97 * A remote client has requested to write to a local descriptor.
104 * @param descriptor Descriptor to be written to.
108 * @param value The value the client wants to assign to the descriptor
111 BluetoothGattDescriptor descriptor,
92 onDescriptorReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattDescriptor descriptor) argument
110 onDescriptorWriteRequest(BluetoothDevice device, int requestId, BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument
/frameworks/base/core/java/android/database/
H A DIBulkCursor.java57 static final String descriptor = "android.content.IBulkCursor"; field in interface:IBulkCursor
/frameworks/base/core/java/android/hardware/input/
H A DInputDeviceIdentifier.java35 public InputDeviceIdentifier(String descriptor, int vendorId, int productId) { argument
36 this.mDescriptor = descriptor;
H A DKeyboardLayout.java52 public KeyboardLayout(String descriptor, String label, String collection, int priority, argument
54 mDescriptor = descriptor;
74 * Gets the keyboard layout descriptor, which can be used to retrieve
78 * @return The keyboard layout descriptor.
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
H A DMediaRouteProviderDescriptor.java67 * Returns true if the route provider descriptor and all of the routes that
70 * This verification is deep. If the provider descriptor is known to be
124 * Creates an empty media route provider descriptor builder.
131 * Creates a media route provider descriptor builder whose initial contents are
132 * copied from an existing descriptor.
134 public Builder(MediaRouteProviderDescriptor descriptor) { argument
135 if (descriptor == null) {
136 throw new IllegalArgumentException("descriptor must not be null");
139 mBundle = new Bundle(descriptor.mBundle);
141 descriptor
[all...]
/frameworks/av/drm/mediacas/plugins/clearkey/
H A Decm.cpp121 status_t EcmContainer::Add(const EcmDescriptor& descriptor) { argument
124 descriptor_[0] = descriptor;
128 descriptor_[1] = descriptor;
133 descriptor_[1] = descriptor;
158 ALOGE("Invalid descriptor count: expected %zu <= count <= %zu, received %zu.",
H A Decm.h26 // status = ecm_container.descriptor(1).ecm().Decrypt(
27 // ecm_container.descriptor(1).ecm().buffer(), asset_key);
29 // if (ecm_container.descriptor(1).ecm().has_content_key()) {
30 // content_key = ecm_container.descriptor(1).ecm().content_key();
42 // EcmDescriptor descriptor(crypto_period_id, ecm);
43 // status = container.Add(descriptor);
92 // Be sure to call EcmContainer::decriptor_size() before calling descriptor()
269 // If |count_| is 2, |descriptor| replaces the oldest EcmDescriptor.
275 status_t Add(const EcmDescriptor& descriptor);
314 inline const EcmDescriptor& descriptor(size_ function in class:android::clearkeycas::EcmContainer
[all...]
/frameworks/base/core/jni/android/graphics/
H A DUtils.cpp149 bool android::isSeekable(int descriptor) { argument
150 return ::lseek64(descriptor, 0, SEEK_CUR) != -1;
/frameworks/base/tools/stats_log_api_gen/
H A DCollation.cpp297 collate_atom(android::os::statsd::AttributionNode::descriptor(),
333 int collate_atoms(const Descriptor *descriptor, Atoms *atoms) { argument
337 for (int i = 0; i < descriptor->field_count(); i++) {
338 const FieldDescriptor *atomField = descriptor->field(i);
/frameworks/native/cmds/lshal/
H A DLshal.cpp127 const std::string descriptor = getDescriptor(base.get()); local
128 if (descriptor.empty()) {
133 if (descriptor != interfaceName) {

Completed in 1244 milliseconds

1234