/system/bt/binder/android/bluetooth/ |
IBluetoothPan.aidl | 30 boolean connect(in BluetoothDevice device); 31 boolean disconnect(in BluetoothDevice device); 34 int getConnectionState(in BluetoothDevice device);
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
TemperatureCollector.java | 16 package com.android.tradefed.device.metric; 21 import com.android.tradefed.device.DeviceNotAvailableException; 22 import com.android.tradefed.device.ITestDevice; 35 * A {@link ScheduledDeviceMetricCollector} to measure min and max device temperature. Useful for 36 * long duration performance tests to monitor if the device overheats. 46 "Name of file that contains device temperature. " 47 + "Example: /sys/class/hwmon/hwmon1/device/msm_therm" 52 name = "device-temperature-file-regex", 60 * Stores the highest recorded temperature per device. Device will not be present in the map i [all...] |
/external/chromium-trace/catapult/devil/devil/android/ |
device_utils_test.py | 188 self.device = device_utils.DeviceUtils( 196 args, output, status, msg, str(self.device))) 202 msg, str(self.device))) 207 cmd, output, status, str(self.device)) 216 msg, str(self.device))) 221 return (self.call.device.RunShellCommand( 230 self.assertTrue(self.device == other) 231 self.assertTrue(other == self.device) 235 self.assertTrue(self.device == other) 236 self.assertTrue(other == self.device) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
HidHostService.java | 109 for (BluetoothDevice device : mInputDevices.keySet()) { 110 int inputDeviceState = getConnectionState(device); 112 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED); 148 BluetoothDevice device = (BluetoothDevice) msg.obj; 149 if (!connectHidNative(Utils.getByteAddress(device))) { 150 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING); 151 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTED); 154 mTargetDevice = device; 158 BluetoothDevice device = (BluetoothDevice) msg.obj; 159 if (!disconnectHidNative(Utils.getByteAddress(device))) { [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
PhonePolicy.java | 66 // 1. Adapter turned ON: At this point we will try to auto-connect the (device, profile) pairs which 70 // will try to connect other profiles on the same device. This is to avoid collision if devices 152 BluetoothDevice device = local 155 debugLog("Received ACTION_UUID for device " + device); 162 processInitProfilePriorities(device, uuidsToSend); 169 BluetoothDevice device = local 173 processProfileStateChanged(device, msg.arg1, nextState, prevState); 188 BluetoothDevice device = (BluetoothDevice) msg.obj; local 189 processConnectOtherProfiles(device); [all...] |
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
DefaultTestsZipInstaller.java | 21 import com.android.tradefed.device.DeviceNotAvailableException; 22 import com.android.tradefed.device.IFileEntry; 23 import com.android.tradefed.device.ITestDevice; 24 import com.android.tradefed.device.ITestDevice.RecoveryMode; 108 * This implementation will reboot the device into userland before 112 public void pushTestsZipOntoData(ITestDevice device, IDeviceBuildInfo deviceBuild) 115 device.getSerialNumber())); 117 RecoveryMode cachedRecoveryMode = device.getRecoveryMode(); 118 device.setRecoveryMode(RecoveryMode.ONLINE); 120 doDeleteData(device); [all...] |
ITargetPreparer.java | 19 import com.android.tradefed.device.DeviceNotAvailableException; 20 import com.android.tradefed.device.ITestDevice; 30 * post-setUp. e.g. a ITargetPreparer that configures a device for testing must be run after the 38 * @param device the {@link ITestDevice} to prepare. 41 * @throws DeviceNotAvailableException if device became unresponsive 43 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError,
|
WaitForDeviceDatetimePreparer.java | 21 import com.android.tradefed.device.DeviceNotAvailableException; 22 import com.android.tradefed.device.ITestDevice; 28 * A {@link ITargetPreparer} that waits for datetime to be set on device 31 * timeout, or force host datetime onto device, 36 // 30s to wait for device datetime 38 // poll every 5s when waiting correct device datetime 40 // allow 10s of margin for datetime difference between host/device 43 @Option(name = "force-datetime", description = "Force sync host datetime to device if device " 48 description = "Timeout in ms to wait for correct datetime on device." [all...] |
/device/google/cuttlefish/vsoc_x86_64/tablet_3g/ |
device.mk | 18 $(call inherit-product, device/google/cuttlefish/shared/tablet_3g/device.mk) 23 PRODUCT_PACKAGE_OVERLAYS := device/google/cuttlefish/vsoc_x86_64/tablet_3g/overlay
|
/device/google/muskie/ |
device-walleye.mk | 23 # DEVICE_PACKAGE_OVERLAYS for the device should be before 29 DEVICE_PACKAGE_OVERLAYS += device/google/muskie/walleye/overlay 31 include device/google/muskie/device-common.mk
|
/device/google/muskie/walleye/ |
BoardConfig.mk | 20 include device/google/wahoo/BoardConfig.mk 26 BOARD_SEPOLICY_DIRS += device/google/muskie/sepolicy 31 BOARD_LISA_TARGET_SCRIPTS := device/google/wahoo/lisa/
|
/external/tensorflow/tensorflow/core/kernels/ |
adjust_hue_op_gpu.cu.cc | 27 void AdjustHueGPU::operator()(GPUDevice* device, const int64 number_of_elements, 30 const auto stream = device->stream(); 32 GetCudaLaunchConfig(number_of_elements, *device);
|
adjust_saturation_op_gpu.cu.cc | 27 void AdjustSaturationGPU::operator()(GPUDevice* device, 32 const auto stream = device->stream(); 34 GetCudaLaunchConfig(number_of_elements, *device);
|
/frameworks/av/media/libaudiohal/4.0/ |
DevicesFactoryHalHybrid.cpp | 35 status_t DevicesFactoryHalHybrid::openDevice(const char *name, sp<DeviceHalInterface> *device) { 38 return mHidlFactory->openDevice(name, device); 40 return mLocalFactory->openDevice(name, device);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
StreamDescriptor.h | 33 int getVolumeIndex(audio_devices_t device) const; 36 void addCurrentVolumeIndex(audio_devices_t device, int index); 41 bool hasVolumeIndexForDevice(audio_devices_t device) const 43 device = Volume::getDeviceForVolume(device); 44 return mIndexCur.indexOfKey(device) >= 0; 57 KeyedVector<audio_devices_t, int> mIndexCur; /**< current volume index per device. */ 73 virtual void addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device, 80 virtual int getVolumeIndex(audio_stream_type_t stream, audio_devices_t device) 82 return valueFor(stream).getVolumeIndex(device); [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
A2dpProfile.java | 60 // Order of this profile in device profiles list 75 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); local 76 // we may add a new device here, but generally this should not happen 77 if (device == null) { 78 Log.w(TAG, "A2dpProfile found new device: " + nextDevice); 79 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); 81 device.onProfileStateChanged(A2dpProfile.this, BluetoothProfile.STATE_CONNECTED); 82 device.refresh(); 134 public boolean connect(BluetoothDevice device) { 138 // Original behavior: disconnect currently connected device [all...] |
/hardware/interfaces/camera/device/3.3/default/include/ |
convert.h | 25 #include <android/hardware/camera/device/3.3/types.h> 32 namespace device { namespace in namespace:android::hardware::camera 36 using ::android::hardware::camera::device::V3_2::implementation::Camera3Stream; 44 } // namespace device
|
/hardware/interfaces/camera/device/3.4/default/include/ |
convert.h | 20 #include <android/hardware/camera/device/3.4/types.h> 27 namespace device { namespace in namespace:android::hardware::camera 31 using ::android::hardware::camera::device::V3_2::implementation::Camera3Stream; 41 } // namespace device
|
/hardware/interfaces/camera/provider/2.4/ |
ICameraProvider.hal | 21 import android.hardware.camera.device@1.0::ICameraDevice; 22 import android.hardware.camera.device@3.2::ICameraDevice; 26 * known to the provider, and provides updates about changes to device status, 29 * The provider is responsible for generating a list of camera device service 46 * The device instance names enumerated by the provider in getCameraIdList() or 48 * "device@<major>.<minor>/<type>/<id>" where 50 * incrementing integer for "internal" device types, with 0 being the main 53 * used to identify the device reliably when it is disconnected and reconnected. 55 * Multiple providers must not enumerate the same device ID. 104 * Returns the list of internal camera device interfaces known to thi [all...] |
/tools/tradefederation/core/src/com/android/tradefed/util/ |
CircularAtraceUtil.java | 18 import com.android.tradefed.device.DeviceNotAvailableException; 19 import com.android.tradefed.device.ITestDevice; 50 * @param device the device whose actions will be monitored 54 public static void startTrace(ITestDevice device, List<String> tags, int bufferSizeMB) throws 57 if (device == null) { 58 throw new IllegalStateException("Cannot start circular atrace without a device"); 59 } else if (deviceBufferMap.containsKey(device)) { 72 device.executeShellCommand(command); 74 deviceBufferMap.put(device, bufferSizeMB) [all...] |
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
UserActivityEmulator.java | 19 import com.android.tradefed.device.DeviceNotAvailableException; 20 import com.android.tradefed.device.ITestDevice; 23 * Helper to simulate user activity on the device. 30 public UserActivityEmulator(ITestDevice device) throws DeviceNotAvailableException { 32 mDevice = device;
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
SampleHostJUnit4Test.java | 22 import com.android.tradefed.device.ITestDevice; 73 public void setDevice(ITestDevice device) { 74 mDevice = device; 89 ITestDevice device = getDevice(); local 90 assertNotNull("Device not set", device); 92 device.executeShellCommand(CLEAR_COMMAND); 94 device.executeAdbCommand("logcat", "-c"); 96 device.executeShellCommand(START_COMMAND); 98 String logs = device.executeAdbCommand("logcat", "-v", "brief", "-d", CLASS + ":I", "*:S") [all...] |
/device/linaro/hikey/self-extractors/root/ |
device-vendor.mk | 17 LOCAL_STEM := hikey/device-partial.mk
|
/device/linaro/hikey/self-extractors_hikey960/root/ |
device-vendor.mk | 17 LOCAL_STEM := device-partial.mk
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/ |
rule-tracer.rb | 19 attr_accessor :spaces_per_indent, :device 25 @device = options[ :device ] || options[ :output ] || $stderr 31 @device.print( ' ' * indent, ARROW_IN, name ) 34 @device.puts( " look = %p" % input_symbol ) 35 else @device.print( "\n" ) 46 @device.print( ' ' * indent, ARROW_OUT, name ) 49 @device.puts( " look = %p" % input_symbol ) 50 else @device.print( "\n" )
|