Lines Matching refs:handle
81 PhoneAccountHandle handle = getAccountForCall(context, newCalls.get(0));
82 groupSummary.setChannelId(NotificationChannelManager.getVoicemailChannelId(context, handle));
163 PhoneAccountHandle handle = getAccountForCall(context, voicemail);
178 .setSound(getVoicemailRingtoneUri(context, handle))
179 .setDefaults(getNotificationDefaultFlags(context, handle));
188 builder.setChannelId(NotificationChannelManager.getVoicemailChannelId(context, handle));
208 @NonNull Context context, @Nullable PhoneAccountHandle handle) {
212 if (handle == null) {
213 LogUtil.i("VisualVoicemailNotifier.getVoicemailRingtoneUri", "null handle, getting fallback");
214 handle = getFallbackAccount(context);
215 if (handle == null) {
218 "no fallback handle, using null (default) ringtone");
222 return context.getSystemService(TelephonyManager.class).getVoicemailRingtoneUri(handle);
226 @NonNull Context context, @Nullable PhoneAccountHandle handle) {
230 if (handle == null) {
232 "VisualVoicemailNotifier.getNotificationDefaultFlags", "null handle, getting fallback");
233 handle = getFallbackAccount(context);
234 if (handle == null) {
237 "no fallback handle, using default vibration");
241 if (context.getSystemService(TelephonyManager.class).isVoicemailVibrationEnabled(handle)) {
279 PhoneAccountHandle handle =
281 if (handle == null) {
284 handle = handles.get(0);
287 return handle;