cf00adebec29d4cdbec5bc0f004b26a09327c236 |
|
10-Apr-2017 |
Eugene Susla <eugenesusla@google.com> |
API for notification listener for Companioon apps Test: 1. Trigger the confitrmation dialog. Ensure it looks exactly like the one from settings. 2. Call an API without associating the appa first Ensure exception is thrown with a message mentioning the need to associate 1st Change-Id: I94d4116e1988db869ed445ae3fd018c50590e3f4
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
adce09b9a48b1d25c97fe7d3c731de1862f0487b |
|
29-Mar-2017 |
Eugene Susla <eugenesusla@google.com> |
Add ICompanionDeviceManager.getAssociation overload with explicit userId Bug: 30932767 Test: ensure getAssociations works as before Change-Id: I58dc4dac5bf7aae83fe3611890116a928e290a43 (cherry picked from commit 544d714626db38714f826a31a5483c647510a743)
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
4723f36d3e93ce4585233de31c72143a46b657f7 |
|
30-Mar-2016 |
Philip P. Moltmann <moltmann@google.com> |
Make sure PrintDocumentInfo is always sane. Change-Id: I73cf554d42dc33b7a1f6577088ec53b447f14c8c
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
9dcb86a48d73f399fb1b5c020005d76d350eeac2 |
|
14-Mar-2016 |
Philip P. Moltmann <moltmann@google.com> |
Add the print service recommendation service This service connects through the print manager to the print spooler: PrintSpooler.AddPrintersActivity <-> PrintManager <-> PrintManagerService <-> UserState <-> RemotePrintServiceRecommendationService <-> PrintRecommendationService <-> PrintRecommendationServiceImpl Hence there is a lot of mindless plumming. The actual changes are only in the AddPrintersActivity which is extended to show another list of services: The recommended services. The PrintServiceRecommendationService is based on the experimenal print service stubs provider. This provider was contributed the Android by Mopria. As this services uses Android own network discovery service most code from the experimental provider goes away. In fact the only logic left over is the selections of mdns-txt fields to look at and the printer vendor configuration. This relies on the Android MDNS to get fixed (Bug: 27696905). This also does not deal with how to update the recommendation service. Bug: 24533249 Change-Id: I6edc6e25fc08a50d478b61c71bb8ea158b08624c
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
d74d1e549168ba521e8009961b76e8718be37aa1 |
|
18-Mar-2016 |
Philip P. Moltmann <moltmann@google.com> |
Change hasCustomPrintIcon and setStatus as requested by API council. Bonus: null advanced keys produced a exception deep in the print spooler. Hence prevent null keys on the surface from now on. Bug: 27716355 Change-Id: I3c064956f4e670cd7091437ade06605aa8d797b0
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
1a5ee776ee51ae6fba30c8f3b33e26eb7f9dedc6 |
|
13-Feb-2016 |
Makoto Onuki <omakoto@google.com> |
Don't allow deactivating DAs when the user is not unlocked Bug 27149570 Change-Id: I772d9cbd6edc822c8f7b1988905b702e05e674cd
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
76d7e3ee70c4299b22b1a03505d2b4f108716c75 |
|
15-Jan-2016 |
Philip P. Moltmann <moltmann@google.com> |
Check parameters for callers of IPrintManager - Propagate nullness and non-null-ness up and down from the interfaces. - Add non-CTS print tests for IPrintManager binder. Change-Id: I0c310d9cea8aefba5ce386931521ffaf19712bbb
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
cde1c2a7174833dc9c73c261ea6d6be9f7a4634b |
|
14-Jan-2016 |
Philip P. Moltmann <moltmann@google.com> |
Merge "Clean up API for PrinterInfo."
|
c2ad22663ba8cbd0ceb35e760c5f3c4084fb5033 |
|
13-Jan-2016 |
Philip P. Moltmann <moltmann@google.com> |
Clean up API for PrinterInfo. - Make immutable - Check parameters - Check state while unparcelling Change-Id: I13959845ca508936331488506380e894f49abf25
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
2dd48256e9657b013dd6fa0ca86d1d7c7c730428 |
|
12-Jan-2016 |
Daichi Hirono <hirono@google.com> |
Change offset and size arguments of MtpDevice#getPartialObject to Java long. To represents full range of 32-bit unsigned integer, we should use jlong instead of jint. BUG=26284424 Change-Id: Id3fa9e3daa778c204ab8e38f821d454c709c317a
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
620b32b316fd4f1bab4eef55ec8802d14a55e7dd |
|
24-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Package and storage movement callbacks. Since package and primary storage movement can take quite awhile, we want to have SystemUI surface progress and allow the Settings app to be torn down while the movement proceeds in the background. Movement requests now return a unique ID that identifies an ongoing operation, and interested parties can observe ongoing progress and final status. Internally, progress and status are overloaded so the values 0-100 are progress, and any values outside that range are terminal status. Add explicit constants for special-cased volume UUIDs, and change the APIs to accept VolumeInfo to reduce confusion. Internally the UUID value "null" means internal storage, and "primary_physical" means the current primary physical volume. These values are used for both package and primary storage movement destinations. Persist the current primary storage location in MountService metadata, since it can be moved over time. Surface disk scanned events with separate volume count so we can determine when it's partitioned successfully. Also send broadcast to support TvSettings launching into adoption flow. Bug: 19993667 Change-Id: Ic8a4034033c3cb3262023dba4a642efc6795af10
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
91838ded36131525312739c0929913b215519c2a |
|
17-Jul-2014 |
Ruben Brunk <rubenbrunk@google.com> |
camera2: Fix LEGACY mode timestamps. Bug: 15116722 - Add CaptureCollector class to accumulate buffer timestamps and manage lifecycle callbacks for each request. - Set correct timestamps for buffers, results, and callbacks. Change-Id: I75fa1049cf100d9d14c5ba8992be93ba1048df19
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
97f1c854993a65b2c700426a1e3a83b23ea65337 |
|
29-May-2014 |
Yin-Chia Yeh <yinchiayeh@google.com> |
Camera2: update the range of metering weight Limit the range of metering weight to 0-1000. Bug: 15315352 Change-Id: Iceb13b72508cb3c9f758bdcb1b69b6b11ec5aaf8
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
b3a78b2ca9655396e2d73950221d187b7e5bb3ba |
|
17-Apr-2014 |
Igor Murashkin <iam@google.com> |
camera2: Add re-usable data types for camera metadata key/values Adds new types to public API: * ColorSpaceTransform * Range<T> * SizeF (android.util) * MeteringRectangle Minor changes to: * Size (docs and move to android.util) * Preconditions (@hide) Adds helper class: * HashCodeHelpers Change-Id: Ied6749a19234f3af9da838f365f8d68d90251aaf
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
ee2f7df9ee8a4f43c3b0858bad08a4f0a59a627f |
|
26-Sep-2013 |
Jeff Sharkey <jsharkey@android.com> |
Tighten flags enforcement, API to test Uris. Check and throw if callers request invalid grant flags. Add API to test if a Uri is backend by a DocumentsProvider. Bug: 10919391, 10935608 Change-Id: Ifa6afefb95983558c8c64dc15ddf650e9fe07080
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
c268f0b19efd0b6c6c89c21be0893787f3cc9cf7 |
|
24-Aug-2012 |
Jeff Sharkey <jsharkey@android.com> |
Framework interface for netd firewall. Bug: 5756357 Change-Id: If8b9f738fcea2cf16bd01682220718b57346c7cc
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|
d2a458750e5a3d490af09cecb5c28370baf0a913 |
|
29-May-2011 |
Jeff Sharkey <jsharkey@android.com> |
Map network identity using ConnectivityService. Instead of deriving network identity based on raw subsystem broadcasts, listen for updates from ConnectivityService. Added atomic view of all active NetworkState, and build map from "iface" to NetworkIdentity set for stats tracking. To avoid exposing internal complexity, INetworkStatsService calls use general templates. Added TelephonyManager mapping to classify network types using broad labels like "3G" or "4G", used to drive templates. Cleaned up Objects and Preconditions. Change-Id: I1d4c1403f0503bc3635a59bb378841ba42239a91
/frameworks/base/core/java/com/android/internal/util/Preconditions.java
|