Home
last modified time | relevance | path

Searched refs:getAttributes (Results 1 – 25 of 79) 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.java100 Bundle bundle = mAudioFocusInfo.getAttributes().getBundle(); in receivesDuckEvents()
121 writer.printf("%s - %s\n", getClientId(), mAudioFocusInfo.getAttributes()); in dump()
140 CarAudioContextInfo.dumpCarAudioAttributesProto(mAudioFocusInfo.getAttributes(), in dumpProto()
160 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.java294 assertThat(resolvedService.getAttributes()) in advertisingProxy_borderRouterDisabled_clientMleIdAddressIsAdvertised()
349 assertThat(resolvedService.getAttributes()) in advertisingProxy_multipleSrpClientsRegisterServices_servicesResolvableByMdns()
403 assertThat(resolvedService.getAttributes()) in advertisingProxy_srpClientUpdatesService_updatedServiceResolvableByMdns()
471 Map<String, byte[]> txtMap = meshcopService.getAttributes(); in meshcopOverlay_vendorAndModelNameAreSetToSystemProperties()
544 assertThat(resolvedService.getAttributes()) in discoveryProxy_multipleClientsBrowseAndResolveServiceOverMdns()
583 assertThat(browsedService.getAttributes()) in discoveryProxy_browseAndResolveServiceAtSrpServer()
594 assertThat(resolvedService.getAttributes()) in discoveryProxy_browseAndResolveServiceAtSrpServer()
616 Map<String, byte[]> txtMap = trelService.getAttributes(); in trelFeatureFlagEnabled_trelServicePublished()
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DNsdPublisherTest.java135 assertThat(actualServiceInfo.getAttributes().size()).isEqualTo(2); in registerService_nsdManagerSucceeds_serviceRegistrationSucceeds()
136 assertThat(actualServiceInfo.getAttributes().get(TEST_TXT_ENTRY_1.name)) in registerService_nsdManagerSucceeds_serviceRegistrationSucceeds()
138 assertThat(actualServiceInfo.getAttributes().get(TEST_TXT_ENTRY_2.name)) in registerService_nsdManagerSucceeds_serviceRegistrationSucceeds()
181 assertThat(actualServiceInfo.getAttributes().size()).isEqualTo(2); in registerService_nsdManagerFails_serviceRegistrationFails()
182 assertThat(actualServiceInfo.getAttributes().get(TEST_TXT_ENTRY_1.name)) in registerService_nsdManagerFails_serviceRegistrationFails()
184 assertThat(actualServiceInfo.getAttributes().get(TEST_TXT_ENTRY_2.name)) in registerService_nsdManagerFails_serviceRegistrationFails()
331 assertThat(actualServiceInfo.getAttributes()).isEmpty(); in registerHost_nsdManagerSucceeds_serviceRegistrationSucceeds()
375 assertThat(actualServiceInfo.getAttributes()).isEmpty(); in registerHost_nsdManagerFails_serviceRegistrationFails()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DStartJobTask.java115 PrintAttributes.MediaSize mediaSize = mJobInfo.getAttributes().getMediaSize(); in populateJobParams()
236 PrintAttributes.MediaSize mediaSize = mJobInfo.getAttributes().getMediaSize(); in isDocSizeEqualsPaperSize()
325 switch (mJobInfo.getAttributes().getDuplexMode()) { in getSides()
364 switch (mJobInfo.getAttributes().getColorMode()) { in getColorSpace()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAccessConfirmationActivityTest.java54 assertThat(activity.getWindow().getAttributes().privateFlags in onCreate_setsWindowFlags()
56 assertThat(activity.getWindow().getAttributes().flags in onCreate_setsWindowFlags()
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/cardemulation/
DAppChooserActivityTest.java102 int flags = activity.getWindow().getAttributes().flags; in testExistingFailedComponentAndNoAlternatives()
139 int flags = activity.getWindow().getAttributes().flags; in testExistingFailedComponentAndExistingAlternatives()
167 int flags = activity.getWindow().getAttributes().flags; in testNoFailedComponentAndExistingAlternatives()
/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/Car/SystemUI/src/com/android/systemui/car/qc/
DQCLogoutButtonController.java144 window.getAttributes().setFitInsetsTypes( in applyCarSysUIDialogFlags()
145 window.getAttributes().getFitInsetsTypes() & ~statusBars()); in applyCarSysUIDialogFlags()
/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/modules/Nfc/NfcNci/src/com/android/nfc/cardemulation/util/
DAlertActivity.java90 ViewGroup.LayoutParams params = act.getWindow().getAttributes(); in dispatchPopulateAccessibilityEvent()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java174 getAttributes(info) /* attributes */ in writeSnapshot()
178 private static byte[] getAttributes(LauncherAtom.ItemInfo itemInfo) { in getAttributes() method in StatsLogCompatManager
211 getAttributes(info) /* attributes = 19 [(log_mode) = MODE_BYTES] */, in buildStatsEvent()
535 getAttributes(atomInfo) /* attributes */, in write()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DViewLayoutUtils.java59 final WindowManager.LayoutParams params = window.getAttributes(); in updateLayoutHeightOf()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DAlertActivity.java86 ViewGroup.LayoutParams params = act.getWindow().getAttributes(); in dispatchPopulateAccessibilityEvent()
/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/apps/Browser2/src/org/chromium/webview_shell/
DWebViewAnimationTestActivity.java80 (getWindow().getAttributes().flags in onCreate()
/packages/apps/TvSystemUI/src/com/android/systemui/tv/
DTvBottomSheetActivity.java67 WindowManager.LayoutParams windowParams = getWindow().getAttributes(); in onCreate()
/packages/modules/Connectivity/framework-t/src/android/net/nsd/
DNsdServiceInfo.java342 if (getAttributes().containsKey(key)) { in setTxtRecords()
428 public Map<String, byte[]> getAttributes() { in getAttributes() method in NsdServiceInfo

1234