Home
last modified time | relevance | path

Searched refs:mDeviceInfo (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pWfdInfo.java36 private int mDeviceInfo; field in WifiP2pWfdInfo
65 mDeviceInfo = devInfo; in WifiP2pWfdInfo()
82 return (mDeviceInfo & DEVICE_TYPE); in getDeviceType()
88 mDeviceInfo &= ~DEVICE_TYPE; in setDeviceType()
89 mDeviceInfo |= deviceType; in setDeviceType()
96 return (mDeviceInfo & COUPLED_SINK_SUPPORT_AT_SINK) != 0; in isCoupledSinkSupportedAtSource()
101 mDeviceInfo |= COUPLED_SINK_SUPPORT_AT_SINK; in setCoupledSinkSupportAtSource()
103 mDeviceInfo &= ~COUPLED_SINK_SUPPORT_AT_SINK; in setCoupledSinkSupportAtSource()
108 return (mDeviceInfo & COUPLED_SINK_SUPPORT_AT_SINK) != 0; in isCoupledSinkSupportedAtSink()
113 mDeviceInfo |= COUPLED_SINK_SUPPORT_AT_SINK; in setCoupledSinkSupportAtSink()
[all …]
/frameworks/base/media/java/android/media/midi/
DMidiDeviceStatus.java29 private final MidiDeviceInfo mDeviceInfo; field in MidiDeviceStatus
41 mDeviceInfo = deviceInfo; in MidiDeviceStatus()
56 mDeviceInfo = deviceInfo; in MidiDeviceStatus()
67 return mDeviceInfo; in getDeviceInfo()
94 int inputPortCount = mDeviceInfo.getInputPortCount(); in toString()
95 int outputPortCount = mDeviceInfo.getOutputPortCount(); in toString()
134 parcel.writeParcelable(mDeviceInfo, flags); in writeToParcel()
DMidiDeviceServer.java51 private MidiDeviceInfo mDeviceInfo; field in MidiDeviceServer
188 if (mDeviceInfo.isPrivate()) {
226 if (mDeviceInfo.isPrivate()) {
243 if (mDeviceInfo.getType() != MidiDeviceInfo.TYPE_VIRTUAL) {
319 return mDeviceInfo;
327 if (mDeviceInfo != null) {
330 mDeviceInfo = deviceInfo;
374 mDeviceInfo = deviceInfo; in MidiDeviceServer()
389 MidiDeviceStatus status = new MidiDeviceStatus(mDeviceInfo, mInputPortOpen, in updateDeviceStatus()
DMidiDevice.java42 private final MidiDeviceInfo mDeviceInfo; // accessed from native code field in MidiDevice
106 mDeviceInfo = deviceInfo; in MidiDevice()
121 return mDeviceInfo; in getInfo()
191 if (outputPortNumber < 0 || outputPortNumber >= mDeviceInfo.getOutputPortCount()) { in connectPorts()
256 return ("MidiDevice: " + mDeviceInfo.toString()); in toString()
DMidiDeviceService.java55 private MidiDeviceInfo mDeviceInfo; field in MidiDeviceService
81 mDeviceInfo = deviceInfo; in onCreate()
121 return mDeviceInfo; in getDeviceInfo()
/frameworks/av/media/mtp/
DMtpDevice.cpp229 mDeviceInfo(NULL), in MtpDevice()
257 mDeviceInfo = getDeviceInfo(); in initialize()
258 if (mDeviceInfo) { in initialize()
259 if (mDeviceInfo->mDeviceProperties) { in initialize()
260 int count = mDeviceInfo->mDeviceProperties->size(); in initialize()
262 MtpDeviceProperty propCode = (*mDeviceInfo->mDeviceProperties)[i]; in initialize()
280 if (!mDeviceInfo) in print()
283 mDeviceInfo->print(); in print()
285 if (mDeviceInfo->mDeviceProperties) { in print()
287 int count = mDeviceInfo->mDeviceProperties->size(); in print()
[all …]
DMtpDevice.h47 MtpDeviceInfo* mDeviceInfo; variable
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystemTest.java75 private HdmiDeviceInfo mDeviceInfo; field in HdmiCecLocalDeviceAudioSystemTest
144 mDeviceInfo = device; in setUp()
211 mDeviceInfo = null; in setUp()
633 assertThat(mDeviceInfo).isEqualTo(newDevice); in updateCecDevice_deviceNotExists_addDevice()
664 assertThat(mDeviceInfo).isEqualTo(differentDevice); in updateCecDevice_deviceInfoDifferent_updateDevice()
687 assertThat(mDeviceInfo).isEqualTo(differentDevice); in handleReportPhysicalAddress_differentPath_addDevice()
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java287 private MidiDeviceInfo mDeviceInfo; field in MidiService.Device
306 mDeviceInfo = deviceInfo; in Device()
358 return mDeviceInfo; in getDeviceInfo()
363 mDeviceInfo = deviceInfo; in setDeviceInfo()
391 return (!mDeviceInfo.isPrivate() || mUid == uid); in isUidAllowed()
489 mDeviceStatus = new MidiDeviceStatus(mDeviceInfo); in closeLocked()
508 sb.append(mDeviceInfo); in toString()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevice.java65 protected HdmiDeviceInfo mDeviceInfo; field in HdmiCecLocalDevice
431 mAddress, message.getSource(), mDeviceInfo.getDisplayName()); in handleGiveOsdName()
435 Slog.w(TAG, "Failed to build <Get Osd Name>:" + mDeviceInfo.getDisplayName()); in handleGiveOsdName()
719 return mDeviceInfo; in getDeviceInfo()
726 mDeviceInfo = info; in setDeviceInfo()
1099 pw.println("mDeviceInfo: " + mDeviceInfo); in dump()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp129 res = manager->getCameraCharacteristics(mId.string(), &mDeviceInfo); in initialize()
203 mDeviceInfo.find(ANDROID_INFO_SUPPORTED_BUFFER_MANAGEMENT_VERSION); in initialize()
230 camera_metadata_entry_t entry = mDeviceInfo.find(ANDROID_REQUEST_AVAILABLE_CAPABILITIES); in initialize()
273 camera_metadata_entry_t sessionKeysEntry = mDeviceInfo.find( in initializeCommonLocked()
301 mDeviceInfo.find(ANDROID_SENSOR_INFO_TIMESTAMP_SOURCE); in initializeCommonLocked()
309 mDeviceInfo.find(ANDROID_REQUEST_PARTIAL_RESULT_COUNT); in initializeCommonLocked()
316 mDeviceInfo.find(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS); in initializeCommonLocked()
326 if (DistortionMapper::isDistortionSupported(mDeviceInfo)) { in initializeCommonLocked()
327 res = mDistortionMappers[mId.c_str()].setupStaticInfo(mDeviceInfo); in initializeCommonLocked()
467 mDeviceInfo.find(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS); in getMaxJpegResolution()
[all …]
DCamera3Device.h428 CameraMetadata mDeviceInfo; variable
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt39200 Landroid/media/midi/MidiDevice;->mDeviceInfo:Landroid/media/midi/MidiDeviceInfo;
39248 Landroid/media/midi/MidiDeviceServer;->mDeviceInfo:Landroid/media/midi/MidiDeviceInfo;
39267 Landroid/media/midi/MidiDeviceService;->mDeviceInfo:Landroid/media/midi/MidiDeviceInfo;
39273 Landroid/media/midi/MidiDeviceStatus;->mDeviceInfo:Landroid/media/midi/MidiDeviceInfo;
46859 Landroid/net/wifi/p2p/WifiP2pWfdInfo;->mDeviceInfo:I