/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/ |
D | BasicAndroidKeyStoreFragment.java | 53 public static final String TAG = "KeyStoreFragment"; field in BasicAndroidKeyStoreFragment 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/apps/Development/src/com/android/development/ |
D | BadBehaviorActivity.java | 40 private static final String TAG = "BadBehaviorActivity"; field in BadBehaviorActivity 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/training/NsdChat/src/com/example/android/nsdchat/ |
D | NsdHelper.java | 35 public static final String TAG = "NsdHelper"; field in NsdHelper 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 | 38 public static final String TAG = "NsdChat"; field in NsdChatActivity 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/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | DigitalWatchFaceConfigListenerService.java | 37 private static final String TAG = "DigitalListenerService"; field in DigitalWatchFaceConfigListenerService 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 | 72 private static final String TAG = "StepCountWatchFace"; field in FitStepsWatchFaceService 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 | DigitalWatchFaceService.java | 65 private static final String TAG = "DigitalWatchFaceService"; field in DigitalWatchFaceService 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 | InteractiveWatchFaceService.java | 39 private static final String TAG = "InteractiveWatchFace"; field in InteractiveWatchFaceService 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 …]
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MusicService.java | 120 private static final String TAG = LogHelper.makeLogTag(MusicService.class); field in MusicService 147 LogHelper.d(TAG, "onCreate"); in onCreate() 206 LogHelper.d(TAG, "onDestroy"); in onDestroy() 218 LogHelper.d(TAG, "OnGetRoot: clientPackageName=" + clientPackageName, in onGetRoot() 225 LogHelper.w(TAG, "OnGetRoot: IGNORING request from untrusted package " in onGetRoot() 268 LogHelper.d(TAG, "OnLoadChildren: parentMediaId=", parentMediaId); in loadChildrenImpl() 273 LogHelper.d(TAG, "OnLoadChildren.ROOT"); in loadChildrenImpl() 285 LogHelper.d(TAG, "OnLoadChildren.GENRES"); in loadChildrenImpl() 299 LogHelper.d(TAG, "OnLoadChildren.SONGS_BY_GENRE genre=", genre); in loadChildrenImpl() 315 LogHelper.w(TAG, "Skipping unmatched parentMediaId: ", parentMediaId); in loadChildrenImpl() [all …]
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
D | BluetoothChatService.java | 43 private static final String TAG = "BluetoothChatService"; field in BluetoothChatService 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/BluetoothChat/src/com/example/android/BluetoothChat/ |
D | BluetoothChatService.java | 42 private static final String TAG = "BluetoothChatService"; field in BluetoothChatService 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/AgendaData/Application/src/com.example.android.wearable.agendadata/ |
D | MainActivity.java | 19 import static com.example.android.wearable.agendadata.Constants.TAG; 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/WearVerifyRemoteApp/Application/src/com.example.android.wearable.wear.wearverifyremoteapp/ |
D | MainMobileActivity.java | 56 private static final String TAG = "MainMobileActivity"; field in MainMobileActivity 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/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | LocalPlayer.java | 53 private static final String TAG = "LocalPlayer"; field in LocalPlayer 54 private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG); 92 Log.d(TAG, "connecting to: " + route); in connect() 99 Log.d(TAG, "releasing"); in release() 113 Log.d(TAG, "play: item=" + item); in play() 121 Log.e(TAG, "MediaPlayer throws IllegalStateException, uri=" + item.getUri()); in play() 123 Log.e(TAG, "MediaPlayer throws IOException, uri=" + item.getUri()); in play() 125 Log.e(TAG, "MediaPlayer throws IllegalArgumentException, uri=" + item.getUri()); in play() 127 Log.e(TAG, "MediaPlayer throws SecurityException, uri=" + item.getUri()); in play() 139 Log.d(TAG, "seek: item=" + item); in seek() [all …]
|
/development/samples/browseable/WearVerifyRemoteApp/Wearable/src/com.example.android.wearable.wear.wearverifyremoteapp/ |
D | MainWearActivity.java | 54 private static final String TAG = "MainWearActivity"; field in MainWearActivity 112 Log.d(TAG, "onCreate()"); in onCreate() 140 Log.d(TAG, "onPause()"); in onPause() 155 Log.d(TAG, "onResume()"); in onResume() 164 Log.d(TAG, "onConnected()"); in onConnected() 177 Log.d(TAG, "onConnectionSuspended(): connection to location client suspended: " + i); in onConnectionSuspended() 182 Log.e(TAG, "onConnectionFailed(): " + connectionResult); in onConnectionFailed() 189 Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); in onCapabilityChanged() 196 Log.d(TAG, "checkIfPhoneHasApp()"); in checkIfPhoneHasApp() 208 Log.d(TAG, "onResult(): " + getCapabilityResult); in checkIfPhoneHasApp() [all …]
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
D | BluetoothLeService.java | 43 private final static String TAG = BluetoothLeService.class.getSimpleName(); field in BluetoothLeService 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 …]
|
/development/samples/ApiDemos/src/com/example/android/apis/security/ |
D | KeyStoreUsage.java | 65 private static final String TAG = "AndroidKeyStoreUsage"; field in KeyStoreUsage 276 Log.w(TAG, "Could not list keys", e); in doInBackground() 279 Log.w(TAG, "Could not list keys", e); in doInBackground() 282 Log.w(TAG, "Could not list keys", e); in doInBackground() 285 Log.w(TAG, "Could not list keys", e); in doInBackground() 325 Log.w(TAG, "Could not generate key", e); in doInBackground() 328 Log.w(TAG, "Could not generate key", e); in doInBackground() 331 Log.w(TAG, "Could not generate key", e); in doInBackground() 364 Log.w(TAG, "Not an instance of a PrivateKeyEntry"); in doInBackground() 374 Log.w(TAG, "Could not generate key", e); in doInBackground() [all …]
|
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/ |
D | DeleteService.java | 26 import static com.example.android.wearable.agendadata.Constants.TAG; 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/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | SyncAdapter.java | 60 public static final String TAG = "SyncAdapter"; field in SyncAdapter 137 Log.i(TAG, "Beginning network synchronization"); in onPerformSync() 143 Log.i(TAG, "Streaming data from network: " + location); in onPerformSync() 154 Log.e(TAG, "Feed URL is malformed", e); in onPerformSync() 158 Log.e(TAG, "Error reading from network: " + e.toString()); in onPerformSync() 162 Log.e(TAG, "Error parsing feed: " + e.toString()); in onPerformSync() 166 Log.e(TAG, "Error parsing feed: " + e.toString()); in onPerformSync() 170 Log.e(TAG, "Error updating database: " + e.toString()); in onPerformSync() 174 Log.e(TAG, "Error updating database: " + e.toString()); in onPerformSync() 178 Log.i(TAG, "Network synchronization complete"); in onPerformSync() [all …]
|
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/ |
D | GestureListener.java | 28 public static final String TAG = "GestureListener"; field in GestureListener 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/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
D | AuthenticationService.java | 30 private static final String TAG = "AuthenticationService"; field in AuthenticationService 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/ApiDemos/src/com/example/android/apis/media/ |
D | MediaPlayerDemo_Video.java | 39 private static final String TAG = "MediaPlayerDemo"; field in MediaPlayerDemo_Video 134 Log.e(TAG, "error: " + e.getMessage(), e); in playVideo() 139 Log.d(TAG, "onBufferingUpdate percent:" + percent); in onBufferingUpdate() 144 Log.d(TAG, "onCompletion called"); in onCompletion() 148 Log.v(TAG, "onVideoSizeChanged called"); in onVideoSizeChanged() 150 Log.e(TAG, "invalid video width(" + width + ") or height(" + height + ")"); in onVideoSizeChanged() 162 Log.d(TAG, "onPrepared called"); in onPrepared() 170 Log.d(TAG, "surfaceChanged called"); in surfaceChanged() 175 Log.d(TAG, "surfaceDestroyed called"); in surfaceDestroyed() 180 Log.d(TAG, "surfaceCreated called"); in surfaceCreated() [all …]
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | ImageFetcher.java | 44 private static final String TAG = "ImageFetcher"; field in ImageFetcher 98 Log.d(TAG, "HTTP cache initialized"); in initHttpDiskCache() 117 Log.d(TAG, "HTTP cache cleared"); in clearCacheInternal() 120 Log.e(TAG, "clearCacheInternal - " + e); in clearCacheInternal() 137 Log.d(TAG, "HTTP cache flushed"); in flushCacheInternal() 140 Log.e(TAG, "flush - " + e); in flushCacheInternal() 156 Log.d(TAG, "HTTP cache closed"); in closeCacheInternal() 160 Log.e(TAG, "closeCacheInternal - " + e); in closeCacheInternal() 177 Log.e(TAG, "checkConnection - no connection found"); in checkConnection() 190 Log.d(TAG, "processBitmap - " + data); in processBitmap() [all …]
|
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/ |
D | MainActivity.java | 86 public static final String TAG = "MainActivity"; field in MainActivity 117 Log.i(TAG, "Show camera button pressed. Checking permission."); in showCamera() 129 Log.i(TAG, in showCamera() 143 Log.i(TAG, "CAMERA permission has NOT been granted. Requesting permission."); in requestCameraPermission() 151 Log.i(TAG, in requestCameraPermission() 178 Log.i(TAG, "Show contacts button pressed. Checking permissions."); in showContacts() 186 Log.i(TAG, "Contact permissions has NOT been granted. Requesting permissions."); in showContacts() 192 Log.i(TAG, in showContacts() 213 Log.i(TAG, in requestContactsPermissions() 270 Log.i(TAG, "Received response for Camera permission request."); in onRequestPermissionsResult() [all …]
|
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/ |
D | MainPhoneActivity.java | 69 private static final String TAG = "MainPhoneActivity"; field in MainPhoneActivity 95 Log.d(TAG, "onCreate()"); in onCreate() 148 Log.d(TAG, "onPause()"); in onPause() 162 Log.d(TAG, "onResume()"); in onResume() 184 Log.d(TAG, "onActivityResult()"); in onActivityResult() 200 Log.d(TAG, "onConnected()"); in onConnected() 249 Log.d(TAG, "onConnectionSuspended(): connection to location client suspended"); in onConnectionSuspended() 254 Log.e(TAG, "onConnectionFailed(): connection to location client failed"); in onConnectionFailed() 259 Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); in onCapabilityChanged() 265 Log.d(TAG, "onMessageReceived(): " + messageEvent); in onMessageReceived() [all …]
|