Home
last modified time | relevance | path

Searched refs:LogHelper (Results 1 – 12 of 12) sorted by relevance

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicService.java38 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 …]
DPackageValidator.java25 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()
DPlayback.java31 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 …]
DQueueFragment.java32 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 …]
DAlbumArtCache.java24 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()
DMediaNotificationManager.java35 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 …]
DBrowseFragment.java35 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/
DQueueHelper.java37 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()
63LogHelper.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()
DBitmapHelper.java28 private static final String TAG = LogHelper.makeLogTag(BitmapHelper.class);
73 LogHelper.d(TAG, "Scaling bitmap ", uri, " by factor ", scaleFactor, " to support ", in fetchAndRescaleBitmap()
DMediaIDHelper.java26 private static final String TAG = LogHelper.makeLogTag(MediaIDHelper.class);
DLogHelper.java22 public class LogHelper { class
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
DMusicProvider.java22 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()