Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/app/
DApplicationThreadNative.java55 (IApplicationThread)obj.queryLocalInterface(descriptor); in asInterface()
64 attachInterface(this, descriptor); in ApplicationThreadNative()
73 data.enforceInterface(IApplicationThread.descriptor); in onTransact()
84 data.enforceInterface(IApplicationThread.descriptor); in onTransact()
94 data.enforceInterface(IApplicationThread.descriptor); in onTransact()
103 data.enforceInterface(IApplicationThread.descriptor); in onTransact()
112 data.enforceInterface(IApplicationThread.descriptor); in onTransact()
121 data.enforceInterface(IApplicationThread.descriptor); in onTransact()
130 data.enforceInterface(IApplicationThread.descriptor); in onTransact()
153 data.enforceInterface(IApplicationThread.descriptor); in onTransact()
[all …]
DActivityManagerNative.java61 (IActivityManager)obj.queryLocalInterface(descriptor); in asInterface()
108 attachInterface(this, descriptor); in ActivityManagerNative()
116 data.enforceInterface(IActivityManager.descriptor); in onTransact()
141 data.enforceInterface(IActivityManager.descriptor); in onTransact()
167 data.enforceInterface(IActivityManager.descriptor); in onTransact()
193 data.enforceInterface(IActivityManager.descriptor); in onTransact()
216 data.enforceInterface(IActivityManager.descriptor); in onTransact()
242 data.enforceInterface(IActivityManager.descriptor); in onTransact()
254 data.enforceInterface(IActivityManager.descriptor); in onTransact()
268 data.enforceInterface(IActivityManager.descriptor); in onTransact()
[all …]
/frameworks/base/core/java/android/database/
DBulkCursorNative.java36 attachInterface(this, descriptor); in BulkCursorNative()
48 IBulkCursor in = (IBulkCursor)obj.queryLocalInterface(descriptor); in asInterface()
62 data.enforceInterface(IBulkCursor.descriptor); in onTransact()
76 data.enforceInterface(IBulkCursor.descriptor); in onTransact()
83 data.enforceInterface(IBulkCursor.descriptor); in onTransact()
90 data.enforceInterface(IBulkCursor.descriptor); in onTransact()
101 data.enforceInterface(IBulkCursor.descriptor); in onTransact()
109 data.enforceInterface(IBulkCursor.descriptor); in onTransact()
117 data.enforceInterface(IBulkCursor.descriptor); in onTransact()
160 data.writeInterfaceToken(IBulkCursor.descriptor); in getWindow()
[all …]
/frameworks/base/core/java/android/os/
DServiceManagerNative.java39 (IServiceManager)obj.queryLocalInterface(descriptor); in asInterface()
49 attachInterface(this, descriptor); in ServiceManagerNative()
57 data.enforceInterface(IServiceManager.descriptor); in onTransact()
65 data.enforceInterface(IServiceManager.descriptor); in onTransact()
73 data.enforceInterface(IServiceManager.descriptor); in onTransact()
82 data.enforceInterface(IServiceManager.descriptor); in onTransact()
89 data.enforceInterface(IServiceManager.descriptor); in onTransact()
121 data.writeInterfaceToken(IServiceManager.descriptor); in getService()
133 data.writeInterfaceToken(IServiceManager.descriptor); in checkService()
146 data.writeInterfaceToken(IServiceManager.descriptor); in addService()
[all …]
DParcelFileDescriptor.java392 public ParcelFileDescriptor(ParcelFileDescriptor descriptor) { in ParcelFileDescriptor() argument
393 mWrapped = descriptor; in ParcelFileDescriptor()
399 public ParcelFileDescriptor(FileDescriptor descriptor) { in ParcelFileDescriptor() argument
400 if (descriptor == null) { in ParcelFileDescriptor()
404 mFileDescriptor = descriptor; in ParcelFileDescriptor()
DBinder.java191 public void attachInterface(IInterface owner, String descriptor) { in attachInterface() argument
193 mDescriptor = descriptor; in attachInterface()
226 public IInterface queryLocalInterface(String descriptor) { in queryLocalInterface() argument
227 if (mDescriptor.equals(descriptor)) { in queryLocalInterface()
413 public IInterface queryLocalInterface(String descriptor) { in queryLocalInterface() argument
/frameworks/base/core/java/android/content/
DContentProviderNative.java47 attachInterface(this, descriptor); in ContentProviderNative()
60 (IContentProvider)obj.queryLocalInterface(descriptor); in asInterface()
82 data.enforceInterface(IContentProvider.descriptor); in onTransact()
142 data.enforceInterface(IContentProvider.descriptor); in onTransact()
153 data.enforceInterface(IContentProvider.descriptor); in onTransact()
166 data.enforceInterface(IContentProvider.descriptor); in onTransact()
179 data.enforceInterface(IContentProvider.descriptor); in onTransact()
195 data.enforceInterface(IContentProvider.descriptor); in onTransact()
210 data.enforceInterface(IContentProvider.descriptor); in onTransact()
226 data.enforceInterface(IContentProvider.descriptor); in onTransact()
[all …]
/frameworks/wilhelm/src/
Ddevices.h22 const SLAudioInputDescriptor *descriptor; member
27 const SLAudioOutputDescriptor *descriptor; member
32 const SLLEDDescriptor *descriptor; member
37 const SLVibraDescriptor *descriptor; member
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouter.java978 int updateDescriptor(MediaRouteDescriptor descriptor) { in updateDescriptor() argument
980 if (mDescriptor != descriptor) { in updateDescriptor()
981 mDescriptor = descriptor; in updateDescriptor()
982 if (descriptor != null) { in updateDescriptor()
983 if (!equal(mName, descriptor.getName())) { in updateDescriptor()
984 mName = descriptor.getName(); in updateDescriptor()
987 if (!equal(mDescription, descriptor.getDescription())) { in updateDescriptor()
988 mDescription = descriptor.getDescription(); in updateDescriptor()
991 if (mEnabled != descriptor.isEnabled()) { in updateDescriptor()
992 mEnabled = descriptor.isEnabled(); in updateDescriptor()
[all …]
DMediaRouteProviderDescriptor.java136 public Builder(MediaRouteProviderDescriptor descriptor) { in Builder() argument
137 if (descriptor == null) { in Builder()
141 mBundle = new Bundle(descriptor.mBundle); in Builder()
143 descriptor.ensureRoutes(); in Builder()
144 if (!descriptor.mRoutes.isEmpty()) { in Builder()
145 mRoutes = new ArrayList<MediaRouteDescriptor>(descriptor.mRoutes); in Builder()
DMediaRouteProvider.java217 public final void setDescriptor(MediaRouteProviderDescriptor descriptor) { in setDescriptor() argument
220 if (mDescriptor != descriptor) { in setDescriptor()
221 mDescriptor = descriptor; in setDescriptor()
370 MediaRouteProviderDescriptor descriptor) { in onDescriptorChanged() argument
DMediaRouteDescriptor.java254 public Builder(MediaRouteDescriptor descriptor) { in Builder() argument
255 if (descriptor == null) { in Builder()
259 mBundle = new Bundle(descriptor.mBundle); in Builder()
261 descriptor.ensureControlFilters(); in Builder()
262 if (!descriptor.mControlFilters.isEmpty()) { in Builder()
263 mControlFilters = new ArrayList<IntentFilter>(descriptor.mControlFilters); in Builder()
/frameworks/base/services/java/com/android/server/input/
DPersistentDataStore.java243 String descriptor = parser.getAttributeValue(null, "descriptor"); in loadInputDevicesFromXml() local
244 if (descriptor == null) { in loadInputDevicesFromXml()
248 if (mInputDevices.containsKey(descriptor)) { in loadInputDevicesFromXml()
254 mInputDevices.put(descriptor, state); in loadInputDevicesFromXml()
265 final String descriptor = entry.getKey(); in saveToXml() local
268 serializer.attribute(null, "descriptor", descriptor); in saveToXml()
373 String descriptor = parser.getAttributeValue(null, "descriptor"); in loadFromXml() local
374 if (descriptor == null) { in loadFromXml()
379 if (mKeyboardLayouts.contains(descriptor)) { in loadFromXml()
384 mKeyboardLayouts.add(descriptor); in loadFromXml()
[all …]
DInputManagerService.java739 String descriptor, String label, String collection, int keyboardLayoutResId) { in updateKeyboardLayouts()
740 availableKeyboardLayouts.add(descriptor); in updateKeyboardLayouts()
756 String descriptor) { in containsInputDeviceWithDescriptor() argument
760 if (inputDevice.getDescriptor().equals(descriptor)) { in containsInputDeviceWithDescriptor()
773 String descriptor, String label, String collection, int keyboardLayoutResId) { in getKeyboardLayouts()
774 list.add(new KeyboardLayout(descriptor, label, collection)); in getKeyboardLayouts()
790 String descriptor, String label, String collection, int keyboardLayoutResId) { in getKeyboardLayout()
791 result[0] = new KeyboardLayout(descriptor, label, collection); in getKeyboardLayout()
871 String descriptor = KeyboardLayoutDescriptor.format( in visitKeyboardLayoutsInPackage() local
874 visitor.visitKeyboardLayout(resources, descriptor, in visitKeyboardLayoutsInPackage()
[all …]
/frameworks/wilhelm/src/itf/
DIEngineCapabilities.c121 *pDescriptor = *id_descriptor->descriptor; in IEngineCapabilities_QueryLEDCapabilities()
132 *pDescriptor = *id_descriptor->descriptor; in IEngineCapabilities_QueryLEDCapabilities()
163 *pDescriptor = *id_descriptor->descriptor; in IEngineCapabilities_QueryVibraCapabilities()
174 *pDescriptor = *id_descriptor->descriptor; in IEngineCapabilities_QueryVibraCapabilities()
219 while (NULL != id_descriptor_LED->descriptor) in IEngineCapabilities_init()
223 while (NULL != id_descriptor_Vibra->descriptor) in IEngineCapabilities_init()
DIVibra.c59 const SLVibraDescriptor *d = Vibra_id_descriptors[0].descriptor; in IVibra_SetFrequency()
99 const SLVibraDescriptor *d = Vibra_id_descriptors[0].descriptor; in IVibra_SetIntensity()
123 const SLVibraDescriptor *d = Vibra_id_descriptors[0].descriptor; in IVibra_GetIntensity()
155 thiz->mFrequency = Vibra_id_descriptors[0].descriptor->minFrequency; in IVibra_init()
/frameworks/native/include/binder/
DIInterface.h75 static const android::String16 descriptor; \
84 const android::String16 I##INTERFACE::descriptor(NAME); \
87 return I##INTERFACE::descriptor; \
96 I##INTERFACE::descriptor).get()); \
118 if (_descriptor == INTERFACE::descriptor) return this; in queryLocalInterface()
/frameworks/av/media/libstagefright/wifi-display/source/
DTSPacketizer.cpp259 sp<ABuffer> descriptor = new ABuffer(6); in finalize() local
260 uint8_t *data = descriptor->data(); in finalize()
274 mDescriptors.push_back(descriptor); in finalize()
280 sp<ABuffer> descriptor = new ABuffer(4); in finalize() local
281 uint8_t *data = descriptor->data(); in finalize()
297 mDescriptors.push_back(descriptor); in finalize()
310 sp<ABuffer> descriptor = new ABuffer(4); in finalize() local
311 uint8_t *data = descriptor->data(); in finalize()
325 mDescriptors.push_back(descriptor); in finalize()
353 sp<ABuffer> descriptor = new ABuffer(7); in TSPacketizer() local
[all …]
/frameworks/native/opengl/specs/
DEGL_ANDROID_native_fence_sync.txt41 using a file descriptor. These EGL fence sync objects have nearly
43 except that they have an additional attribute storing the file descriptor
92 must be set to either a file descriptor that refers to a native fence
110 descriptor, so the caller must not use it after calling eglCreateSyncKHR."
126 set to a file descriptor that refers to the new native fence object. This
197 attribute is not EGL_NO_NATIVE_FENCE_FD_ANDROID then that file descriptor
209 duplicates the file descriptor stored in the
211 object and returns the new file descriptor.
242 RESOLVED: Whenever a file descriptor is passed into or returned from an
243 EGL call in this extension, ownership of that file descriptor is
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothGatt.java446 BluetoothGattDescriptor descriptor = characteristic.getDescriptor(
448 if (descriptor == null) return;
450 if (status == 0) descriptor.setValue(value);
468 mCallback.onDescriptorRead(BluetoothGatt.this, descriptor, status);
495 BluetoothGattDescriptor descriptor = characteristic.getDescriptor(
497 if (descriptor == null) return;
507 AUTHENTICATION_MITM, descriptor.getValue());
516 mCallback.onDescriptorWrite(BluetoothGatt.this, descriptor, status);
904 public boolean readDescriptor(BluetoothGattDescriptor descriptor) { in readDescriptor() argument
905 if (DBG) Log.d(TAG, "readDescriptor() - uuid: " + descriptor.getUuid()); in readDescriptor()
[all …]
DBluetoothGattCharacteristic.java279 public boolean addDescriptor(BluetoothGattDescriptor descriptor) { in addDescriptor() argument
280 mDescriptors.add(descriptor); in addDescriptor()
281 descriptor.setCharacteristic(this); in addDescriptor()
394 for(BluetoothGattDescriptor descriptor : mDescriptors) { in getDescriptor()
395 if (descriptor.getUuid().equals(uuid)) { in getDescriptor()
396 return descriptor; in getDescriptor()
DBluetoothGattCallback.java102 public void onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, in onDescriptorRead() argument
115 public void onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, in onDescriptorWrite() argument
DBluetoothGattServerCallback.java99 int offset, BluetoothGattDescriptor descriptor) { in onDescriptorReadRequest() argument
118 BluetoothGattDescriptor descriptor, in onDescriptorWriteRequest() argument
/frameworks/base/media/java/android/media/
DMediaMetadataRetriever.java170 FileDescriptor descriptor = fd.getFileDescriptor(); in setDataSource() local
171 if (!descriptor.valid()) { in setDataSource()
178 setDataSource(descriptor); in setDataSource()
180 setDataSource(descriptor, fd.getStartOffset(), fd.getDeclaredLength()); in setDataSource()
/frameworks/base/core/jni/
Dandroid_os_ParcelFileDescriptor.cpp72 jobject descriptor = env->GetObjectField(clazz, gParcelFileDescriptorOffsets.mFileDescriptor); in getFd() local
73 if (descriptor == NULL) return -1; in getFd()
74 return jniGetFDFromFileDescriptor(env, descriptor); in getFd()

1234