/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
ScanAllPackagesAction.java | 34 public ScanAllPackagesAction(ClientUtils utils, IDevice device, DumpTableModel dataTableModel) { 35 super("Scan all packages", device); 45 Client[] clients = clientUtils.findAllClients(device);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pUpnpServiceInfo.java | 39 * compatible with UPnP Device Architecture 1.0. 59 * @param device a string representation of this device in the following format, 62 * UPnP Device Architecture1.1</a><br> 63 * e.g) urn:schemas-upnp-org:device:MediaServer:1 67 * UPnP Device Architecture1.1</a><br> 72 String device, List<String> services) { 73 if (uuid == null || device == null) { 74 throw new IllegalArgumentException("uuid or device cannnot be null"); 82 info.add(createSupplicantQuery(uuid, device)); [all...] |
/packages/apps/Camera2/src/com/android/camera/device/ |
SingleDeviceRequest.java | 17 package com.android.camera.device; 30 * for a single device request. 61 public boolean set(TDevice device) { 63 return mFuture.set(device);
|
/system/update_engine/ |
boot_control_chromeos.h | 48 std::string* device) const override; 59 // Returns the sysfs block device for a root block device. For example, 61 // string if the input device is not of the "/dev/xyz" form. 62 static std::string SysfsBlockDevice(const std::string& device); 64 // Returns true if the root |device| (e.g., "/dev/sdb") is known to be 66 static bool IsRemovableDevice(const std::string& device); 77 // The block device of the disk we booted from, without the partition number.
|
/external/autotest/client/site_tests/network_SIMLocking/ |
network_SIMLocking.py | 59 self.device.EnterPin(self._bad_pin()) 60 raise error.TestFail('Cellular device did not complain although ' 72 self.device.UnblockPin(self._bad_puk(), self.current_pin) 73 raise error.TestFail('Cellular device did not complain although ' 85 properties = self.device.GetProperties(utf8_strings=True) 150 self.device, self.service = self.test_env.shill.reset_modem( 151 self.device, 157 self.device.RequirePin(self.current_pin, True) 182 self.device.RequirePin(self._bad_pin(), True) 183 raise error.TestFail('Cellular device did not complain although [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageTestsUtil.cpp | 37 const VkDevice device, 42 m_buffer = createBuffer(vk, device, &bufferCreateInfo); 43 m_allocation = allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement); 44 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); 48 const VkDevice device, 53 m_image = createImage(vk, device, &imageCreateInfo); 54 m_allocation = allocator.allocate(getImageMemoryRequirements(vk, device, *m_image), memoryRequirement); 55 VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset())); 225 Move<VkCommandPool> makeCommandPool (const DeviceInterface& vk, const VkDevice device, const deUint32 queueFamilyIndex) 234 return createCommandPool(vk, device, &commandPoolParams) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
CastControllerImpl.java | 137 final CastDevice device = new CastDevice(); local 138 device.id = mProjection.getPackageName(); 139 device.name = getAppName(mProjection.getPackageName()); 140 device.description = mContext.getString(R.string.quick_settings_casting); 141 device.state = CastDevice.STATE_CONNECTED; 142 device.tag = mProjection; 143 devices.add(device); 149 final CastDevice device = new CastDevice(); local 150 device.id = route.getTag().toString(); 152 device.name = name != null ? name.toString() : null [all...] |
/external/vulkan-validation-layers/tests/ |
layer_validation_tests.cpp | 624 err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); 627 vkGetImageMemoryRequirements(m_device->device(), image, &mem_reqs); 636 vkDestroyImage(m_device->device(), image, NULL); 641 err = vkAllocateMemory(m_device->device(), &mem_alloc, NULL, &mem); 645 err = vkBindImageMemory(m_device->device(), image, mem, 0); 650 err = vkMapMemory(m_device->device(), mem, 0, VK_WHOLE_SIZE, 0, 659 vkDestroyImage(m_device->device(), image, NULL); 703 // err = vkCreateImage(m_device->device(), &image_create_info, NULL, &image); 706 // err = vkGetImageMemoryRequirements(m_device->device(), 718 // err = vkAllocateMemory(m_device->device(), &mem_alloc, NULL, &mem) [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
BluetoothConnectionFacade.java | 124 * Connect to a specific device upon its discovery 133 * @param deviceID Either the device alias name or mac address. 134 * @param bond If true, bond the device only. 144 // The specified device is found. 146 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local 147 if (BluetoothFacade.deviceMatch(device, mDeviceID)) { 148 Log.d("Found device " + device.getAliasName() + " for connection."); 150 mDevice = device; 155 Log.d("Device " + mDeviceID + " not discovered.") 162 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local 195 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local 222 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local 246 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local [all...] |
BluetoothFacade.java | 87 BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); local 88 Log.d("Found device " + device.getAliasName()); 89 if (!DiscoveredDevices.containsKey(device.getAddress())) { 90 String name = device.getAliasName(); 92 DiscoveredDevices.put(device.getAliasName(), device); local 94 DiscoveredDevices.put(device.getAddress(), device); local 144 public static boolean deviceMatch(BluetoothDevice device, String deviceID) [all...] |
/external/webrtc/talk/media/devices/ |
devicemanager_unittest.cc | 59 using cricket::Device; 77 virtual cricket::VideoCapturer* Create(const cricket::Device& device) { 125 std::vector<Device> devices; 126 // Ensure that calls to video device work if COM is not yet initialized. 155 std::vector<Device> audio_ins, audio_outs, video_ins; 156 std::vector<cricket::Device> video_in_devs; 157 cricket::Device def_video; 173 Device device; local 188 Device device; local 208 Device device; local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGattServer.java | 87 if (VDBG) Log.d(TAG, "onScanResult() - Device=" + address + " RSSI=" +rssi); 98 + " serverIf=" + serverIf + " device=" + address); 140 BluetoothDevice device = mAdapter.getRemoteDevice(address); 148 mCallback.onCharacteristicReadRequest(device, transId, offset, characteristic); 169 BluetoothDevice device = mAdapter.getRemoteDevice(address); 180 mCallback.onDescriptorReadRequest(device, transId, offset, descriptor); 199 BluetoothDevice device = mAdapter.getRemoteDevice(address); 207 mCallback.onCharacteristicWriteRequest(device, transId, characteristic, 231 BluetoothDevice device = mAdapter.getRemoteDevice(address); 243 mCallback.onDescriptorWriteRequest(device, transId, descriptor [all...] |
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
vktWsiSwapchainTests.cpp | 182 TCU_THROW(NotSupportedError, "Device doesn't support presentation"); 204 VkQueue getDeviceQueue (const DeviceInterface& vkd, VkDevice device, deUint32 queueFamilyIndex, deUint32 queueIndex) 207 vkd.getDeviceQueue(device, queueFamilyIndex, queueIndex, &queue); 215 const Unique<VkDevice> device; member in struct:vkt::wsi::__anon9916::DeviceHelper 226 , device (createDeviceWithWsi(vki, 231 , vkd (vki, *device) 232 , queue (getDeviceQueue(vkd, *device, queueFamilyIndex, 0)) 574 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curParams)); 603 // but since cases depend on what device reports, it is the only easy way. In practice 640 const Unique<VkSwapchainKHR> swapchain (createSwapchainKHR(devHelper.vkd, *devHelper.device, &curParams, failingAllocator.getCallbacks())) 1411 const VkDevice device = *devHelper.device; local 1546 const VkDevice device = *devHelper.device; local [all...] |
/external/libpcap/ |
pcap-dos.c | 96 static struct device *handle_to_device [20]; 106 static int ndis_probe (struct device *dev); 107 static int pkt_probe (struct device *dev); 117 * These are the device we always support 119 static struct device ndis_dev = { 124 NDIS_NEXT_DEV, /* NULL or a 32-bit device */ 128 static struct device pkt_dev = { 137 static struct device *get_device (int fd) 152 pcap_t *pcap_create_interface (const char *device, char *ebuf) 156 p = pcap_create_common(device, ebuf, sizeof (struct pcap_dos)) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateBaseClass.cpp | 46 const vk::VkDevice device = m_context.getDevice(); local 50 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); 56 m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefaultAllocator()); 59 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); 91 m_renderPass = vk::createRenderPass(m_vk, device, &renderPassCreateInfo); 98 m_framebuffer = vk::createFramebuffer(m_vk, device, &framebufferCreateInfo); 130 m_vertexBuffer = Buffer::createAndAlloc(m_vk, device, BufferCreateInfo(dataSize, vk::VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), 136 vk::flushMappedMemoryRange(m_vk, device, 142 m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo); 152 m_cmdBuffer = vk::allocateCommandBuffer(m_vk, device, &cmdBufferAllocateInfo) [all...] |
/external/autotest/client/cros/bluetooth/ |
bluetooth_device_xmlrpc_server.py | 25 """The agent handling bluetooth device with a known pin code. 28 User can use this agent to pair bluetooth device which has a known pin code. 38 """Requests pin code for a device. 42 @param device_path: The object path of the device. 98 # of adapter indexes to determine whether or not this device has a 178 logging.debug('Device has no adapter; returning') 225 a Bluetooth adapter on this device (kernel adapter index list is not 403 """Add a device to the Kernel action list. 405 @param address: Address of the device to add. 406 @param address_type: Type of device in @address [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
DeviceChooserDialog.java | 64 * A dialog that lets the user choose a device to deploy an application. 65 * The user can either choose an exiting running device (including running emulators) 66 * or start a new emulator using an Android Virtual Device configuration that matches 115 for (IDevice device : devices) { 116 AndroidVersion deviceVersion = Sdk.getDeviceVersion(device); 118 compatibleDevices.add(device); 145 IDevice device = (IDevice)element; local 148 return device.isEmulator() ? mEmulatorImage : mDeviceImage; 152 if (device.isEmulator() == false) { // physical device 192 IDevice device = (IDevice)element; local [all...] |
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
PreconditionPreparer.java | 23 import com.android.tradefed.device.DeviceNotAvailableException; 24 import com.android.tradefed.device.ITestDevice; 32 * the device is ready to run the test suite. 44 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, 47 run(device, buildInfo); 51 public abstract void run(ITestDevice device, IBuildInfo buildInfo)
|
/device/huawei/angler/ |
thermal-engine-angler.conf | 69 device gpu 78 device cluster1 87 device cluster1 96 device cluster1 105 device cluster1 114 device cluster1 123 device cluster0 132 device cluster0 141 device cluster0 150 device cluster [all...] |
/external/blktrace/ |
blkiomon.h | 37 __u32 device; member in struct:blkiomon_stat 82 bstat->device = cpu_to_be32(bstat->device); 105 fprintf(fp, "device: %d,%d\n", MAJOR(p->device), MINOR(p->device));
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
flash_device.py | 25 parser.add_argument('-d', '--device', dest='devices', action='append', 26 help='Device(s) to flash.') 31 parser.add_argument('--blacklist-file', help='Device blacklist file.') 38 logging.critical('Device(s) in blacklist, not flashing devices:') 46 def flash(device): 47 fastboot = fastboot_utils.FastbootUtils(device) 50 flashed_devices.append(device) 52 logging.exception('Device %s failed to flash.', str(device)) 53 failed_devices.append(device) [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/ |
android_browser_backend_settings.py | 41 def GetDevtoolsRemotePort(self, device): 68 def GetDevtoolsRemotePort(self, device): 81 def GetDevtoolsRemotePort(self, device): 97 def GetDevtoolsRemotePort(self, device): 103 pids = device.GetPids(self.package)
|
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDGPUTargetMachine.cpp | 52 Subtarget.device()->getStackAlignment(), 0), 59 if (Subtarget.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX) { 99 if (ST.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX) { 115 if (ST.device()->getGeneration() > AMDGPUDeviceInfo::HD6XXX) { 137 if (ST.device()->getGeneration() <= AMDGPUDeviceInfo::HD6XXX) {
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgid3d11/ |
dxgid3d11.cpp | 76 ComPtr<ID3D11Device> device; 77 hr = GalliumD3D11DeviceCreate(screen, context, TRUE, flags, adapter, &device); 84 device->GetImmediateContext(out_immediate_context); 86 *feature_level = device->GetFeatureLevel(); 88 *out_device = device.steal();
|
/external/opencv3/samples/gpu/ |
driver_api_multi.cpp | 99 CUdevice device; local 100 safeCall(cuDeviceGet(&device, 0)); 101 safeCall(cuCtxCreate(&contexts[0], 0, device)); 107 safeCall(cuDeviceGet(&device, 1)); 108 safeCall(cuCtxCreate(&contexts[1], 0, device));
|