/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/ |
D | BasicAndroidKeyStoreFragment.java | 49 public static final String TAG = "BasicAndroidKeyStoreFragment"; field in BasicAndroidKeyStoreFragment 86 Log.d(TAG, "Keys created"); in onOptionsItemSelected() 89 Log.w(TAG, "RSA not supported", e); in onOptionsItemSelected() 91 Log.w(TAG, "No such provider: AndroidKeyStore"); in onOptionsItemSelected() 93 Log.w(TAG, "Invalid Algorithm Parameter Exception", e); in onOptionsItemSelected() 100 Log.w(TAG, "KeyStore not Initialized", e); in onOptionsItemSelected() 102 Log.w(TAG, "KeyPair not recovered", e); in onOptionsItemSelected() 104 Log.w(TAG, "RSA not supported", e); in onOptionsItemSelected() 106 Log.w(TAG, "Invalid Key", e); in onOptionsItemSelected() 108 Log.w(TAG, "Invalid Signature", e); in onOptionsItemSelected() [all …]
|
/development/apps/Development/src/com/android/development/ |
D | BadBehaviorActivity.java | 39 private static final String TAG = "BadBehaviorActivity"; field in BadBehaviorActivity 51 Log.i(TAG, "in broadcast receiver -- about to hang"); in onReceive() 52 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onReceive() 53 Log.i(TAG, "broadcast receiver hang finished -- returning"); in onReceive() 65 Log.i(TAG, "in service start -- about to hang"); in onStartCommand() 66 try { Thread.sleep(30000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onStartCommand() 67 Log.i(TAG, "service hang finished -- stopping and returning"); in onStartCommand() 82 Log.e(TAG, "Can't call IActivityManager.setActivityController", e); in activityStarting() 86 Log.i(TAG, "in activity controller -- about to hang"); in activityStarting() 87 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/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/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | DigitalWatchFaceConfigListenerService.java | 37 private static final String TAG = "DigitalListenerService"; field in DigitalWatchFaceConfigListenerService 50 if (Log.isLoggable(TAG, Log.DEBUG)) { in onMessageReceived() 51 Log.d(TAG, "Received watch face config message: " + configKeysToOverwrite); in onMessageReceived() 63 Log.e(TAG, "Failed to connect to GoogleApiClient."); in onMessageReceived() 73 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnected() 74 Log.d(TAG, "onConnected: " + connectionHint); in onConnected() 80 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnectionSuspended() 81 Log.d(TAG, "onConnectionSuspended: " + cause); in onConnectionSuspended() 87 if (Log.isLoggable(TAG, Log.DEBUG)) { in onConnectionFailed() 88 Log.d(TAG, "onConnectionFailed: " + result); in onConnectionFailed()
|
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 …]
|
D | CardBoundsWatchFaceService.java | 34 private static final String TAG = "CardBoundsWatchFace"; field in CardBoundsWatchFaceService 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()
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
D | BluetoothChatService.java | 43 private static final String TAG = "BluetoothChatService"; field in BluetoothChatService 88 Log.d(TAG, "setState() " + mState + " -> " + state); in setState() 107 Log.d(TAG, "start"); in start() 141 Log.d(TAG, "connect to: " + device); in connect() 171 Log.d(TAG, "connected, Socket Type:" + socketType); in connected() 213 Log.d(TAG, "stop"); in stop() 309 Log.e(TAG, "Socket Type: " + mSocketType + "listen() failed", e); in AcceptThread() 315 Log.d(TAG, "Socket Type: " + mSocketType + in run() 328 Log.e(TAG, "Socket Type: " + mSocketType + "accept() failed", e); in run() 348 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/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/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/RandomMusicPlayer/src/com/example/android/musicplayer/ |
D | MusicRetriever.java | 37 final String TAG = "MusicRetriever"; field in MusicRetriever 56 Log.i(TAG, "Querying media..."); in prepare() 57 Log.i(TAG, "URI: " + uri.toString()); in prepare() 63 Log.i(TAG, "Query finished. " + (cur == null ? "Returned NULL." : "Returned a cursor.")); in prepare() 67 Log.e(TAG, "Failed to retrieve music: cursor is null :-("); in prepare() 72 Log.e(TAG, "Failed to move cursor to first row (no query results)."); in prepare() 76 Log.i(TAG, "Listing..."); in prepare() 85 Log.i(TAG, "Title column index: " + String.valueOf(titleColumn)); in prepare() 86 Log.i(TAG, "ID column index: " + String.valueOf(titleColumn)); in prepare() 90 Log.i(TAG, "ID: " + cur.getString(idColumn) + " Title: " + cur.getString(titleColumn)); in prepare() [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/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/ |
D | CameraPreview.java | 38 private static final String TAG = "CameraPreview"; field in CameraPreview 67 Log.d(TAG, "Camera preview started."); in surfaceCreated() 69 Log.d(TAG, "Error setting camera preview: " + e.getMessage()); in surfaceCreated() 83 Log.d(TAG, "Preview surface does not exist"); in surfaceChanged() 90 Log.d(TAG, "Preview stopped."); in surfaceChanged() 93 Log.d(TAG, "Error starting camera preview: " + e.getMessage()); in surfaceChanged() 102 Log.d(TAG, "Camera preview started."); in surfaceChanged() 104 Log.d(TAG, "Error starting camera preview: " + e.getMessage()); in surfaceChanged()
|
/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/Support7Demos/src/com/example/android/supportv7/media/ |
D | LocalPlayer.java | 57 private static final String TAG = "LocalPlayer"; field in LocalPlayer 58 private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG); 90 Log.d(TAG, "connecting to: " + route); in connect() 97 Log.d(TAG, "releasing"); in release() 116 Log.d(TAG, "play: item=" + item); in play() 124 Log.e(TAG, "MediaPlayer throws IllegalStateException, uri=" + item.getUri()); in play() 126 Log.e(TAG, "MediaPlayer throws IOException, uri=" + item.getUri()); in play() 128 Log.e(TAG, "MediaPlayer throws IllegalArgumentException, uri=" + item.getUri()); in play() 130 Log.e(TAG, "MediaPlayer throws SecurityException, uri=" + item.getUri()); in play() 142 Log.d(TAG, "seek: item=" + item); in seek() [all …]
|
/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/PermissionRequest/src/com.example.android.permissionrequest/ |
D | PermissionRequestFragment.java | 42 private static final String TAG = PermissionRequestFragment.class.getSimpleName(); field in PermissionRequestFragment 111 Log.i(TAG, "onPermissionRequest"); 120 Log.i(TAG, "onPermissionRequestCanceled"); 134 Log.v(TAG, message.message()); 137 Log.i(TAG, message.message()); 140 Log.w(TAG, message.message()); 143 Log.e(TAG, message.message()); 146 Log.d(TAG, message.message()); 161 Log.d(TAG, "Permission granted."); in onConfirmation() 164 Log.d(TAG, "Permission request denied."); in onConfirmation()
|
/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/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/ |
D | CameraPreview.java | 38 private static final String TAG = "CameraPreview"; field in CameraPreview 67 Log.d(TAG, "Camera preview started."); in surfaceCreated() 69 Log.d(TAG, "Error setting camera preview: " + e.getMessage()); in surfaceCreated() 83 Log.d(TAG, "Preview surface does not exist"); in surfaceChanged() 90 Log.d(TAG, "Preview stopped."); in surfaceChanged() 93 Log.d(TAG, "Error starting camera preview: " + e.getMessage()); in surfaceChanged() 102 Log.d(TAG, "Camera preview started."); in surfaceChanged() 104 Log.d(TAG, "Error starting camera preview: " + e.getMessage()); in surfaceChanged()
|
/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/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | BackgroundHelper.java | 31 private static final String TAG = "BackgroundHelper"; field in BackgroundHelper 51 if (DEBUG && !ENABLED) Log.v(TAG, "BackgroundHelper: disabled"); in BackgroundHelper() 64 if (DEBUG) Log.v(TAG, "Cancelling task"); in run() 67 if (DEBUG) Log.v(TAG, "Executing task"); in run() 78 if (DEBUG) Log.v(TAG, "doInBackground cancelled " + cancelled); in doInBackground() 88 if (DEBUG) Log.v(TAG, "onPostExecute"); in onPostExecute() 97 if (DEBUG) Log.v(TAG, "onCancelled"); in onCancelled() 103 if (DEBUG) Log.v(TAG, "load resourceId " + resourceId); in loadBitmap() 143 if (DEBUG) Log.v(TAG, "attach to activity " + activity); in attach() 151 if (DEBUG) Log.v(TAG, "release from activity " + activity); in release()
|
/development/samples/BackupRestore/src/com/example/android/backuprestore/ |
D | BackupRestoreActivity.java | 94 static final String TAG = "BRActivity"; field in BackupRestoreActivity 164 Log.v(TAG, "datafile exists"); in populateUI() 168 Log.v(TAG, " mayo=" + addMayo in populateUI() 174 Log.v(TAG, "creating default datafile"); in populateUI() 201 Log.v(TAG, "New radio item selected: " + checkedId); in populateUI() 211 Log.v(TAG, "Checkbox toggled: " + buttonView); in populateUI() 229 Log.v(TAG, "NEW STATE: mayo=" + addMayo in writeDataToFileLocked() 249 Log.e(TAG, "Unable to record new UI state"); in recordNewUIState() 260 Log.v(TAG, "Requesting restore of our most recent data"); in onRestoreButtonClick() 265 Log.v(TAG, "Restore finished, error = " + error); in onRestoreButtonClick()
|
/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/service/ |
D | TestJobService.java | 41 private static final String TAG = "SyncService"; field in TestJobService 46 Log.i(TAG, "Service created"); in onCreate() 52 Log.i(TAG, "Service destroyed"); in onDestroy() 68 Log.e(TAG, "Error passing service object back to activity."); in onStartCommand() 82 Log.i(TAG, "on start job: " + params.getJobId()); in onStartJob() 93 Log.i(TAG, "on stop job: " + params.getJobId()); in onStopJob() 106 Log.d(TAG, "Scheduling job"); in scheduleJob()
|