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.java34 private int mDeviceInfo; field in WifiP2pWfdInfo
61 mDeviceInfo = devInfo; in WifiP2pWfdInfo()
75 return (mDeviceInfo & DEVICE_TYPE); in getDeviceType()
80 mDeviceInfo &= ~DEVICE_TYPE; in setDeviceType()
81 mDeviceInfo |= deviceType; in setDeviceType()
88 return (mDeviceInfo & COUPLED_SINK_SUPPORT_AT_SINK) != 0; in isCoupledSinkSupportedAtSource()
93 mDeviceInfo |= COUPLED_SINK_SUPPORT_AT_SINK; in setCoupledSinkSupportAtSource()
95 mDeviceInfo &= ~COUPLED_SINK_SUPPORT_AT_SINK; in setCoupledSinkSupportAtSource()
100 return (mDeviceInfo & COUPLED_SINK_SUPPORT_AT_SINK) != 0; in isCoupledSinkSupportedAtSink()
105 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()
DMidiDevice.java39 private final MidiDeviceInfo mDeviceInfo; field in MidiDevice
96 mDeviceInfo = deviceInfo; in MidiDevice()
110 return mDeviceInfo; in getInfo()
174 if (outputPortNumber < 0 || outputPortNumber >= mDeviceInfo.getOutputPortCount()) { in connectPorts()
218 return ("MidiDevice: " + mDeviceInfo.toString()); in toString()
DMidiDeviceServer.java49 private MidiDeviceInfo mDeviceInfo; field in MidiDeviceServer
164 if (mDeviceInfo.isPrivate()) {
203 if (mDeviceInfo.isPrivate()) {
277 return mDeviceInfo;
285 if (mDeviceInfo != null) {
288 mDeviceInfo = deviceInfo;
318 mDeviceInfo = deviceInfo; in MidiDeviceServer()
333 MidiDeviceStatus status = new MidiDeviceStatus(mDeviceInfo, mInputPortOpen, in updateDeviceStatus()
DMidiDeviceService.java55 private MidiDeviceInfo mDeviceInfo; field in MidiDeviceService
81 mDeviceInfo = deviceInfo; in onCreate()
121 return mDeviceInfo; in getDeviceInfo()
/frameworks/av/media/mtp/
DMtpDevice.cpp194 mDeviceInfo(NULL), in MtpDevice()
217 mDeviceInfo = getDeviceInfo(); in initialize()
218 if (mDeviceInfo) { in initialize()
219 if (mDeviceInfo->mDeviceProperties) { in initialize()
220 int count = mDeviceInfo->mDeviceProperties->size(); in initialize()
222 MtpDeviceProperty propCode = (*mDeviceInfo->mDeviceProperties)[i]; in initialize()
240 if (mDeviceInfo) { in print()
241 mDeviceInfo->print(); in print()
243 if (mDeviceInfo->mDeviceProperties) { in print()
245 int count = mDeviceInfo->mDeviceProperties->size(); in print()
[all …]
DMtpDevice.h45 MtpDeviceInfo* mDeviceInfo; variable
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java275 private MidiDeviceInfo mDeviceInfo; field in MidiService.Device
294 mDeviceInfo = deviceInfo; in Device()
316 if (mDeviceInfo == null) { in setDeviceServer()
317 mDeviceInfo = server.getDeviceInfo(); in setDeviceServer()
349 return mDeviceInfo; in getDeviceInfo()
354 mDeviceInfo = deviceInfo; in setDeviceInfo()
382 return (!mDeviceInfo.isPrivate() || mUid == uid); in isUidAllowed()
468 mDeviceStatus = new MidiDeviceStatus(mDeviceInfo); in closeLocked()
487 sb.append(mDeviceInfo); in toString()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevice.java59 protected HdmiDeviceInfo mDeviceInfo; field in HdmiCecLocalDevice
395 mAddress, message.getSource(), mDeviceInfo.getDisplayName()); in handleGiveOsdName()
399 Slog.w(TAG, "Failed to build <Get Osd Name>:" + mDeviceInfo.getDisplayName()); in handleGiveOsdName()
626 return mDeviceInfo; in getDeviceInfo()
632 mDeviceInfo = info; in setDeviceInfo()
914 pw.println("mDeviceInfo: " + mDeviceInfo); in dump()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp193 mDeviceInfo = info.static_camera_characteristics; in initialize()
205 mDeviceInfo.find(ANDROID_REQUEST_PARTIAL_RESULT_COUNT); in initialize()
212 mDeviceInfo.find(ANDROID_QUIRKS_USE_PARTIAL_RESULT); in initialize()
219 mDeviceInfo.find(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS); in initialize()
333 mDeviceInfo.find(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS); in getMaxJpegResolution()
354 mDeviceInfo.find(ANDROID_SCALER_AVAILABLE_JPEG_SIZES); in getMaxJpegResolution()
382 camera_metadata_ro_entry jpegBufMaxSize = mDeviceInfo.find(ANDROID_JPEG_MAX_SIZE); in getJpegBufferSize()
404 camera_metadata_ro_entry maxPointCount = mDeviceInfo.find(ANDROID_DEPTH_MAX_DEPTH_SAMPLES); in getPointCloudBufferSize()
504 return mDeviceInfo; in info()
DCamera3Device.h189 CameraMetadata mDeviceInfo; variable
/frameworks/av/services/camera/libcameraservice/device2/
DCamera2Device.h99 CameraMetadata mDeviceInfo; variable
DCamera2Device.cpp124 mDeviceInfo = info.static_camera_characteristics; in initialize()
200 return mDeviceInfo; in info()
271 camera_metadata_ro_entry jpegBufMaxSize = mDeviceInfo.find(ANDROID_JPEG_MAX_SIZE); in getJpegBufferSize()