summaryrefslogtreecommitdiff
path: root/device-manager
AgeCommit message (Collapse)Author
2022-05-12[DM] Add basic screen diagram in details panelHannah Chu
It only shows dp and is missing much of the other info the AVD creation dialog has access to: diagonal length, chin size, round screens, and folded/rolled lines. Bug: 196438095 Test: visual Change-Id: Ib05b307099188d270686653c4f3ea50af2acba19
2022-05-12Fall back to asking the AVD Manager connectionJuan C Nuno
If we get a null name from the device in question Bug: 229989431 Test: VirtualDeviceChangeListenerTest and VirtualDeviceTableModelTest Change-Id: I283077a2e54ffffc69405d78f96e62aa048d3aaf
2022-05-09[DM] Add third connection type for physical tabHannah Chu
It does not have a proper icon yet. Bug: 198438748 Test: existing Change-Id: I912420ab54627e443c708f86c733d7a16974bc79
2022-05-07Inject onSuccess into the constructorJuan C Nuno
Bug: Not applicable Test: Existing tests Change-Id: I144a91412f0b81af2b2341361f6950578e48660e
2022-05-07[DM] Do not persist IPv4 serial numbersHannah Chu
If a device has an IP for its serial number, we will not persist it because it's volatile. Bug: 198438748 Test: PhysicalTabPersistentStateComponentTest Change-Id: Ia0f94e79d3d8f21949e85638d5e1b1c23ed79440
2022-05-04[DM] Use Wi-Fi icon for devices connected with IPHannah Chu
Devices connected through "adb connect x.x.x.x:port" show up with the IP as their serial numbers. They should be displayed with Wi-Fi icon. Bug: 199905897 Test: BuilderServiceTest.buildIpv4Address Change-Id: If20eeb9776ac08348d4575fb7334cd076e191ba8
2022-04-29[DM] Add screen diagram drawingHannah Chu
Bug: 196438095 Test: None Change-Id: I7e5c2f40e97d6525939b4f67f37666383cc9f400
2022-04-26Update "Pair Device" to "Pair Wearable"Jose Parente
... in Device Manager to avoid confusion with "Pair over Wi-Fi". Fixes: 229987960 Test: VirtualDevicePopUpMenuButtonTableCellEditorTest Change-Id: I9d3f141d0c7c64f5582e25f82f8e107fb1a5ef22
2022-04-22[DM] Set each details section's widths separatelyHannah Chu
Because the summary section typically has shorter label names, while the properties section has longer labels, so align them individually to leave room for the device screen diagram. Bug: 196438095 Test: visual Change-Id: Ic19258bf2de56986e1e2feac20a2859b94a02232
2022-04-20Do not set the properties in the constructorsJuan C Nuno
Do not set the icon nor tooltip text in the launch or stop renderer or editor constructors as they're set in getTableCellRendererComponent and getTableCellEditorComponent Bug: Not applicable Test: Not applicable Change-Id: Ib0927b1ab2c69c1e6b88c2ebdfadcaa4009df2af
2022-04-20Rename LaunchInEmulatorButtonTableCellRendererJuan C Nuno
And the editor Bug: Not applicable Test: Not applicable Change-Id: I10af7e96479ad108862ff724e9dc5c71568a2211
2022-04-13Call fireEditingCanceled from SetEnabledJuan C Nuno
The editor was hanging around longer than it should have. The Launch button now swaps with the Stop button (and vice versa) more readily. Bug: 216163507 Test: LaunchInEmulatorButtonTableCellEditorTest Change-Id: I6d1d60a404762d19826dadbc0a3fed1c58710150
2022-04-13Enable the new online propertyJuan C Nuno
Bug: 226521009 Test: Existing tests Change-Id: Idcee4d7459b0aaef98bf0b7d9e366377d02cae91
2022-04-12Set the online propertyJuan C Nuno
Ideally ddmlib would notify Studio of devices that were already online when Studio was started. It doesn't. This commit handles that case. Bug: 226521009 Test: Not applicable Change-Id: I8f4d35e6868a5c23c2426ddd4b8d3b2f67630052
2022-04-12Call setOnline from VirtualDeviceChangeListenerJuan C Nuno
Bug: 226521009 Test: VirtualDeviceChangeListenerTest Change-Id: Ia955e82e4ed2196cbca620dbeeeb7b436f4a46fa
2022-04-08Move CountDownLatchAssert to the tests moduleJuan C Nuno
Bug: Not applicable Test: Not applicable Change-Id: Ic916720511dc5e66791ee53a4b240a358e6de596
2022-04-08Add DeviceManagerFutureCallbackJuan C Nuno
Bug: Not applicable Test: Not applicable Change-Id: I57d8e11fa193cef1dc0c096c9090cb62aa8546ed
2022-04-07[DM] Select created deviceHannah Chu
And also scroll it into view Bug: 203725228 Test: make DM window small height, create an AVD Change-Id: Ic760880eac6d53fa1320020d954056dd26c437fb
2022-04-05[DM] Increase device column widthHannah Chu
Bug: 200222218 Test: visual inspection Change-Id: I664e1eeabcaf6b8b6d5375a245166dd42b775da1
2022-04-04Add VirtualDeviceTableModel::setOnlineJuan C Nuno
Bug: 226521009 Test: VirtualDeviceTableModelTest Change-Id: I4fcdcbb38febf8b08964e8f1dfd5b0d050fe3035
2022-03-30Add a disconnect dialog for unpairingMohammad Saboorian
This dialog explains to the user that they are about to disconnect the two devices and what they need to do if they want to completely unpair their devices. Fixes: 222480401 Test: Not applicable Change-Id: I43b2212a8cbcee157a75c805ecb5280737e52bc3
2022-03-30Add an online fieldJuan C Nuno
Bug: 226521009 Test: Not applicable Change-Id: Ia29e8d7b2c37176cd23c5edb00f84d2f36349468
2022-03-30Plug in a VirtualDeviceChangeListener skeletonJuan C Nuno
Bug: 226521009 Test: Not applicable Change-Id: Ibda5b526892c790a7ee47331ab17709634e6a115
2022-03-29Unignore PairedDevicesPanelTestJuan C Nuno
The call to setApplication blocked the deletion of the AVD manager so PairedDevicesPanelTest was ignored One thing led to another and I decided to redo PairedDevicesPanel and the test to be more inline with the rest of the device manager. A big bonus is that the UI isn't rebuilt with every change in the paired devices. Bug: 223246111 Test: PairedDevicesPanelTest Change-Id: I81a54aeb35aacca34273722feee208b44a9e6d3b
2022-03-28[DM] Scroll selected row into viewHannah Chu
When the scroll pane is resized, which can occur when the user opens the details panel, obscuring the selected row. Bug: 203725228 Test: visual inspection Change-Id: Ib107679b2685e0db8ad1b2d0d329a61ddb419159
2022-03-24Override hashCode and equalsJuan C Nuno
Bug: 223246111 Test: Not applicable Change-Id: Icf59f4b864d044f028320ba69c3eedd74b9844a7
2022-03-24Move PhysicalDeviceTable::getData to TestTablesJuan C Nuno
Bug: 223246111 Test: Not applicable Change-Id: I5c8c1850747fd287afde8521bb01f9ffab3763ac
2022-03-23[DM] Remove legacy packageHannah Chu
Bug: 223297630 Test: Existing Change-Id: Id36343109dbd6a91da69ca872b5814214bd566eb
2022-03-23[Wear Pairing] Disable Wear if API < 28Jose Parente
Fixes: 224424235 Test: Updated existing tests Change-Id: I4524d41195bf64e8f61a3f469d03a2160a181746
2022-03-22Fix flakiness of DeleteItemTestSergey Prigogin
Test: this Bug: 226116792 Change-Id: I85c4867781d3fcd1a308f3f3152f075a0499b443
2022-03-21Rename Unpair to "View paired device(s)" in device listMohammad Saboorian
Bug: 222480401 Test: Not applicable Change-Id: I9563732b9c142bb81bea2bc81aa87815adba15e8
2022-03-21Fix icon updates for the currently selected cellSergey Prigogin
The icon is changed between Start and Stop states by calling the LaunchInEmulatorButtonTableCellEditor.getTableCellEditorComponent method. We are now calling this method explicitly in the VirtualDeviceTable.getEditorComponent method because it is not called by the AWT framework for the active table editor when painting the table. Test: manual Fixes: 216163507 Change-Id: Idacd7a44746d0a95785600ac8ed26cc9b80b81a2
2022-03-18Remember AVD sorting order between Studio runsSergey Prigogin
Test: manual Fixes: 134610948 Change-Id: I71256eb87135e917fa6e9c4e6654e6f92aa5418a
2022-03-16Move AVD deletion to a background threadSergey Prigogin
Test: DeleteItemTest Fixes: 217880236 Change-Id: Idf98e375c9f83c47e67782040f412578db177f1e
2022-03-11Pass the project to the details panel constructorsJuan C Nuno
So we can inject it in the Paired Devices panel Bug: 223246111 Test: Not applicable Change-Id: I132d4f2aecc146238fbc44b2ec696a9cd4f9ff82
2022-03-11Delete the assertion from PairedDevicesPanelJuan C Nuno
And delete the addPairedDevices parameters from the details panel constructors because without that assertion they are unnecessary Bug: Not applicable Test: Not applicable Change-Id: Ia73f7292e0fcbc8b727b07ba93df30111627a63e
2022-03-10Change the table cell to a Stop oneJuan C Nuno
If the device is online Bug: 216163507 Test: LaunchInEmulatorButtonTableCellEditorTest Change-Id: I6adb5c1117f8c395bb4c348e336e1b0becf70025
2022-03-09Remove the Device section for nowJuan C Nuno
Bug: Not applicable Test: Not applicable Change-Id: Icac2e8589890962b40e1e271e83277122f08c1f4
2022-03-09[DM] Rename to DeviceManagerActionHannah Chu
Bug: 223297617 Test: None Change-Id: I68d046ed4f8efb8e1b4793ddb49aa1f887219d5d
2022-03-08[DM] Delete old AVD ManagerHannah Chu
Bug: 217412719 Test: Existing Change-Id: Iee7d70cd6e0867eab109be93ef0283b4b4c58601
2022-03-08[Device Manager] Add menu separator after pairingJose Parente
Fixes: 222483339 Test: VirtualDevicePopUpMenuButtonTableCellEditorTest Change-Id: I3a3925b0b32c79fc94b83776194f1f91d16ff74f
2022-03-07[DM] Temporarily ignore PairedDevicesPanelTestHannah Chu
So that we can delete old AVD Manager Bug: 217412719 Test: N/A Change-Id: Iafdcdc023b2864595e82ed55f580ccfcb947c1d1
2022-03-02Add an OWNERS fileJuan C Nuno
Bug: Not applicable Test: Not applicable Change-Id: I7ae9f15898ac2a2d7221a9ea17baca574b624457
2022-03-02[DM] Add test in VirtualDeviceTableTestHannah Chu
Increases coverage for multiple classes because we can (finally) touch the VirtualDeviceTable without SizeOnDisk getting in the way Bug: 179803112 Test: this Change-Id: I4b34930a7c9baba78422a8822a2828fc3ad1cee8
2022-03-01Add a tooltip for the paired devicesMohammad Saboorian
This sets the tooltip on the whole cell (not just the icon). Bug: 220873899 Change-Id: Icc507c333913cf82f9e43ca01edf781421ee2c1b
2022-02-24Extract PairingTable out of PairedDevicesPanelJuan C Nuno
Bug: 217412719 Test: PairedDevicesPanelTest Change-Id: Icd70992d35db7aa277c281eab18c1bc094dadc85
2022-02-22[Wear Pairing] Hide tab for unsupported devicesJose Parente
Fixes: 220864738 Test: Visual inspection Change-Id: Idff7eac11821011ce7f46e5323952efd0433e251
2022-02-18[DM] Delete some unused actions codeHannah Chu
Bug: 217416404 Test: existing Change-Id: I338de27b5f5ca4012917cc9dac124ee69b11abdf
2022-02-18[DM] Switch to using split actions in virtual tabHannah Chu
Bug: 217416404 Test: existing Change-Id: I0cf420710374683aac74ddb36aba0092d0a63bc5
2022-02-18Collections are not comparableJuan C Nuno
Bug: Not applicable Test: Not applicable Change-Id: I92757f99a380dda3251cebe66bfecb89a30e31e1