Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 94) sorted by relevance

1234

/frameworks/av/camera/ndk/impl/
DACameraCaptureSession.cpp26 sp<CameraDevice> dev = getDeviceSp(); in ~ACameraCaptureSession() local
27 if (dev != nullptr && !dev->isClosed()) { in ~ACameraCaptureSession()
28 dev->lockDeviceForSessionOps(); in ~ACameraCaptureSession()
31 dev->notifySessionEndOfLifeLocked(this); in ~ACameraCaptureSession()
33 dev->unlockDevice(); in ~ACameraCaptureSession()
51 sp<CameraDevice> dev = getDeviceSp(); in closeByApp() local
52 if (dev != nullptr) { in closeByApp()
53 dev->lockDeviceForSessionOps(); in closeByApp()
59 if (!mIsClosed && dev != nullptr) { in closeByApp()
60 camera_status_t ret = dev->stopRepeatingLocked(); in closeByApp()
[all …]
DACameraDevice.cpp786 ACameraDevice* dev; in onMessageReceived() local
787 found = msg->findPointer(kDeviceKey, (void**) &dev); in onMessageReceived()
788 if (!found || dev == nullptr) { in onMessageReceived()
801 (*onDisconnected)(context, dev); in onMessageReceived()
806 ACameraDevice* dev; in onMessageReceived() local
807 found = msg->findPointer(kDeviceKey, (void**) &dev); in onMessageReceived()
808 if (!found || dev == nullptr) { in onMessageReceived()
827 (*onError)(context, dev, errorCode); in onMessageReceived()
1136 sp<CameraDevice> dev = mDevice.promote(); in onDeviceError() local
1137 if (dev == nullptr) { in onDeviceError()
[all …]
/frameworks/av/media/libaudiohal/
DDevicesFactoryHalLocal.cpp30 static status_t load_audio_interface(const char *if_name, audio_hw_device_t **dev) in load_audio_interface() argument
41 rc = audio_hw_device_open(mod, dev); in load_audio_interface()
47 if ((*dev)->common.version < AUDIO_DEVICE_API_VERSION_MIN) { in load_audio_interface()
48 ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version); in load_audio_interface()
50 audio_hw_device_close(*dev); in load_audio_interface()
56 *dev = NULL; in load_audio_interface()
61 audio_hw_device_t *dev; in openDevice() local
62 status_t rc = load_audio_interface(name, &dev); in openDevice()
64 *device = new DeviceHalLocal(dev); in openDevice()
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceResponse.java180 public void setSrcDevice(WifiP2pDevice dev) { in setSrcDevice() argument
181 if (dev == null) return; in setSrcDevice()
182 this.mDevice = dev; in setSrcDevice()
198 WifiP2pDevice dev = new WifiP2pDevice(); in newInstance() local
199 dev.deviceAddress = srcAddr; in newInstance()
228 transId, dev, null)); in newInstance()
242 transId, dev, data); in newInstance()
245 transId, dev, data); in newInstance()
247 resp = new WifiP2pServiceResponse(type, status, transId, dev, data); in newInstance()
360 WifiP2pDevice dev = (WifiP2pDevice)in.readParcelable(null);
[all …]
DWifiP2pDnsSdServiceResponse.java153 int tranId, WifiP2pDevice dev, byte[] data) { in WifiP2pDnsSdServiceResponse() argument
155 status, tranId, dev, data); in WifiP2pDnsSdServiceResponse()
296 int transId, WifiP2pDevice dev, byte[] data) { in newInstance() argument
299 transId, dev, null); in newInstance()
303 transId, dev, data); in newInstance()
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp147 VkDevice dev, in InitDispatchTable() argument
150 auto& data = GetData(dev); in InitDispatchTable()
154 INIT_PROC(true, dev, GetDeviceProcAddr); in InitDispatchTable()
155 INIT_PROC(true, dev, DestroyDevice); in InitDispatchTable()
156 INIT_PROC(true, dev, GetDeviceQueue); in InitDispatchTable()
157 INIT_PROC(true, dev, QueueSubmit); in InitDispatchTable()
158 INIT_PROC(true, dev, QueueWaitIdle); in InitDispatchTable()
159 INIT_PROC(true, dev, DeviceWaitIdle); in InitDispatchTable()
160 INIT_PROC(true, dev, AllocateMemory); in InitDispatchTable()
161 INIT_PROC(true, dev, FreeMemory); in InitDispatchTable()
[all …]
Ddriver_gen.cpp435 bool InitDriverTable(VkDevice dev, in InitDriverTable() argument
438 auto& data = GetData(dev); in InitDriverTable()
442 INIT_PROC(true, dev, GetDeviceProcAddr); in InitDriverTable()
443 INIT_PROC(true, dev, DestroyDevice); in InitDriverTable()
444 INIT_PROC(true, dev, GetDeviceQueue); in InitDriverTable()
445 INIT_PROC(true, dev, CreateImage); in InitDriverTable()
446 INIT_PROC(true, dev, DestroyImage); in InitDriverTable()
447 INIT_PROC(true, dev, AllocateCommandBuffers); in InitDriverTable()
448 INIT_PROC_EXT(ANDROID_native_buffer, false, dev, GetSwapchainGrallocUsageANDROID); in InitDriverTable()
449 INIT_PROC_EXT(ANDROID_native_buffer, false, dev, GetSwapchainGrallocUsage2ANDROID); in InitDriverTable()
[all …]
/frameworks/base/native/
Dcopy-to-ndk.sh26 if diff $src $dst >/dev/null; then
27 echo "$i: has not changed from $j" >/dev/null
31 echo "$i: has changed from $j" >/dev/null
42 if diff $SRC_LIB_ANDROID $DST_LIB_ANDROID >/dev/null; then
/frameworks/rs/
DrsApiDevice.cpp32 extern "C" void rsDeviceDestroy(RsDevice dev) { in rsDeviceDestroy() argument
39 extern "C" void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value) { in rsDeviceSetConfig() argument
40 Device * d = static_cast<Device *>(dev); in rsDeviceSetConfig()
DrsApiContext.cpp31 Device * dev = static_cast<Device *>(vdev); in rsContextCreateVendor() local
32 Context *rsc = Context::createContext(dev, nullptr, ct, flags, vendorDriverName); in rsContextCreateVendor()
59 Device * dev = static_cast<Device *>(vdev); in rsContextCreateGL() local
60 Context *rsc = Context::createContext(dev, &sc); in rsContextCreateGL()
Drs.h40 RsContext rsContextCreateGL(RsDevice dev, uint32_t version, uint32_t sdkVersion,
55 void rsDeviceDestroy(RsDevice dev);
56 void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value);
57 RsContext rsContextCreate(RsDevice dev, uint32_t version, uint32_t sdkVersion,
/frameworks/support/development/checkstyle/
Dgradlew52 if expr "$link" : '/.*' > /dev/null; then
59 cd "`dirname \"$PRG\"`/" >/dev/null
61 cd "$SAVED" >/dev/null
81 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
115 ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
/frameworks/support/
Dgradlew51 if expr "$link" : '/.*' > /dev/null; then
58 cd "`dirname \"$PRG\"`/" >/dev/null
60 cd "$SAVED" >/dev/null
88 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
122 ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp118 SensorDevice& dev(SensorDevice::getInstance()); in configureChannel() local
119 int ret = dev.configureDirectChannel(handle, getHalChannelHandle(), &config); in configureChannel()
143 SensorDevice& dev(SensorDevice::getInstance()); in stopAll() local
145 dev.configureDirectChannel(i.first, getHalChannelHandle(), &config); in stopAll()
158 SensorDevice& dev(SensorDevice::getInstance()); in recoverAll() local
169 dev.configureDirectChannel(i.first, getHalChannelHandle(), &config); in recoverAll()
DSensorService.cpp132 SensorDevice& dev(SensorDevice::getInstance()); in onFirstRef() local
136 if (dev.initCheck() == NO_ERROR) { in onFirstRef()
138 ssize_t count = dev.getSensorList(&list); in onFirstRef()
329 SensorDevice& dev(SensorDevice::getInstance()); in dump() local
349 dev.disableAllSensors(); in dump()
362 dev.enableAllSensors(); in dump()
378 dev.disableAllSensors(); in dump()
379 status_t err = dev.setMode(DATA_INJECTION); in dump()
384 dev.enableAllSensors(); in dump()
1013 SensorDevice& dev(SensorDevice::getInstance()); in createSensorDirectConnection() local
[all …]
/frameworks/base/tests/backup/
Dbackup_stress_test.sh48 echo "FAILED iteration $i of $iterations; $failures failures so far" > /dev/stderr
51 printf "Iteration %d:\tPASS; remaining: %d\n" $i $(($iterations - $i - 1)) > /dev/stderr
59 echo "DONE: $iterations iterations with $failures failures." > /dev/stderr
/frameworks/av/media/audioserver/
Daudioserver.rc4 # media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
7 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
/frameworks/native/cmds/servicemanager/
Dvndservicemanager.rc1 service vndservicemanager /vendor/bin/vndservicemanager /dev/vndbinder
5 writepid /dev/cpuset/system-background/tasks
/frameworks/av/services/mediaanalytics/
Dmediametrics.rc5 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
/frameworks/av/camera/cameraserver/
Dcameraserver.rc6 writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks
/frameworks/av/media/mediaserver/
Dmediaserver.rc6 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
/frameworks/rs/perf-test-scripts/
Dswitch-device47 . build/envsetup.sh > /dev/null
48 lunch $LUNCH_TYPE > /dev/null
/frameworks/data-binding/samples/BindingDemo/
Dgradlew57 if expr "$link" : '/.*' > /dev/null; then
86 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
119 ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
/frameworks/base/tests/TouchLatency/
Dgradlew57 if expr "$link" : '/.*' > /dev/null; then
86 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
119 ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
/frameworks/data-binding/
Dgradlew57 if expr "$link" : '/.*' > /dev/null; then
86 …which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be foun…
119 ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`

1234