Home
last modified time | relevance | path

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

1234

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioFocus.java155 if (!isCriticalAudioAudioAttribute(mDelayedRequest.getAttributes())) { in abandonNonCriticalFocusLocked()
176 if (isCriticalAudioAudioAttribute(holderEntry.getAudioFocusInfo().getAttributes())) { in abandonNonCriticalEntriesLocked()
247 + " with usage " + usageToString(afi.getAttributes().getUsage())); in evaluateFocusRequestLocked()
250 if (!isCriticalAudioAudioAttribute(afi.getAttributes())) { in evaluateFocusRequestLocked()
264 int requestedContext = mCarAudioContext.getContextForAttributes(afi.getAttributes()); in evaluateFocusRequestLocked()
270 mDelayedRequest.getAttributes()); in evaluateFocusRequestLocked()
276 usageToString(mDelayedRequest.getAttributes().getUsage()), in evaluateFocusRequestLocked()
277 usageToString(afi.getAttributes().getUsage())); in evaluateFocusRequestLocked()
298 if (CarAudioContext.isNotificationAudioAttribute(afi.getAttributes()) in evaluateFocusRequestLocked()
309 entry.getAudioFocusInfo().getAttributes(), afi.getAttributes())) { in evaluateFocusRequestLocked()
[all …]
DFocusEntry.java95 Bundle bundle = mAudioFocusInfo.getAttributes().getBundle(); in receivesDuckEvents()
113 writer.printf("%s - %s\n", getClientId(), mAudioFocusInfo.getAttributes()); in dump()
132 CarAudioContextInfo.dumpCarAudioAttributesProto(mAudioFocusInfo.getAttributes(), in dumpProto()
152 stringBuilder.append(mAudioFocusInfo.getAttributes()); in toString()
DCarDuckingUtils.java51 audioAttributes.add(focusHolders.get(index).getAttributes()); in getAudioAttributesHoldingFocus()
/packages/modules/Connectivity/tests/common/java/android/net/nsd/
DNsdServiceInfoTest.java169 assertTrue(attributedInfo.getAttributes().keySet().contains("adorable")); in testParcel()
170 String sound = new String(attributedInfo.getAttributes().get("sound"), "UTF-8"); in testParcel()
172 byte[] edgeCases = attributedInfo.getAttributes().get("edge cases"); in testParcel()
174 assertFalse(attributedInfo.getAttributes().keySet().contains("sticky")); in testParcel()
201 Map<String, byte[]> originalMap = original.getAttributes(); in checkParcelable()
202 Map<String, byte[]> resultMap = result.getAttributes(); in checkParcelable()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsServiceInfoTest.java102 info.getAttributes()); in constructor_createWithBothTextStringsAndTextEntries_acceptsOnlyTextEntries()
123 info.getAttributes()); in constructor_createWithDuplicateKeys_acceptsTheFirstOne()
143 assertEquals(1, info.getAttributes().size()); in constructor_createWithUppercaseKeys_correctAttributes()
144 assertEquals("KEY", info.getAttributes().keySet().iterator().next()); in constructor_createWithUppercaseKeys_correctAttributes()
253 assertEquals(beforeParcel.getAttributes(), afterParcel.getAttributes()); in parcelable_canBeParceledAndUnparceled()
/packages/apps/Camera2/src/com/android/camera/data/
DMetadataLoader.java41 if (data.getAttributes().isImage()) { in loadMetadata()
46 } else if (data.getAttributes().isVideo()) { in loadMetadata()
DFilmstripItem.java54 public FilmstripItemAttributes getAttributes(); in getAttributes() method
DPlaceholderItem.java85 public FilmstripItemAttributes getAttributes() { in getAttributes() method in PlaceholderItem
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/
DServiceDiscoveryTest.java203 assertThat(resolvedService.getAttributes()) in advertisingProxy_multipleSrpClientsRegisterServices_servicesResolvableByMdns()
258 assertThat(resolvedService.getAttributes()) in advertisingProxy_srpClientUpdatesService_updatedServiceResolvableByMdns()
319 Map<String, byte[]> txtMap = meshcopService.getAttributes(); in meshcopOverlay_vendorAndModelNameAreSetToOverlayValue()
393 assertThat(resolvedService.getAttributes()) in discoveryProxy_multipleClientsBrowseAndResolveServiceOverMdns()
434 assertThat(browsedService.getAttributes()) in discoveryProxy_browseAndResolveServiceAtSrpServer()
445 assertThat(resolvedService.getAttributes()) in discoveryProxy_browseAndResolveServiceAtSrpServer()
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DNsdPublisherTest.java127 assertThat(actualServiceInfo.getAttributes().size()).isEqualTo(2); in registerService_nsdManagerSucceeds_serviceRegistrationSucceeds()
128 assertThat(actualServiceInfo.getAttributes().get(TEST_TXT_ENTRY_1.name)) in registerService_nsdManagerSucceeds_serviceRegistrationSucceeds()
130 assertThat(actualServiceInfo.getAttributes().get(TEST_TXT_ENTRY_2.name)) in registerService_nsdManagerSucceeds_serviceRegistrationSucceeds()
173 assertThat(actualServiceInfo.getAttributes().size()).isEqualTo(2); in registerService_nsdManagerFails_serviceRegistrationFails()
174 assertThat(actualServiceInfo.getAttributes().get(TEST_TXT_ENTRY_1.name)) in registerService_nsdManagerFails_serviceRegistrationFails()
176 assertThat(actualServiceInfo.getAttributes().get(TEST_TXT_ENTRY_2.name)) in registerService_nsdManagerFails_serviceRegistrationFails()
323 assertThat(actualServiceInfo.getAttributes()).isEmpty(); in registerHost_nsdManagerSucceeds_serviceRegistrationSucceeds()
367 assertThat(actualServiceInfo.getAttributes()).isEmpty(); in registerHost_nsdManagerFails_serviceRegistrationFails()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DStartJobTask.java100 PrintAttributes.MediaSize mediaSize = mJobInfo.getAttributes().getMediaSize(); in populateJobParams()
222 switch (mJobInfo.getAttributes().getDuplexMode()) { in getSides()
261 switch (mJobInfo.getAttributes().getColorMode()) { in getColorSpace()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DSppResponseMessageTest.java76 assertEquals(expectedAttributes, sppResponseMessage.getAttributes()); in verifySppSoapResponseWithoutErrorAttribute()
107 assertEquals(expectedAttributes, sppResponseMessage.getAttributes()); in verifySppSoapResponseWithErrorAttribute()
/packages/apps/Nfc/tests/instrumentation/src/com/android/nfc/cardemulation/
DAppChooserActivityTest.java99 int flags = activity.getWindow().getAttributes().flags; in testExistingFailedComponentAndNoAlternatives()
134 int flags = activity.getWindow().getAttributes().flags; in testExistingFailedComponentAndExistingAlternatives()
160 int flags = activity.getWindow().getAttributes().flags; in testNoFailedComponentAndExistingAlternatives()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DQCLogoutButtonController.java144 window.getAttributes().setFitInsetsTypes( in applyCarSysUIDialogFlags()
145 window.getAttributes().getFitInsetsTypes() & ~statusBars()); in applyCarSysUIDialogFlags()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiDialogManagerTest.java431 when(window.getAttributes()).thenReturn(layoutParams); in testSimpleDialog_launchAndResponse_notifiesCallback_preT()
500 when(window.getAttributes()).thenReturn(layoutParams); in testSimpleDialog_timeoutCancelsDialog_preT()
538 when(window.getAttributes()).thenReturn(layoutParams); in testSimpleDialog_dismissedBeforeTimeout_preT()
603 when(window.getAttributes()).thenReturn(layoutParams); in testLegacySimpleDialog_launchAndResponse_notifiesCallback()
672 when(window.getAttributes()).thenReturn(layoutParams); in testLegacySimpleDialog_timeoutCancelsDialog()
710 when(window.getAttributes()).thenReturn(layoutParams); in testLegacySimpleDialog_dismissedBeforeTimeout()
756 when(window.getAttributes()).thenReturn(layoutParams); in testLegacySimpleDialog_cancelledDueToActionCloseSystemDialogs()
802 when(window.getAttributes()).thenReturn(layoutParams); in testLegacySimpleDialog_windowTypeChangedDueToScreenOff()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systemdialogs/
DSystemDialogsViewController.java229 window.getAttributes().setFitInsetsTypes( in applyCarSysUIDialogFlags()
230 window.getAttributes().getFitInsetsTypes() & ~statusBars()); in applyCarSysUIDialogFlags()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/
DXmlDoc.java143 NamedNodeMap map = nodeList.item(i).getAttributes(); in parseXmlResponse()
179 NamedNodeMap map = node.getAttributes(); in parseParams()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/util/
DAlertActivity.java90 ViewGroup.LayoutParams params = act.getWindow().getAttributes(); in dispatchPopulateAccessibilityEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DViewLayoutUtils.java59 final WindowManager.LayoutParams params = window.getAttributes(); in updateLayoutHeightOf()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java173 getAttributes(info) /* attributes */ in writeSnapshot()
177 private static byte[] getAttributes(LauncherAtom.ItemInfo itemInfo) { in getAttributes() method in StatsLogCompatManager
210 getAttributes(info) /* attributes = 19 [(log_mode) = MODE_BYTES] */, in buildStatsEvent()
520 getAttributes(atomInfo) /* attributes */, in write()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DAlertActivity.java86 ViewGroup.LayoutParams params = act.getWindow().getAttributes(); in dispatchPopulateAccessibilityEvent()
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewAnimationTestActivity.java80 (getWindow().getAttributes().flags in onCreate()
/packages/services/Car/tests/OemCarServiceTestApp/src/com/android/car/oem/focus/
DFocusInteraction.java482 new AudioAttributesWrapper(focusHolder.getAudioFocusInfo().getAttributes()); in evaluateRequest()
484 new AudioAttributesWrapper(request.getAudioFocusInfo().getAttributes()); in evaluateRequest()
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DThreadNetworkControllerTest.java854 s -> s.getAttributes().get("at") == null);
856 Map<String, byte[]> txtMap = serviceInfo.getAttributes();
874 serviceInfo.getAttributes().get("at") != null
876 serviceInfo.getAttributes().get("nn"),
883 Map<String, byte[]> txtMap = resolvedService.getAttributes();
/packages/apps/TvSystemUI/src/com/android/systemui/tv/
DTvBottomSheetActivity.java67 WindowManager.LayoutParams windowParams = getWindow().getAttributes(); in onCreate()

1234