93a8139a1c8c1fd738ad71918585268b5a5beba3 |
|
29-Jan-2015 |
Alan Newberger <alann@google.com> |
Log suppression for JVM tests Allow JVM tests to suppress logs, and thus any calls to Android specific classes. Static accessors to logs is a common idiom in Android, rather than overhaul the entire app to inject Loggers, take advantage of our existing proxy and allow tests to suppress Android specific class calls (to Context and android.util.Log). Change-Id: I1b0d266326fc3ecc4791b9bc4b3b69eac8110dc2
/packages/apps/Camera2/src/com/android/camera/debug/Log.java
|
5e5d6b7101a0d7bc1877c899c9a95c6dc05b0f7d |
|
22-Jan-2015 |
Paul Rohde <codelogic@google.com> |
Extended logging utilities. Change-Id: I4a49a0694495f9c03c55a9ea8fad0ed22bc45bfc
/packages/apps/Camera2/src/com/android/camera/debug/Log.java
|
8be316c7a8caf962cf3fcf5e49d332fb2718319f |
|
20-Jan-2015 |
Paul Rohde <codelogic@google.com> |
Make it possible for singletons that rely on application context to be initalized lazily. * Add AndroidContext * Add AndroidServices * Make LogHelper ues thread safe lazy initialization * Convert several unused fields into local variables in CameraApp. Change-Id: I9c73e9b91efb49a01d848a8cca1e8e65f059b5d0
/packages/apps/Camera2/src/com/android/camera/debug/Log.java
|
37c8be86ac9db4d60c4453fe1e7dbec7cc45cefa |
|
10-Oct-2014 |
Alan Newberger <alann@google.com> |
Add verbose logging for os/apk debug builds Relax VERBOSE screening so that by default, we log more when not in a release configuration. Bug: 17950234 Change-Id: I30250974456607b4fb64c15d6ecfa288ceb2f133
/packages/apps/Camera2/src/com/android/camera/debug/Log.java
|
c00f209e861dba093eb3c267ddc5078b23928d05 |
|
09-Apr-2014 |
Alan Newberger <alann@google.com> |
Add logging override helper This CL removes compile-time log suppression with a runtim override. With a runtime override we can custom configure logging with a single level, not quite as flexible as a boolean per level but should suit our needs. Compile-time log pruning could be done with proguard if desired. Bug: 13737123 Change-Id: I8bdcaca44b4dc5c7eab8ef2f74e5181bcacd2727
/packages/apps/Camera2/src/com/android/camera/debug/Log.java
|
af4bcb92d710f2cb74ddc0559397c49b55beb115 |
|
08-Apr-2014 |
Alan Newberger <alann@google.com> |
Replace isDebugging compiletime logging override with runtime property This CL accomplishes the same goal as the compile-time isDebuggable, with a runtime property check. This is useful so that we opt in to logging everything at a given level with one setprop line. Note that either with this new runtime property or with isDebuggable, the Log proxy wouldn't log if a particular Configuration value is false, since that level is instead routed to SILENT_LOGGER. Bug: 13737123 Change-Id: I78ce629620f420a08a2cc013865847674941fb9b
/packages/apps/Camera2/src/com/android/camera/debug/Log.java
|
d1bb8e084f4ef1dc0b6836d8de07454a80de3ac9 |
|
29-Mar-2014 |
Sascha Haeberling <haeberling@google.com> |
If debug is on, log everything. Change-Id: I706874c9ea1b03c2fd9f987cda9581f72883c914
/packages/apps/Camera2/src/com/android/camera/debug/Log.java
|
5596b4c902dcb685928b43678f428746ca5ffd08 |
|
12-Mar-2014 |
Angus Kong <shkong@google.com> |
Use debug.Log instead of android.util.Log. 1. Change to use com.android.camera.debug.Log instead of android.util.Log. 2. Add DebugCameraProxy to support more detailed debug info. 3. Add CameraErrorCallback in CameraManager. 4. Support posting to a specific handler for CameraErrorCallback. 5. Trim down some TAGs to match the framework tag length limit. 6. Remove some unused codes in CameraSettings. bug:13324870 Change-Id: I8c20a8a0d11cfd50b6e199b03cbc88d3c4ad2ceb
/packages/apps/Camera2/src/com/android/camera/debug/Log.java
|