Home
last modified time | relevance | path

Searched refs:mDeviceInfo (Results 1 – 12 of 12) 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.java46 private final MidiDeviceInfo mDeviceInfo; field in MidiDevice
116 mDeviceInfo = deviceInfo; in MidiDevice()
130 return mDeviceInfo; in getInfo()
200 if (outputPortNumber < 0 || outputPortNumber >= mDeviceInfo.getOutputPortCount()) { in connectPorts()
239 mNativeHandle = native_mirrorToNative(mDeviceServer.asBinder(), mDeviceInfo.getId()); in mirrorToNative()
297 return ("MidiDevice: " + mDeviceInfo.toString()); in toString()
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()
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/media/tests/NativeMidiDemo/java/com/example/android/nativemididemo/
DNativeMidi.java108 private final MidiDeviceInfo mDeviceInfo; field in NativeMidi.MidiOutputPortSelector
114 mDeviceInfo = null; in MidiOutputPortSelector()
119 mDeviceInfo = info; in MidiOutputPortSelector()
123 MidiDeviceInfo getDeviceInfo() { return mDeviceInfo; } in getDeviceInfo()
131 if (mDeviceInfo == null) { in onClick()
135 mMidiManager.openDevice(mDeviceInfo, new MidiManager.OnDeviceOpenedListener() { in onClick()
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java287 private MidiDeviceInfo mDeviceInfo; field in MidiService.Device
306 mDeviceInfo = deviceInfo; in Device()
328 if (mDeviceInfo == null) { in setDeviceServer()
329 mDeviceInfo = server.getDeviceInfo(); in setDeviceServer()
361 return mDeviceInfo; in getDeviceInfo()
366 mDeviceInfo = deviceInfo; in setDeviceInfo()
394 return (!mDeviceInfo.isPrivate() || mUid == uid); in isUidAllowed()
492 mDeviceStatus = new MidiDeviceStatus(mDeviceInfo); in closeLocked()
511 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()
943 pw.println("mDeviceInfo: " + mDeviceInfo); in dump()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp119 res = manager->getCameraCharacteristics(mId.string(), &mDeviceInfo); in initialize()
205 mDeviceInfo.find(ANDROID_SENSOR_INFO_TIMESTAMP_SOURCE); in initializeCommonLocked()
213 mDeviceInfo.find(ANDROID_REQUEST_PARTIAL_RESULT_COUNT); in initializeCommonLocked()
220 mDeviceInfo.find(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS); in initializeCommonLocked()
338 mDeviceInfo.find(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS); in getMaxJpegResolution()
464 camera_metadata_ro_entry jpegBufMaxSize = mDeviceInfo.find(ANDROID_JPEG_MAX_SIZE); in getJpegBufferSize()
487 camera_metadata_ro_entry maxPointCount = mDeviceInfo.find(ANDROID_DEPTH_MAX_DEPTH_SAMPLES); in getPointCloudBufferSize()
504 mDeviceInfo.find(ANDROID_SENSOR_OPAQUE_RAW_SIZE); in getRawOpaqueBufferSize()
678 return mDeviceInfo; in info()
DCamera3Device.h338 CameraMetadata mDeviceInfo; variable