/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/ |
D | UsbDescriptorsTree.java | 16 package com.android.server.usb.descriptors.tree; 18 import com.android.server.usb.descriptors.UsbACInterface; 19 import com.android.server.usb.descriptors.UsbConfigDescriptor; 20 import com.android.server.usb.descriptors.UsbDescriptor; 21 import com.android.server.usb.descriptors.UsbDescriptorParser; 22 import com.android.server.usb.descriptors.UsbDeviceDescriptor; 23 import com.android.server.usb.descriptors.UsbEndpointDescriptor; 24 import com.android.server.usb.descriptors.UsbInterfaceDescriptor; 25 import com.android.server.usb.descriptors.report.ReportCanvas; 102 ArrayList<UsbDescriptor> descriptors = parser.getDescriptors(); in parse() local [all …]
|
D | UsbDescriptorsTreeNode.java | 16 package com.android.server.usb.descriptors.tree; 18 import com.android.server.usb.descriptors.report.ReportCanvas; 19 import com.android.server.usb.descriptors.report.Reporting;
|
D | UsbDescriptorsEndpointNode.java | 16 package com.android.server.usb.descriptors.tree; 18 import com.android.server.usb.descriptors.UsbEndpointDescriptor; 19 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbDescriptorsACInterfaceNode.java | 16 package com.android.server.usb.descriptors.tree; 18 import com.android.server.usb.descriptors.UsbACInterface; 19 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbDescriptorsDeviceNode.java | 16 package com.android.server.usb.descriptors.tree; 18 import com.android.server.usb.descriptors.UsbDeviceDescriptor; 19 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbDescriptorsConfigNode.java | 16 package com.android.server.usb.descriptors.tree; 18 import com.android.server.usb.descriptors.UsbConfigDescriptor; 19 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbDescriptorsInterfaceNode.java | 16 package com.android.server.usb.descriptors.tree; 18 import com.android.server.usb.descriptors.UsbInterfaceDescriptor; 19 import com.android.server.usb.descriptors.report.ReportCanvas;
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | type_info_test_helper.cc | 58 const vector<const Descriptor*>& descriptors) { in ResetTypeInfo() argument 61 const DescriptorPool* pool = descriptors[0]->file()->pool(); in ResetTypeInfo() 62 for (int i = 1; i < descriptors.size(); ++i) { in ResetTypeInfo() 63 GOOGLE_CHECK(pool == descriptors[i]->file()->pool()) in ResetTypeInfo() 76 vector<const Descriptor*> descriptors; in ResetTypeInfo() local 77 descriptors.push_back(descriptor); in ResetTypeInfo() 78 ResetTypeInfo(descriptors); in ResetTypeInfo() 83 vector<const Descriptor*> descriptors; in ResetTypeInfo() local 84 descriptors.push_back(descriptor1); in ResetTypeInfo() 85 descriptors.push_back(descriptor2); in ResetTypeInfo() [all …]
|
D | protostream_objectwriter_test.cc | 113 vector<const Descriptor*> descriptors; in BaseProtoStreamObjectWriterTest() local 114 descriptors.push_back(descriptor); in BaseProtoStreamObjectWriterTest() 115 ResetTypeInfo(descriptors); in BaseProtoStreamObjectWriterTest() 119 vector<const Descriptor*> descriptors) in BaseProtoStreamObjectWriterTest() argument 124 ResetTypeInfo(descriptors); in BaseProtoStreamObjectWriterTest() 127 void ResetTypeInfo(vector<const Descriptor*> descriptors) { in ResetTypeInfo() argument 128 GOOGLE_CHECK(!descriptors.empty()) << "Must have at least one descriptor!"; in ResetTypeInfo() 129 helper_.ResetTypeInfo(descriptors); in ResetTypeInfo() 130 ow_.reset(helper_.NewProtoWriter(GetTypeUrl(descriptors[0]), output_.get(), in ResetTypeInfo() 135 vector<const Descriptor*> descriptors; in ResetTypeInfo() local [all …]
|
/frameworks/base/tests/UsbTests/res/raw/ |
D | readme.txt | 1 The usbdescriptors_ files contain raw USB descriptors from the Google 6 - The descriptors when the jack is disconnected. 9 - The descriptors when the jack is connected to 32-ohm headphones, 17 - The descriptors when the jack is connected to a PC line-in jack. 24 - The descriptors when a headset with microphone and low-impedance
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | UsbDescriptorParser.java | 16 package com.android.server.usb.descriptors; 50 public UsbDescriptorParser(String deviceAddr, ArrayList<UsbDescriptor> descriptors) { in UsbDescriptorParser() argument 52 mDescriptors = descriptors; in UsbDescriptorParser() 54 mDeviceDescriptor = (UsbDeviceDescriptor) descriptors.get(0); in UsbDescriptorParser() 212 public void parseDescriptors(byte[] descriptors) { in parseDescriptors() argument 217 ByteStream stream = new ByteStream(descriptors); in parseDescriptors() 481 ArrayList<UsbDescriptor> descriptors = in hasAudioInterface() local 483 return !descriptors.isEmpty(); in hasAudioInterface() 490 ArrayList<UsbDescriptor> descriptors = in hasHIDInterface() local 492 return !descriptors.isEmpty(); in hasHIDInterface() [all …]
|
D | UsbBinaryParser.java | 16 package com.android.server.usb.descriptors; 21 import com.android.server.usb.descriptors.report.UsbStrings; 60 public void parseDescriptors(UsbDeviceConnection connection, byte[] descriptors, in parseDescriptors() argument 64 ByteStream stream = new ByteStream(descriptors); in parseDescriptors()
|
D | Usb10ASGeneral.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas; 19 import com.android.server.usb.descriptors.report.UsbStrings;
|
D | UsbACTerminal.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas; 19 import com.android.server.usb.descriptors.report.UsbStrings;
|
D | UsbASFormat.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas; 19 import com.android.server.usb.descriptors.report.UsbStrings;
|
D | UsbDescriptor.java | 16 package com.android.server.usb.descriptors; 22 import com.android.server.usb.descriptors.report.ReportCanvas; 23 import com.android.server.usb.descriptors.report.Reporting; 24 import com.android.server.usb.descriptors.report.UsbStrings;
|
D | UsbMSMidiHeader.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbMSMidiInputJack.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbMSMidiOutputJack.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbACHeaderInterface.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas;
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothHidDeviceAppSdpSettings.java | 56 String name, String description, String provider, byte subclass, byte[] descriptors) { in BluetoothHidDeviceAppSdpSettings() argument 62 if (descriptors == null || descriptors.length > MAX_DESCRIPTOR_SIZE) { in BluetoothHidDeviceAppSdpSettings() 67 mDescriptors = descriptors.clone(); in BluetoothHidDeviceAppSdpSettings()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteConnection.java | 132 FileDescriptor[] descriptors; in processOneCommand() local 138 descriptors = mSocket.getAncillaryFileDescriptors(); in processOneCommand() 281 return handleChildProc(parsedArgs, descriptors, childPipeFd, in processOneCommand() 288 handleParentProc(pid, descriptors, serverPipeFd); in processOneCommand() 560 private Runnable handleChildProc(ZygoteArguments parsedArgs, FileDescriptor[] descriptors, in handleChildProc() argument 569 if (descriptors != null) { in handleChildProc() 571 Os.dup2(descriptors[0], STDIN_FILENO); in handleChildProc() 572 Os.dup2(descriptors[1], STDOUT_FILENO); in handleChildProc() 573 Os.dup2(descriptors[2], STDERR_FILENO); in handleChildProc() 575 for (FileDescriptor fd: descriptors) { in handleChildProc() [all …]
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | EffectsTest.java | 94 AudioEffect.Descriptor[] descriptors = AudioEffect.queryEffects(); in onCreate() local 97 list.setAdapter(new EffectListAdapter(this, descriptors)); in onCreate() 107 public EffectListAdapter(Context context, AudioEffect.Descriptor[] descriptors) { in EffectListAdapter() argument 110 mDescriptors = descriptors; in EffectListAdapter() 150 public EffectView(Context context, AudioEffect.Descriptor[] descriptors) { in EffectView() argument 154 mDescriptors = descriptors; in EffectView()
|
/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
D | UsbDescriptorParserTests.java | 32 import com.android.server.usb.descriptors.UsbDescriptorParser; 58 byte[] descriptors = null; in loadParser() 60 descriptors = ByteStreams.toByteArray(is); in loadParser() 66 UsbDescriptorParser parser = new UsbDescriptorParser("test-usb-addr", descriptors); in loadParser()
|
/frameworks/native/services/surfaceflinger/ |
D | RegionSamplingThread.cpp | 318 const std::vector<RegionSamplingThread::Descriptor>& descriptors, uint32_t orientation) { in sampleBuffer() argument 328 std::vector<float> lumas(descriptors.size()); in sampleBuffer() 329 std::transform(descriptors.begin(), descriptors.end(), lumas.begin(), in sampleBuffer() 350 std::vector<RegionSamplingThread::Descriptor> descriptors; in captureSample() local 354 descriptors.emplace_back(descriptor); in captureSample() 391 for (const auto& [area, stopLayer, listener] : descriptors) { in captureSample() 410 for (const auto& [area, stopLayer, listener] : descriptors) { in captureSample() 439 for (const auto& descriptor : descriptors) { in captureSample()
|