summaryrefslogtreecommitdiffstats
path: root/PMC
Commit message (Collapse)AuthorAgeFilesLines
* Add an exported flag in manifestAshwini Oruganti2020-03-231-38/+35
| | | | | | | | | | | | | | | | | With b/150232615, we will need an explicit value set for the exported flag when intent filters are present, as the default behavior is changing for S+. This change adds the value reflecting the previous default to the manifest. These changes were made using an automated tool, the xml file may be reformatted slightly creating a larger diff. The only "real" change is the addition of "android:exported" to activities, services, and receivers that have one or more intent-filters. Bug: 150232615 Test: TH Exempt-From-Owner-Approval: mechanical refactoring Change-Id: I6437ef5c94ac98a93a663b661e8718043b0c5a3d
* Revert "Revert "Pass in active device to all BluetoothA2dp APIs ..."Rahul Sabnis2020-03-121-2/+12
| | | | | | | | | | | | | | | | | | | | Revert "Revert "Pass in active device to all BluetoothA2dp APIs ..." Revert submission 10303287-revert-10253996-bt-a2dp-no-null-FQRXACWPIA Reason for revert: Fixing breakage Reverted Changes: I4d9f2f819:Revert "Make sure calls to BluetoothA2dp APIs pass... I771ca0d57:Revert "Need to now pass in active device instead ... I76529c7a1:Revert "Pass in active device to all BluetoothA2dp... I297bda68d:Revert "Require user pass in a non-null BluetoothD... I525327959:Revert "Pass in active device to all BluetoothA2dp... I1d8660b11:Revert "Pass in active device to all BluetoothA2dp... Bug: 147287141 Test: Manual Merged-In: Ibbfa5cf5f189ca28b3589af827815747dbc4085e Change-Id: Ibbfa5cf5f189ca28b3589af827815747dbc4085e
* Convert Android.mk file to Android.bpandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10oreo-mr1-iot-releaseSasha Smundak2019-01-142-22/+14
| | | | | | | | | See build/soong/README.md for more information. Change-Id: I02b14781a7a1c7fe93edfadce978487c28009200 Bug: 122333159 Fixes: 122333159 Test: treehugger
* Merge "PMC: Remove dependency on bouncycastle."Narayan Kamath2018-02-271-3/+0
|\
| * PMC: Remove dependency on bouncycastle.Narayan Kamath2018-02-211-3/+0
| | | | | | | | | | | | | | | | | | Not used by this package. Also removes some other unused static library dependencies. Test: make Bug: 73635411 Change-Id: I4e05bfcf39a0fa85e6af2d93112fbb86e285c835
| * Add support for Multi-A2DP state machines per devicePavlin Radoslavov2018-01-221-2/+2
| | | | | | | | | | | | | | | | | | | | Update usage of A2dpService API calls that take BluetoothDevice as an additional argument. If the BluetoothDevice argument is null, the API applies to the device that is currently the Active A2DP device. Bug: 69269748 Test: Code compilation Change-Id: I5d72393cfd5d485d7135b883860d5a2a07ee188a
* | packages/apps/Test/connectivity: Set LOCAL_SDK_VERSION where possible.android-p-preview-1android-o-mr1-iot-preview-7o-mr1-iot-preview-7Anton Hansson2018-02-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: Ic5f28ae67fdb7c8ceb1224588621a72fef439e60
* | Add support for Multi-A2DP state machines per devicePavlin Radoslavov2018-01-261-2/+2
|/ | | | | | | | | | | | Update usage of A2dpService API calls that take BluetoothDevice as an additional argument. If the BluetoothDevice argument is null, the API applies to the device that is currently the Active A2DP device. Bug: 69269748 Test: Code compilation Change-Id: I5d72393cfd5d485d7135b883860d5a2a07ee188a Merged-In: I5d72393cfd5d485d7135b883860d5a2a07ee188a (cherry picked from commit 2c67e9bd3632cf82539266d32c43b3a8582e9e66)
* PMC change for bt_off_mute scenarioAndi Janti2017-09-071-14/+19
| | | | | | Bug: 65409525 Test: local desk setup Change-Id: Ia61fb07497510c05fb0d6b90de93f860d9d02157
* Force BT LE scan when the test phone running PMC app screen is OFFAndi Janti2017-08-221-0/+8
| | | | | | Bug: 64387416 Test: local test on my desk setup, verify the expected logs Change-Id: I4c1c64374738b2221a0a60dd153f63faab3c487f
* Add USB tethering to PMC appGirish Moturu2017-08-104-0/+105
| | | | | | Bug: 38189187 Test: Verified enabling/disabling USB tethering Change-Id: I2643a35ee1488a9a1e3c06d9abc6c8cfedf92499
* Save starting/ending times fo scanning to log fileJim Tan2017-06-122-8/+82
| | | | | | | | | | | Since Android doesn't fire alarms at the exact time we specify when alarm interval is very short, i.e. 5 seconds so we need to send starting & ending times for BLE scanning back to Python client to do an accurate calculation for the average. Test: Done Bug: 38234726 Change-Id: I9106ddce8e358e0a7ef222b51110129804395716
* Add a mechanism for PMC to return statusJim Tan2017-04-256-289/+290
| | | | | | | | | Implement PMC Status Logger to write PMC status to a file Re-org the A2dp code so it is easy to write status to a file Bug: 35802203 Test: Done Change-Id: I664307b10a678fdcf405649efebd66172a0d4606
* Add code to enable Bluetooth if not enabledandroid-o-preview-1android-n-mr2-preview-2o-previewJim Tan2017-02-274-20/+49
| | | | | | | | | | | Add code to enable Bluetooth if not enabled. Add some checks for null points and change some bad variable names. Change the default volume for MediaPlayer to 0.30 since 0.50 is too loud. Test: None Bug: 35708388 Change-Id: I424332d3f2faa8673c1a511cb48374061e3f3375
* Merge "PMC: Use bgscan API in PMC"Treehugger Robot2017-02-091-2/+2
|\
| * PMC: Use bgscan API in PMCRoshan Pius2017-02-071-2/+2
| | | | | | | | | | | | Bug: 34899890 Test: Compiles Change-Id: I690e68ea13ba16628a94cec68455b856148c8216
* | PMC code for A2DP streamming to do power testJim Tan2017-02-072-0/+595
|/ | | | | | | | Implement PMC code to stream A2DP music with different codec for power testing Test: None Bug: 34519194 Change-Id: Ic848aac2b72f1f5c8a5940b3df487ba41ab14cb0
* Implement PMC code to start Gatt Server and Clientandroid-n-mr2-preview-1Jim Tan2017-01-065-18/+807
| | | | | | | | | | | | | | | Test: Power Testing for GATT writing Create GattPMCReceiver class to handle commands from from Python client Create GattClientReceiver class to trigger alarms for continuous Gatt writing Create GattServer class to implement Gatt server functionalities Bug: 32449544 Change-Id: I8b9d7784a46e6d3976b1e5014f2590766b2ec6f8
* Move PMC from Master to AOSPJim Tan2016-12-2117-0/+1796
All the files of PMC are exactly the same as the files of PMC in Master branch Test: None Bug: 33809986 Change-Id: Icf2c00908ab9ff147c6c06aecfa414f324cef4da