Searched refs:dev (Results 1 - 25 of 63) sorted by path

123

/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
154 sp<CameraDevice> dev = getDeviceSp(); local
[all...]
H A DACameraDevice.cpp66 mCbLooper->setName("C2N-dev-looper");
786 ACameraDevice* dev; local
787 found = msg->findPointer(kDeviceKey, (void**) &dev);
788 if (!found || dev == nullptr) {
801 (*onDisconnected)(context, dev);
806 ACameraDevice* dev; local
807 found = msg->findPointer(kDeviceKey, (void**) &dev);
808 if (!found || dev == nullptr) {
827 (*onError)(context, dev, errorCode);
1136 sp<CameraDevice> dev local
1198 sp<CameraDevice> dev = mDevice.promote(); local
1240 sp<CameraDevice> dev = mDevice.promote(); local
1280 sp<CameraDevice> dev = mDevice.promote(); local
1353 sp<CameraDevice> dev = mDevice.promote(); local
[all...]
/frameworks/av/media/mtp/
H A DMtpDevice.cpp924 const int readSize = mEventPacket.readResponse(mRequestIntr->dev);
H A DMtpPacket.cpp156 int result = usb_device_bulk_transfer(request->dev,
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp141 static int load_audio_interface(const char *if_name, audio_hw_device_t **dev) argument
152 rc = audio_hw_device_open(mod, dev);
158 if ((*dev)->common.version < AUDIO_DEVICE_API_VERSION_MIN) {
159 ALOGE("%s wrong audio hw device version %04x", __func__, (*dev)->common.version);
166 *dev = NULL;
302 audio_hw_device_t *dev = audioHwDevice->hwDevice(); local
303 if ((dev->get_supported_devices != NULL) &&
304 (dev->get_supported_devices(dev) & devices) == devices)
447 audio_hw_device_t *dev local
806 AudioHwDevice *dev = mAudioHwDevs.valueAt(i); local
847 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local
878 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local
899 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local
928 AudioHwDevice *dev = mAudioHwDevs.valueAt(i); local
1109 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local
1190 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); local
1232 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local
1286 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local
1622 audio_hw_device_t *dev; local
1736 audio_hw_device_t *dev = mPrimaryHardwareDev->hwDevice(); local
[all...]
H A DAudioFlinger.h615 AudioStreamIn(AudioHwDevice *dev, audio_stream_in_t *in) : argument
616 audioHwDev(dev), stream(in) {}
H A DAudioStreamOut.cpp30 AudioStreamOut::AudioStreamOut(AudioHwDevice *dev, audio_output_flags_t flags) argument
31 : audioHwDev(dev)
H A DAudioStreamOut.h46 AudioStreamOut(AudioHwDevice *dev, audio_output_flags_t flags);
H A DSpdifStreamOut.cpp35 SpdifStreamOut::SpdifStreamOut(AudioHwDevice *dev, argument
39 : AudioStreamOut(dev, (audio_output_flags_t) (flags | AUDIO_OUTPUT_FLAG_IEC958_NONAUDIO))
H A DSpdifStreamOut.h41 SpdifStreamOut(AudioHwDevice *dev, audio_output_flags_t flags,
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp303 sp<DeviceDescriptor> dev = new DeviceDescriptor(singleType); local
304 devices.add(dev);
/frameworks/av/services/radio/
H A DRadioService.cpp56 struct radio_hw_device *dev; local
66 rc = radio_hw_device_open(mod, &dev);
72 if (dev->common.version != RADIO_DEVICE_API_VERSION_CURRENT) {
73 ALOGE("wrong radio hw device version %04x", dev->common.version);
78 rc = dev->get_properties(dev, &halProperties);
91 sp<Module> module = new Module(dev, properties);
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp59 sound_trigger_hw_device *dev; local
67 rc = sound_trigger_hw_device_open(mod, &dev);
73 if (dev->common.version < SOUND_TRIGGER_DEVICE_API_VERSION_1_0 ||
74 dev->common.version > SOUND_TRIGGER_DEVICE_API_VERSION_CURRENT) {
75 ALOGE("wrong sound trigger hw device version %04x", dev->common.version);
80 rc = dev->get_properties(dev, &descriptor.properties);
91 sp<Module> module = new Module(this, dev, descriptor, client);
/frameworks/base/
H A DAndroid.mk1169 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk-dev
1187 LOCAL_MODULE := online-sdk-dev
1198 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk-dev
/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/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDevice.java323 final BluetoothDevice dev = mDevice;
324 if (dev != null) {
325 final boolean successful = dev.removeBond();
351 Log.d(TAG," Clearing all connection state for dev:" + mDevice.getName());
H A DHeadsetProfile.java128 for (BluetoothDevice dev : deviceList) {
129 if (dev.equals(device)) {
147 for (BluetoothDevice dev : deviceList) {
148 if (dev.equals(device)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
H A DMLand.java257 public static boolean isGamePad(InputDevice dev) { argument
258 int sources = dev.getSources();
269 InputDevice dev = InputDevice.getDevice(deviceId);
270 if (isGamePad(dev)) {
376 InputDevice dev = InputDevice.getDevice(controllerId);
377 if (dev != null && dev.getVibrator().hasVibrator()) {
378 dev.getVibrator().vibrate(
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java135 native void nDeviceDestroy(long dev); argument
136 native void nDeviceSetConfig(long dev, int param, int value); argument
208 native long rsnContextCreateGL(long dev, int ver, int sdkVer, argument
214 synchronized long nContextCreateGL(long dev, int ver, int sdkVer, argument
220 return rsnContextCreateGL(dev, ver, sdkVer, colorMin, colorPref,
225 native long rsnContextCreate(long dev, int ver, int sdkVer, int contextType); argument
226 synchronized long nContextCreate(long dev, int ver, int sdkVer, int contextType) { argument
227 return rsnContextCreate(dev, ver, sdkVer, contextType);
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp821 nDeviceDestroy(JNIEnv *_env, jobject _this, jlong dev) argument
826 return rsDeviceDestroy((RsDevice)dev);
830 nDeviceSetConfig(JNIEnv *_env, jobject _this, jlong dev, jint p, jint value) argument
833 ALOGD("nDeviceSetConfig dev(%p), param(%i), value(%i)", (void *)dev, p, value);
835 return rsDeviceSetConfig((RsDevice)dev, (RsDeviceParam)p, value);
839 nContextCreate(JNIEnv *_env, jobject _this, jlong dev, jint flags, jint sdkVer, jint contextType) argument
844 return (jlong)(uintptr_t)rsContextCreate((RsDevice)dev, 0, sdkVer, (RsContextType)contextType, flags);
848 nContextCreateGL(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer, argument
870 return (jlong)(uintptr_t)rsContextCreateGL((RsDevice)dev, ve
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java918 * Format: "NNN Route <updated|removed> <dst> [via <gateway] [dev <iface>]"
925 String dev = null;
928 if (cooked[i].equals("dev")) {
929 if (dev == null) {
930 dev = cooked[i+1];
949 RouteInfo route = new RouteInfo(new IpPrefix(cooked[3]), gateway, dev);
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java4955 Slog.i(TAG, "handleDeviceConnection(" + connect + " dev:" + Integer.toHexString(device)
5005 int dev = mConnectedDevices.valueAt(i).mDeviceType;
5006 if (((dev & AudioSystem.DEVICE_BIT_IN) == 0)
5007 && ((dev & mBecomingNoisyIntentDevices) != 0)) {
5008 devices |= dev;
5039 Slog.i(TAG, "sendDeviceConnectionIntent(dev:0x" + Integer.toHexString(device) +
5098 Slog.i(TAG, "onSetWiredDeviceConnectionState(dev:" + Integer.toHexString(device)
/frameworks/base/services/core/jni/
H A Dcom_android_server_ConsumerIrService.cpp34 consumerir_device_t *dev; local
44 (hw_device_t **) &dev);
50 return reinterpret_cast<jlong>(dev);
57 consumerir_device_t *dev = reinterpret_cast<consumerir_device_t*>(halObject); local
64 ret = dev->transmit(dev, carrierFrequency, cPattern.get(), patternLength);
71 consumerir_device_t *dev = reinterpret_cast<consumerir_device_t*>(halObject); local
75 len = dev->get_num_carrier_freqs(dev);
81 len = dev
[all...]
H A Dcom_android_server_tv_TvInputHal.cpp276 JTvInputHal(JNIEnv* env, jobject thiz, tv_input_device_t* dev, const sp<Looper>& looper);
279 tv_input_device_t* dev, tv_input_event_t* event, void* data);
446 tv_input_device_t* dev, tv_input_event_t* event, void* data) {
445 notify( tv_input_device_t* dev, tv_input_event_t* event, void* data) argument
/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

Completed in 661 milliseconds

123