/frameworks/av/camera/ndk/ |
NdkCameraCaptureSession.cpp | 44 ACameraCaptureSession* session, ACameraDevice **device) { 46 if (session == nullptr || device == nullptr) { 47 ALOGE("%s: Error: invalid input: session %p, device %p", 48 __FUNCTION__, session, device); 54 *device = nullptr; 58 *device = session->getDevice(); 59 if (*device == nullptr) { 61 ALOGE("%s: unknown failure: device is null", __FUNCTION__);
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
RootScanner.java | 35 * likely to add new root just after the device is added. 139 for (final MtpDeviceRecord device : devices) { 140 if (mDatabase.getMapper().putDeviceDocument(device)) { 156 for (final MtpDeviceRecord device : devices) { 157 final String documentId = mDatabase.getDocumentIdForDevice(device.deviceId); 164 documentId, device.eventsSupported, device.roots)) { 186 // more likely to add new root just after the device is added. 187 // TODO: Use short interval only for a device that is just added.
|
/hardware/qcom/audio/msm8909/post_proc/ |
virtualizer.c | 68 * Check if an audio device is supported by this implementation 71 * device device that is intented for processing (e.g. for binaural vs transaural) 73 * false device is not applicable for effect 74 * true device is applicable for effect 76 bool virtualizer_is_device_supported(audio_devices_t device) { 77 switch (device) { 94 * Check if a channel mask + audio device is supported by this implementation 98 * device device that is intented for processing (e.g. for binaural vs transaural 234 audio_devices_t device = AUDIO_DEVICE_NONE; local 305 const audio_devices_t device = (audio_devices_t) *param_tmp; local 356 const audio_devices_t device = *(audio_devices_t *)value; local [all...] |
/hardware/qcom/display/msm8084/libgralloc/ |
framebuffer.cpp | 60 framebuffer_device_t device; member in struct:fb_context_t 378 hw_device_t** device) 396 dev->device.common.tag = HARDWARE_DEVICE_TAG; 397 dev->device.common.version = 0; 398 dev->device.common.module = const_cast<hw_module_t*>(module); 399 dev->device.common.close = fb_close; 400 dev->device.setSwapInterval = fb_setSwapInterval; 401 dev->device.post = fb_post; 402 dev->device.setUpdateRect = 0; 403 dev->device.compositionComplete = fb_compositionComplete [all...] |
/hardware/qcom/display/msm8226/libgralloc/ |
framebuffer.cpp | 60 framebuffer_device_t device; member in struct:fb_context_t 379 hw_device_t** device) 397 dev->device.common.tag = HARDWARE_DEVICE_TAG; 398 dev->device.common.version = 0; 399 dev->device.common.module = const_cast<hw_module_t*>(module); 400 dev->device.common.close = fb_close; 401 dev->device.setSwapInterval = fb_setSwapInterval; 402 dev->device.post = fb_post; 403 dev->device.setUpdateRect = 0; 404 dev->device.compositionComplete = fb_compositionComplete [all...] |
/hardware/qcom/display/msm8960/libgralloc/ |
framebuffer.cpp | 60 framebuffer_device_t device; member in struct:fb_context_t 355 hw_device_t** device) 369 dev->device.common.tag = HARDWARE_DEVICE_TAG; 370 dev->device.common.version = 0; 371 dev->device.common.module = const_cast<hw_module_t*>(module); 372 dev->device.common.close = fb_close; 373 dev->device.setSwapInterval = fb_setSwapInterval; 374 dev->device.post = fb_post; 375 dev->device.setUpdateRect = 0; 376 dev->device.compositionComplete = fb_compositionComplete [all...] |
/libcore/expectations/ |
brokentests.txt | 88 modes: [device], 97 modes: [device], 149 modes: [device],
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
HealthService.java | 54 * Provides Bluetooth Health Device profile, as a service in 265 BluetoothDevice device = getDevice(channelStateEvent.mAddr); local 266 chan = new HealthChannel(device, appConfig, appConfig.getChannelType()); 356 public boolean connectChannelToSource(BluetoothDevice device, 360 return service.connectChannelToSource(device, config); 363 public boolean connectChannelToSink(BluetoothDevice device, 367 return service.connectChannelToSink(device, config, channelType); 370 public boolean disconnectChannel(BluetoothDevice device, 374 return service.disconnectChannel(device, config, channelId); 377 public ParcelFileDescriptor getMainChannelFd(BluetoothDevice device, [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
MtpBitmapFetch.java | 44 public static Bitmap getThumbnail(MtpDevice device, IngestObjectInfo info) { 45 byte[] imageBytes = device.getThumbnail(info.getObjectHandle()); 70 public static BitmapWithMetadata getFullsize(MtpDevice device, IngestObjectInfo info) { 71 return getFullsize(device, info, sMaxSize); 74 public static BitmapWithMetadata getFullsize(MtpDevice device, IngestObjectInfo info, 76 byte[] imageBytes = device.getObject(info.getObjectHandle(), info.getCompressedSize());
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
BeamManager.java | 80 handoverData.device, handoverData.carrierActivating, null); 87 whitelistOppDevice(context, handoverData.device); 104 outgoingHandoverData.device, outgoingHandoverData.carrierActivating, 126 void whitelistOppDevice(Context context, BluetoothDevice device) { 127 if (DBG) Log.d(TAG, "Whitelisting " + device + " for BT OPP"); 129 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
UsbAlsaManager.java | 66 // ALSA device when we are notified that its associated USB device has been removed. 79 // UsbMidiDevice for USB peripheral mode (gadget) device 92 public AlsaDevice(int type, int card, int device) { 95 mDevice = device; 109 sb.append(", device: " + mDevice); 153 // Notifies AudioService when a device is added or removed 155 // enabled - if true, we're connecting a device (it's arrived), else disconnecting 167 // after device connection. Ideally we should handle the settings change 168 // in SettingsObserver. Here we should log that a USB device is connecte 190 int device = (audioDevice == mAccessoryAudioDevice ? local 203 int device = (audioDevice == mAccessoryAudioDevice ? local 247 int card = -1, device = -1; local 287 AlsaDevice device = mAlsaDevices.remove(path); local 308 int device = mDevicesParser.getDefaultDeviceNum(card); local 399 int device = mDevicesParser.getDefaultDeviceNum(addedCard); local [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
surface.c | 44 vlVdpVideoSurfaceCreate(VdpDevice device, VdpChromaType chroma_type, 68 vlVdpDevice *dev = vlGetDataHTAB(device); 74 p_surf->device = dev; 130 pipe_mutex_lock(p_surf->device->mutex); 133 pipe_mutex_unlock(p_surf->device->mutex); 206 pipe = vlsurface->device->context; 217 pipe_mutex_lock(vlsurface->device->mutex); 220 pipe_mutex_unlock(vlsurface->device->mutex); 241 pipe_mutex_unlock(vlsurface->device->mutex); 248 pipe_mutex_unlock(vlsurface->device->mutex) [all...] |
/system/connectivity/apmanager/ |
device_info.cc | 122 LOG(INFO) << "Device " << device_name << " already enumerated."; 126 scoped_refptr<Device> device = local 127 new Device(manager_, device_name, device_identifier_++); 128 device->ParseWiphyCapability(msg); 130 // Register device 131 RegisterDevice(device); 171 Device::WiFiInterface wifi_interface; 183 map<uint32_t, Device::WiFiInterface>::iterator iter = 186 // Deregister interface from the Device 187 scoped_refptr<Device> device = GetDevice(iter->second.device_name); local 305 scoped_refptr<Device> device = GetDevice(device_name); local [all...] |
/hardware/libhardware/modules/gralloc/ |
gralloc.cpp | 43 alloc_device_t device; member in struct:gralloc_context_t 53 hw_device_t** device); 56 hw_device_t** device); 290 hw_device_t** device) 301 dev->device.common.tag = HARDWARE_DEVICE_TAG; 302 dev->device.common.version = 0; 303 dev->device.common.module = const_cast<hw_module_t*>(module); 304 dev->device.common.close = gralloc_close; 306 dev->device.alloc = gralloc_alloc; 307 dev->device.free = gralloc_free [all...] |
/system/media/audio/include/system/ |
audio.h | 48 /* device address used to refer to the standard remote submix */ 653 /* USB accessory mode: your Android device is a USB device and the dock is a USB host */ 655 /* USB host mode: your Android device is a USB host and the dock is a USB device */ 670 /* limited-output speaker device for acoustic safety */ 1041 struct audio_port_config_device_ext device; \/* device specific info *\/ member in union:audio_port_config::__anon73417 1098 struct audio_port_device_ext device; member in union:audio_port::__anon73419 [all...] |
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
Drm.cpp | 73 bool Drm::detect(int device) 78 int outputIndex = getOutputIndex(device); 96 // find connector for the given device 109 if (connector->connector_type != DrmConfig::getDrmConnector(device)) { 115 ITRACE("device %d is not connected", device); 126 ITRACE("Drm connector has encoder attached on device %d", device); 134 ITRACE("getting encoder for device %d", device); [all...] |
/bionic/libc/tools/ |
ndk_missing_symbols.py | 36 device = (symbols.GetFromElf(os.path.join(tmp_dir, 'libc.so')) | 40 missing_symbols = current - device
|
/cts/apps/CameraITS/tests/inprog/ |
test_param_edge_mode.py | 16 import its.device namespace 38 with its.device.ItsSession() as cam:
|
/cts/apps/CameraITS/tests/scene0/ |
test_camera_properties.py | 16 import its.device namespace 24 with its.device.ItsSession() as cam:
|
/cts/hostsidetests/security/src/android/security/cts/ |
EncryptionHostTest.java | 20 import com.android.tradefed.device.DeviceNotAvailableException; 21 import com.android.tradefed.device.ITestDevice; 30 * These tests analyze a userdebug device for correct encryption properties 66 // Get name of /data device
|
/cts/suite/audio_quality/lib/src/ |
Adb.cpp | 21 Adb::Adb(const android::String8& device) 22 : mDevice(device)
|
/development/samples/USB/AdbTest/src/com/android/adb/ |
AdbSocket.java | 20 * socket connections to a single device. Typically a socket is created 29 public AdbSocket(AdbDevice device, int id) { 30 mDevice = device;
|
/development/tools/hosttestlib/src/com/android/hosttest/ |
DeviceTestSuite.java | 26 * Helper JUnit test suite that stores reference to an Android device and test data. 50 * Overrides parent method to pass in device and test app path to included test 79 public void setDevice(IDevice device) { 80 mDevice = device;
|
/device/asus/fugu/libaudio/ |
audio_hal_thunks.cpp | 37 struct audio_hw_device device; member in struct:android::atv_audio_device 372 * Audio device stubs 646 static int adev_close(hw_device_t *device) 649 reinterpret_cast<struct atv_audio_device*>(device); 651 free(device); 659 hw_device_t** device) 664 if (NULL == device) { 669 *device = NULL; 683 adev->device.common.tag = HARDWARE_DEVICE_TAG; 684 adev->device.common.version = AUDIO_DEVICE_API_VERSION_2_0 [all...] |
/device/generic/qemu/ |
qemu_base.mk | 29 # Device modules 86 device/generic/goldfish/fstab.goldfish:root/fstab.goldfish \ 87 device/generic/goldfish/init.goldfish.rc:root/init.goldfish.rc \ 88 device/generic/goldfish/init.goldfish.sh:system/etc/init.goldfish.sh \ 89 device/generic/goldfish/ueventd.goldfish.rc:root/ueventd.goldfish.rc \
|