/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphReader.java | 278 private void addImportCommand(Attributes attributes) throws SAXException { in addImportCommand() argument 279 String packageName = getRequiredAttribute(attributes, "package"); in addImportCommand() 283 private void addLibraryCommand(Attributes attributes) throws SAXException { in addLibraryCommand() argument 284 String libraryName = getRequiredAttribute(attributes, "name"); in addLibraryCommand() 288 private void addConnectCommand(Attributes attributes) { in addConnectCommand() argument 295 String sourceTag = attributes.getValue("source"); in addConnectCommand() 308 sourceFilterName = attributes.getValue("sourceFilter"); in addConnectCommand() 309 sourcePortName = attributes.getValue("sourcePort"); in addConnectCommand() 312 String targetTag = attributes.getValue("target"); in addConnectCommand() 325 targetFilterName = attributes.getValue("targetFilter"); in addConnectCommand() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Vibrator.java | 79 public void vibrate(long milliseconds, AudioAttributes attributes) { in vibrate() argument 80 vibrate(Process.myUid(), mPackageName, milliseconds, attributes); in vibrate() local 131 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { in vibrate() argument 132 vibrate(Process.myUid(), mPackageName, pattern, repeat, attributes); in vibrate() local 141 AudioAttributes attributes); in vibrate() argument 149 AudioAttributes attributes); in vibrate() argument
|
D | SystemVibrator.java | 62 public void vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) { in vibrate() argument 68 mService.vibrate(uid, opPkg, milliseconds, usageForAttributes(attributes), mToken); in vibrate() 79 AudioAttributes attributes) { in vibrate() argument 89 mService.vibratePattern(uid, opPkg, pattern, repeat, usageForAttributes(attributes), in vibrate() 99 private static int usageForAttributes(AudioAttributes attributes) { in usageForAttributes() argument 100 return attributes != null ? attributes.getUsage() : AudioAttributes.USAGE_UNKNOWN; in usageForAttributes()
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
D | SafeSaxTest.java | 58 public void start(Attributes attributes) { in start() argument 71 public void start(Attributes attributes) { in start() argument 245 public void start(Attributes attributes) { in newContentHandler() 246 String url = attributes.getValue("", "url"); in newContentHandler() 255 public void start(Attributes attributes) { in newContentHandler() 256 String url = attributes.getValue("", "url"); in newContentHandler() 265 public void start(Attributes attributes) { in newContentHandler() 266 String url = attributes.getValue("", "url"); in newContentHandler() 303 public void start(Attributes attributes) { in newContentHandler() 304 String seconds = attributes.getValue("", "seconds"); in newContentHandler() [all …]
|
/frameworks/compile/libbcc/lib/Support/ |
D | CompilerConfig.cpp | 125 std::vector<std::string> attributes; in initializeArch() local 128 attributes.push_back("+vfp3"); in initializeArch() 130 attributes.push_back("+d16"); in initializeArch() 137 attributes.push_back("+neon"); in initializeArch() 140 attributes.push_back("-neon"); in initializeArch() 141 attributes.push_back("-neonfp"); in initializeArch() 148 attributes.push_back("+hwdiv-arm"); in initializeArch() 151 attributes.push_back("+hwdiv"); in initializeArch() 158 attributes.push_back("+fp16"); in initializeArch() 160 setFeatureString(attributes); in initializeArch()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/ |
D | SetterStore.java | 60 if (o1.attributes.length != o2.attributes.length) { 61 return o2.attributes.length - o1.attributes.length; 263 public void addBindingAdapter(ProcessingEnvironment processingEnv, String[] attributes, in addBindingAdapter() argument 265 L.d("STORE add multi-value BindingAdapter %d %s", attributes.length, bindingMethod); in addBindingAdapter() 267 attributes, takesComponent); in addBindingAdapter() 269 attributes.length, takesComponent); in addBindingAdapter() 273 private static String[] stripAttributes(String[] attributes) { in stripAttributes() argument 274 String[] strippedAttributes = new String[attributes.length]; in stripAttributes() 275 for (int i = 0; i < attributes.length; i++) { in stripAttributes() 276 strippedAttributes[i] = stripNamespace(attributes[i]); in stripAttributes() [all …]
|
/frameworks/base/sax/java/android/sax/ |
D | RootElement.java | 111 Attributes attributes) throws SAXException { in startElement() argument 116 startRoot(uri, localName, attributes); in startElement() 134 start(child, attributes); in startElement() 140 void startRoot(String uri, String localName, Attributes attributes) in startRoot() argument 150 start(root, attributes); in startRoot() 153 void start(Element e, Attributes attributes) { in start() argument 158 e.startElementListener.start(attributes); in start()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 101 status_t AudioPolicyMixCollection::getOutputForAttr(audio_attributes_t attributes, in getOutputForAttr() argument 111 mix->mCriteria[j].mAttr.mUsage == attributes.usage) || in getOutputForAttr() 113 mix->mCriteria[j].mAttr.mUsage != attributes.usage)) { in getOutputForAttr() 117 if (strncmp(attributes.tags, "addr=", strlen("addr=")) == 0 && in getOutputForAttr() 118 strncmp(attributes.tags + strlen("addr="), in getOutputForAttr() 126 if (attributes.usage == AUDIO_USAGE_VIRTUAL_SOURCE && in getOutputForAttr() 127 strncmp(attributes.tags, "addr=", strlen("addr=")) == 0 && in getOutputForAttr() 128 strncmp(attributes.tags + strlen("addr="), in getOutputForAttr()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
D | XMLNode.java | 23 public XMLNode(XMLNode parent, String tag, Attributes attributes) throws SAXException { in XMLNode() argument 28 if (attributes.getLength() > 0) { in XMLNode() 29 for (int n = 0; n < attributes.getLength(); n++) in XMLNode() 30 mAttributes.put(attributes.getQName(n), new NodeAttribute(attributes.getQName(n), in XMLNode() 31 attributes.getType(n), attributes.getValue(n))); in XMLNode()
|
D | SOAPParser.java | 68 public void startElement(String uri, String localName, String qName, Attributes attributes) in startElement() argument 72 mCurrent = new XMLNode(mCurrent, qName, attributes); in startElement() 111 String[] attributes = sSoapAttributes.get(node.getTag()); in extractFields() local 113 if (attributes != null) { in extractFields() 114 if (attributes.length == 0) { in extractFields() 118 for (String attribute : attributes) { in extractFields()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
D | PdfManipulationService.java | 106 PrintAttributes attributes, ParcelFileDescriptor destination) { in renderPage() argument 117 attributes.getMediaSize().getWidthMils()); in renderPage() 119 attributes.getMediaSize().getHeightMils()); in renderPage() 122 final boolean contentLandscape = !attributes.getMediaSize().isPortrait(); in renderPage() 145 Margins minMargins = attributes.getMinMargins(); in renderPage() 255 public void applyPrintAttributes(PrintAttributes attributes) { in applyPrintAttributes() argument 266 final boolean contentPortrait = attributes.getMediaSize().isPortrait(); in applyPrintAttributes() 273 ? pointsFromMils(attributes.getMediaSize().getWidthMils()) in applyPrintAttributes() 274 : pointsFromMils(attributes.getMediaSize().getHeightMils()); in applyPrintAttributes() 276 ? pointsFromMils(attributes.getMediaSize().getHeightMils()) in applyPrintAttributes() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AsyncPlayer.java | 42 AudioAttributes attributes; field in AsyncPlayer.Command 46 return "{ code=" + code + " looping=" + looping + " attr=" + attributes in toString() 60 player.setAudioAttributes(cmd.attributes); in startSound() 192 @NonNull AudioAttributes attributes) throws IllegalArgumentException { in play() argument 193 if (context == null || uri == null || attributes == null) { in play() 202 cmd.attributes = attributes; in play()
|
D | SoundPool.java | 156 private SoundPool(int maxStreams, AudioAttributes attributes) { in SoundPool() argument 158 if (native_setup(new WeakReference<SoundPool>(this), maxStreams, attributes) != 0) { in SoundPool() 162 mAttributes = attributes; in SoundPool() 516 Object/*AudioAttributes*/ attributes); in native_setup() 597 public Builder setAudioAttributes(AudioAttributes attributes) in setAudioAttributes() argument 599 if (attributes == null) { in setAudioAttributes() 602 mAudioAttributes = attributes; in setAudioAttributes()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | NotificationPlayer.java | 49 AudioAttributes attributes; field in NotificationPlayer.Command 53 return "{ code=" + code + " looping=" + looping + " attributes=" + attributes in toString() 83 player.setAudioAttributes(mCmd.attributes); in run() 95 AudioAttributes.toLegacyStreamType(mCmd.attributes), in run() 99 AudioAttributes.toLegacyStreamType(mCmd.attributes), in run() 296 cmd.attributes = new AudioAttributes.Builder().setInternalLegacyStreamType(stream).build(); in play() 316 public void play(Context context, Uri uri, boolean looping, AudioAttributes attributes) { in play() argument 323 cmd.attributes = attributes; in play()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbEndpoint.java | 43 public UsbEndpoint(int address, int attributes, int maxPacketSize, int interval) { in UsbEndpoint() argument 45 mAttributes = attributes; in UsbEndpoint() 140 int attributes = in.readInt(); 143 return new UsbEndpoint(address, attributes, maxPacketSize, interval);
|
D | UsbConfiguration.java | 59 public UsbConfiguration(int id, String name, int attributes, int maxPower) { in UsbConfiguration() argument 62 mAttributes = attributes; in UsbConfiguration() 158 int attributes = in.readInt(); 161 UsbConfiguration configuration = new UsbConfiguration(id, name, attributes, maxPower);
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcTestLib.cpp | 559 } attributes[] = { in hwcTestColor2Pixel() local 569 for (attrib = attributes; attrib < attributes + NUMA(attributes); in hwcTestColor2Pixel() 573 if (attrib >= attributes + NUMA(attributes)) { in hwcTestColor2Pixel() 611 } attributes[] = { in hwcTestSetPixel() local 638 for (attrib = attributes; attrib < attributes + NUMA(attributes); in hwcTestSetPixel() 642 if (attrib >= attributes + NUMA(attributes)) { in hwcTestSetPixel() 802 } attributes[] = { in hwcTestColorConvert() local 818 for (fromAttrib = attributes; fromAttrib < attributes + NUMA(attributes); in hwcTestColorConvert() 822 if (fromAttrib >= attributes + NUMA(attributes)) { in hwcTestColorConvert() 829 for (toAttrib = attributes; toAttrib < attributes + NUMA(attributes); in hwcTestColorConvert() [all …]
|
/frameworks/native/opengl/tests/configdump/ |
D | configdump.cpp | 29 Attribute attributes[] = { variable 79 for (int attr = 0 ; attr<sizeof(attributes)/sizeof(Attribute) ; attr++) { in main() 81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value); in main() 82 printf("\t%-32s: %10d (0x%08x)\n", attributes[attr].name, value, value); in main()
|
/frameworks/base/drm/java/android/drm/ |
D | DrmEvent.java | 63 HashMap<String, Object> attributes) { in DrmEvent() argument 71 if (null != attributes) { in DrmEvent() 72 mAttributes = attributes; in DrmEvent()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | NavigationBar.java | 45 TypedArray attributes = context.obtainStyledAttributes( in getNavbarTheme() local 50 int theme = attributes.getResourceId(0, 0); in getNavbarTheme() 56 Color.colorToHSV(attributes.getColor(1, 0), foregroundHsv); in getNavbarTheme() 57 Color.colorToHSV(attributes.getColor(2, 0), backgroundHsv); in getNavbarTheme() 61 attributes.recycle(); in getNavbarTheme()
|
/frameworks/opt/setupwizard/navigationbar/src/com/android/setupwizard/navigationbar/ |
D | SetupWizardNavBar.java | 126 TypedArray attributes = getActivity().obtainStyledAttributes( in getNavbarTheme() local 131 int theme = attributes.getResourceId(0, 0); in getNavbarTheme() 137 Color.colorToHSV(attributes.getColor(1, 0), foregroundHsv); in getNavbarTheme() 138 Color.colorToHSV(attributes.getColor(2, 0), backgroundHsv); in getNavbarTheme() 143 attributes.recycle(); in getNavbarTheme()
|
/frameworks/base/core/java/android/print/pdf/ |
D | PrintedPdfDocument.java | 84 public PrintedPdfDocument(Context context, PrintAttributes attributes) { in PrintedPdfDocument() argument 85 MediaSize mediaSize = attributes.getMediaSize(); in PrintedPdfDocument() 94 Margins minMargins = attributes.getMinMargins(); in PrintedPdfDocument()
|
/frameworks/base/core/java/android/printservice/ |
D | PrintServiceInfo.java | 128 TypedArray attributes = resources.obtainAttributes(allAttributes, in create() local 131 settingsActivityName = attributes.getString( in create() 134 addPrintersActivityName = attributes.getString( in create() 137 advancedPrintOptionsActivityName = attributes.getString(com.android.internal in create() 140 attributes.recycle(); in create()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | RemotePrintDocument.java | 188 public boolean update(PrintAttributes attributes, PageRange[] pages, boolean preview) { in update() argument 204 if (!mUpdateSpec.hasSameConstraints(attributes, preview)) { in update() 215 PrintAttributes oldAttributes = mDocumentInfo.attributes != null in update() 216 ? mDocumentInfo.attributes : new PrintAttributes.Builder().build(); in update() 218 mDocumentInfo, oldAttributes, attributes, preview, mCommandResultCallback); in update() 250 mUpdateSpec.update(attributes, preview, pages); in update() 482 final PrintAttributes attributes = new PrintAttributes.Builder().build(); field in RemotePrintDocument.UpdateSpec 486 public void update(PrintAttributes attributes, boolean preview, in update() argument 488 this.attributes.copyFrom(attributes); in update() 494 attributes.clear(); in reset() [all …]
|
/frameworks/wilhelm/src/ |
D | locks.c | 162 void object_unlock_exclusive_attributes_(IObject *thiz, unsigned attributes, in object_unlock_exclusive_attributes_() argument 165 void object_unlock_exclusive_attributes(IObject *thiz, unsigned attributes) in object_unlock_exclusive_attributes_() 191 unsigned asynchronous = attributes; in object_unlock_exclusive_attributes_() 192 while (attributes) { in object_unlock_exclusive_attributes_() 194 unsigned bit = ctz(attributes); in object_unlock_exclusive_attributes_() 202 attributes &= ~(1 << bit); in object_unlock_exclusive_attributes_()
|