Home
last modified time | relevance | path

Searched refs:getAttributes (Results 1 – 25 of 220) sorted by relevance

123456789

/aosp12/frameworks/compile/mclinker/lib/MC/
H A DCommandAction.cpp56 if (pBuilder.getAttributes().isStatic()) { in activate()
127 pBuilder.getAttributes().setWholeArchive(); in activate()
139 pBuilder.getAttributes().unsetWholeArchive(); in activate()
151 pBuilder.getAttributes().setAsNeeded(); in activate()
163 pBuilder.getAttributes().unsetAsNeeded(); in activate()
175 pBuilder.getAttributes().setAddNeeded(); in activate()
187 pBuilder.getAttributes().unsetAddNeeded(); in activate()
199 pBuilder.getAttributes().setDynamic(); in activate()
210 pBuilder.getAttributes().setStatic(); in activate()
/aosp12/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DSystemBarHelperTest.java94 "View visibility should be 0x1456", 0x1456, window.getAttributes().systemUiVisibility); in testAddVisibilityFlagWindow()
106 "View visibility should be 0x56", 0x56, window.getAttributes().systemUiVisibility); in testRemoveVisibilityFlagWindow()
119 window.getAttributes().systemUiVisibility); in testHideSystemBarsWindow()
140 window.getAttributes().systemUiVisibility); in testShowSystemBarsWindow()
178 final WindowManager.LayoutParams attrs = dialog.getWindow().getAttributes(); in testHideSystemBarsDialog()
188 dialog.getWindow().getAttributes().systemUiVisibility); in testHideSystemBarsDialog()
198 assertThat(window.getAttributes().systemUiVisibility) in testSetBackButtonVisibleTrue()
213 assertThat(window.getAttributes().systemUiVisibility) in testSetBackButtonVisibleFalse()
234 WindowManager.LayoutParams attrs = window.getAttributes(); in createWindowWithSystemUiVisibility()
/aosp12/packages/modules/Connectivity/tests/CoreTests/android/core/
H A DNsdServiceInfoTest.java120 assertTrue(attributedInfo.getAttributes().keySet().contains("adorable")); in testParcel()
121 String sound = new String(attributedInfo.getAttributes().get("sound"), "UTF-8"); in testParcel()
123 byte[] edgeCases = attributedInfo.getAttributes().get("edge cases"); in testParcel()
125 assertFalse(attributedInfo.getAttributes().keySet().contains("sticky")); in testParcel()
148 Map<String, byte[]> originalMap = original.getAttributes(); in checkParcelable()
149 Map<String, byte[]> resultMap = result.getAttributes(); in checkParcelable()
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DNsdManagerTest.java433 assertEquals(8, mResolvedService.getAttributes().size()); in testNDSManager()
434 assertTrue(mResolvedService.getAttributes().containsKey("booleanAttr")); in testNDSManager()
435 assertNull(mResolvedService.getAttributes().get("booleanAttr")); in testNDSManager()
438 assertEquals(" value ", new String(mResolvedService.getAttributes() in testNDSManager()
440 assertEquals(String256.substring(9), new String(mResolvedService.getAttributes() in testNDSManager()
443 mResolvedService.getAttributes().get("binaryDataAttr"))); in testNDSManager()
444 assertTrue(mResolvedService.getAttributes().containsKey("nullBinaryDataAttr")); in testNDSManager()
445 assertNull(mResolvedService.getAttributes().get("nullBinaryDataAttr")); in testNDSManager()
446 assertTrue(mResolvedService.getAttributes().containsKey("emptyBinaryDataAttr")); in testNDSManager()
447 assertNull(mResolvedService.getAttributes().get("emptyBinaryDataAttr")); in testNDSManager()
[all …]
/aosp12/packages/modules/Connectivity/tests/unit/java/android/net/nsd/
H A DNsdServiceInfoTest.java149 assertTrue(attributedInfo.getAttributes().keySet().contains("adorable")); in testParcel()
150 String sound = new String(attributedInfo.getAttributes().get("sound"), "UTF-8"); in testParcel()
152 byte[] edgeCases = attributedInfo.getAttributes().get("edge cases"); in testParcel()
154 assertFalse(attributedInfo.getAttributes().keySet().contains("sticky")); in testParcel()
177 Map<String, byte[]> originalMap = original.getAttributes(); in checkParcelable()
178 Map<String, byte[]> resultMap = result.getAttributes(); in checkParcelable()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
H A DPhoneWindowTest.java66 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_unset()
75 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_default()
84 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_shortEdges()
93 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_never()
102 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_always()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DSystemUIDialog.java94 WindowManager.LayoutParams attrs = getWindow().getAttributes(); in SystemUIDialog()
211 dialog.getWindow().getAttributes().privateFlags |= in setShowForAllUsers()
214 dialog.getWindow().getAttributes().privateFlags &= in setShowForAllUsers()
223 window.getAttributes().setFitInsetsTypes( in setWindowOnTop()
224 window.getAttributes().getFitInsetsTypes() & ~Type.statusBars()); in setWindowOnTop()
233 window.getAttributes().setFitInsetsTypes( in applyFlags()
234 window.getAttributes().getFitInsetsTypes() & ~Type.statusBars()); in applyFlags()
/aosp12/packages/services/Car/service/src/com/android/car/audio/
H A DCarAudioFocus.java106 mDelayedRequest.getAttributes()); in abandonNonCriticalFocusLocked()
168 + " with usage " + afi.getAttributes().usageToString()); in evaluateFocusRequestLocked()
171 int audioContext = CarAudioContext.getContextForAttributes(afi.getAttributes()); in evaluateFocusRequestLocked()
190 int requestedContext = CarAudioContext.getContextForAttributes(afi.getAttributes()); in evaluateFocusRequestLocked()
204 mDelayedRequest.getAttributes()); in evaluateFocusRequestLocked()
212 mDelayedRequest.getAttributes().usageToString(), in evaluateFocusRequestLocked()
213 afi.getAttributes().usageToString())); in evaluateFocusRequestLocked()
253 entry.getAudioFocusInfo().getAttributes().usageToString(), in evaluateFocusRequestLocked()
254 afi.getAttributes().usageToString())); in evaluateFocusRequestLocked()
299 entry.getAudioFocusInfo().getAttributes().usageToString(), in evaluateFocusRequestLocked()
[all …]
H A DFocusEntry.java93 Bundle bundle = mAudioFocusInfo.getAttributes().getBundle(); in receivesDuckEvents()
111 writer.printf("%s - %s\n", getClientId(), mAudioFocusInfo.getAttributes().usageToString()); in dump()
/aosp12/frameworks/base/core/java/android/view/
H A DWindow.java1055 final WindowManager.LayoutParams attrs = getAttributes(); in setLayout()
1073 final WindowManager.LayoutParams attrs = getAttributes(); in setGravity()
1085 final WindowManager.LayoutParams attrs = getAttributes(); in setType()
1102 final WindowManager.LayoutParams attrs = getAttributes(); in setFormat()
1121 final WindowManager.LayoutParams attrs = getAttributes(); in setWindowAnimations()
1134 final WindowManager.LayoutParams attrs = getAttributes(); in setSoftInputMode()
1216 final WindowManager.LayoutParams attrs = getAttributes(); in setFlags()
1223 final WindowManager.LayoutParams attrs = getAttributes(); in setPrivateFlags()
1252 final WindowManager.LayoutParams attrs = getAttributes(); in setColorMode()
1309 return getAttributes().getColorMode(); in getColorMode()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DGlobalActionsImpl.java111 window.getAttributes().systemUiVisibility |= View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN in showShutdownUi()
116 window.getAttributes().width = ViewGroup.LayoutParams.MATCH_PARENT; in showShutdownUi()
117 window.getAttributes().height = ViewGroup.LayoutParams.MATCH_PARENT; in showShutdownUi()
118 window.getAttributes().layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS; in showShutdownUi()
120 window.getAttributes().setFitInsetsTypes(0 /* types */); in showShutdownUi()
/aosp12/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
H A DHPRecommendationPlugin.java90 String pdls = MDnsUtils.getString(nsdServiceInfo.getAttributes().get(PDL_ATTRIBUTE)); in matchesCriteria()
91 …tils.equals(ATTRIBUTE_VALUE__TRUE, MDnsUtils.getString(nsdServiceInfo.getAttributes().get(MDNS_ATT… in matchesCriteria()
93 …sMobileSupport || isPrintSupported(MDnsUtils.getString(nsdServiceInfo.getAttributes().get(MDNS_ATT… in matchesCriteria()
H A DMDnsUtils.java39 Map<String,byte[]> attributes = networkDevice.getAttributes(); in isVendorPrinter()
51 Map<String,byte[]> attributes = networkDevice.getAttributes(); in getVendor()
/aosp12/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
H A DMDnsUtils.java36 Map<String, byte[]> attributes = networkDevice.getAttributes(); in isVendorPrinter()
51 Map<String, byte[]> attributes = networkDevice.getAttributes(); in getVendor()
63 String pdls = MDnsUtils.getString(networkDevice.getAttributes().get(PDL_ATTRIBUTE)); in checkPDLSupport()
/aosp12/packages/apps/Camera2/src/com/android/camera/data/
H A DMetadataLoader.java41 if (data.getAttributes().isImage()) { in loadMetadata()
46 } else if (data.getAttributes().isVideo()) { in loadMetadata()
/aosp12/frameworks/compile/mclinker/lib/Script/
H A DGroupCmd.cpp89 m_Builder.getAttributes().setAsNeeded(); in activate()
91 m_Builder.getAttributes().unsetAsNeeded(); in activate()
128 if (m_Builder.getAttributes().isStatic()) { in activate()
H A DInputCmd.cpp100 m_Builder.getAttributes().setAsNeeded(); in activate()
102 m_Builder.getAttributes().unsetAsNeeded(); in activate()
139 if (m_Builder.getAttributes().isStatic()) { in activate()
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/appstyledview/
H A DAppStyledDialog.java59 WindowManager.LayoutParams params = getWindow().getAttributes(); in onCreate()
110 return getWindow().getAttributes(); in getWindowLayoutParams()
/aosp12/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java102 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setToken()
187 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setGravity()
194 return getWindow().getAttributes().gravity; in getGravity()
244 WindowManager.LayoutParams lp = getWindow().getAttributes(); in initDockWindow()
/aosp12/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp164 if (m_InputBuilder.getAttributes().isStatic()) { in ReadInput()
238 m_InputBuilder.getAttributes().setWholeArchive(); in WholeArchive()
242 m_InputBuilder.getAttributes().unsetWholeArchive(); in NoWholeArchive()
246 m_InputBuilder.getAttributes().setAsNeeded(); in AsNeeded()
250 m_InputBuilder.getAttributes().unsetAsNeeded(); in NoAsNeeded()
254 m_InputBuilder.getAttributes().setAddNeeded(); in CopyDTNeeded()
258 m_InputBuilder.getAttributes().unsetAddNeeded(); in NoCopyDTNeeded()
262 m_InputBuilder.getAttributes().setDynamic(); in AgainstShared()
266 m_InputBuilder.getAttributes().setStatic(); in AgainstStatic()
/aosp12/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
H A DTaskOrganizerMultiWindowTest.java94 getWindow().getAttributes().layoutInDisplayCutoutMode = in onCreate()
171 getWindow().getAttributes().layoutInDisplayCutoutMode = in onCreate()
187 getWindow().getAttributes().layoutInDisplayCutoutMode = in onCreate()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
H A DHideNonSystemOverlayMixinTest.java57 final WindowManager.LayoutParams attrs = activity.getWindow().getAttributes(); in startActivity_shouldHideNonSystemOverlay()
67 final WindowManager.LayoutParams attrs = activity.getWindow().getAttributes(); in stopActivity_shouldUnhideNonSystemOverlay()
/aosp12/frameworks/compile/mclinker/include/mcld/MC/
H A DInputBuilder.h81 const AttributeProxy& getAttributes() const;
82 AttributeProxy& getAttributes();
/aosp12/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
H A DStartJobTask.java98 PrintAttributes.MediaSize mediaSize = mJobInfo.getAttributes().getMediaSize(); in populateJobParams()
205 switch (mJobInfo.getAttributes().getDuplexMode()) { in getSides()
244 switch (mJobInfo.getAttributes().getColorMode()) { in getColorSpace()
/aosp12/frameworks/av/media/libmedia/include/media/
H A DMediaCodecInfo.h189 return getAttributes() & kFlagIsEncoder; in isEncoder()
192 Attributes getAttributes() const;

123456789