Searched refs:dev (Results 1 - 25 of 92) sorted by relevance

1234

/frameworks/av/camera/ndk/impl/
H A DACameraCaptureSession.cpp26 sp<CameraDevice> dev = getDeviceSp(); local
27 if (dev != nullptr && !dev->isClosed()) {
28 dev->lockDeviceForSessionOps();
31 dev->notifySessionEndOfLifeLocked(this);
33 dev->unlockDevice();
51 sp<CameraDevice> dev = getDeviceSp(); local
52 if (dev != nullptr) {
53 dev->lockDeviceForSessionOps();
59 if (!mIsClosed && dev !
76 sp<CameraDevice> dev = getDeviceSp(); local
94 sp<CameraDevice> dev = getDeviceSp(); local
115 sp<CameraDevice> dev = getDeviceSp(); local
136 sp<CameraDevice> dev = getDeviceSp(); local
152 sp<CameraDevice> dev = getDeviceSp(); local
171 sp<CameraDevice> dev = getDeviceSp(); local
[all...]
H A DACameraDevice.cpp67 mCbLooper->setName("C2N-dev-looper");
916 ACameraDevice* dev; local
917 found = msg->findPointer(kDeviceKey, (void**) &dev);
918 if (!found || dev == nullptr) {
931 (*onDisconnected)(context, dev);
936 ACameraDevice* dev; local
937 found = msg->findPointer(kDeviceKey, (void**) &dev);
938 if (!found || dev == nullptr) {
957 (*onError)(context, dev, errorCode);
1266 sp<CameraDevice> dev local
1329 sp<CameraDevice> dev = mDevice.promote(); local
1372 sp<CameraDevice> dev = mDevice.promote(); local
1414 sp<CameraDevice> dev = mDevice.promote(); local
1494 sp<CameraDevice> dev = mDevice.promote(); local
[all...]
/frameworks/rs/
H A DrsApiDevice.cpp32 extern "C" void rsDeviceDestroy(RsDevice dev) { argument
39 extern "C" void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value) { argument
40 Device * d = static_cast<Device *>(dev);
H A DrsApiContext.cpp31 Device * dev = static_cast<Device *>(vdev); local
32 Context *rsc = Context::createContext(dev, nullptr, ct, flags, vendorDriverName);
58 //ALOGV("rsContextCreateGL dev=%p", vdev);
59 Device * dev = static_cast<Device *>(vdev); local
60 Context *rsc = Context::createContext(dev, &sc);
H A Drs.h42 RsContext rsContextCreateGL(RsDevice dev, uint32_t version,
57 void rsDeviceDestroy(RsDevice dev);
58 void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value);
59 RsContext rsContextCreate(RsDevice dev, uint32_t version, uint32_t sdkVersion,
/frameworks/base/tests/JankBench/scripts/
H A 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):
34 adbutil.am(dev, "force-stop", "com.android.benchmark")
35 adbutil.wake(dev)
36 adbutil.am(dev, "star
[all...]
/frameworks/base/tools/hiddenapi/
H A Dsort_api.sh4 source_list=/dev/stdin
5 dest_list=/dev/stdout
/frameworks/av/media/libaudiohal/2.0/
H A DDevicesFactoryHalLocal.cpp30 static status_t load_audio_interface(const char *if_name, audio_hw_device_t **dev) argument
41 rc = audio_hw_device_open(mod, dev);
47 if ((*dev)->common.version < AUDIO_DEVICE_API_VERSION_MIN) {
48 ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version);
50 audio_hw_device_close(*dev);
56 *dev = NULL;
61 audio_hw_device_t *dev; local
62 status_t rc = load_audio_interface(name, &dev);
64 *device = new DeviceHalLocal(dev);
/frameworks/av/media/libaudiohal/4.0/
H A DDevicesFactoryHalLocal.cpp31 static status_t load_audio_interface(const char *if_name, audio_hw_device_t **dev) argument
42 rc = audio_hw_device_open(mod, dev);
48 if ((*dev)->common.version < AUDIO_DEVICE_API_VERSION_MIN) {
49 ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version);
51 audio_hw_device_close(*dev);
57 *dev = NULL;
62 audio_hw_device_t *dev; local
63 status_t rc = load_audio_interface(name, &dev);
65 *device = new DeviceHalLocal(dev);
/frameworks/rs/perf-test-scripts/
H A Dswitch-device47 . build/envsetup.sh > /dev/null
48 lunch $LUNCH_TYPE > /dev/null
/frameworks/base/tests/backup/
H A 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/tools/apilint/
H A Dapilint_sha.sh2 if git show --name-only --pretty=format: $1 | grep api/ > /dev/null; then
/frameworks/base/native/
H A 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/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pServiceResponse.java180 public void setSrcDevice(WifiP2pDevice dev) { argument
181 if (dev == null) return;
182 this.mDevice = dev;
198 WifiP2pDevice dev = new WifiP2pDevice();
199 dev.deviceAddress = srcAddr;
228 transId, dev, null));
242 transId, dev, data);
245 transId, dev, data);
247 resp = new WifiP2pServiceResponse(type, status, transId, dev, data);
360 WifiP2pDevice dev
[all...]
H A DWifiP2pDnsSdServiceResponse.java148 * @param dev source device.
153 int tranId, WifiP2pDevice dev, byte[] data) {
155 status, tranId, dev, data);
290 * @param dev source device.
296 int transId, WifiP2pDevice dev, byte[] data) {
299 transId, dev, null);
303 transId, dev, data);
152 WifiP2pDnsSdServiceResponse(int status, int tranId, WifiP2pDevice dev, byte[] data) argument
295 newInstance(int status, int transId, WifiP2pDevice dev, byte[] data) argument
/frameworks/rs/tests/java_api/RSUnitTests/
H A Dfind_versions.sh19 ($version/bin/llvm-rs-cc $unittest -o $TMP -p $TMP -I $version/include/ -I $version/clang-include/ 1> /dev/null 2> /dev/null) && (echo $(basename $unittest) | sed 's/...$//') >> $txtfile
/frameworks/support/development/checkstyle/
H A 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 found in your PATH.
115 ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
/frameworks/native/services/sensorservice/
H A DSensorDirectConnection.cpp128 SensorDevice& dev(SensorDevice::getInstance());
129 int ret = dev.configureDirectChannel(handle, getHalChannelHandle(), &config);
153 SensorDevice& dev(SensorDevice::getInstance());
155 dev.configureDirectChannel(i.first, getHalChannelHandle(), &config);
168 SensorDevice& dev(SensorDevice::getInstance());
179 dev.configureDirectChannel(i.first, getHalChannelHandle(), &config);
195 // same, pointing to "/dev/ashmem").
/frameworks/base/libs/hwui/tests/scripts/
H A 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
H A Dprep_marlfish.sh36 adb shell "echo 13763 > /sys/class/devfreq/soc:qcom,gpubw/min_freq" &> /dev/null
/frameworks/base/tools/aapt2/
H A DAndroid.mk9 -$(HOST_OUT_NATIVE_TESTS)/aapt2_tests/aapt2_tests $(PRIVATE_GTEST_OPTIONS) > /dev/null 2>&1
/frameworks/ml/nn/runtime/test/specs/
H A Dgenerate_test.sh91 pushd $VER_DIR > /dev/null
103 popd > /dev/null
/frameworks/native/vulkan/libvulkan/
H A Dapi.h47 inline DeviceData& GetData(VkDevice dev) { argument
48 return driver::GetData(dev).opaque_api_data;
/frameworks/support/app-toolkit/
H A Dgradlew60 if expr "$link" : '/.*' > /dev/null; then
67 cd "`dirname \"$PRG\"`/" >/dev/null
69 cd "$SAVED" >/dev/null
97 which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
131 ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
/frameworks/support/
H A Dgradlew60 if expr "$link" : '/.*' > /dev/null; then
67 cd "`dirname \"$PRG\"`/" >/dev/null
69 cd "$SAVED" >/dev/null
97 which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
131 ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`

Completed in 1187 milliseconds

1234