/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/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/ |
D | GestureListener.java | 26 public static final String TAG = "GestureListener"; field in GestureListener 32 Log.i(TAG, "Single Tap Up"); in onSingleTapUp() 40 Log.i(TAG, "Long Press"); in onLongPress() 47 Log.i(TAG, "Scroll"); in onScroll() 55 Log.i(TAG, "Fling"); in onFling() 62 Log.i(TAG, "Show Press"); in onShowPress() 68 Log.i(TAG, "Down"); in onDown() 75 Log.i(TAG, "Double tap"); in onDoubleTap() 84 Log.i(TAG, "Event within double tap"); in onDoubleTapEvent() 92 Log.i(TAG, "Single tap confirmed"); in onSingleTapConfirmed()
|
/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 | DigitalWatchFaceService.java | 60 private static final String TAG = "DigitalWatchFaceService"; field in DigitalWatchFaceService 104 if (Log.isLoggable(TAG, Log.VERBOSE)) { 105 Log.v(TAG, "updating time"); 165 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCreate() 166 Log.d(TAG, "onCreate"); in onCreate() 211 if (Log.isLoggable(TAG, Log.DEBUG)) { in onVisibilityChanged() 212 Log.d(TAG, "onVisibilityChanged: " + visible); in onVisibilityChanged() 257 if (Log.isLoggable(TAG, Log.DEBUG)) { in onApplyWindowInsets() 258 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square")); in onApplyWindowInsets() 290 if (Log.isLoggable(TAG, Log.DEBUG)) { in onPropertiesChanged() [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/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MusicService.java | 116 private static final String TAG = "MusicService"; field in MusicService 173 LogHelper.d(TAG, "Ignoring delayed stop since the media player is in use."); 176 LogHelper.d(TAG, "Stopping service with delay handler."); 189 LogHelper.d(TAG, "onCreate"); in onCreate() 243 LogHelper.d(TAG, "onDestroy"); in onDestroy() 257 LogHelper.d(TAG, "OnGetRoot: clientPackageName=" + clientPackageName, in onGetRoot() 264 LogHelper.w(TAG, "OnGetRoot: IGNORING request from untrusted package " in onGetRoot() 306 LogHelper.d(TAG, "OnLoadChildren: parentMediaId=", parentMediaId); in loadChildrenImpl() 311 LogHelper.d(TAG, "OnLoadChildren.ROOT"); in loadChildrenImpl() 323 LogHelper.d(TAG, "OnLoadChildren.GENRES"); in loadChildrenImpl() [all …]
|
D | PackageValidator.java | 34 public static final String TAG = "PackageValidator"; field in PackageValidator 169 Log.i(TAG, "Allowing caller '"+callingPackage+" because app was built in debug mode."); in isCallerAllowed() 178 if (Log.isLoggable(TAG, Log.DEBUG)) { in isCallerAllowed() 179 Log.d(TAG, "Package manager can't find package " + callingPackage in isCallerAllowed() 185 Log.w(TAG, "Package manager can't find package: " + callingPackage); in isCallerAllowed() 190 Log.w(TAG, "Package has more than one signature."); in isCallerAllowed() 202 if (Log.isLoggable(TAG, Log.VERBOSE)) { in isCallerAllowed() 203 Log.v(TAG, "Signature not valid. Found: \n" + in isCallerAllowed()
|
/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/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/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/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/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/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/ApiDemos/src/com/example/android/apis/security/ |
D | KeyStoreUsage.java | 66 private static final String TAG = "AndroidKeyStoreUsage"; field in KeyStoreUsage 274 Log.w(TAG, "Could not list keys", e); in doInBackground() 277 Log.w(TAG, "Could not list keys", e); in doInBackground() 280 Log.w(TAG, "Could not list keys", e); in doInBackground() 283 Log.w(TAG, "Could not list keys", e); in doInBackground() 329 Log.w(TAG, "Could not generate key", e); in doInBackground() 332 Log.w(TAG, "Could not generate key", e); in doInBackground() 335 Log.w(TAG, "Could not generate key", e); in doInBackground() 368 Log.w(TAG, "Not an instance of a PrivateKeyEntry"); in doInBackground() 378 Log.w(TAG, "Could not generate key", e); in doInBackground() [all …]
|
/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/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/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()
|
/development/samples/browseable/AdvancedImmersiveMode/src/com.example.android.advancedimmersivemode/ |
D | AdvancedImmersiveModeFragment.java | 35 public static final String TAG = "AdvancedImmersiveModeFragment"; field in AdvancedImmersiveModeFragment 146 Log.i(TAG, "SYSTEM_UI_FLAG_LOW_PROFILE is set"); in dumpFlagStateToLog() 148 Log.i(TAG, "SYSTEM_UI_FLAG_LOW_PROFILE is unset"); in dumpFlagStateToLog() 152 Log.i(TAG, "SYSTEM_UI_FLAG_FULLSCREEN is set"); in dumpFlagStateToLog() 154 Log.i(TAG, "SYSTEM_UI_FLAG_FULLSCREEN is unset"); in dumpFlagStateToLog() 158 Log.i(TAG, "SYSTEM_UI_FLAG_HIDE_NAVIGATION is set"); in dumpFlagStateToLog() 160 Log.i(TAG, "SYSTEM_UI_FLAG_HIDE_NAVIGATION is unset"); in dumpFlagStateToLog() 164 Log.i(TAG, "SYSTEM_UI_FLAG_IMMERSIVE is set"); in dumpFlagStateToLog() 166 Log.i(TAG, "SYSTEM_UI_FLAG_IMMERSIVE is unset"); in dumpFlagStateToLog() 170 Log.i(TAG, "SYSTEM_UI_FLAG_IMMERSIVE_STICKY is set"); in dumpFlagStateToLog() [all …]
|
/development/samples/browseable/Timer/Wearable/src/com.example.android.wearable.timer/ |
D | TimerNotificationService.java | 35 public static final String TAG = "TimerNotificationSvc"; field in TimerNotificationService 38 super(TAG); in TimerNotificationService() 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()
|