/aosp14/frameworks/base/core/java/android/net/ |
H A D | ScoredNetwork.java | 102 public final Bundle attributes; field in ScoredNetwork 151 @Nullable Bundle attributes) { in ScoredNetwork() argument 155 this.attributes = attributes; in ScoredNetwork() 166 attributes = in.readBundle(); in ScoredNetwork() 184 out.writeBundle(attributes); in writeToParcel() 197 && bundleEquals(attributes, that.attributes); in equals() 235 if (attributes != null && !attributes.isEmpty()) { in toString() 236 out.append(", attributes=" + attributes); in toString() 249 || (attributes != null in hasRankingScore() 277 if (attributes != null) { in calculateRankingScore() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/ |
H A D | DoubleShadowTextView.kt | 40 val attributes = regex 51 attributes.getDimension(R.styleable.DoubleShadowTextView_keyShadowBlur, 0f) 53 attributes.getDimension(R.styleable.DoubleShadowTextView_keyShadowOffsetX, 0f) 55 attributes.getDimension(R.styleable.DoubleShadowTextView_keyShadowOffsetY, 0f) 57 attributes.getFloat(R.styleable.DoubleShadowTextView_keyShadowAlpha, 0f) 61 attributes.getDimension(R.styleable.DoubleShadowTextView_ambientShadowBlur, 0f) 63 attributes.getDimension(R.styleable.DoubleShadowTextView_ambientShadowOffsetX, 0f) 67 attributes.getFloat(R.styleable.DoubleShadowTextView_ambientShadowAlpha, 0f) 76 attributes.getDimensionPixelSize( 81 attributes.getDimensionPixelSize( [all …]
|
H A D | DoubleShadowTextClock.kt | 60 var attributes: TypedArray = 74 attributes.getDimensionPixelSize( 79 attributes.getDimensionPixelSize( 84 attributes.getFloat(R.styleable.DoubleShadowTextClock_keyShadowAlpha, 0f) 93 attributes.getDimensionPixelSize( 98 attributes.getDimensionPixelSize( 103 attributes.getDimensionPixelSize( 108 attributes.getFloat(R.styleable.DoubleShadowTextClock_ambientShadowAlpha, 0f) 117 attributes.getBoolean(R.styleable.DoubleShadowTextClock_removeTextDescent, false) 119 attributes.getDimensionPixelSize( [all …]
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GraphReader.java | 288 private void addConnectCommand(Attributes attributes) { in addConnectCommand() argument 295 String sourceTag = attributes.getValue("source"); in addConnectCommand() 309 sourcePortName = attributes.getValue("sourcePort"); in addConnectCommand() 312 String targetTag = attributes.getValue("target"); in addConnectCommand() 326 targetPortName = attributes.getValue("targetPort"); in addConnectCommand() 329 String sourceSlotName = attributes.getValue("sourceSlot"); in addConnectCommand() 330 String targetSlotName = attributes.getValue("targetSlot"); in addConnectCommand() 355 String varName = getRequiredAttribute(attributes, "name"); in addVarCommand() 356 Object varValue = getAssignmentValue(attributes); in addVarCommand() 390 Object inputValue = getAssignmentValue(attributes); in addFilterInput() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioSystemAdapter.java | 196 getDevicesForAttributes(attributes, forVolume); in addOnDevicesForAttributesChangedListener() 304 @NonNull AudioAttributes attributes, boolean forVolume) { in getDevicesForAttributes() 306 return getDevicesForAttributesImpl(attributes, forVolume); in getDevicesForAttributes() 311 attributes, forVolume); in getDevicesForAttributes() 317 @NonNull AudioAttributes attributes, boolean forVolume) { in getDevicesForAttributesImpl() 328 + attrDeviceToDebugString(attributes, res)); in getDevicesForAttributesImpl() 342 + attrDeviceToDebugString(attributes, res) in getDevicesForAttributesImpl() 350 return AudioSystem.getDevicesForAttributes(attributes, forVolume); in getDevicesForAttributesImpl() 668 @NonNull AudioAttributes attributes, in setPreferredMixerAttributes() 683 @NonNull AudioAttributes attributes, int portId, int uid) { in clearPreferredMixerAttributes() [all …]
|
/aosp14/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
H A D | MDnsUtils.java | 39 Map<String,byte[]> attributes = networkDevice.getAttributes(); in isVendorPrinter() local 40 String product = getString(attributes.get(ATTRIBUTE__PRODUCT)); in isVendorPrinter() 41 String ty = getString(attributes.get(ATTRIBUTE__TY)); in isVendorPrinter() 42 String usbMfg = getString(attributes.get(ATTRIBUTE__USB_MFG)); in isVendorPrinter() 43 String mfg = getString(attributes.get(ATTRIBUTE__MFG)); in isVendorPrinter() 51 Map<String,byte[]> attributes = networkDevice.getAttributes(); in getVendor() local 52 vendor = getString(attributes.get(ATTRIBUTE__MFG)); in getVendor() 54 vendor = getString(attributes.get(ATTRIBUTE__USB_MFG)); in getVendor()
|
/aosp14/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
H A D | MDnsUtils.java | 36 Map<String, byte[]> attributes = networkDevice.getAttributes(); in isVendorPrinter() local 37 String product = getString(attributes.get(ATTRIBUTE__PRODUCT)); in isVendorPrinter() 38 String ty = getString(attributes.get(ATTRIBUTE__TY)); in isVendorPrinter() 39 String usbMfg = getString(attributes.get(ATTRIBUTE__USB_MFG)); in isVendorPrinter() 40 String usbMdl = getString(attributes.get(ATTRIBUTE__USB_MDL)); in isVendorPrinter() 41 String mfg = getString(attributes.get(ATTRIBUTE__MFG)); in isVendorPrinter() 51 Map<String, byte[]> attributes = networkDevice.getAttributes(); in getVendor() local 52 vendor = getString(attributes.get(ATTRIBUTE__MFG)); in getVendor() 54 vendor = getString(attributes.get(ATTRIBUTE__USB_MFG)); in getVendor()
|
/aosp14/frameworks/base/sax/tests/saxtests/src/android/sax/ |
H A D | SafeSaxTest.java | 58 public void start(Attributes attributes) { in start() argument 71 public void start(Attributes attributes) { in start() argument 244 public void start(Attributes attributes) { in newContentHandler() 254 public void start(Attributes attributes) { in newContentHandler() 264 public void start(Attributes attributes) { in newContentHandler() 302 public void start(Attributes attributes) { in newContentHandler() 338 public void start(Attributes attributes) { in start() argument 362 Attributes attributes) throws SAXException { in startElement() argument 389 String url = attributes.getValue("", "url"); in startElement() 397 String url = attributes.getValue("", "url"); in startElement() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/util/ |
H A D | Dialog.kt | 76 window.attributes.width == MATCH_PARENT && window.attributes.height == MATCH_PARENT 121 window.attributes.width, 122 window.attributes.height, 123 window.attributes.gravity 148 window.attributes.width != MATCH_PARENT || window.attributes.height != MATCH_PARENT 153 layoutParams.width = window.attributes.width 154 layoutParams.height = window.attributes.height
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A D | MeshSpecification.java | 290 @SuppressLint("ArrayReturn") @NonNull @Size(max = 8) Attribute[] attributes, in make() 295 long nativeMeshSpec = nativeMake(attributes, in make() 328 @SuppressLint("ArrayReturn") @NonNull @Size(max = 8) Attribute[] attributes, in make() 335 long nativeMeshSpec = nativeMakeWithCS(attributes, in make() 373 @SuppressLint("ArrayReturn") @NonNull @Size(max = 8) Attribute[] attributes, in make() 381 nativeMakeWithAlpha(attributes, vertexStride, varyings, vertexShader, in make() 397 private static native long nativeMake(Attribute[] attributes, int vertexStride, in nativeMake() argument 400 private static native long nativeMakeWithCS(Attribute[] attributes, int vertexStride, in nativeMakeWithCS() argument 403 private static native long nativeMakeWithAlpha(Attribute[] attributes, int vertexStride, in nativeMakeWithAlpha() argument
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_media_AudioAttributes.cpp | 108 JNIEnv* env, jobject *jAudioAttributes, const audio_attributes_t &attributes) in nativeAudioAttributesToJavaAudioAttributes() argument 118 attributes.usage); in nativeAudioAttributesToJavaAudioAttributes() 121 gAudioAttributesBuilderMethods.setSystemUsage, attributes.usage); in nativeAudioAttributesToJavaAudioAttributes() 124 attributes.usage); in nativeAudioAttributesToJavaAudioAttributes() 128 attributes.source); in nativeAudioAttributesToJavaAudioAttributes() 131 attributes.content_type); in nativeAudioAttributesToJavaAudioAttributes() 134 attributes.flags); in nativeAudioAttributesToJavaAudioAttributes() 137 env->NewStringUTF(attributes.tags)); in nativeAudioAttributesToJavaAudioAttributes() 159 JNIEnv* env, jobject *jAudioAttributes, const audio_attributes_t &attributes) in nativeToJava() argument 161 return nativeAudioAttributesToJavaAudioAttributes(env, jAudioAttributes, attributes); in nativeToJava()
|
/aosp14/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/ |
H A D | PrinterFilterSamsung.java | 90 Map<String,byte[]> attributes = resolvedDevice.getAttributes(); in getSamsungModelName() local 91 String usb_mfg = MDNSUtils.getString(attributes.get(ATTR_USB_MFG)); in getSamsungModelName() 93 usb_mfg = MDNSUtils.getString(attributes.get(ATTR_MFG)); in getSamsungModelName() 96 String usb_mdl = MDNSUtils.getString(attributes.get(ATTR_USB_MDL)); in getSamsungModelName() 98 usb_mdl = MDNSUtils.getString(attributes.get(ATTR_MDL)); in getSamsungModelName() 105 modelName = MDNSUtils.getString(attributes.get(ATTR_PRODUCT)); in getSamsungModelName() 107 modelName = MDNSUtils.getString(attributes.get(ATTR_TY)); in getSamsungModelName()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | Vibrator.java | 329 @Nullable VibrationAttributes attributes) { in setAlwaysOnEffect() argument 338 @Nullable VibrationEffect effect, @Nullable VibrationAttributes attributes) { in setAlwaysOnEffect() argument 372 public void vibrate(long milliseconds, AudioAttributes attributes) { in vibrate() argument 377 vibrate(effect, attributes); in vibrate() 438 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { in vibrate() argument 448 vibrate(VibrationEffect.createWaveform(pattern, repeat), attributes); in vibrate() local 480 public void vibrate(VibrationEffect vibe, AudioAttributes attributes) { in vibrate() argument 482 attributes == null in vibrate() 484 : new VibrationAttributes.Builder(attributes).build()); in vibrate() 501 vibrate(Process.myUid(), mPackageName, vibe, null, attributes); in vibrate() local [all …]
|
H A D | VibratorManager.java | 84 @Nullable CombinedVibration effect, @Nullable VibrationAttributes attributes) { in setAlwaysOnEffect() argument 125 @Nullable VibrationAttributes attributes) { in vibrate() argument 126 vibrate(Process.myUid(), mPackageName, effect, null, attributes); in vibrate() local 137 String reason, @Nullable VibrationAttributes attributes); in vibrate() argument
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | HwAudioSource.java | 56 private HwAudioSource(@NonNull AudioDeviceInfo device, @NonNull AudioAttributes attributes) { in HwAudioSource() argument 57 super(attributes, AudioPlaybackConfiguration.PLAYER_TYPE_HW_SOURCE); in HwAudioSource() 59 Preconditions.checkNotNull(attributes); in HwAudioSource() 62 mAudioAttributes = attributes; in HwAudioSource() 232 public @NonNull Builder setAudioAttributes(@NonNull AudioAttributes attributes) { in setAudioAttributes() argument 233 Preconditions.checkNotNull(attributes); in setAudioAttributes() 234 mAudioAttributes = attributes; in setAudioAttributes()
|
H A D | AsyncPlayer.java | 43 AudioAttributes attributes; field in AsyncPlayer.Command 47 return "{ code=" + code + " looping=" + looping + " attr=" + attributes in toString() 61 player.setAudioAttributes(cmd.attributes); in startSound() 194 @NonNull AudioAttributes attributes) throws IllegalArgumentException { in play() argument 195 if (context == null || uri == null || attributes == null) { in play() 204 cmd.attributes = attributes; in play()
|
/aosp14/frameworks/base/sax/java/android/sax/ |
H A 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()
|
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | MeshSpecification.cpp | 40 std::vector<Attribute> extractAttributes(JNIEnv* env, jobjectArray attributes) { in extractAttributes() argument 41 int size = env->GetArrayLength(attributes); in extractAttributes() 45 jobject attribute = env->GetObjectArrayElement(attributes, i); in extractAttributes() 74 auto attributes = extractAttributes(env, attributeArray); in Make() local 78 auto meshSpecResult = SkMeshSpecification::Make(attributes, vertexStride, varyings, in Make() 91 auto attributes = extractAttributes(env, attributeArray); in MakeWithCS() local 96 attributes, vertexStride, varyings, SkString(skVertexShader.c_str()), in MakeWithCS() 109 auto attributes = extractAttributes(env, attributeArray); in MakeWithAlpha() local 114 attributes, vertexStride, varyings, SkString(skVertexShader.c_str()), in MakeWithAlpha()
|
/aosp14/frameworks/base/telephony/java/android/telephony/ims/stub/ |
H A D | ImsRegistrationImplBase.java | 430 public final void onRegistered(@NonNull ImsRegistrationAttributes attributes) { in onRegistered() argument 431 updateToState(attributes, RegistrationManager.REGISTRATION_STATE_REGISTERED); in onRegistered() 434 c.onRegistered(attributes); in onRegistered() 459 public final void onRegistering(@NonNull ImsRegistrationAttributes attributes) { in onRegistering() argument 463 c.onRegistering(attributes); in onRegistering() 650 private void updateToState(ImsRegistrationAttributes attributes, int newState) { in updateToState() argument 652 mRegistrationAttributes = attributes; in updateToState() 688 ImsRegistrationAttributes attributes; in updateNewCallbackWithState() local 696 attributes = mRegistrationAttributes; in updateNewCallbackWithState() 709 c.onRegistering(attributes); in updateNewCallbackWithState() [all …]
|
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
H A D | UsbEndpointDescriptor.java | 161 int attributes = getAttributes(); in report() local 163 canvas.write("Attributes: " + ReportCanvas.getHexString(attributes) + " "); in report() 164 switch (attributes & UsbEndpointDescriptor.MASK_ATTRIBS_TRANSTYPE) { in report() 181 if ((attributes & UsbEndpointDescriptor.MASK_ATTRIBS_TRANSTYPE) in report() 185 switch (attributes & UsbEndpointDescriptor.MASK_ATTRIBS_SYNCTYPE) { in report() 200 switch (attributes & UsbEndpointDescriptor.MASK_ATTRIBS_USEAGE) { in report()
|
/aosp14/frameworks/base/core/java/android/hardware/usb/ |
H A 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);
|
/aosp14/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarVerifier.java | 218 Attributes attributes = manifest.getAttributes(name); in initEntry() local 220 if (attributes == null) { in initEntry() 247 final String hash = attributes.getValue(algorithm + "-Digest"); in initEntry() 390 Attributes attributes = new Attributes(); in verifyCertificate() local 393 StrictJarManifestReader im = new StrictJarManifestReader(sfBytes, attributes); in verifyCertificate() 402 attributes.getValue(SF_ATTRIBUTE_ANDROID_APK_SIGNED_NAME); in verifyCertificate() 450 if (attributes.get(Attributes.Name.SIGNATURE_VERSION) == null) { in verifyCertificate() 455 String createdBy = attributes.getValue("Created-By"); in verifyCertificate() 466 … if (!verify(attributes, digestAttribute, manifestBytes, 0, mainAttributesEnd, false, true)) { in verifyCertificate() 502 private boolean verify(Attributes attributes, String entry, byte[] data, in verify() argument [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | NotificationPlayer.java | 53 AudioAttributes attributes; field in NotificationPlayer.Command 57 return "{ code=" + code + " looping=" + looping + " attributes=" + attributes in toString() 95 if (mCmd.attributes == null) { in run() 96 mCmd.attributes = new AudioAttributes.Builder() in run() 101 player.setAudioAttributes(mCmd.attributes); in run() 118 focusGain, mCmd.attributes); in run() 119 audioManager.requestAudioFocus(null, mCmd.attributes, in run() 398 cmd.attributes = new AudioAttributes.Builder().setInternalLegacyStreamType(stream).build(); in play() 418 public void play(Context context, Uri uri, boolean looping, AudioAttributes attributes) { in play() argument 426 cmd.attributes = attributes; in play()
|
/aosp14/frameworks/base/core/java/android/text/ |
H A D | Html.java | 794 startLi(mSpannableStringBuilder, attributes); in handleStartTag() 816 startFont(mSpannableStringBuilder, attributes); in handleStartTag() 822 startA(mSpannableStringBuilder, attributes); in handleStartTag() 974 String style = attributes.getValue("", "style"); in startBlockElement() 1010 startCssStyle(text, attributes); in startLi() 1088 String style = attributes.getValue("", "style"); in startCssStyle() 1134 String src = attributes.getValue("", "src"); in startImg() 1155 String color = attributes.getValue("", "color"); in startFont() 1156 String face = attributes.getValue("", "face"); in startFont() 1184 String href = attributes.getValue("", "href"); in startA() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
H A D | HdmiEarcLocalDeviceTxTest.java | 154 AudioDeviceAttributes attributes = mAudioAttributesCaptor.getValue(); in earcGetsConnected_capsReportedInTime_sad() local 155 List<AudioDescriptor> descriptors = attributes.getAudioDescriptors(); in earcGetsConnected_capsReportedInTime_sad() 186 AudioDeviceAttributes attributes = mAudioAttributesCaptor.getValue(); in earcGetsConnected_capsReportedInTime_sad_sadb() local 187 List<AudioDescriptor> descriptors = attributes.getAudioDescriptors(); in earcGetsConnected_capsReportedInTime_sad_sadb() 245 AudioDeviceAttributes attributes = mAudioAttributesCaptor.getValue(); in earcGetsConnected_capsReportedInTime_sad_sadb_vsadb() local 246 List<AudioDescriptor> descriptors = attributes.getAudioDescriptors(); in earcGetsConnected_capsReportedInTime_sad_sadb_vsadb() 276 AudioDeviceAttributes attributes = mAudioAttributesCaptor.getValue(); in earcGetsConnected_capsReportedTooLate() local 277 List<AudioDescriptor> descriptors = attributes.getAudioDescriptors(); in earcGetsConnected_capsReportedTooLate() 295 AudioDeviceAttributes attributes = mAudioAttributesCaptor.getValue(); in earcGetsConnected_earcGetsDisconnectedBeforeCapsReported() local 296 List<AudioDescriptor> descriptors = attributes.getAudioDescriptors(); in earcGetsConnected_earcGetsDisconnectedBeforeCapsReported()
|