Search in sources :

Example 6 with ITelecomService

use of com.android.internal.telecom.ITelecomService in project platform_frameworks_base by android.

the class TelecomManager method dumpAnalytics.

/**
     * Dumps telecom analytics for uploading.
     *
     * @return
     * @hide
     */
@SystemApi
@RequiresPermission(Manifest.permission.DUMP)
public TelecomAnalytics dumpAnalytics() {
    ITelecomService service = getTelecomService();
    TelecomAnalytics result = null;
    if (service != null) {
        try {
            result = service.dumpCallAnalytics();
        } catch (RemoteException e) {
            Log.e(TAG, "Error dumping call analytics", e);
        }
    }
    return result;
}
Also used : ITelecomService(com.android.internal.telecom.ITelecomService) RemoteException(android.os.RemoteException) SystemApi(android.annotation.SystemApi) RequiresPermission(android.annotation.RequiresPermission)

Example 7 with ITelecomService

use of com.android.internal.telecom.ITelecomService in project android_frameworks_base by DirtyUnicorns.

the class TelecomManager method dumpAnalytics.

/**
     * Dumps telecom analytics for uploading.
     *
     * @return
     * @hide
     */
@SystemApi
@RequiresPermission(Manifest.permission.DUMP)
public TelecomAnalytics dumpAnalytics() {
    ITelecomService service = getTelecomService();
    TelecomAnalytics result = null;
    if (service != null) {
        try {
            result = service.dumpCallAnalytics();
        } catch (RemoteException e) {
            Log.e(TAG, "Error dumping call analytics", e);
        }
    }
    return result;
}
Also used : ITelecomService(com.android.internal.telecom.ITelecomService) RemoteException(android.os.RemoteException) SystemApi(android.annotation.SystemApi) RequiresPermission(android.annotation.RequiresPermission)

Example 8 with ITelecomService

use of com.android.internal.telecom.ITelecomService in project android_frameworks_base by crdroidandroid.

the class TelecomManager method dumpAnalytics.

/**
     * Dumps telecom analytics for uploading.
     *
     * @return
     * @hide
     */
@SystemApi
@RequiresPermission(Manifest.permission.DUMP)
public TelecomAnalytics dumpAnalytics() {
    ITelecomService service = getTelecomService();
    TelecomAnalytics result = null;
    if (service != null) {
        try {
            result = service.dumpCallAnalytics();
        } catch (RemoteException e) {
            Log.e(TAG, "Error dumping call analytics", e);
        }
    }
    return result;
}
Also used : ITelecomService(com.android.internal.telecom.ITelecomService) RemoteException(android.os.RemoteException) SystemApi(android.annotation.SystemApi) RequiresPermission(android.annotation.RequiresPermission)

Aggregations

RemoteException (android.os.RemoteException)8 ITelecomService (com.android.internal.telecom.ITelecomService)8 RequiresPermission (android.annotation.RequiresPermission)4 SystemApi (android.annotation.SystemApi)4 Intent (android.content.Intent)4