/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioFocus.java | 155 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 …]
|
D | FocusEntry.java | 95 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()
|
D | CarDuckingUtils.java | 51 audioAttributes.add(focusHolders.get(index).getAttributes()); in getAudioAttributesHoldingFocus()
|
/packages/modules/Connectivity/tests/common/java/android/net/nsd/ |
D | NsdServiceInfoTest.java | 169 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/ |
D | MdnsServiceInfoTest.java | 102 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/ |
D | MetadataLoader.java | 41 if (data.getAttributes().isImage()) { in loadMetadata() 46 } else if (data.getAttributes().isVideo()) { in loadMetadata()
|
D | FilmstripItem.java | 54 public FilmstripItemAttributes getAttributes(); in getAttributes() method
|
D | PlaceholderItem.java | 85 public FilmstripItemAttributes getAttributes() { in getAttributes() method in PlaceholderItem
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/ |
D | ServiceDiscoveryTest.java | 203 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/ |
D | NsdPublisherTest.java | 127 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/ |
D | StartJobTask.java | 100 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/ |
D | SppResponseMessageTest.java | 76 assertEquals(expectedAttributes, sppResponseMessage.getAttributes()); in verifySppSoapResponseWithoutErrorAttribute() 107 assertEquals(expectedAttributes, sppResponseMessage.getAttributes()); in verifySppSoapResponseWithErrorAttribute()
|
/packages/apps/Nfc/tests/instrumentation/src/com/android/nfc/cardemulation/ |
D | AppChooserActivityTest.java | 99 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/ |
D | QCLogoutButtonController.java | 144 window.getAttributes().setFitInsetsTypes( in applyCarSysUIDialogFlags() 145 window.getAttributes().getFitInsetsTypes() & ~statusBars()); in applyCarSysUIDialogFlags()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiDialogManagerTest.java | 431 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/ |
D | SystemDialogsViewController.java | 229 window.getAttributes().setFitInsetsTypes( in applyCarSysUIDialogFlags() 230 window.getAttributes().getFitInsetsTypes() & ~statusBars()); in applyCarSysUIDialogFlags()
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/ |
D | XmlDoc.java | 143 NamedNodeMap map = nodeList.item(i).getAttributes(); in parseXmlResponse() 179 NamedNodeMap map = node.getAttributes(); in parseParams()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/util/ |
D | AlertActivity.java | 90 ViewGroup.LayoutParams params = act.getWindow().getAttributes(); in dispatchPopulateAccessibilityEvent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ViewLayoutUtils.java | 59 final WindowManager.LayoutParams params = window.getAttributes(); in updateLayoutHeightOf()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/ |
D | StatsLogCompatManager.java | 173 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/ |
D | AlertActivity.java | 86 ViewGroup.LayoutParams params = act.getWindow().getAttributes(); in dispatchPopulateAccessibilityEvent()
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
D | WebViewAnimationTestActivity.java | 80 (getWindow().getAttributes().flags in onCreate()
|
/packages/services/Car/tests/OemCarServiceTestApp/src/com/android/car/oem/focus/ |
D | FocusInteraction.java | 482 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/ |
D | ThreadNetworkControllerTest.java | 854 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/ |
D | TvBottomSheetActivity.java | 67 WindowManager.LayoutParams windowParams = getWindow().getAttributes(); in onCreate()
|