APISonar


org.qiyi.pluginlibrary.utils.PluginDebugLog.log

> org > qiyi > pluginlibrary > utils > PluginDebugLog > log
org APIs qiyi APIs pluginlibrary APIs utils APIs PluginDebugLog APIs log APIs

Example 1
void setActionFinishCallback(IActionFinishCallback callback) {
        if (callback != null) {
            try {
                String processName = callback.getProcessName();
                if (!TextUtils.isEmpty(processName)) {
                    PluginDebugLog.log(TAG, "setActionFinishCallback with process name: " + processName);
                    mActionFinishCallbacks.put(processName, callback);
                }
            } catch (RemoteException e) {
                // ignore
            }
        }
    }
Example 2
private static boolean addAction(Action action) {
        if (action == null || TextUtils.isEmpty(action.getPackageName())) {
            return false;
        }

        String packageName = action.getPackageName();
        CopyOnWriteArrayList<Action> actionList = sActionMap.get(packageName);
        if (actionList == null) {
            actionList = new CopyOnWriteArrayList<Action>();
            sActionMap.put(packageName, actionList);
        }
        PluginDebugLog.log(TAG, "add action in action list for " + action.toString());
        actionList.add(action);
        return true;
    }
Example 3
public void unbindService(ServiceConnection conn) {
        super.unbindService(conn);
        PServiceSupervisor.removeServiceConnection(conn);
        PluginDebugLog.log(TAG, "unbindService: " + conn);
    }