Searched refs:Log (Results 1 - 25 of 664) sorted by relevance

1234567891011>>

/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
H A DAuthenticationService.java22 import android.util.Log;
36 if (Log.isLoggable(TAG, Log.VERBOSE)) {
37 Log.v(TAG, "SampleSyncAdapter Authentication Service started.");
44 if (Log.isLoggable(TAG, Log.VERBOSE)) {
45 Log.v(TAG, "SampleSyncAdapter Authentication Service stopped.");
51 if (Log.isLoggable(TAG, Log.VERBOSE)) {
52 Log
[all...]
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
H A DDigitalWatchFaceConfigListenerService.java20 import android.util.Log;
50 if (Log.isLoggable(TAG, Log.DEBUG)) {
51 Log.d(TAG, "Received watch face config message: " + configKeysToOverwrite);
63 Log.e(TAG, "Failed to connect to GoogleApiClient.");
73 if (Log.isLoggable(TAG, Log.DEBUG)) {
74 Log.d(TAG, "onConnected: " + connectionHint);
80 if (Log.isLoggable(TAG, Log
[all...]
H A DCardBoundsWatchFaceService.java25 import android.util.Log;
50 if (Log.isLoggable(TAG, Log.DEBUG)) {
51 Log.d(TAG, "onCreate");
64 if (Log.isLoggable(TAG, Log.DEBUG)) {
65 Log.d(TAG, "onAmbientModeChanged: " + inAmbientMode);
74 if (Log.isLoggable(TAG, Log.DEBUG)) {
75 Log
[all...]
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/
H A DGestureListener.java22 import com.example.android.common.logger.Log;
32 Log.i(TAG, "Single Tap Up");
40 Log.i(TAG, "Long Press");
47 Log.i(TAG, "Scroll");
55 Log.i(TAG, "Fling");
62 Log.i(TAG, "Show Press");
68 Log.i(TAG, "Down");
75 Log.i(TAG, "Double tap");
84 Log.i(TAG, "Event within double tap");
92 Log
[all...]
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/logging/
H A DLogger.java19 import android.util.Log;
22 * Simplifies usage of Android logging class {@link Log} by abstracting the TAG field that is
69 Log.i(APP_TAG, getMsg(msg));
73 Log.i(APP_TAG, getMsg(msg), t);
77 Log.d(APP_TAG, getMsg(msg));
81 Log.d(APP_TAG, getMsg(msg), t);
85 Log.w(APP_TAG, getMsg(msg));
89 Log.w(APP_TAG, getMsg(msg), t);
93 Log.e(APP_TAG, getMsg(msg));
97 Log
[all...]
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
H A DLogHelper.java18 import android.util.Log;
22 log(tag, Log.VERBOSE, null, messages);
26 log(tag, Log.DEBUG, null, messages);
30 log(tag, Log.INFO, null, messages);
34 log(tag, Log.WARN, null, messages);
38 log(tag, Log.WARN, t, messages);
42 log(tag, Log.ERROR, null, messages);
46 log(tag, Log.ERROR, t, messages);
50 if (messages != null && Log.isLoggable(tag, level)) {
60 sb.append("\n").append(Log
[all...]
/development/apps/SettingInjectorSample/src/com/example/android/injector/
H A DDisabledInjectorService.java20 import android.util.Log;
39 Log.e(TAG, "", e);
H A DFailingInjectorService.java20 import android.util.Log;
47 Log.e(TAG, "", e);
H A DMyInjectorService.java20 import android.util.Log;
39 Log.e(TAG, "", e);
H A DSlowInjectorService.java20 import android.util.Log;
39 Log.e(TAG, "", e);
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/notifier/
H A DNotifierService.java20 import android.util.Log;
37 Log.i(TAG, "Contact opened: " + intent.getData());
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
H A DBasicAndroidKeyStoreFragment.java26 import com.example.android.common.logger.Log;
86 Log.d(TAG, "Keys created");
89 Log.w(TAG, "RSA not supported", e);
91 Log.w(TAG, "No such provider: AndroidKeyStore");
93 Log.w(TAG, "Invalid Algorithm Parameter Exception", e);
100 Log.w(TAG, "KeyStore not Initialized", e);
102 Log.w(TAG, "KeyPair not recovered", e);
104 Log.w(TAG, "RSA not supported", e);
106 Log.w(TAG, "Invalid Key", e);
108 Log
[all...]
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
H A DPackageValidator.java27 import android.util.Log;
169 Log.i(TAG, "Allowing caller '"+callingPackage+" because app was built in debug mode.");
178 if (Log.isLoggable(TAG, Log.DEBUG)) {
179 Log.d(TAG, "Package manager can't find package " + callingPackage
185 Log.w(TAG, "Package manager can't find package: " + callingPackage);
190 Log.w(TAG, "Package has more than one signature.");
202 if (Log.isLoggable(TAG, Log.VERBOSE)) {
203 Log
[all...]
/development/apps/Development/src/com/android/development/
H A DBadBehaviorActivity.java34 import android.util.Log;
51 Log.i(TAG, "in broadcast receiver -- about to hang");
52 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); }
53 Log.i(TAG, "broadcast receiver hang finished -- returning");
65 Log.i(TAG, "in service start -- about to hang");
66 try { Thread.sleep(30000); } catch (InterruptedException e) { Log.wtf(TAG, e); }
67 Log.i(TAG, "service hang finished -- stopping and returning");
82 Log.e(TAG, "Can't call IActivityManager.setActivityController", e);
86 Log.i(TAG, "in activity controller -- about to hang");
87 try { Thread.sleep(mDelay); } catch (InterruptedException e) { Log
[all...]
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
H A DSimpleWakefulService.java23 import android.util.Log;
45 Log.i("SimpleWakefulReceiver", "Running service " + (i+1)
52 Log.i("SimpleWakefulReceiver", "Completed service @ " + SystemClock.elapsedRealtime());
/development/samples/browseable/ActivityInstrumentation/src/com.example.android.common.logger/
H A DLogWrapper.java18 import android.util.Log;
21 * Helper class which wraps Android's native Log utility in the Logger interface. This way
26 // For piping: The next node to receive Log data after this one has done its work.
45 * @param priority Log level of the data being logged. Verbose, Error, etc.
63 msg += "\n" + Log.getStackTraceString(tr);
66 // This is functionally identical to Log.x(tag, useMsg);
67 // For instance, if priority were Log.VERBOSE, this would be the same as Log.v(tag, useMsg)
68 Log.println(priority, tag, useMsg);
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.common.logger/
H A DLogWrapper.java18 import android.util.Log;
21 * Helper class which wraps Android's native Log utility in the Logger interface. This way
26 // For piping: The next node to receive Log data after this one has done its work.
45 * @param priority Log level of the data being logged. Verbose, Error, etc.
63 msg += "\n" + Log.getStackTraceString(tr);
66 // This is functionally identical to Log.x(tag, useMsg);
67 // For instance, if priority were Log.VERBOSE, this would be the same as Log.v(tag, useMsg)
68 Log.println(priority, tag, useMsg);
/development/samples/browseable/AdapterTransition/src/com.example.android.common/activities/
H A DSampleActivityBase.java22 import com.example.android.common.logger.Log;
45 // Using Log, front-end to the logging chain, emulates android.util.log method signatures.
48 Log.setLogNode(logWrapper);
50 Log.i(TAG, "Ready");
/development/samples/browseable/AdapterTransition/src/com.example.android.common/logger/
H A DLogWrapper.java18 import android.util.Log;
21 * Helper class which wraps Android's native Log utility in the Logger interface. This way
26 // For piping: The next node to receive Log data after this one has done its work.
45 * @param priority Log level of the data being logged. Verbose, Error, etc.
63 msg += "\n" + Log.getStackTraceString(tr);
66 // This is functionally identical to Log.x(tag, useMsg);
67 // For instance, if priority were Log.VERBOSE, this would be the same as Log.v(tag, useMsg)
68 Log.println(priority, tag, useMsg);
/development/samples/browseable/AdvancedImmersiveMode/src/com.example.android.common/activities/
H A DSampleActivityBase.java22 import com.example.android.common.logger.Log;
45 // Using Log, front-end to the logging chain, emulates android.util.log method signatures.
48 Log.setLogNode(logWrapper);
50 Log.i(TAG, "Ready");
/development/samples/browseable/AdvancedImmersiveMode/src/com.example.android.common/logger/
H A DLogWrapper.java18 import android.util.Log;
21 * Helper class which wraps Android's native Log utility in the Logger interface. This way
26 // For piping: The next node to receive Log data after this one has done its work.
45 * @param priority Log level of the data being logged. Verbose, Error, etc.
63 msg += "\n" + Log.getStackTraceString(tr);
66 // This is functionally identical to Log.x(tag, useMsg);
67 // For instance, if priority were Log.VERBOSE, this would be the same as Log.v(tag, useMsg)
68 Log.println(priority, tag, useMsg);
/development/samples/browseable/AppRestrictionSchema/src/com.example.android.common/activities/
H A DSampleActivityBase.java22 import com.example.android.common.logger.Log;
45 // Using Log, front-end to the logging chain, emulates android.util.log method signatures.
48 Log.setLogNode(logWrapper);
50 Log.i(TAG, "Ready");
/development/samples/browseable/AppRestrictionSchema/src/com.example.android.common/logger/
H A DLogWrapper.java18 import android.util.Log;
21 * Helper class which wraps Android's native Log utility in the Logger interface. This way
26 // For piping: The next node to receive Log data after this one has done its work.
45 * @param priority Log level of the data being logged. Verbose, Error, etc.
63 msg += "\n" + Log.getStackTraceString(tr);
66 // This is functionally identical to Log.x(tag, useMsg);
67 // For instance, if priority were Log.VERBOSE, this would be the same as Log.v(tag, useMsg)
68 Log.println(priority, tag, useMsg);
/development/samples/browseable/BasicAccessibility/src/com.example.android.common.logger/
H A DLogWrapper.java18 import android.util.Log;
21 * Helper class which wraps Android's native Log utility in the Logger interface. This way
26 // For piping: The next node to receive Log data after this one has done its work.
45 * @param priority Log level of the data being logged. Verbose, Error, etc.
63 msg += "\n" + Log.getStackTraceString(tr);
66 // This is functionally identical to Log.x(tag, useMsg);
67 // For instance, if priority were Log.VERBOSE, this would be the same as Log.v(tag, useMsg)
68 Log.println(priority, tag, useMsg);
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.common/activities/
H A DSampleActivityBase.java22 import com.example.android.common.logger.Log;
45 // Using Log, front-end to the logging chain, emulates android.util.log method signatures.
48 Log.setLogNode(logWrapper);
50 Log.i(TAG, "Ready");

Completed in 440 milliseconds

1234567891011>>