/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MusicService.java | 38 import com.example.android.mediabrowserservice.utils.LogHelper; 120 private static final String TAG = LogHelper.makeLogTag(MusicService.class); 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() [all …]
|
D | PackageValidator.java | 25 import com.example.android.mediabrowserservice.utils.LogHelper; 42 private static final String TAG = LogHelper.makeLogTag(PackageValidator.class); 75 LogHelper.v(TAG, "Adding allowed caller: ", info.name, in readValidCertificates() 83 LogHelper.e(TAG, e, "Could not read allowed callers from XML."); in readValidCertificates() 103 LogHelper.w(TAG, e, "Package manager can't find package: ", callingPackage); in isCallerAllowed() 107 LogHelper.w(TAG, "Caller has more than one signature certificate!"); in isCallerAllowed() 116 LogHelper.v(TAG, "Signature for caller ", callingPackage, " is not valid: \n" in isCallerAllowed() 119 LogHelper.w(TAG, "The list of valid certificates is empty. Either your file ", in isCallerAllowed() 130 LogHelper.v(TAG, "Valid caller: ", info.name, " package=", info.packageName, in isCallerAllowed() 137 LogHelper.i(TAG, "Caller has a valid certificate, but its package doesn't match any ", in isCallerAllowed()
|
D | Playback.java | 31 import com.example.android.mediabrowserservice.utils.LogHelper; 48 private static final String TAG = LogHelper.makeLogTag(Playback.class); 85 LogHelper.d(TAG, "Headphones disconnected."); 191 LogHelper.e(TAG, ex, "Exception playing song"); in play() 218 LogHelper.d(TAG, "seekTo called with ", position); in seekTo() 242 LogHelper.d(TAG, "tryToGetAudioFocus"); in tryToGetAudioFocus() 256 LogHelper.d(TAG, "giveUpAudioFocus"); in giveUpAudioFocus() 275 LogHelper.d(TAG, "configMediaPlayerState. mAudioFocus=", mAudioFocus); in configMediaPlayerState() 292 LogHelper.d(TAG,"configMediaPlayerState startMediaPlayer. seeking to ", in configMediaPlayerState() 316 LogHelper.d(TAG, "onAudioFocusChange. focusChange=", focusChange); in onAudioFocusChange() [all …]
|
D | QueueFragment.java | 32 import com.example.android.mediabrowserservice.utils.LogHelper; 41 private static final String TAG = LogHelper.makeLogTag(QueueFragment.class.getSimpleName()); 58 LogHelper.d(TAG, "onConnected: session token ", mMediaBrowser.getSessionToken()); 84 LogHelper.d(TAG, "onConnectionFailed"); 89 LogHelper.d(TAG, "onConnectionSuspended"); 103 LogHelper.d(TAG, "Session destroyed. Need to fetch a new Media Session"); 111 LogHelper.d(TAG, "Received playback state change to state ", state.getState()); 118 LogHelper.d(TAG, "onQueueChanged ", queue); 190 LogHelper.d(TAG, "onPlaybackStateChanged ", state); in onPlaybackStateChanged() 228 LogHelper.d(TAG, statusBuilder.toString()); in onPlaybackStateChanged() [all …]
|
D | AlbumArtCache.java | 24 import com.example.android.mediabrowserservice.utils.LogHelper; 32 private static final String TAG = LogHelper.makeLogTag(AlbumArtCache.class); 87 LogHelper.d(TAG, "getOrFetch: album art is in cache, using it", artUrl); in fetch() 91 LogHelper.d(TAG, "getOrFetch: starting asynctask to fetch ", artUrl); in fetch() 107 LogHelper.d(TAG, "doInBackground: putting bitmap in cache. cache size=" + in fetch() 127 LogHelper.e(TAG, e, "AlbumArtFetchListener: error while downloading " + artUrl); in onError()
|
D | MediaNotificationManager.java | 35 import com.example.android.mediabrowserservice.utils.LogHelper; 44 private static final String TAG = LogHelper.makeLogTag(MediaNotificationManager.class); 146 LogHelper.d(TAG, "Received intent with action " + action); in onReceive() 161 LogHelper.w(TAG, "Unknown intent ignored. Action=", action); in onReceive() 196 LogHelper.d(TAG, "Received new playback state", state); 211 LogHelper.d(TAG, "Received new metadata ", metadata); 221 LogHelper.d(TAG, "Session was destroyed, resetting to the new session token"); 227 LogHelper.d(TAG, "updateNotificationMetadata. mMetadata=" + mMetadata); in createNotification() 296 LogHelper.d(TAG, "updatePlayPauseAction"); in addPlayPauseAction() 313 LogHelper.d(TAG, "updateNotificationPlaybackState. mPlaybackState=" + mPlaybackState); in setNotificationPlaybackState() [all …]
|
D | BrowseFragment.java | 35 import com.example.android.mediabrowserservice.utils.LogHelper; 50 private static final String TAG = LogHelper.makeLogTag(BrowseFragment.class.getSimpleName()); 87 LogHelper.d(TAG, "onConnected: session token " + mMediaBrowser.getSessionToken()); 103 LogHelper.d(TAG, "onConnectionFailed"); 108 LogHelper.d(TAG, "onConnectionSuspended");
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
D | QueueHelper.java | 37 private static final String TAG = LogHelper.makeLogTag(QueueHelper.class); 46 LogHelper.e(TAG, "Could not build a playing queue for this mediaId: ", mediaId); in getPlayingQueue() 52 LogHelper.d(TAG, "Creating playing queue for ", categoryType, ", ", categoryValue); in getPlayingQueue() 63 … LogHelper.e(TAG, "Unrecognized category type: ", categoryType, " for mediaId ", mediaId); in getPlayingQueue() 73 LogHelper.d(TAG, "Creating playing queue for musics from search ", query); in getPlayingQueueFromSearch()
|
D | BitmapHelper.java | 28 private static final String TAG = LogHelper.makeLogTag(BitmapHelper.class); 73 LogHelper.d(TAG, "Scaling bitmap ", uri, " by factor ", scaleFactor, " to support ", in fetchAndRescaleBitmap()
|
D | MediaIDHelper.java | 26 private static final String TAG = LogHelper.makeLogTag(MediaIDHelper.class);
|
D | LogHelper.java | 22 public class LogHelper { class
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/ |
D | MusicProvider.java | 22 import com.example.android.mediabrowserservice.utils.LogHelper; 48 private static final String TAG = LogHelper.makeLogTag(MusicProvider.class); 178 LogHelper.d(TAG, "retrieveMediaAsync called"); in retrieveMediaAsync() 240 LogHelper.e(TAG, e, "Could not retrieve music list"); in retrieveMedia() 261 LogHelper.d(TAG, "Found music track: ", json); in buildFromJSON() 313 LogHelper.e(TAG, "Failed to parse the json for media list", e); in fetchJSONFromUrl()
|