/frameworks/base/core/java/android/hardware/display/ |
D | WifiDisplay.java | 35 private final String mDeviceAddress; field in WifiDisplay 70 mDeviceAddress = deviceAddress; in WifiDisplay() 83 return mDeviceAddress; in getDeviceAddress() 150 && mDeviceAddress.equals(other.mDeviceAddress) in equals() 161 return other != null && mDeviceAddress.equals(other.mDeviceAddress); in hasSameAddress() 167 return mDeviceAddress.hashCode(); in hashCode() 172 dest.writeString(mDeviceAddress); in writeToParcel() 188 String result = mDeviceName + " (" + mDeviceAddress + ")"; in toString()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AdiDeviceState.java | 56 private final String mDeviceAddress; field in AdiDeviceState 89 mDeviceAddress = isBluetoothDevice(mInternalDeviceType) ? Objects.requireNonNull( in AdiDeviceState() 92 mDeviceId = new Pair<>(mInternalDeviceType, mDeviceAddress); in AdiDeviceState() 110 return mDeviceAddress; in getDeviceAddress() 171 int newAudioDeviceCategory = BtHelper.getBtDeviceCategory(mDeviceAddress); in updateAudioDeviceCategory() 198 && mDeviceAddress.equals(sads.mDeviceAddress) // NonNull in equals() 207 return Objects.hash(mDeviceType, mInternalDeviceType, mDeviceAddress, mSAEnabled, in hashCode() 215 + " addr: " + Utils.anonymizeBluetoothAddress(mInternalDeviceType, mDeviceAddress) in toString() 224 .append(SETTING_FIELD_SEPARATOR).append(mDeviceAddress) in toPersistableString() 287 mDeviceType, mDeviceAddress); in getAudioDeviceAttributes()
|
D | AudioDeviceInventory.java | 334 if (di.mDeviceAddress.equals(updatedDevice.getDeviceAddress())) { in synchronizeBleDeviceInInventory() 358 && di.mDeviceAddress.equals(ads2.getDeviceAddress()))) { in synchronizeBleDeviceInInventory() 523 .set(MediaMetrics.Property.ADDRESS, value.mDeviceAddress) 605 final @NonNull String mDeviceAddress; field in AudioDeviceInventory.DeviceInfo 622 mDeviceAddress = TextUtils.emptyIfNull(address); in DeviceInfo() 625 mDeviceIdentityAddress = mDeviceAddress; in DeviceInfo() 666 + " addr:" + Utils.anonymizeBluetoothAddress(mDeviceType, mDeviceAddress) in toString() 679 return makeDeviceListKey(mDeviceType, mDeviceAddress); in getKey() 768 di.mDeviceAddress, in onRestoreDevices() 1047 if (!di.mDeviceAddress.equals(addr.first)) { in onUpdateLeAudioGroupAddresses() [all …]
|
D | AudioServiceEvents.java | 180 final String mDeviceAddress; field in AudioServiceEvents.DeviceVolumeEvent 190 mDeviceAddress = device.getAddress(); in DeviceVolumeEvent() 201 .set(MediaMetrics.Property.ADDRESS, mDeviceAddress) in DeviceVolumeEvent() 212 .append(" addr:").append(mDeviceAddress) in eventToString()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 145 dst->appendFormat("%*s- device address: %s\n", spaces, "", mDeviceAddress.c_str()); in dump() 190 && mix.mDeviceAddress.compare(registeredMix->mDeviceAddress) == 0 in registerMix() 193 mix.mDeviceType, mix.mDeviceAddress.c_str()); in registerMix() 211 policyMix->mDeviceType, policyMix->mDeviceAddress.c_str()); in registerMix() 227 mix.mDeviceType, mix.mDeviceAddress.c_str()); in unregisterMix() 233 && mix.mDeviceAddress.compare(registeredMix->mDeviceAddress) == 0) { in unregisterMix() 235 mix.mDeviceType, mix.mDeviceAddress.c_str()); in unregisterMix() 243 mix.mDeviceType, mix.mDeviceAddress.c_str()); in unregisterMix() 258 mix.mDeviceAddress.compare(registeredMix->mDeviceAddress) == 0 && in updateMix() 262 mix.mDeviceAddress.c_str()); in updateMix() [all …]
|
D | AudioInputDescriptor.cpp | 339 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive() 345 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()
|
D | AudioOutputDescriptor.cpp | 122 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMix.java | 65 @NonNull String mDeviceAddress; field in AudioMix 90 mDeviceAddress = (deviceAddress == null) ? new String("") : deviceAddress; in AudioMix() 204 mDeviceAddress = regId; in setRegistration() 218 return mDeviceAddress; in getRegistration() 244 if (!deviceAddress.equals(mDeviceAddress)) { in isRoutedToDevice() 324 dest.writeString8(mDeviceAddress); in writeToParcel() 385 private String mDeviceAddress = null; field in AudioMix.Builder 466 mDeviceAddress = address; in setDevice() 527 mDeviceAddress = device.getAddress(); in setDevice() 608 mDeviceAddress, mToken, mVirtualDeviceId); in build()
|
D | AudioPolicyConfig.java | 239 mix.setRegistration(mix.mDeviceAddress); in setMixRegistration()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbHostManager.java | 115 String mDeviceAddress; field in UsbHostManager.ConnectionRecord 130 mDeviceAddress = deviceAddress; in ConnectionRecord() 142 dump.write("device_address", UsbConnectionRecordProto.DEVICE_ADDRESS, mDeviceAddress); in dump() 147 UsbDescriptorParser parser = new UsbDescriptorParser(mDeviceAddress, mDescriptors); in dump() 166 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode); in dumpShort() 167 UsbDescriptorParser parser = new UsbDescriptorParser(mDeviceAddress, mDescriptors); in dumpShort() 176 pw.println(formatTime() + " Disconnect " + mDeviceAddress); in dumpShort() 182 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode); in dumpTree() 183 UsbDescriptorParser parser = new UsbDescriptorParser(mDeviceAddress, mDescriptors); in dumpTree() 192 pw.println(formatTime() + " Disconnect " + mDeviceAddress); in dumpTree() [all …]
|
D | UsbAlsaDevice.java | 42 private final String mDeviceAddress; field in UsbAlsaDevice 70 mDeviceAddress = deviceAddress; in UsbAlsaDevice() 98 return mDeviceAddress; in getDeviceAddress() 363 dump.write("address", UsbAlsaDeviceProto.ADDRESS, mDeviceAddress); in dump()
|
/frameworks/av/services/audiopolicy/engine/common/include/ |
D | ProductStrategy.h | 75 mDeviceAddress = address; in setDeviceAddress() 78 std::string getDeviceAddress() const { return mDeviceAddress; } in getDeviceAddress() 104 std::string mDeviceAddress; /**< Device address applicable for this strategy, maybe empty */ variable
|
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | MediaRouteInfoTest.java | 127 mRouteInfo.mDeviceAddress = "Not match"; in testGetPresentationDisplay_addressNotMatch() 164 private String mDeviceAddress = FAKE_MAC_ADDRESS; field in MediaRouteInfoTest.TestableRouteInfo 188 return mDeviceAddress; in getDeviceAddress()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioPolicy.h | 103 mRouteFlags(routeFlags), mDeviceAddress(registrationId), mCbFlags(flags){} in AudioMix() 129 String8 mDeviceAddress; variable
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyEffects.h | 189 mDeviceType(device), mDeviceAddress(address) {} in DeviceEffects() 193 std::string getDeviceAddress() const { return mDeviceAddress; } in getDeviceAddress() 198 const std::string mDeviceAddress; variable
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 94 mDeviceAddress = parcel->readString8(); in readFromParcel() 120 parcel->writeString8(mDeviceAddress); in writeToParcel()
|
D | PolicyAidlConversion.cpp | 241 aidl.device, &legacy.mDeviceType, &legacy.mDeviceAddress)); in aidl2legacy_AudioMix() 266 legacy.mDeviceType, legacy.mDeviceAddress)); in legacy2aidl_AudioMix()
|
/frameworks/base/media/java/android/media/ |
D | MediaRouter.java | 1093 final boolean oldRouteHasAddress = oldRoute != null && oldRoute.mDeviceAddress != null; in selectRouteStatic() 1094 final boolean newRouteHasAddress = route.mDeviceAddress != null; in selectRouteStatic() 1098 sStatic.mDisplayService.connectWifiDisplay(route.mDeviceAddress); in selectRouteStatic() 1142 final boolean routeHasAddress = info != null && info.mDeviceAddress != null; in matchesDeviceAddress() 1148 return display.getDeviceAddress().equals(info.mDeviceAddress); in matchesDeviceAddress() 1522 if (route.mDeviceAddress != null) { in updateWifiDisplayStatus() 1523 WifiDisplay d = findWifiDisplay(displays, route.mDeviceAddress); in updateWifiDisplayStatus() 1574 newRoute.mDeviceAddress = display.getDeviceAddress(); in makeWifiDisplayRoute() 1630 if (d.getDeviceAddress().equals(info.mDeviceAddress)) { in findWifiDisplayRoute() 1661 String mDeviceAddress; field in MediaRouter.RouteInfo [all …]
|
/frameworks/av/media/libaudioclient/tests/ |
D | audioclient_serialization_tests.cpp | 230 EXPECT_EQ(amCopy.mDeviceAddress, am.mDeviceAddress) << msg; in TEST_F()
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | ProductStrategy.cpp | 135 deviceLiteral.c_str(), mDeviceAddress.c_str()); in dump()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 288 && device->address() == policyMix->mDeviceAddress.c_str()) { in setDeviceConnectionStateInt() 1257 primaryMix->mDeviceAddress, in getOutputForAttrInt() 2404 address = policyMix->mDeviceAddress.c_str(); in startSource() 2678 policyMix->mDeviceAddress, in stopSource() 3201 mpClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in startInput() 3219 address = policyMix->mDeviceAddress; in startInput() 3267 mpClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in stopInput() 3278 address = policyMix->mDeviceAddress; in stopInput() 3868 String8 address = mix.mDeviceAddress; in registerPolicyMixes() 3906 String8 address = mix.mDeviceAddress; in registerPolicyMixes() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 160 jfieldID mDeviceAddress; member 2326 jstring deviceAddress = env->NewStringUTF(nAudioMix.mDeviceAddress.c_str()); in convertAudioMixFromNative() 2340 static_cast<jstring>(env->GetObjectField(jAudioMix, gAudioMixFields.mDeviceAddress)); in convertAudioMixToNative() 2342 nAudioMix->mDeviceAddress = String8(nDeviceAddress); in convertAudioMixToNative() 3703 gAudioMixFields.mDeviceAddress = GetFieldIDOrDie(env, audioMixClass, "mDeviceAddress", in register_android_media_AudioSystem()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 19989 Landroid/hardware/display/WifiDisplay;->mDeviceAddress:Ljava/lang/String; 24420 Landroid/media/audiopolicy/AudioMix$Builder;->mDeviceAddress:Ljava/lang/String; 28424 Landroid/media/MediaRouter$RouteInfo;->mDeviceAddress:Ljava/lang/String;
|