Home
last modified time | relevance | path

Searched refs:mDescriptors (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEffectsTest.java105 AudioEffect.Descriptor[] mDescriptors; field in EffectsTest.EffectListAdapter
110 mDescriptors = descriptors; in EffectListAdapter()
111 for (int i = 0; i < mDescriptors.length; i++) { in EffectListAdapter()
112 Log.d(TAG, "Effect: "+i+" name: "+ mDescriptors[i].name); in EffectListAdapter()
117 Log.d(TAG, "EffectListAdapter getCount(): "+mDescriptors.length); in getCount()
118 return mDescriptors.length; in getCount()
123 +mDescriptors[position].name); in getItem()
124 return mDescriptors[position]; in getItem()
135 ev = new EffectView(mContext, mDescriptors); in getView()
138 ev = new EffectView(mContext, mDescriptors); in getView()
[all …]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DPipeManager.java60 protected final ParcelFileDescriptor[] mDescriptors; field in PipeManager.Task
65 mDescriptors = ParcelFileDescriptor.createReliablePipe(); in Task()
69 return mDescriptors[0]; in getReadingFileDescriptor()
82 mIdentifier.mDeviceId, mIdentifier.mObjectHandle, mDescriptors[1]); in run()
83 mDescriptors[1].close(); in run()
86 mDescriptors[1].closeWithError("Failed to stream a file."); in run()
103 new ParcelFileDescriptor.AutoCloseOutputStream(mDescriptors[1])) { in run()
108 mDescriptors[1].closeWithError("Failed to stream a thumbnail."); in run()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHidDeviceAppSdpSettings.java40 private final byte[] mDescriptors; field in BluetoothHidDeviceAppSdpSettings
67 mDescriptors = descriptors.clone(); in BluetoothHidDeviceAppSdpSettings()
87 return mDescriptors; in getDescriptors()
121 out.writeByteArray(mDescriptors); in writeToParcel()
DBluetoothGattCharacteristic.java236 protected List<BluetoothGattDescriptor> mDescriptors; field in BluetoothGattCharacteristic
280 mDescriptors = new ArrayList<BluetoothGattDescriptor>(); in initCharacteristic()
302 out.writeTypedList(mDescriptors); in writeToParcel()
324 mDescriptors = new ArrayList<BluetoothGattDescriptor>(); in BluetoothGattCharacteristic()
331 mDescriptors.add(desc); in BluetoothGattCharacteristic()
353 mDescriptors.add(descriptor); in addDescriptor()
364 for (BluetoothGattDescriptor descriptor : mDescriptors) { in getDescriptor()
482 return mDescriptors; in getDescriptors()
492 for (BluetoothGattDescriptor descriptor : mDescriptors) { in getDescriptor()
/frameworks/base/core/java/android/os/
DFileObserver.java187 private int[] mDescriptors; field in FileObserver
265 if (mDescriptors == null) { in startWatching()
266 mDescriptors = s_observerThread.startWatching(mFiles, mMask, this); in startWatching()
276 if (mDescriptors != null) { in stopWatching()
277 s_observerThread.stopWatching(mDescriptors); in stopWatching()
278 mDescriptors = null; in stopWatching()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java35 private final ArrayList<UsbDescriptor> mDescriptors; field in UsbDescriptorParser
52 mDescriptors = descriptors; in UsbDescriptorParser()
63 mDescriptors = new ArrayList<UsbDescriptor>(DESCRIPTORS_ALLOC_SIZE); in UsbDescriptorParser()
239 mDescriptors.add(descriptor); in parseDescriptors()
244 Log.d(TAG, "parseDescriptors() - end " + mDescriptors.size() + " descriptors."); in parseDescriptors()
268 return mDescriptors; in getDescriptors()
292 for (UsbDescriptor descriptor : mDescriptors) { in getDescriptors()
305 for (UsbDescriptor descriptor : mDescriptors) { in getInterfaceDescriptorsForClass()
327 for (UsbDescriptor descriptor : mDescriptors) { in getACInterfaceDescriptors()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java110 final byte[] mDescriptors; field in UsbHostManager.ConnectionRecord
116 mDescriptors = descriptors; in ConnectionRecord()
131 UsbDescriptorParser parser = new UsbDescriptorParser(mDeviceAddress, mDescriptors); in dump()
151 UsbDescriptorParser parser = new UsbDescriptorParser(mDeviceAddress, mDescriptors); in dumpShort()
167 UsbDescriptorParser parser = new UsbDescriptorParser(mDeviceAddress, mDescriptors); in dumpTree()
184 UsbDescriptorParser parser = new UsbDescriptorParser(mDeviceAddress, mDescriptors); in dumpList()
204 int length = mDescriptors.length; in dumpRaw()
211 .append(String.format("0x%02X", mDescriptors[dataOffset++])) in dumpRaw()
221 .append(String.format("0x%02X", mDescriptors[dataOffset++])) in dumpRaw()
455 current.mDescriptors); in usbDeviceRemoved()
/frameworks/av/media/codec2/sfplugin/tests/
DReflectedParamUpdater_test.cpp139 fill_descriptors_impl<SUPPORTED_TYPES>::fill(&mDescriptors); in ReflectedParamUpdaterTest()
143 std::vector<std::shared_ptr<C2ParamDescriptor>> mDescriptors; member in android::ReflectedParamUpdaterTest
153 updater.addParamDesc(mReflector, mDescriptors); in TEST_F()
199 updater.addParamDesc(mReflector, mDescriptors); in TEST_F()
258 updater.addParamDesc(mReflector, mDescriptors); in TEST_F()
327 updater.addParamDesc(mReflector, mDescriptors); in TEST_F()
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp208 mDescriptors.emplace(wp<IBinder>(asBinder), Descriptor{samplingArea, stopLayer, listener}); in addListener()
213 mDescriptors.erase(wp<IBinder>(IInterface::asBinder(listener))); in removeListener()
257 mDescriptors.erase(who); in binderDied()
341 if (mDescriptors.empty()) { in captureSample()
352 for (const auto& [listener, descriptor] : mDescriptors) { in captureSample()
DRegionSamplingThread.h124 std::unordered_map<wp<IBinder>, Descriptor, WpHash> mDescriptors GUARDED_BY(mSamplingMutex);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6337 field protected java.util.List<android.bluetooth.BluetoothGattDescriptor> mDescriptors;
/frameworks/base/api/
Dcurrent.txt8517 field protected java.util.List<android.bluetooth.BluetoothGattDescriptor> mDescriptors;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt11230 Landroid/bluetooth/BluetoothHidDeviceAppSdpSettings;->mDescriptors:[B