Home
last modified time | relevance | path

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

12345

/frameworks/av/camera/ndk/impl/
DACameraCaptureSession.cpp27 std::shared_ptr<acam::CameraDevice> dev = getDevicePtr(); in ~ACameraCaptureSession() local
29 sp<acam::CameraDevice> dev = getDeviceSp(); in ~ACameraCaptureSession() local
31 if (dev != nullptr && !dev->isClosed()) { in ~ACameraCaptureSession()
32 dev->lockDeviceForSessionOps(); in ~ACameraCaptureSession()
35 dev->notifySessionEndOfLifeLocked(this); in ~ACameraCaptureSession()
37 dev->unlockDevice(); in ~ACameraCaptureSession()
58 std::shared_ptr<acam::CameraDevice> dev = getDevicePtr(); in closeByApp() local
60 sp<acam::CameraDevice> dev = getDeviceSp(); in closeByApp() local
62 if (dev != nullptr) { in closeByApp()
63 dev->lockDeviceForSessionOps(); in closeByApp()
[all …]
DACameraCaptureSession.inc33 std::shared_ptr<acam::CameraDevice> dev = getDevicePtr();
35 sp<acam::CameraDevice> dev = getDeviceSp();
37 if (dev == nullptr) {
43 dev->lockDeviceForSessionOps();
46 ret = dev->setRepeatingRequestsLocked(
49 dev->unlockDevice();
59 std::shared_ptr<acam::CameraDevice> dev = getDevicePtr();
61 sp<acam::CameraDevice> dev = getDeviceSp();
63 if (dev == nullptr) {
68 dev->lockDeviceForSessionOps();
[all …]
DACameraDevice.cpp992 ACameraDevice* dev; in onMessageReceived() local
993 found = msg->findPointer(kDeviceKey, (void**) &dev); in onMessageReceived()
994 if (!found || dev == nullptr) { in onMessageReceived()
1007 (*onDisconnected)(context, dev); in onMessageReceived()
1012 ACameraDevice* dev; in onMessageReceived() local
1013 found = msg->findPointer(kDeviceKey, (void**) &dev); in onMessageReceived()
1014 if (!found || dev == nullptr) { in onMessageReceived()
1033 (*onError)(context, dev, errorCode); in onMessageReceived()
1562 sp<CameraDevice> dev = mDevice.promote(); in onDeviceError() local
1563 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/base/tools/locked_region_code_injection/test/
Dunit-test.sh51 pushd $TOP > /dev/null
52 . build/envsetup.sh > /dev/null 2>&1
53 lunch redfin-userdebug > /dev/null 2>&1
54 popd > /dev/null
61 pushd $TOP > /dev/null
64 popd > /dev/null
91 pushd $OUT > /dev/null
96 popd > /dev/null
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.cpp982 ACameraDevice* dev; in onMessageReceived() local
983 found = msg->findPointer(kDeviceKey, (void**) &dev); in onMessageReceived()
984 if (!found || dev == nullptr) { in onMessageReceived()
997 (*onDisconnected)(context, dev); in onMessageReceived()
1002 ACameraDevice* dev; in onMessageReceived() local
1003 found = msg->findPointer(kDeviceKey, (void**) &dev); in onMessageReceived()
1004 if (!found || dev == nullptr) { in onMessageReceived()
1023 (*onError)(context, dev, errorCode); in onMessageReceived()
1553 std::shared_ptr<CameraDevice> dev = mDevice.lock(); in onDeviceError() local
1554 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.cpp681 bool InitDriverTable(VkDevice dev, in InitDriverTable() argument
684 auto& data = GetData(dev); in InitDriverTable()
688 INIT_PROC(true, dev, GetDeviceProcAddr); in InitDriverTable()
689 INIT_PROC(true, dev, DestroyDevice); in InitDriverTable()
690 INIT_PROC(true, dev, GetDeviceQueue); in InitDriverTable()
691 INIT_PROC(true, dev, QueueSubmit); in InitDriverTable()
692 INIT_PROC(true, dev, CreateImage); in InitDriverTable()
693 INIT_PROC(true, dev, DestroyImage); in InitDriverTable()
694 INIT_PROC(true, dev, AllocateCommandBuffers); in InitDriverTable()
695 INIT_PROC_EXT(KHR_external_fence_fd, true, dev, ImportFenceFdKHR); in InitDriverTable()
[all …]
/frameworks/av/media/mtp/tests/MtpFuzzer/
Dmtp_data_packet_fuzzer.cpp244 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process()
248 usb_device_close(mUsbRequest.dev); in process()
254 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process()
259 usb_device_close(mUsbRequest.dev); in process()
265 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process()
267 usb_device_close(mUsbRequest.dev); in process()
273 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process()
276 usb_device_close(mUsbRequest.dev); in process()
282 mUsbRequest.dev = usb_device_new(mPath.c_str(), fd); in process()
284 usb_device_close(mUsbRequest.dev); in process()
[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.h78 RsContext rsContextCreateGL(RsDevice dev, uint32_t version, uint32_t sdkVersion,
121 void rsDeviceDestroy(RsDevice dev) __DEPRECATED_IN(
125 void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value)
130 RsContext rsContextCreate(RsDevice dev, uint32_t version, uint32_t sdkVersion,
/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/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/native/cmds/evemu-record/
DREADME.md19 /dev/input/event0: gpio_keys
20 /dev/input/event1: s2mpg12-power-keys
21 /dev/input/event2: NVTCapacitiveTouchScreen
22 /dev/input/event3: NVTCapacitivePen
23 /dev/input/event4: uinput-folio
24 /dev/input/event5: ACME Touchpad
/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/base/packages/SettingsLib/Spa/
Dgradlew87 APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
134 if ! command -v java >/dev/null 2>&1
218 if ! command -v xargs >/dev/null 2>&1
/frameworks/native/cmds/servicemanager/
Dvndservicemanager.rc1 service vndservicemanager /vendor/bin/vndservicemanager /dev/vndbinder
5 file /dev/kmsg w
/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/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`

12345