I am able to get the carrier name from duel SIM phone.
I used the following code but it works only single SIM phone.
TelephonyManager telephonyManage
Using "SubscriptionManager" we can know the Carrier names of the dual sim of the android mobile.
SubscriptionManager subscriptionManager=(SubscriptionManager)getSystemService(Context.TELEPHONY_SUBSCRIPTION_SERVICE);
List subscriptionInfoList=subscriptionManager.getActiveSubscriptionInfoList();
if(subscriptionInfoList!=null && subscriptionInfoList.size()>0){
for(SubscriptionInfo info:subscriptionInfoList){
String carrierName = info.getCarrierName().toString();
String mobileNo=info.getNumber();
String countyIso=info.getCountryIso();
int dataRoaming=info.getDataRoaming();
}
}