HomeSort by relevance Sort by last modified time
    Searched full:idevice (Results 1 - 25 of 85) sorted by null

1 2 3 4

  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/models/
DeviceSelectionModel.java 19 import com.android.ddmlib.IDevice;
33 private final HashMap<IDevice, DeviceInfo> mDeviceMap = new HashMap<IDevice, DeviceInfo>();
35 private final HashMap<IDevice, Integer> mFocusedWindowHashes = new HashMap<IDevice, Integer>();
37 private final ArrayList<IDevice> mDeviceList = new ArrayList<IDevice>();
42 private IDevice mSelectedDevice;
64 public boolean containsDevice(IDevice device) {
70 public void addDevice(IDevice device, Window[] windows, ViewServerInfo info)
    [all...]
  /development/tools/hosttestlib/src/com/android/hosttest/
DeviceConnector.java 19 import com.android.ddmlib.IDevice;
24 * A helper class that can connect to a ddmlib {@link IDevice}
39 * @return the {@link IDevice} found
42 public IDevice connectToDevice(String deviceSerial) {
46 for (IDevice device : adbBridge.getDevices()) {
57 IDevice device = listener.waitForDevice(MAX_WAIT_DEVICE_TIME);
71 private IDevice mDevice;
78 public void deviceChanged(IDevice device, int changeMask) {
81 public void deviceConnected(IDevice device) {
89 private synchronized void setDevice(IDevice device)
    [all...]
DeviceTest.java 19 import com.android.ddmlib.IDevice;
32 public void setDevice(IDevice device);
36 * @return the {@link IDevice} device.
38 public IDevice getDevice();
DeviceTestCase.java 19 import com.android.ddmlib.IDevice;
31 private IDevice mDevice = null;
41 public void setDevice(IDevice device) {
48 public IDevice getDevice() {
DeviceTestSuite.java 19 import com.android.ddmlib.IDevice;
30 private IDevice mDevice = null;
65 public IDevice getDevice() {
79 public void setDevice(IDevice device) {
  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/
WindowUpdater.java 19 import com.android.ddmlib.IDevice;
32 private static HashMap<IDevice, ArrayList<IWindowChangeListener>> sWindowChangeListeners =
33 new HashMap<IDevice, ArrayList<IWindowChangeListener>>();
35 private static HashMap<IDevice, Thread> sListeningThreads = new HashMap<IDevice, Thread>();
38 public void windowsChanged(IDevice device);
40 public void focusChanged(IDevice device);
45 for (IDevice device : sListeningThreads.keySet()) {
52 public static void startListenForWindowChanges(IWindowChangeListener listener, IDevice device) {
72 public static void stopListenForWindowChanges(IWindowChangeListener listener, IDevice device)
    [all...]
Window.java 19 import com.android.ddmlib.IDevice;
31 private IDevice mDevice;
33 public Window(IDevice device, String title, int hashCode) {
56 public IDevice getDevice() {
60 public static Window getFocusedWindow(IDevice device) {
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
ViewManager.java 19 import com.android.ddmlib.IDevice;
30 public static void invalidate(IDevice device, Window window, String params) {
34 public static void requestLayout(IDevice device, Window window, String params) {
38 public static void outputDisplayList(IDevice device, Window window, String params) {
42 private static void sendCommand(String command, IDevice device, Window window, String params) {
VersionLoader.java 20 import com.android.ddmlib.IDevice;
32 public static int loadServerVersion(IDevice device) {
36 public static int loadProtocolVersion(IDevice device) {
40 private static int loadVersion(IDevice device, String command) {
  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/
DeviceSelector.java 19 import com.android.ddmlib.IDevice;
72 if (parentElement instanceof IDevice && mDoTreeViewStuff) {
73 Window[] list = mModel.getWindows((IDevice) parentElement);
91 if (element instanceof IDevice && mDoTreeViewStuff) {
92 Window[] list = mModel.getWindows((IDevice) element);
120 if (element instanceof IDevice) {
121 if (((IDevice) element).isEmulator()) {
131 if (element instanceof IDevice) {
132 return ((IDevice) element).toString();
266 public void deviceConnected(final IDevice device)
    [all...]
  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/actions/
InspectScreenshotAction.java 19 import com.android.ddmlib.IDevice;
68 public void deviceChanged(IDevice device) {
73 public void deviceConnected(IDevice device) {
78 public void deviceDisconnected(IDevice device) {
83 public void focusChanged(IDevice device) {
88 public void selectionChanged(final IDevice device, final Window window) {
LoadViewHierarchyAction.java 19 import com.android.ddmlib.IDevice;
68 public void deviceChanged(IDevice device) {
73 public void deviceConnected(IDevice device) {
78 public void deviceDisconnected(IDevice device) {
83 public void focusChanged(IDevice device) {
88 public void selectionChanged(final IDevice device, final Window window) {
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/
LogCatPidToNameMapper.java 23 import com.android.ddmlib.IDevice;
40 private IDevice mDevice;
43 public LogCatPidToNameMapper(IDevice device) {
81 public void deviceDisconnected(IDevice device) {
85 public void deviceConnected(IDevice device) {
89 public void deviceChanged(IDevice device, int changeMask) {
90 if (changeMask == IDevice.CHANGE_CLIENT_LIST) {
97 private void updateClientList(IDevice device) {
LogCatReceiverFactory.java 20 import com.android.ddmlib.IDevice;
41 public void deviceDisconnected(final IDevice device) {
58 public void deviceConnected(IDevice device) {
62 public void deviceChanged(IDevice device, int changeMask) {
71 * <li> {@link #removeReceiverFor(IDevice)} waiting to lock {@link LogCatReceiverFactory},
73 * <li> {@link #newReceiver(IDevice, IPreferenceStore)} holding {@link LogCatReceiverFactory}
77 private synchronized void removeReceiverFor(IDevice device) {
85 public synchronized LogCatReceiver newReceiver(IDevice device, IPreferenceStore prefs) {
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
SelectionDependentPanel.java 20 import com.android.ddmlib.IDevice;
26 private IDevice mCurrentDevice = null;
33 protected final IDevice getCurrentDevice() {
49 public final void deviceSelected(IDevice selectedDevice) {
DevicePanel.java 27 import com.android.ddmlib.IDevice;
28 import com.android.ddmlib.IDevice.DeviceState;
83 private IDevice mCurrentDevice;
100 private final ArrayList<IDevice> mDevicesToExpand = new ArrayList<IDevice>();
107 * The input is a {@link AndroidDebugBridge}. First level elements are {@link IDevice} objects,
113 if (parentElement instanceof IDevice) {
114 return ((IDevice)parentElement).getClients();
129 if (element instanceof IDevice) {
130 return ((IDevice)element).hasClients()
    [all...]
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
DeviceBridge.java 21 import com.android.ddmlib.IDevice;
37 private static final HashMap<IDevice, Integer> devicePortMap = new HashMap<IDevice, Integer>();
60 public static IDevice[] getDevices() {
64 public static boolean isViewServerRunning(IDevice device) {
89 public static boolean startViewServer(IDevice device) {
93 public static boolean startViewServer(IDevice device, int port) {
113 public static boolean stopViewServer(IDevice device) {
142 public static void setupDeviceForward(IDevice device) {
144 if (device.getState() == IDevice.DeviceState.ONLINE)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
ApkInstallManager.java 22 import com.android.ddmlib.IDevice;
40 * The manager uses {@link IProject} and {@link IDevice} to identify the target device and the
54 public ApkInstall(IProject project, String packageName, IDevice device) {
79 final IDevice device;
122 public void registerInstallation(IProject project, String packageName, IDevice device) {
134 public boolean isApplicationInstalled(IProject project, String packageName, IDevice device) {
166 * <p/>This ensures that {@link #isApplicationInstalled(IProject, IDevice)} will always return
196 // the bridge changed, there is no way to know which IDevice will be which.
209 * @see IDeviceChangeListener#deviceDisconnected(IDevice)
212 public void deviceDisconnected(IDevice device)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
CollectTraceAction.java 21 import com.android.ddmlib.IDevice;
22 import com.android.ddmlib.IDevice.DeviceUnixSocketNamespace;
77 IDevice device = getDevice(traceOptions.device);
168 private void startActivity(IDevice device, String appName)
190 private void setupForwarding(IDevice device, int i)
195 private void disablePortForwarding(IDevice device, int port) {
203 private IDevice getDevice(String deviceName) {
204 IDevice[] devices = AndroidDebugBridge.getBridge().getDevices();
206 for (IDevice device : devices) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
EmptyLaunchAction.java 18 import com.android.ddmlib.IDevice;
27 public boolean doLaunchAction(DelayedLaunchInfo info, IDevice device) {
IAndroidLaunchAction.java 19 import com.android.ddmlib.IDevice;
34 boolean doLaunchAction(DelayedLaunchInfo info, IDevice device);
ILaunchController.java 19 import com.android.ddmlib.IDevice;
32 public void launchApp(DelayedLaunchInfo launchInfo, IDevice device);
DeviceChooserDialog.java 22 import com.android.ddmlib.IDevice;
23 import com.android.ddmlib.IDevice.DeviceState;
92 * Basic Content Provider for a table full of {@link IDevice} objects. The input is
119 * It provides labels and images for {@link IDevice} objects.
125 if (element instanceof IDevice) {
126 IDevice device = (IDevice)element;
166 if (element instanceof IDevice) {
167 IDevice device = (IDevice)element
    [all...]
  /sdk/chimpchat/src/com/android/chimpchat/adb/
AdbBackend.java 23 import com.android.ddmlib.IDevice;
85 private IDevice findAttachedDevice(String deviceIdRegex) {
87 for (IDevice device : bridge.getDevices()) {
104 IDevice device = findAttachedDevice(deviceIdRegex);
106 if (device != null && device.getState() == IDevice.DeviceState.ONLINE) {
  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/
HierarchyViewerDirector.java 22 import com.android.ddmlib.IDevice;
116 IDevice[] devices = DeviceBridge.getDevices();
117 for (IDevice device : devices) {
133 public void deviceConnected(final IDevice device) {
164 private void loadViewServerInfoAndWindows(final IDevice device) {
180 public void deviceDisconnected(final IDevice device) {
204 public void deviceChanged(IDevice device, int changeMask) {
205 if ((changeMask & IDevice.CHANGE_STATE) != 0 && device.isOnline()) {
211 public void windowsChanged(final IDevice device) {
228 public void focusChanged(final IDevice device)
    [all...]

Completed in 663 milliseconds

1 2 3 4