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

123

/frameworks/base/tools/incident_section_gen/
H A Dmain.cpp40 Descriptor const* descriptor = IncidentProto::descriptor(); local
41 N = descriptor->field_count();
43 const FieldDescriptor* field = descriptor->field(i);
/frameworks/native/include/ui/
H A DGralloc2.h91 Error allocate(BufferDescriptor descriptor, uint32_t count,
94 Error allocate(BufferDescriptor descriptor, argument
97 return allocate(descriptor, 1, outStride, outBufferHandle);
103 BufferDescriptor descriptor; local
104 Error error = mMapper.createDescriptor(descriptorInfo, &descriptor);
106 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/media/libaaudio/src/binding/
H A DAudioEndpointParcelable.cpp49 * Add the file descriptor to the table.
88 aaudio_result_t AudioEndpointParcelable::resolve(EndpointDescriptor *descriptor) { argument
90 &descriptor->upMessageQueueDescriptor);
93 &descriptor->downMessageQueueDescriptor);
97 &descriptor->dataQueueDescriptor);
H A DRingBufferParcelable.cpp127 aaudio_result_t RingBufferParcelable::resolve(SharedMemoryParcelable *memoryParcels, RingBufferDescriptor *descriptor) { argument
131 (void **) &descriptor->readCounterAddress);
137 (void **) &descriptor->writeCounterAddress);
142 result = mDataParcelable.resolve(memoryParcels, (void **) &descriptor->dataAddress);
147 descriptor->bytesPerFrame = mBytesPerFrame;
148 descriptor->framesPerBurst = mFramesPerBurst;
149 descriptor->capacityInFrames = mCapacityInFrames;
150 descriptor->flags = mFlags;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSessionRoute.cpp93 const sp<DeviceDescriptor>& descriptor,
107 if (((route->mDeviceDescriptor == 0) && (descriptor != 0)) ||
109 ((descriptor == 0) || (!route->mDeviceDescriptor->equals(descriptor))))) {
113 route->mDeviceDescriptor = descriptor;
115 route = new SessionRoute(session, streamType, source, descriptor, uid);
118 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/core/java/android/os/
H A DHwRemoteBinder.java36 public IHwInterface queryLocalInterface(String descriptor) { argument
H A DIHwBinder.java29 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.java113 * of the transaction for its canonical interface descriptor.
195 public IInterface queryLocalInterface(String descriptor); argument
200 * @param fd The raw file descriptor that the dump is being sent to.
210 * @param fd The raw file descriptor that the dump is being sent to.
219 * @param in The raw file descriptor that an input data stream can be read from.
220 * @param out The raw file descriptor that normal command messages should be written to.
221 * @param err The raw file descriptor that command error messages should be written to.
/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/base/core/java/android/bluetooth/
H A DBluetoothGattCallback.java123 * Callback reporting the result of a descriptor read operation.
126 * @param descriptor Descriptor that was read from the associated
131 public void onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, argument
136 * Callback indicating the result of a descriptor write operation.
139 * @param descriptor Descriptor that was writte to the associated
144 public void onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, argument
H A DBluetoothGattServerCallback.java86 * A remote client has requested to read a local descriptor.
94 * @param descriptor Descriptor to be read
97 int offset, BluetoothGattDescriptor descriptor) {
101 * A remote client has requested to write to a local descriptor.
108 * @param descriptor Descriptor to be written to.
113 * @param value The value the client wants to assign to the descriptor
116 BluetoothGattDescriptor descriptor,
96 onDescriptorReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattDescriptor descriptor) argument
115 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/base/core/jni/android/graphics/
H A DUtils.cpp117 bool android::isSeekable(int descriptor) { argument
118 return ::lseek64(descriptor, 0, SEEK_CUR) != -1;
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProviderDescriptor.java68 * Returns true if the route provider descriptor and all of the routes that
71 * This verification is deep. If the provider descriptor is known to be
125 * Creates an empty media route provider descriptor builder.
132 * Creates a media route provider descriptor builder whose initial contents are
133 * copied from an existing descriptor.
135 public Builder(MediaRouteProviderDescriptor descriptor) { argument
136 if (descriptor == null) {
137 throw new IllegalArgumentException("descriptor must not be null");
140 mBundle = new Bundle(descriptor.mBundle);
142 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/av/media/libaaudio/src/client/
H A DAudioEndpoint.cpp46 const RingBufferDescriptor *descriptor) {
47 if (descriptor == nullptr) {
48 ALOGE("AudioEndpoint_validateQueueDescriptor() NULL descriptor");
52 if (descriptor->capacityInFrames < 1
53 || descriptor->capacityInFrames > RIDICULOUSLY_LARGE_BUFFER_CAPACITY) {
55 descriptor->capacityInFrames);
60 if (descriptor->bytesPerFrame < 1
61 || descriptor->bytesPerFrame > RIDICULOUSLY_LARGE_FRAME_SIZE) {
63 descriptor->bytesPerFrame);
67 if (descriptor
45 AudioEndpoint_validateQueueDescriptor(const char *type, const RingBufferDescriptor *descriptor) argument
126 const RingBufferDescriptor *descriptor = &pEndpointDescriptor->upMessageQueueDescriptor; local
[all...]
/frameworks/native/libs/ui/
H A DGralloc2.cpp217 Error Allocator::allocate(BufferDescriptor descriptor, uint32_t count, argument
221 auto ret = mAllocator->allocate(descriptor, count,
/frameworks/av/media/libaudiohal/
H A DEffectHalHidl.cpp56 const EffectDescriptor& descriptor, effect_descriptor_t* halDescriptor) {
57 HidlUtils::uuidToHal(descriptor.type, &halDescriptor->type);
58 HidlUtils::uuidToHal(descriptor.uuid, &halDescriptor->uuid);
59 halDescriptor->flags = static_cast<uint32_t>(descriptor.flags);
60 halDescriptor->cpuLoad = descriptor.cpuLoad;
61 halDescriptor->memoryUsage = descriptor.memoryUsage;
62 memcpy(halDescriptor->name, descriptor.name.data(), descriptor.name.size());
64 descriptor.implementor.data(), descriptor
55 effectDescriptorToHal( const EffectDescriptor& descriptor, effect_descriptor_t* halDescriptor) argument
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DCasManager.cpp32 ProgramCasManager(unsigned programNumber, const CADescriptor &descriptor);
35 bool addStream(unsigned elementaryPID, const CADescriptor &descriptor);
47 CasSession(const CADescriptor &descriptor) : argument
48 mCADescriptor(descriptor) {}
67 unsigned programNumber, const CADescriptor &descriptor) :
70 mProgramCas(descriptor) {}
78 unsigned elementaryPID, const CADescriptor &descriptor) {
84 mProgramNumber, elementaryPID, descriptor.mSystemID);
85 mStreamPidToCasMap.add(elementaryPID, CasSession(descriptor));
140 const CADescriptor &descriptor local
66 ProgramCasManager( unsigned programNumber, const CADescriptor &descriptor) argument
77 addStream( unsigned elementaryPID, const CADescriptor &descriptor) argument
258 addProgram( unsigned programNumber, const CADescriptor &descriptor) argument
275 addStream( unsigned programNumber, unsigned elementaryPID, const CADescriptor &descriptor) argument
[all...]

Completed in 4050 milliseconds

123