Home
last modified time | relevance | path

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

1234

/frameworks/av/camera/ndk/impl/
DACameraCaptureSession.cpp26 sp<acam::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()
53 sp<acam::CameraDevice> dev = getDeviceSp(); in closeByApp() local
54 if (dev != nullptr) { in closeByApp()
55 dev->lockDeviceForSessionOps(); in closeByApp()
61 if (!mIsClosed && dev != nullptr) { in closeByApp()
62 camera_status_t ret = dev->stopRepeatingLocked(); in closeByApp()
[all …]
DACameraCaptureSession.inc33 sp<acam::CameraDevice> dev = getDeviceSp();
34 if (dev == nullptr) {
40 dev->lockDeviceForSessionOps();
43 ret = dev->setRepeatingRequestsLocked(
46 dev->unlockDevice();
55 sp<acam::CameraDevice> dev = getDeviceSp();
56 if (dev == nullptr) {
61 dev->lockDeviceForSessionOps();
64 ret = dev->captureLocked(this, cbs, numRequests, requests, captureSequenceId);
66 dev->unlockDevice();
DACameraDevice.cpp941 ACameraDevice* dev; in onMessageReceived() local
942 found = msg->findPointer(kDeviceKey, (void**) &dev); in onMessageReceived()
943 if (!found || dev == nullptr) { in onMessageReceived()
956 (*onDisconnected)(context, dev); in onMessageReceived()
961 ACameraDevice* dev; in onMessageReceived() local
962 found = msg->findPointer(kDeviceKey, (void**) &dev); in onMessageReceived()
963 if (!found || dev == nullptr) { in onMessageReceived()
982 (*onError)(context, dev, errorCode); in onMessageReceived()
1492 sp<CameraDevice> dev = mDevice.promote(); in onDeviceError() local
1493 if (dev == nullptr) { in onDeviceError()
[all …]
/frameworks/base/tests/JankBench/scripts/
Drunall.py22 dev = DEVICES[device]
23 adbutil.root(dev)
24 adbutil.pm(dev, "clear", "com.android.benchmark")
26 for name, dev in DEVICES.iteritems():
28 adbutil.root(dev)
29 adbutil.pm(dev, "clear", "com.android.benchmark")
31 def start_device(name, dev): argument
34 adbutil.am(dev, "force-stop", "com.android.benchmark")
35 adbutil.wake(dev)
36 adbutil.am(dev, "start",
[all …]
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.cpp961 ACameraDevice* dev; in onMessageReceived() local
962 found = msg->findPointer(kDeviceKey, (void**) &dev); in onMessageReceived()
963 if (!found || dev == nullptr) { in onMessageReceived()
976 (*onDisconnected)(context, dev); in onMessageReceived()
981 ACameraDevice* dev; in onMessageReceived() local
982 found = msg->findPointer(kDeviceKey, (void**) &dev); in onMessageReceived()
983 if (!found || dev == nullptr) { in onMessageReceived()
1002 (*onError)(context, dev, errorCode); in onMessageReceived()
1512 sp<CameraDevice> dev = mDevice.promote(); in onDeviceError() local
1513 if (dev == nullptr) { in onDeviceError()
[all …]
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp189 VkDevice dev, in InitDispatchTable() argument
192 auto& data = GetData(dev); in InitDispatchTable()
196 INIT_PROC(true, dev, GetDeviceProcAddr); in InitDispatchTable()
197 INIT_PROC(true, dev, DestroyDevice); in InitDispatchTable()
198 INIT_PROC(true, dev, GetDeviceQueue); in InitDispatchTable()
199 INIT_PROC(true, dev, QueueSubmit); in InitDispatchTable()
200 INIT_PROC(true, dev, QueueWaitIdle); in InitDispatchTable()
201 INIT_PROC(true, dev, DeviceWaitIdle); in InitDispatchTable()
202 INIT_PROC(true, dev, AllocateMemory); in InitDispatchTable()
203 INIT_PROC(true, dev, FreeMemory); in InitDispatchTable()
[all …]
Ddriver_gen.cpp648 bool InitDriverTable(VkDevice dev, in InitDriverTable() argument
651 auto& data = GetData(dev); in InitDriverTable()
655 INIT_PROC(true, dev, GetDeviceProcAddr); in InitDriverTable()
656 INIT_PROC(true, dev, DestroyDevice); in InitDriverTable()
657 INIT_PROC(true, dev, GetDeviceQueue); in InitDriverTable()
658 INIT_PROC(true, dev, QueueSubmit); in InitDriverTable()
659 INIT_PROC(true, dev, CreateImage); in InitDriverTable()
660 INIT_PROC(true, dev, DestroyImage); in InitDriverTable()
661 INIT_PROC(true, dev, AllocateCommandBuffers); in InitDriverTable()
662 INIT_PROC(false, dev, BindImageMemory2); in InitDriverTable()
[all …]
/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp183 SensorDevice& dev(SensorDevice::getInstance()); in configureChannel() local
184 int ret = dev.configureDirectChannel(handle, getHalChannelHandle(), &config); in configureChannel()
227 SensorDevice& dev(SensorDevice::getInstance()); in capRates() local
242 dev.configureDirectChannel(handle, getHalChannelHandle(), &stopConfig); in capRates()
243 dev.configureDirectChannel(handle, getHalChannelHandle(), &capConfig); in capRates()
261 SensorDevice& dev(SensorDevice::getInstance()); in uncapRates() local
276 dev.configureDirectChannel(handle, getHalChannelHandle(), &stopConfig); in uncapRates()
277 dev.configureDirectChannel(handle, getHalChannelHandle(), &config); in uncapRates()
293 SensorDevice& dev(SensorDevice::getInstance()); in stopAllLocked() local
295 dev.configureDirectChannel(i.first, getHalChannelHandle(), &config); in stopAllLocked()
[all …]
/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.h41 RsContext rsContextCreateGL(RsDevice dev, uint32_t version, uint32_t sdkVersion, RsSurfaceConfig sc,
57 void rsDeviceDestroy(RsDevice dev) __DEPRECATED_IN(31);
58 void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value) __DEPRECATED_IN(31);
59 RsContext rsContextCreate(RsDevice dev, uint32_t version, uint32_t sdkVersion, RsContextType ct,
/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/av/media/tests/SampleVideoEncoder/
Dgradlew16 if expr "$link" : '/.*' > /dev/null; then
23 cd "`dirname \"$PRG\"`/" >/dev/null
25 cd "$SAVED" >/dev/null
85 …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/startop/apps/ColorChanging/
Dgradlew16 if expr "$link" : '/.*' > /dev/null; then
23 cd "`dirname \"$PRG\"`/" >/dev/null
25 cd "$SAVED" >/dev/null
85 …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/
Dgradlew16 if expr "$link" : '/.*' > /dev/null; then
23 cd "`dirname \"$PRG\"`/" >/dev/null
25 cd "$SAVED" >/dev/null
85 …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/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/base/api/
Ddump_api_shas.sh26 { source build/envsetup.sh && lunch aosp_arm && m queryview; } >/dev/null 2>&1 \
33 'kind(java_sdk_library, deps(//frameworks/base/api/..., 1))' 2>/dev/null
49 git rev-parse -q --verify $exclude > /dev/null && echo "--not $exclude" \
/frameworks/rs/perf-test-scripts/
Dswitch-device47 . build/envsetup.sh > /dev/null
48 lunch $LUNCH_TYPE > /dev/null
/frameworks/rs/tests/java_api/RSUnitTests/
Dfind_versions.sh19 …-o $TMP -p $TMP -I $version/include/ -I $version/clang-include/ 1> /dev/null 2> /dev/null) && (ech…
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/
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/core/jni/
Druntime_native_boot-flags-test.sh50 adb wait-for-device >/dev/null
97 adb root >/dev/null
99 adb unroot >/dev/null
244 adb shell device_config delete "$namespace" "$flag" >/dev/null
/frameworks/native/services/inputflinger/tests/
DUinputDevice.h36 std::unique_ptr<D> dev(new D(&args...)); in createUinputDevice()
37 EXPECT_NO_FATAL_FAILURE(dev->init()); in createUinputDevice()
38 return dev; in createUinputDevice()
/frameworks/opt/net/wifi/libwifi_hal/
DAndroid.bp31 "-DWIFI_DRIVER_FW_PATH_STA=\"/dev/null\"",
32 "-DWIFI_DRIVER_FW_PATH_AP=\"/dev/null\"",
33 "-DWIFI_DRIVER_FW_PATH_PARAM=\"/dev/null\"",
/frameworks/multidex/
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/libs/hwui/tests/scripts/
Dprep_buller.sh42 adb shell "echo 11863 > /sys/class/devfreq/qcom,gpubw.70/min_freq" &> /dev/null
44 adb shell "echo 7102 > /sys/class/devfreq/qcom,gpubw.19/min_freq" &> /dev/null

1234