History log of /packages/apps/Settings/tests/robotests/src/com/android/settings/applications/InstalledAppCounterTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9f1e911759dc6fedaac9fa65afb79f6a93022bf4 09-Jun-2017 Andrew Sapperstein <asapperstein@google.com> Refactor test runner to use static list of resource paths

Previously everything lived in an inner class method of
SettingsRobolectricTestRunner. That method has now been turned into
a static method so that it can be called by other runners.

Bug: 62460102
Test: robotests
Change-Id: I6612b1f26404587301c534c8ba60e39d59d6c840
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/InstalledAppCounterTest.java
046400c2c407429da47e6b2230ba8bbd21c43e9b 24-May-2017 Maurice Lam <yukl@google.com> Migrate settings robolectric tests to mockito 2

- Migrated ArgumentMatcher subclasses to lambdas
- Replaced any() with nullable() where tests were failing

Test: cd tests/robotests && mma
Bug: 38456058
Change-Id: Ice8c39b435c45b87f82dbbd9860e68f235314cf8
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/InstalledAppCounterTest.java
60b2960cbb4df5310d054da57e2ec134b3fca0e6 12-Apr-2017 Denis Kuznetsov <antrim@google.com> DO Disclosure: add UI that lists apps that were managed by owner:
- had permissions granted by admin
- were installed by owner via policy

Bug: 32692748
Test: m RunSettingsRoboTests
Change-Id: I365e2f8f351671e68f83cceb7c0ca241d7a5a588
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/InstalledAppCounterTest.java
b836da263d8559255c528fe68410649d979cf123 30-Mar-2017 Bartosz Fabianowski <bartfab@google.com> Device management info: Refer to current user, not primary user

The device management info page should show information about the
current user's policies, not the primary user's.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I5d8afa7fae1c0f3a4da78b085365882827e6721b
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/InstalledAppCounterTest.java
0c88ff4ed91a731f83f9afe912b41f06f40a45ec 22-Mar-2017 Denis Kuznetsov <antrim@google.com> Update List of apps on device string,
remove "XX apps" string.

Bug: 32692748
Test: m RunSettingsRoboTests
Change-Id: I64f833497b5362f95cfc56a1057d97d9539ff029
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/InstalledAppCounterTest.java
5dc168af1add029df23674f60eb4130b82012e70 10-Mar-2017 Bartosz Fabianowski <bartfab@google.com> Start removing N/A DO disclosures from search index

DO disclosures referring to actions that the admin did not actually
take are hidden in the UI, but still show up in the search index. This
CL takes the following steps toward fixing this:
* Pass the list of PreferenceControllers to the search indexer
* Make the first two PrefrenceControllers set isAvailable() correctly

There are more disclosures to update, but the difficult work is done
as all others will follow the same pattern.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I7d3e248b80abe72b79fce7afa11f28a822de6986
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/InstalledAppCounterTest.java
ccd4fa8e609a8fe9d2535ec78922b12d03ec0120 17-Jan-2017 Bartosz Fabianowski <bartfab@google.com> Add Device Owner disclosure to Add Accounts dialog

This CL adds a footer to the Add Accounts dialog that tells the user
when the device is managed by a Device Owner app.

Bug: 32692748
Test: make RunSettingsRoboTests

Change-Id: I0dd161eb0bbbc87c04692d4fa6547bd41dab05e0
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/InstalledAppCounterTest.java
9704a28c7b2934d40a70a4529a06641816be3d62 16-Jan-2017 Bartosz Fabianowski <bartfab@google.com> Add admin-granted permissions to Enterprise Privacy Settings page

This CL adds information about the number of apps that have been granted
particularly sensitive permissions (location, microphone, camera) by
the admin.

Bug: 32692748
Test: make RunSettingsRoboTests

Change-Id: I650d3e1ed3950960c58722b0c035a76daeb36478
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/InstalledAppCounterTest.java
13f569ebd676cf1616b039d0d8aa141fff34be49 13-Jan-2017 Bartosz Fabianowski <bartfab@google.com> Add number of enterprise-installed apps to Privacy Settings page

This CL adds information about the number of apps that were installed
by the admin to the Enterprise Privacy Settings page.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: Ib710a1249db6d285da962122fd3dfb35a43752a1
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/InstalledAppCounterTest.java
032a77be8d3b8035b7a1b4f22d020513d0c97722 02-Dec-2016 Fan Zhang <zhfan@google.com> Fix test for appcounter

Bug: 33275978
Test: make RunSettingsRoboTests
Change-Id: Ie3c58dc95b4abde83f33ee7c2af925cef3be85fb
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/InstalledAppCounterTest.java
3d83300debb85090b2bbb9d659c0c859e210f1c2 17-Nov-2016 Bartosz Fabianowski <bartfab@google.com> Extract counting of installed apps into helper class

This CL extracts the code that counts the number of installed apps
for a set of users from ManageApplications to a helper class,
InstalledAppCounter. The new helper is designed to be unit-testable
(PackageManager dependencies are injected via a new PackageManagerWrapper
abstraction) and customizable (the set of users for which to count is
specified by subclasses).

The CL adds a unit test for the InstalledAppCounter as well.

Test: make RunSettingsRoboTests
Bug: 32692748
Change-Id: Ie7fbd40d9dd998b27f1f9de227b6a187b5c9d315
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/InstalledAppCounterTest.java