/hardware/qcom/display/msm8996/libgralloc/ |
framebuffer.cpp | 52 framebuffer_device_t device; member in struct:fb_context_t 400 hw_device_t** device) 418 dev->device.common.tag = HARDWARE_DEVICE_TAG; 419 dev->device.common.version = 0; 420 dev->device.common.module = const_cast<hw_module_t*>(module); 421 dev->device.common.close = fb_close; 422 dev->device.setSwapInterval = fb_setSwapInterval; 423 dev->device.post = fb_post; 424 dev->device.setUpdateRect = 0; 425 dev->device.compositionComplete = fb_compositionComplete [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
CollectTraceAction.java | 63 /** Abstract Unix Domain Socket Name used by the gltrace device code. */ 66 /** Local port that is forwarded to the device's {@link #GLTRACE_UDS} socket. */ 106 IDevice device = getDevice(traceOptions.device); local 107 String apiLevelString = device.getProperty(IDevice.PROP_BUILD_API_LEVEL); 117 + "The selected device '%2$s' provides API level %3$s.", 118 MIN_API_LEVEL, traceOptions.device, apiLevelString)); 123 setupForwarding(device, LOCAL_FORWARDED_PORT); 132 startActivity(device, traceOptions.appToTrace, traceOptions.activityToTrace, 146 disablePortForwarding(device, LOCAL_FORWARDED_PORT) [all...] |
/bootable/recovery/ |
wear_touch.cpp | 127 int WearSwipeDetector::openDevice(const char *device) { 128 int fd = open(device, O_RDONLY); 130 LOGE("could not open %s, %s\n", device, strerror(errno)); 137 LOGE("could not get device name for %s, %s\n", device, strerror(errno)); 146 LOGD("Found %s %s\n", device, name); 167 char device[PATH_MAX]; local 168 device[PATH_MAX-1] = '\0'; 169 snprintf(device, PATH_MAX-1, "%s/%s", path, entry->d_name); 171 ret = openDevice(device); [all...] |
/external/chromium-trace/catapult/devil/devil/ |
devil_env.py | 126 def FetchPath(self, dependency, arch=None, device=None): 130 self.FetchPath('android_build_tools_libc++', arch=arch, device=device) 131 return self._dm.FetchPath(dependency, GetPlatform(arch, device)) 133 def LocalPath(self, dependency, arch=None, device=None): 136 return self._dm.LocalPath(dependency, GetPlatform(arch, device)) 139 def GetPlatform(arch=None, device=None): 140 if device: 141 return 'android_%s' % (arch or device.product_cpu_abi)
|
/external/e2fsprogs/lib/ext2fs/ |
finddev.c | 2 * finddev.c -- this routine attempts to find a particular device in 78 static int scan_dir(char *dirname, dev_t device, struct dir_list **list, 103 if (S_ISBLK(st.st_mode) && st.st_rdev == device) { 122 * This function finds the pathname to a block device with a given 123 * device number. It returns a pointer to allocated memory to the 126 char *ext2fs_find_block_device(dev_t device) 146 scan_dir(current->name, device, &new_list, &ret_path); 174 dev_t device; local 183 device = strtoul(argv[1], &tmp, 0); 185 fprintf(stderr, errmsg, "device number", argv[1]) [all...] |
/external/libweave/examples/daemon/sample/ |
sample.cc | 7 #include <weave/device.h> 55 // - _ping: update device state. 61 void Register(weave::Device* device) { 62 device_ = device; 64 device->AddTraitDefinitionsFromJson(kTraits); 65 CHECK(device->AddComponent(kComponent, {"_sample"}, nullptr)); 66 CHECK(device->SetStatePropertiesFromJson( 69 device->AddCommandHandler(kComponent, "_sample.hello", 72 device->AddCommandHandler(kComponent, "_sample.ping" [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
bitmap.c | 39 vlVdpBitmapSurfaceCreate(VdpDevice device, 54 vlVdpDevice *dev = vlGetDataHTAB(device); 69 vlsurface->device = dev; 121 pipe_mutex_lock(vlsurface->device->mutex); 123 pipe_mutex_unlock(vlsurface->device->mutex); 180 pipe = vlsurface->device->context; 182 pipe_mutex_lock(vlsurface->device->mutex); 184 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL); 191 pipe_mutex_unlock(vlsurface->device->mutex);
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
ActivityTest.java | 65 public UiDevice device; field in class:ActivityTest 108 device = UiDevice.getInstance(getInstrumentation()); 112 bots = new Bots(device, context, TIMEOUT); 145 device.waitForIdle(); 178 private Bots(UiDevice device, Context context, int timeout) { 179 this.main = new UiBot(device, context, TIMEOUT); 180 this.roots = new RootsListBot(device, context, TIMEOUT); 181 this.directory = new DirectoryListBot(device, context, TIMEOUT); 182 this.keyboard = new KeyboardBot(device, context, TIMEOUT);
|
/external/autotest/client/cros/cellular/pseudomodem/ |
dbus_std_ifaces.py | 341 def Add(self, device): 343 Adds a device to the list of devices that are managed by this modem 346 @param device: Device to add. 351 self.devices.append(device) 352 device.manager = self 353 self.InterfacesAdded(device.path, device.GetInterfacesAndProperties()) 356 def Remove(self, device): 358 Removes a device from the list of devices that are managed by thi [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/ |
android_browser_backend.py | 49 if self.device.HasRoot() or self.device.NeedsSU(): 67 def device(self): member in class:AndroidBrowserBackend 68 return self.platform_backend.device 71 if self.device.IsUserBuild(): 77 self.device.RunShellCommand('logcat -c') 94 self.device, self._backend_settings, browser_startup_args): 95 self.device.StartActivity( 104 self.device) 106 # Release reserved port right before forwarding host to device [all...] |
/hardware/bsp/intel/peripheral/sensors/mraa/ |
SensorsHAL.cpp | 36 memset(&device, 0, sizeof(device)); 38 device.common.tag = HARDWARE_DEVICE_TAG; 39 device.common.version = SENSORS_DEVICE_API_VERSION_1_0; 40 device.common.module = const_cast<hw_module_t*>(module); 41 device.common.close = CloseWrapper; 42 device.activate = ActivateWrapper; 43 device.setDelay = SetDelayWrapper; 44 device.poll = PollEventsWrapper; 45 device.batch = BatchWrapper [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
hwc_session.h | 57 static int Open(const hw_module_t *module, const char* name, hw_device_t **device); 58 static int Close(hw_device_t *device); 59 static int Prepare(hwc_composer_device_1 *device, size_t num_displays, 61 static int Set(hwc_composer_device_1 *device, size_t num_displays, 63 static int EventControl(hwc_composer_device_1 *device, int disp, int event, int enable); 64 static int SetPowerMode(hwc_composer_device_1 *device, int disp, int mode); 65 static int Query(hwc_composer_device_1 *device, int param, int *value); 66 static void RegisterProcs(hwc_composer_device_1 *device, hwc_procs_t const *procs); 67 static void Dump(hwc_composer_device_1 *device, char *buffer, int length); 69 static int GetDisplayConfigs(hwc_composer_device_1 *device, int disp, uint32_t *configs [all...] |
/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/ |
FullscreenActivity.java | 219 // Verify that the device has gamepad buttons, control sticks, or 224 // This device is a game controller. Store its device ID. 298 InputDevice device = ev.getDevice(); local 300 if (device != null && device.getId() == mCurrentDeviceId) { 301 if (isGamepad(device)) { 303 mAxes[axesMapping.ordinal()] = getCenteredAxis(ev, device, 317 * @param device 321 private float getCenteredAxis(MotionEvent event, InputDevice device, int axis) 348 InputDevice device = ev.getDevice(); local 370 InputDevice device = ev.getDevice(); local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothAvrcpController.java | 55 * <li> {@link BluetoothDevice#EXTRA_DEVICE} - The remote device. </li> 255 public int getConnectionState(BluetoothDevice device) { 256 if (VDBG) log("getState(" + device + ")"); 258 && isValidDevice(device)) { 260 return mService.getConnectionState(device); 270 public void sendPassThroughCmd(BluetoothDevice device, int keyCode, int keyState) { 274 mService.sendPassThroughCmd(device, keyCode, keyState); 289 public BluetoothAvrcpPlayerSettings getPlayerSettings(BluetoothDevice device) { 294 settings = mService.getPlayerSettings(device); 310 public MediaMetadata getMetadata(BluetoothDevice device) { [all...] |
/device/generic/goldfish/audio/ |
audio_hw.c | 44 struct audio_hw_device device; member in struct:generic_audio_device 56 audio_devices_t device; member in struct:generic_stream_out 62 audio_devices_t device; member in struct:generic_stream_in 117 out->device, 140 out->device = (int)val; 161 str_parms_add_int(reply, AUDIO_PARAMETER_STREAM_ROUTING, out->device); 273 in->device, 296 in->device = (int)val; 318 str_parms_add_int(reply, AUDIO_PARAMETER_STREAM_ROUTING, in->device); 420 out->device = devices [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/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 ILOGTRACE("device %d is not connected", device); 126 ILOGTRACE("Drm connector has encoder attached on device %d", device); 134 ILOGTRACE("getting encoder for device %d", device); [all...] |
/device/asus/fugu/ |
BoardConfig.mk | 24 TARGET_RECOVERY_FSTAB := device/asus/fugu/recovery.fstab 25 TARGET_RELEASETOOLS_EXTENSIONS := device/asus/fugu 72 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/asus/fugu/bluetooth 91 BOARD_EGL_CFG := device/asus/fugu/egl.cfg 149 BOARD_SEPOLICY_DIRS += device/asus/fugu/sepolicy 157 -include device/intel/common/external/external.mk
|
/device/huawei/angler/ |
BoardConfig.mk | 45 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/huawei/angler/bluetooth 51 TARGET_BOARD_INFO_FILE := device/huawei/angler/board-info.txt 54 BOARD_EGL_CFG := device/huawei/angler/egl.cfg 63 # of the device. 99 TARGET_RECOVERY_FSTAB = device/huawei/angler/fstab.angler 101 TARGET_RELEASETOOLS_EXTENSIONS := device/huawei/angler 104 device/huawei/angler/sepolicy
|
/device/lge/bullhead/ |
BoardConfig.mk | 48 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/lge/bullhead/bluetooth 69 TARGET_BOARD_INFO_FILE := device/lge/bullhead/board-info.txt 72 BOARD_EGL_CFG := device/lge/bullhead/egl.cfg 81 # of the device. 117 TARGET_RECOVERY_FSTAB = device/lge/bullhead/fstab.bullhead 119 TARGET_RELEASETOOLS_EXTENSIONS := device/lge/bullhead 127 device/lge/bullhead/sepolicy
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineEarlyFragmentTests.cpp | 60 const VkDevice device, 65 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) 66 , m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement)) 68 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); 88 const VkDevice device, 93 : m_image (createImage(vk, device, &imageCreateInfo)) 94 , m_allocation (allocator.allocate(getImageMemoryRequirements(vk, device, *m_image), memoryRequirement)) 96 VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset())); 151 const VkDevice device, 163 return allocateDescriptorSet(vk, device, &allocateParams) 827 const VkDevice device = m_context.getDevice(); local [all...] |
/external/libdrm/tests/nouveau/ |
threaded.c | 77 const char *device = NULL; local 90 device = argv[1]; 92 fd = open(device, O_RDWR); 94 fd2 = open(device, O_RDWR); 101 return device ? -fd : 77; 143 if (device) {
|
/external/libmtp/examples/ |
connect.c | 33 LIBMTP_mtpdevice_t *device; variable 86 device = LIBMTP_Get_First_Device(); 87 if (device == NULL) { 91 files = LIBMTP_Get_Filelisting_With_Callback (device, NULL, NULL); 92 folders = LIBMTP_Get_Folder_List (device); 165 LIBMTP_Release_Device(device);
|
/external/opencv3/modules/java/src/ |
videoio+VideoCapture.java | 47 // C++: VideoCapture(int device) 50 //javadoc: VideoCapture::VideoCapture(device) 51 public VideoCapture(int device) 54 nativeObj = VideoCapture_2(device); 75 // C++: bool open(int device) 78 //javadoc: VideoCapture::open(device) 79 public boolean open(int device) 82 boolean retVal = open_1(nativeObj, device); 222 // C++: VideoCapture(int device) 223 private static native long VideoCapture_2(int device); [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
BluetoothA2dpFacade.java | 66 public Boolean a2dpConnect(BluetoothDevice device) { 73 return sA2dpProfile.connect(device); 76 public Boolean a2dpDisconnect(BluetoothDevice device) { 78 if (sA2dpProfile.getPriority(device) > BluetoothProfile.PRIORITY_ON) { 79 sA2dpProfile.setPriority(device, BluetoothProfile.PRIORITY_ON); 81 return sA2dpProfile.disconnect(device); 95 * Connect to remote device using the A2DP profile. 97 * @param deviceId the name or mac address of the remote Bluetooth device. 101 @Rpc(description = "Connect to an A2DP device.") 103 @RpcParameter(name = "deviceID", description = "Name or MAC address of a bluetooth device." [all...] |
/external/webrtc/talk/app/webrtc/objc/ |
RTCVideoCapturer.mm | 47 cricket::Device device; 48 if (!device_manager->GetVideoCaptureDevice(device_name, &device)) { 53 device_manager->CreateVideoCapturer(device));
|