/developers/samples/android/system/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/ |
MainActivity.kt | 25 import android.util.Log 38 * It contains a summary sample description, sample log and a Fragment that calls callbacks on this 96 Log.i(TAG, "Show camera button pressed. Checking permission.") 103 Log.i(TAG, 115 Log.i(TAG, "CAMERA permission has NOT been granted. Requesting permission.") 120 Log.i(TAG, "Displaying camera permission rationale to provide additional context.") 139 Log.i(TAG, "Show contacts button pressed. Checking permissions.") 145 Log.i(TAG, "Contact permissions has NOT been granted. Requesting permissions.") 149 Log.i(TAG, 167 Log.i(TAG, "Displaying contacts permission rationale to provide additional context." [all...] |
/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/ |
AppLinkActivity.java | 22 import android.util.Log; 49 Log.v(TAG, uri.toString()); 52 Log.e(TAG, "Invalid uri " + uri); 74 Log.e(TAG, "Invalid subscription " + action.getSubscriptionName()); 84 Log.d( 91 Log.d( 103 Log.e(TAG, "Invalid program " + action.getMovieId());
|
/developers/samples/android/ui/window/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/common/logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 32 public static final int VERBOSE = android.util.Log.VERBOSE; 34 public static final int DEBUG = android.util.Log.DEBUG; 36 public static final int INFO = android.util.Log.INFO; 38 public static final int WARN = android.util.Log.WARN; 40 public static final int ERROR = android.util.Log.ERROR; 42 public static final int ASSERT = android.util.Log.ASSERT; 62 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/developers/samples/android/ui/window/DragAndDropAcrossApps/DropTarget/src/main/java/com/example/android/common/logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/developers/samples/android/ui/window/MultiWindowPlayground/Application/src/main/java/com/android/multiwindowplayground/ |
MainActivity.java | 31 import android.util.Log; 51 Log.d(mLogTag, "** starting UnresizableActivity"); 65 Log.d(mLogTag, "** starting MinimumSizeActivity"); 71 Log.d(mLogTag, "** starting AdjacentActivity"); 86 Log.d(mLogTag, "** starting LaunchBoundsActivity"); 102 Log.d(mLogTag, "** starting BasicActivity"); 111 Log.d(mLogTag, "** starting CustomConfigurationChangeActivity");
|
/developers/samples/android/ui/window/MultiWindowPlayground/Application/src/main/java/com/example/android/common/logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 31 public static final int VERBOSE = android.util.Log.VERBOSE; 32 public static final int DEBUG = android.util.Log.DEBUG; 33 public static final int INFO = android.util.Log.INFO; 34 public static final int WARN = android.util.Log.WARN; 35 public static final int ERROR = android.util.Log.ERROR; 36 public static final int ASSERT = android.util.Log.ASSERT; 56 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/provider/ |
IncrementingNumberComplicationProviderService.java | 26 import android.util.Log; 49 Log.d(TAG, "onComplicationActivated(): " + complicationId); 65 Log.d(TAG, "onComplicationUpdate() id: " + complicationId); 111 if (Log.isLoggable(TAG, Log.WARN)) { 112 Log.w(TAG, "Unexpected complication type " + dataType); 131 Log.d(TAG, "onComplicationDeactivated(): " + complicationId);
|
/development/samples/ApiDemos/src/com/example/android/apis/security/ |
KeyStoreUsage.java | 29 import android.util.Log; 276 Log.w(TAG, "Could not list keys", e); 279 Log.w(TAG, "Could not list keys", e); 282 Log.w(TAG, "Could not list keys", e); 285 Log.w(TAG, "Could not list keys", e); 325 Log.w(TAG, "Could not generate key", e); 328 Log.w(TAG, "Could not generate key", e); 331 Log.w(TAG, "Could not generate key", e); 364 Log.w(TAG, "Not an instance of a PrivateKeyEntry"); 374 Log.w(TAG, "Could not generate key", e) [all...] |
/development/samples/browseable/ActiveNotifications/src/com.example.android.common/logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/ActivityInstrumentation/src/com.example.android.common.logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.common.logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/AdvancedImmersiveMode/src/com.example.android.common/logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/AppRestrictionSchema/src/com.example.android.common/logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/BasicAccessibility/src/com.example.android.common.logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.common/logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/BasicContactables/src/com.example.android.common.logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/BasicGestureDetect/src/com.example.android.common/logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/BasicImmersiveMode/src/com.example.android.common/logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/BasicMediaRouter/src/com.example.android.common.logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/BasicMultitouch/src/com.example.android.common.logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/BasicNetworking/src/com.example.android.common.logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/BasicTransition/src/com.example.android.common/logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/BatchStepSensor/src/com.example.android.common/logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |
/development/samples/browseable/BeamLargeFiles/src/com.example.android.common/logger/ |
Log.java | 22 * an instance of it can function as a drop-in replacement for {@link android.util.Log}. 23 * Most of the methods in this class server only to map a method call in Log to its equivalent 26 public class Log { 30 public static final int VERBOSE = android.util.Log.VERBOSE; 31 public static final int DEBUG = android.util.Log.DEBUG; 32 public static final int INFO = android.util.Log.INFO; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int ERROR = android.util.Log.ERROR; 35 public static final int ASSERT = android.util.Log.ASSERT; 55 * Instructs the LogNode to print the log data provided. Other LogNodes ca [all...] |