Home
last modified time | relevance | path

Searched refs:deviceID (Results 1 – 20 of 20) sorted by relevance

/frameworks/wilhelm/src/itf/
DIDeviceVolume.c22 static SLresult IDeviceVolume_GetVolumeScale(SLDeviceVolumeItf self, SLuint32 deviceID, in IDeviceVolume_GetVolumeScale() argument
27 switch (deviceID) { in IDeviceVolume_GetVolumeScale()
49 static SLresult IDeviceVolume_SetVolume(SLDeviceVolumeItf self, SLuint32 deviceID, SLint32 volume) in IDeviceVolume_SetVolume() argument
53 switch (deviceID) { in IDeviceVolume_SetVolume()
57 deviceID = SL_DEFAULTDEVICEID_AUDIOOUTPUT; in IDeviceVolume_SetVolume()
64 thiz->mVolume[~deviceID] = volume; in IDeviceVolume_SetVolume()
78 static SLresult IDeviceVolume_GetVolume(SLDeviceVolumeItf self, SLuint32 deviceID, SLint32 *pVolume) in IDeviceVolume_GetVolume() argument
85 switch (deviceID) { in IDeviceVolume_GetVolume()
89 deviceID = SL_DEFAULTDEVICEID_AUDIOOUTPUT; in IDeviceVolume_GetVolume()
96 SLint32 volume = thiz->mVolume[~deviceID]; in IDeviceVolume_GetVolume()
DIAudioIODeviceCapabilities.c48 SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, SLAudioInputDescriptor *pDescriptor) in IAudioIODeviceCapabilities_QueryAudioInputCapabilities() argument
56 switch (deviceID) { in IAudioIODeviceCapabilities_QueryAudioInputCapabilities()
114 SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, SLAudioOutputDescriptor *pDescriptor) in IAudioIODeviceCapabilities_QueryAudioOutputCapabilities() argument
122 switch (deviceID) { in IAudioIODeviceCapabilities_QueryAudioOutputCapabilities()
175 SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, in IAudioIODeviceCapabilities_GetAssociatedAudioInputs() argument
193 SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, in IAudioIODeviceCapabilities_GetAssociatedAudioOutputs() argument
261 SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, SLmilliHertz samplingRate, in IAudioIODeviceCapabilities_QuerySampleFormatsSupported() argument
269 switch (deviceID) { in IAudioIODeviceCapabilities_QuerySampleFormatsSupported()
DIEngine.c94 static SLresult IEngine_CreateLEDDevice(SLEngineItf self, SLObjectItf *pDevice, SLuint32 deviceID, in IEngine_CreateLEDDevice() argument
100 if ((NULL == pDevice) || (SL_DEFAULTDEVICEID_LED != deviceID)) { in IEngine_CreateLEDDevice()
117 thiz->mDeviceID = deviceID; in IEngine_CreateLEDDevice()
132 static SLresult IEngine_CreateVibraDevice(SLEngineItf self, SLObjectItf *pDevice, SLuint32 deviceID, in IEngine_CreateVibraDevice() argument
138 if ((NULL == pDevice) || (SL_DEFAULTDEVICEID_VIBRA != deviceID)) { in IEngine_CreateVibraDevice()
155 thiz->mDeviceID = deviceID; in IEngine_CreateVibraDevice()
1011 XAuint32 deviceID, XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IEngine_CreateCameraDevice() argument
1036 static XAresult IXAEngine_CreateLEDDevice(XAEngineItf self, XAObjectItf *pDevice, XAuint32 deviceID, in IXAEngine_CreateLEDDevice() argument
1042 (SLObjectItf *) pDevice, deviceID, numInterfaces, (const SLInterfaceID *) pInterfaceIds, in IXAEngine_CreateLEDDevice()
1048 XAuint32 deviceID, XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IXAEngine_CreateVibraDevice() argument
[all …]
/frameworks/wilhelm/src/
Ddata.c68 pDataLocator->mIODevice.deviceID = 0; in checkDataLocator()
103 SLuint32 deviceID = pDataLocator->mIODevice.deviceID; in checkDataLocator() local
106 if (SL_DEFAULTDEVICEID_LED != deviceID) { in checkDataLocator()
107 SL_LOGE("%s: invalid LED deviceID=%u", name, deviceID); in checkDataLocator()
112 if (SL_DEFAULTDEVICEID_VIBRA != deviceID) { in checkDataLocator()
113 SL_LOGE("%s: invalid vibra deviceID=%u", name, deviceID); in checkDataLocator()
118 if (SL_DEFAULTDEVICEID_AUDIOINPUT != deviceID) { in checkDataLocator()
119 SL_LOGE("%s: invalid audio input deviceID=%u", name, deviceID); in checkDataLocator()
127 if (XA_DEFAULTDEVICEID_CAMERA != deviceID) { in checkDataLocator()
128 SL_LOGE("%s: invalid audio input deviceID=%u", name, deviceID); in checkDataLocator()
/frameworks/base/libs/common_time/
Dcommon_time_server_packets.cpp210 uint64_t packed = packDeviceID(deviceID, devicePriority); in serializePacket()
222 deviceID = unpackDeviceID(packed); in deserializePacket()
274 uint64_t packed = packDeviceID(deviceID, devicePriority); in serializePacket()
286 deviceID = unpackDeviceID(packed); in deserializePacket()
Dcommon_time_server.cpp774 pkt.deviceID = mDeviceID; in handleWhoIsMasterRequest()
782 pkt.deviceID, pkt.devicePriority); in handleWhoIsMasterRequest()
836 if (response->deviceID == mDeviceID) in handleWhoIsMasterResponse()
846 response->deviceID, in handleWhoIsMasterResponse()
852 response->deviceID, in handleWhoIsMasterResponse()
860 if (arbitrateMaster(response->deviceID, in handleWhoIsMasterResponse()
865 response->deviceID, in handleWhoIsMasterResponse()
1002 uint64_t newDeviceID = packet->deviceID; in handleMasterAnnouncement()
1153 pkt.deviceID = mDeviceID; in sendMasterAnnouncement()
1166 pkt.deviceID, pkt.devicePriority); in sendMasterAnnouncement()
Dcommon_time_server_packets.h100 uint64_t deviceID;
157 uint64_t deviceID;
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h454 XAuint32 deviceID; member
548 XAuint32 deviceID,
563 XAuint32 deviceID,
571 XAuint32 deviceID,
1887 XAuint32 deviceID,
1895 XAuint32 deviceID,
1915 XAuint32 deviceID,
1930 XAuint32 deviceID,
1945 XAuint32 deviceID,
1951 XAuint32 deviceID,
[all …]
/frameworks/wilhelm/include/SLES/
DOpenSLES.h282 SLuint32 deviceID; member
520 SLuint32 deviceID,
529 SLuint32 deviceID,
1346 SLuint32 deviceID,
1353 SLuint32 deviceID,
1358 SLuint32 deviceID,
2558 SLuint32 deviceID,
2566 SLuint32 deviceID,
/frameworks/wilhelm/tests/examples/
DslesTestSawtoothBufferQueue.cpp110 SLuint32 deviceID = 0; in TestPlaySawtoothBufferQueue() local
DslesTestRecBuffQueue.cpp198 ioDevice.deviceID = SL_DEFAULTDEVICEID_AUDIOINPUT; in TestRecToBuffQueue()
DslesTestFeedback.cpp431 locator_iodevice.deviceID = SL_DEFAULTDEVICEID_AUDIOINPUT; in main()
/frameworks/wilhelm/tests/
DmimeUri_test.cpp104 SLuint32 deviceID = 0; in TestPlayUri() local
/frameworks/wilhelm/tests/mimeUri/
DslesTestLoopUri.cpp127 SLuint32 deviceID = 0; in TestLoopUri() local
DslesTestPlayUri.cpp130 SLuint32 deviceID = 0; in TestPlayUri() local
DslesTestGetPositionUri.cpp132 SLuint32 deviceID = 0; in TestGetPositionUri() local
DslesTestManyPlayers.cpp133 SLuint32 deviceID = 0; in TestSetup() local
DslesTestSlowDownUri.cpp183 SLuint32 deviceID = 0; in TestSlowDownUri() local
/frameworks/wilhelm/tests/sandbox/streamSource/
DslesTestPlayStream.cpp185 SLuint32 deviceID = 0; in TestPlayStream() local
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp202 if (SL_DEFAULTDEVICEID_AUDIOINPUT != dl_iod->deviceID) { in android_audioRecorder_checkSourceSinkSupport()