/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | DigitalWatchFaceConfigListenerService.java | 20 import android.util.Log; 44 if (Log.isLoggable(TAG, Log.DEBUG)) { in onMessageReceived() 45 Log.d(TAG, "onMessageReceived: " + messageEvent); in onMessageReceived() 55 if (Log.isLoggable(TAG, Log.DEBUG)) { in onMessageReceived() 56 Log.d(TAG, "Received watch face config message: " + configKeysToOverwrite); in onMessageReceived() 68 Log.e(TAG, "Failed to connect to GoogleApiClient."); in onMessageReceived() 78 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnected() 79 Log.d(TAG, "onConnected: " + connectionHint); in onConnected() 85 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnectionSuspended() 86 Log.d(TAG, "onConnectionSuspended: " + cause); in onConnectionSuspended() [all …]
|
D | FitStepsWatchFaceService.java | 47 import android.util.Log; 111 if (Log.isLoggable(TAG, Log.VERBOSE)) { 112 Log.v(TAG, "updating time"); 180 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate() 181 Log.d(TAG, "onCreate"); in onCreate() 242 if (Log.isLoggable(TAG, Log.DEBUG)) { in onVisibilityChanged() 243 Log.d(TAG, "onVisibilityChanged: " + visible); in onVisibilityChanged() 287 if (Log.isLoggable(TAG, Log.DEBUG)) { in onApplyWindowInsets() 288 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square")); in onApplyWindowInsets() 323 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPropertiesChanged() [all …]
|
D | InteractiveWatchFaceService.java | 28 import android.util.Log; 78 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate() 79 Log.d(TAG, "onCreate"); in onCreate() 109 if (Log.isLoggable(TAG, Log.DEBUG)) { in onApplyWindowInsets() 110 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square")); in onApplyWindowInsets() 131 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPeekCardPositionUpdate() 132 Log.d(TAG, "onPeekCardPositionUpdate: " + bounds); in onPeekCardPositionUpdate() 150 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPropertiesChanged() 151 Log.d(TAG, "onPropertiesChanged: burn-in protection = " + burnInProtection in onPropertiesChanged() 159 if (Log.isLoggable(TAG, Log.DEBUG)) { in onAmbientModeChanged() [all …]
|
D | CardBoundsWatchFaceService.java | 25 import android.util.Log; 50 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate() 51 Log.d(TAG, "onCreate"); in onCreate() 64 if (Log.isLoggable(TAG, Log.DEBUG)) { in onAmbientModeChanged() 65 Log.d(TAG, "onAmbientModeChanged: " + inAmbientMode); in onAmbientModeChanged() 74 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPeekCardPositionUpdate() 75 Log.d(TAG, "onPeekCardPositionUpdate: " + bounds); in onPeekCardPositionUpdate()
|
D | DigitalWatchFaceService.java | 36 import android.util.Log; 109 if (Log.isLoggable(TAG, Log.VERBOSE)) { 110 Log.v(TAG, "updating time"); 186 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate() 187 Log.d(TAG, "onCreate"); in onCreate() 239 if (Log.isLoggable(TAG, Log.DEBUG)) { in onVisibilityChanged() 240 Log.d(TAG, "onVisibilityChanged: " + visible); in onVisibilityChanged() 293 if (Log.isLoggable(TAG, Log.DEBUG)) { in onApplyWindowInsets() 294 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square")); in onApplyWindowInsets() 327 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPropertiesChanged() [all …]
|
D | OpenGLWatchFaceService.java | 27 import android.util.Log; 128 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate() 129 Log.d(TAG, "onCreate"); in onCreate() 143 if (Log.isLoggable(TAG, Log.DEBUG)) { in onGlContextCreated() 144 Log.d(TAG, "onGlContextCreated"); in onGlContextCreated() 224 if (Log.isLoggable(TAG, Log.DEBUG)) { in onGlSurfaceCreated() 225 Log.d(TAG, "onGlSurfaceCreated: " + width + " x " + height); in onGlSurfaceCreated() 367 if (Log.isLoggable(TAG, Log.DEBUG)) { in onAmbientModeChanged() 368 Log.d(TAG, "onAmbientModeChanged: " + inAmbientMode); in onAmbientModeChanged() 376 if (Log.isLoggable(TAG, Log.DEBUG)) { in onVisibilityChanged() [all …]
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
D | AuthenticationService.java | 22 import android.util.Log; 36 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onCreate() 37 Log.v(TAG, "SampleSyncAdapter Authentication Service started."); in onCreate() 44 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onDestroy() 45 Log.v(TAG, "SampleSyncAdapter Authentication Service stopped."); in onDestroy() 51 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onBind() 52 Log.v(TAG, "getBinder()... returning the AccountAuthenticator binder for intent " in onBind()
|
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/ |
D | BasicAndroidKeyStoreFragment.java | 19 import com.example.android.common.logger.Log; 90 Log.d(TAG, "Keys created"); in onOptionsItemSelected() 93 Log.w(TAG, "RSA not supported", e); in onOptionsItemSelected() 95 Log.w(TAG, "No such provider: AndroidKeyStore"); in onOptionsItemSelected() 97 Log.w(TAG, "Invalid Algorithm Parameter Exception", e); in onOptionsItemSelected() 104 Log.w(TAG, "KeyStore not Initialized", e); in onOptionsItemSelected() 106 Log.w(TAG, "KeyPair not recovered", e); in onOptionsItemSelected() 108 Log.w(TAG, "RSA not supported", e); in onOptionsItemSelected() 110 Log.w(TAG, "Invalid Key", e); in onOptionsItemSelected() 112 Log.w(TAG, "Invalid Signature", e); in onOptionsItemSelected() [all …]
|
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/ |
D | DeleteService.java | 24 import android.util.Log; 65 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onHandleIntent() 66 Log.v(TAG, "DeleteService.onHandleIntent=" + dataItemUri); in onHandleIntent() 76 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onHandleIntent() 77 Log.v(TAG, "DeleteService.onHandleIntent: Failed to delete dataItem:" in onHandleIntent() 87 Log.e(TAG, "Failed to delete data item: " + dataItemUri in onHandleIntent() 108 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnected() 109 Log.d(TAG, "onConnected: " + connectionHint); in onConnected() 115 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnectionSuspended() 116 Log.d(TAG, "onConnectionSuspended: " + cause); in onConnectionSuspended() [all …]
|
/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
D | ChatConnection.java | 22 import android.util.Log; 80 Log.e(TAG, "Updating message: " + msg); in updateMessages() 98 Log.d(TAG, "setSocket being called."); in setSocket() 100 Log.d(TAG, "Setting a null socket."); in setSocket() 133 Log.e(TAG, "Error when closing server socket."); in tearDown() 149 Log.d(TAG, "ServerSocket Created, awaiting connection"); in run() 151 Log.d(TAG, "Connected."); in run() 159 Log.e(TAG, "Error creating ServerSocket: ", e); in run() 178 Log.d(CLIENT_TAG, "Creating chatClient"); in ChatClient() 200 Log.d(CLIENT_TAG, "Client-side socket initialized."); in run() [all …]
|
D | NsdHelper.java | 22 import android.util.Log; 57 Log.d(TAG, "Service discovery started"); in initializeDiscoveryListener() 62 Log.d(TAG, "Service discovery success" + service); in initializeDiscoveryListener() 64 Log.d(TAG, "Unknown Service Type: " + service.getServiceType()); in initializeDiscoveryListener() 66 Log.d(TAG, "Same machine: " + mServiceName); in initializeDiscoveryListener() 74 Log.e(TAG, "service lost" + service); in initializeDiscoveryListener() 82 Log.i(TAG, "Discovery stopped: " + serviceType); in initializeDiscoveryListener() 87 Log.e(TAG, "Discovery failed: Error code:" + errorCode); in initializeDiscoveryListener() 92 Log.e(TAG, "Discovery failed: Error code:" + errorCode); in initializeDiscoveryListener() 102 Log.e(TAG, "Resolve failed" + errorCode); in initializeResolveListener() [all …]
|
D | NsdChatActivity.java | 24 import android.util.Log; 46 Log.d(TAG, "Creating chat activity"); in onCreate() 65 Log.d(TAG, "ServerSocket isn't bound."); in clickAdvertise() 76 Log.d(TAG, "Connecting."); in clickConnect() 80 Log.d(TAG, "No service to connect to!"); in clickConnect() 101 Log.d(TAG, "Starting."); in onStart() 112 Log.d(TAG, "Pausing."); in onPause() 121 Log.d(TAG, "Resuming."); in onResume() 141 Log.d(TAG, "Being stopped."); in onStop() 151 Log.d(TAG, "Being destroyed."); in onDestroy()
|
/development/apps/Development/src/com/android/development/ |
D | BadBehaviorActivity.java | 35 import android.util.Log; 56 Log.i(TAG, "in broadcast receiver -- about to hang"); in onReceive() 57 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onReceive() 58 Log.i(TAG, "broadcast receiver hang finished -- returning"); in onReceive() 70 Log.i(TAG, "in service start -- about to hang"); in onStartCommand() 71 try { Thread.sleep(30000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onStartCommand() 72 Log.i(TAG, "service hang finished -- stopping and returning"); in onStartCommand() 87 Log.e(TAG, "Can't call IActivityManager.setActivityController", e); in activityStarting() 91 Log.i(TAG, "in activity controller -- about to hang"); in activityStarting() 92 try { Thread.sleep(mDelay); } catch (InterruptedException e) { Log.wtf(TAG, e); } in activityStarting() [all …]
|
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/ |
D | MainActivity.java | 31 import android.util.Log; 107 Log.i(TAG, "onGetEventsClicked(): Checking permission."); in onGetEventsClicked() 125 Log.i(TAG, "Permissions already granted. Starting service."); in onGetEventsClicked() 138 Log.i(TAG, "CALENDAR permission has NOT been granted. Requesting permission."); in requestCalendarAndContactPermissions() 155 Log.i(TAG, "Display calendar & contact permissions rationale for additional context."); in requestCalendarAndContactPermissions() 200 if (Log.isLoggable(TAG, Log.DEBUG)) { in onDeleteEventsClicked() 201 Log.d(TAG, "onDeleteEventsClicked(): failed to get Data " in onDeleteEventsClicked() 211 Log.e(TAG, "Failed to delete data items" in onDeleteEventsClicked() 238 Log.e(TAG, "Failed to delete data items" in deleteDataItems() 245 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnected() [all …]
|
/development/samples/browseable/MultiWindowPlayground/src/com/android.multiwindowplayground/activities/ |
D | LoggingActivity.java | 20 import com.example.android.common.logger.Log; 46 Log.d(mLogTag, "onCreate"); in onCreate() 54 Log.d(mLogTag, "onPostCreate"); in onPostCreate() 60 Log.d(mLogTag, "onPause"); in onPause() 66 Log.d(mLogTag, "onDestroy"); in onDestroy() 72 Log.d(mLogTag, "onResume"); in onResume() 78 Log.d(mLogTag, "onConfigurationChanged: " + newConfig.toString()); in onConfigurationChanged() 84 Log.d(mLogTag, "onPostCreate"); in onPostCreate() 93 Log.d(mLogTag, "onStart"); in onStart() 102 Log.d(mLogTag, "onStop"); in onStop() [all …]
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/logging/ |
D | Logger.java | 19 import android.util.Log; 69 Log.i(APP_TAG, getMsg(msg)); in i() 73 Log.i(APP_TAG, getMsg(msg), t); in i() 77 Log.d(APP_TAG, getMsg(msg)); in d() 81 Log.d(APP_TAG, getMsg(msg), t); in d() 85 Log.w(APP_TAG, getMsg(msg)); in w() 89 Log.w(APP_TAG, getMsg(msg), t); in w() 93 Log.e(APP_TAG, getMsg(msg)); in e() 97 Log.e(APP_TAG, getMsg(msg), t); in e()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
D | LogHelper.java | 18 import android.util.Log; 47 log(tag, Log.VERBOSE, null, messages); in v() 54 log(tag, Log.DEBUG, null, messages); in d() 59 log(tag, Log.INFO, null, messages); in i() 63 log(tag, Log.WARN, null, messages); in w() 67 log(tag, Log.WARN, t, messages); in w() 71 log(tag, Log.ERROR, null, messages); in e() 75 log(tag, Log.ERROR, t, messages); in e() 79 if (Log.isLoggable(tag, level)) { in log() 90 sb.append("\n").append(Log.getStackTraceString(t)); in log() [all …]
|
/development/samples/browseable/WearVerifyRemoteApp/Application/src/com.example.android.wearable.wear.wearverifyremoteapp/ |
D | MainMobileActivity.java | 26 import android.util.Log; 97 Log.d(TAG, "onReceiveResult: " + resultCode); 130 Log.d(TAG, "onCreate()"); in onCreate() 156 Log.d(TAG, "onPause()"); in onPause() 172 Log.d(TAG, "onResume()"); in onResume() 181 Log.d(TAG, "onConnected()"); in onConnected() 201 Log.d(TAG, "onConnectionSuspended(): connection to location client suspended: " + i); in onConnectionSuspended() 206 Log.e(TAG, "onConnectionFailed(): " + connectionResult); in onConnectionFailed() 213 Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); in onCapabilityChanged() 225 Log.d(TAG, "findWearDevicesWithApp()"); in findWearDevicesWithApp() [all …]
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
D | BluetoothChatService.java | 32 import android.util.Log; 86 if (D) Log.d(TAG, "setState() " + mState + " -> " + state); in setState() 103 if (D) Log.d(TAG, "start"); in start() 130 if (D) Log.d(TAG, "connect to: " + device); in connect() 153 if (D) Log.d(TAG, "connected, Socket Type:" + socketType); in connected() 189 if (D) Log.d(TAG, "stop"); in stop() 284 Log.e(TAG, "Socket Type: " + mSocketType + "listen() failed", e); in AcceptThread() 290 if (D) Log.d(TAG, "Socket Type: " + mSocketType + in run() 303 Log.e(TAG, "Socket Type: " + mSocketType + "accept() failed", e); in run() 323 Log.e(TAG, "Could not close unwanted socket", e); in run() [all …]
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
D | BluetoothChatService.java | 28 import com.example.android.common.logger.Log; 89 Log.d(TAG, "updateUserInterfaceTitle() " + mNewState + " -> " + mState); in updateUserInterfaceTitle() 108 Log.d(TAG, "start"); in start() 142 Log.d(TAG, "connect to: " + device); in connect() 173 Log.d(TAG, "connected, Socket Type:" + socketType); in connected() 215 Log.d(TAG, "stop"); in stop() 321 Log.e(TAG, "Socket Type: " + mSocketType + "listen() failed", e); in AcceptThread() 328 Log.d(TAG, "Socket Type: " + mSocketType + in run() 341 Log.e(TAG, "Socket Type: " + mSocketType + "accept() failed", e); in run() 361 Log.e(TAG, "Could not close unwanted socket", e); in run() [all …]
|
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/ |
D | GestureListener.java | 24 import com.example.android.common.logger.Log; 34 Log.i(TAG, "Single Tap Up" + getTouchType(e)); in onSingleTapUp() 42 Log.i(TAG, "Long Press" + getTouchType(e)); in onLongPress() 49 Log.i(TAG, "Scroll" + getTouchType(e1)); in onScroll() 57 Log.i(TAG, "Fling" + getTouchType(e1)); in onFling() 64 Log.i(TAG, "Show Press" + getTouchType(e)); in onShowPress() 70 Log.i(TAG, "Down" + getTouchType(e)); in onDown() 77 Log.i(TAG, "Double tap" + getTouchType(e)); in onDoubleTap() 86 Log.i(TAG, "Event within double tap" + getTouchType(e)); in onDoubleTapEvent() 94 Log.i(TAG, "Single tap confirmed" + getTouchType(e)); in onSingleTapConfirmed()
|
/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/ |
D | ResponderService.java | 31 import android.util.Log; 58 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate() 59 Log.d(TAG, "Chat Service started"); in onCreate() 91 if (Log.isLoggable(TAG, Log.DEBUG)) { in showNotification() 92 Log.d(TAG, "Sent: " + mLastResponse); in showNotification() 117 if (Log.isLoggable(TAG, Log.DEBUG)) { in processIncoming() 118 Log.d(TAG, "Received: " + text); in processIncoming() 141 if (Log.isLoggable(TAG, Log.DEBUG)) { in onDestroy() 142 Log.d(TAG, "Chat Service stopped"); in onDestroy()
|
/development/testrunner/ |
D | android_build.py | 45 logger.Log("Error: ANDROID_BUILD_TOP not defined. Please run " 64 logger.Log("Error: ANDROID_HOST_OUT not defined. Please run " 101 logger.Log("Error: Host bin path could not be found %s" % path) 122 logger.Log("Error: ANDROID_PRODUCT_OUT not defined. Please run " 142 logger.Log("Error: Target native test path could not be found") 163 logger.Log("Error: Target system bin path could not be found") 183 logger.Log("Error: Host library path could not be found %s" % path)
|
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/ |
D | TimerNotificationService.java | 26 import android.util.Log; 48 if (Log.isLoggable(TAG, Log.DEBUG)) { in onHandleIntent() 49 Log.d(TAG, "onHandleIntent called with intent: " + intent); in onHandleIntent() 67 if (Log.isLoggable(TAG, Log.DEBUG)) { in restartAlarm() 68 Log.d(TAG, "Timer restarted."); in restartAlarm() 82 if (Log.isLoggable(TAG, Log.DEBUG)) { in deleteTimer() 83 Log.d(TAG, "Timer deleted."); in deleteTimer()
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
D | BluetoothLeService.java | 33 import android.util.Log; 79 Log.i(TAG, "Connected to GATT server."); 81 Log.i(TAG, "Attempting to start service discovery:" + 87 Log.i(TAG, "Disconnected from GATT server."); 97 Log.w(TAG, "onServicesDiscovered received: " + status); 134 Log.d(TAG, "Heart rate format UINT16."); in broadcastUpdate() 137 Log.d(TAG, "Heart rate format UINT8."); in broadcastUpdate() 140 Log.d(TAG, String.format("Received heart rate: %d", heartRate)); in broadcastUpdate() 188 Log.e(TAG, "Unable to initialize BluetoothManager."); in initialize() 195 Log.e(TAG, "Unable to obtain a BluetoothAdapter."); in initialize() [all …]
|