use of com.android.internal.telecom.ITelecomService in project android_frameworks_base by ResurrectionRemix.
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;
}
use of com.android.internal.telecom.ITelecomService in project android_frameworks_base by ResurrectionRemix.
the class TelecomManager method createManageBlockedNumbersIntent.
/**
* Creates the {@link Intent} which can be used with {@link Context#startActivity(Intent)} to
* launch the activity to manage blocked numbers.
* <p> The activity will display the UI to manage blocked numbers only if
* {@link android.provider.BlockedNumberContract#canCurrentUserBlockNumbers(Context)} returns
* {@code true} for the current user.
*/
public Intent createManageBlockedNumbersIntent() {
ITelecomService service = getTelecomService();
Intent result = null;
if (service != null) {
try {
result = service.createManageBlockedNumbersIntent();
} catch (RemoteException e) {
Log.e(TAG, "Error calling ITelecomService#createManageBlockedNumbersIntent", e);
}
}
return result;
}
use of com.android.internal.telecom.ITelecomService in project android_frameworks_base by DirtyUnicorns.
the class TelecomManager method createManageBlockedNumbersIntent.
/**
* Creates the {@link Intent} which can be used with {@link Context#startActivity(Intent)} to
* launch the activity to manage blocked numbers.
* <p> The activity will display the UI to manage blocked numbers only if
* {@link android.provider.BlockedNumberContract#canCurrentUserBlockNumbers(Context)} returns
* {@code true} for the current user.
*/
public Intent createManageBlockedNumbersIntent() {
ITelecomService service = getTelecomService();
Intent result = null;
if (service != null) {
try {
result = service.createManageBlockedNumbersIntent();
} catch (RemoteException e) {
Log.e(TAG, "Error calling ITelecomService#createManageBlockedNumbersIntent", e);
}
}
return result;
}
use of com.android.internal.telecom.ITelecomService in project android_frameworks_base by crdroidandroid.
the class TelecomManager method createManageBlockedNumbersIntent.
/**
* Creates the {@link Intent} which can be used with {@link Context#startActivity(Intent)} to
* launch the activity to manage blocked numbers.
* <p> The activity will display the UI to manage blocked numbers only if
* {@link android.provider.BlockedNumberContract#canCurrentUserBlockNumbers(Context)} returns
* {@code true} for the current user.
*/
public Intent createManageBlockedNumbersIntent() {
ITelecomService service = getTelecomService();
Intent result = null;
if (service != null) {
try {
result = service.createManageBlockedNumbersIntent();
} catch (RemoteException e) {
Log.e(TAG, "Error calling ITelecomService#createManageBlockedNumbersIntent", e);
}
}
return result;
}
use of com.android.internal.telecom.ITelecomService in project platform_frameworks_base by android.
the class TelecomManager method createManageBlockedNumbersIntent.
/**
* Creates the {@link Intent} which can be used with {@link Context#startActivity(Intent)} to
* launch the activity to manage blocked numbers.
* <p> The activity will display the UI to manage blocked numbers only if
* {@link android.provider.BlockedNumberContract#canCurrentUserBlockNumbers(Context)} returns
* {@code true} for the current user.
*/
public Intent createManageBlockedNumbersIntent() {
ITelecomService service = getTelecomService();
Intent result = null;
if (service != null) {
try {
result = service.createManageBlockedNumbersIntent();
} catch (RemoteException e) {
Log.e(TAG, "Error calling ITelecomService#createManageBlockedNumbersIntent", e);
}
}
return result;
}
Aggregations