Home
last modified time | relevance | path

Searched refs:BuildCompat (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/
DShortcutIntentBuilder.java46 import androidx.core.os.BuildCompat;
267 if (BuildCompat.isAtLeastO()) { in getPhotoDrawable()
282 if (BuildCompat.isAtLeastO()) { in createContactShortcutIntent()
301 if (BuildCompat.isAtLeastO()) { in createContactShortcutIntent()
343 if (BuildCompat.isAtLeastO()) { in createPhoneNumberShortcutIntent()
380 if (BuildCompat.isAtLeastO()) { in generateQuickContactIcon()
424 if (!BuildCompat.isAtLeastO() && overlay != null) { in generatePhoneNumberIcon()
451 if (BuildCompat.isAtLeastO()) { in generatePhoneNumberIcon()
DDynamicShortcuts.java50 import androidx.core.os.BuildCompat;
344 if (BuildCompat.isAtLeastO()) { in addIconForContact()
410 if (!BuildCompat.isAtLeastO()) { in decodeStreamForShortcut()
419 final boolean circularIcon = !BuildCompat.isAtLeastO(); in getFallbackAvatar()
423 if (BuildCompat.isAtLeastO()) { in getFallbackAvatar()
/packages/apps/Dialer/java/com/android/dialer/notification/
DVoicemailChannelUtils.java31 import android.support.v4.os.BuildCompat;
53 Assert.checkArgument(BuildCompat.isAtLeastO()); in getAllChannelIds()
69 Assert.checkArgument(BuildCompat.isAtLeastO()); in createAllChannels()
83 Assert.checkArgument(BuildCompat.isAtLeastO()); in getChannelId()
DNotificationChannelManager.java27 import android.support.v4.os.BuildCompat;
54 Assert.checkArgument(BuildCompat.isAtLeastO()); in initChannels()
93 Assert.checkArgument(BuildCompat.isAtLeastO()); in getVoicemailChannelId()
DDialerNotificationManager.java25 import android.support.v4.os.BuildCompat;
53 if (BuildCompat.isAtLeastO()) { in notify()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperRefresher.java30 import com.android.wallpaper.compat.BuildCompat;
111 if (!BuildCompat.isAtLeastN() || !isLockScreenWallpaperCurrentlySet) { in doInBackground()
174 if (BuildCompat.isAtLeastN()) { in setFallbackHomeScreenWallpaperMetadata()
319 if (BuildCompat.isAtLeastN() && savedBitmapHash == 0) { in isHomeScreenImageWallpaperCurrent()
DLockWallpaperStatusChecker.java22 import com.android.wallpaper.compat.BuildCompat;
40 if (!BuildCompat.isAtLeastN()) { in isLockWallpaperSet()
DRotationWallpaperMoveReceiver.java7 import com.android.wallpaper.compat.BuildCompat;
31 || !BuildCompat.isAtLeastN()) { in onReceive()
DDefaultCurrentWallpaperInfoFactory.java20 import com.android.wallpaper.compat.BuildCompat;
81 if (BuildCompat.isAtLeastN()) { in createCurrentWallpaperInfos()
/packages/apps/Dialer/java/com/android/dialer/compat/telephony/
DTelephonyManagerCompat.java25 import android.support.v4.os.BuildCompat;
73 BuildCompat.isAtLeastOMR1() ? "android.telephony.extra.IS_REFRESH" : "is_refresh";
193 if (BuildCompat.isAtLeastO()) { in handleSecretCode()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVoicemailClientImpl.java28 import android.support.v4.os.BuildCompat;
71 Assert.checkArgument(BuildCompat.isAtLeastO()); in VoicemailClientImpl()
103 if (!BuildCompat.isAtLeastO()) { in isVoicemailArchiveAvailable()
135 if (!BuildCompat.isAtLeastO()) { in isVoicemailTranscriptionAvailable()
DVoicemailModule.java20 import android.support.v4.os.BuildCompat;
39 if (!BuildCompat.isAtLeastO()) { in provideVoicemailClient()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DLegacyVoicemailNotifier.java26 import android.support.v4.os.BuildCompat;
65 Assert.checkArgument(BuildCompat.isAtLeastO()); in showNotification()
162 Assert.checkArgument(BuildCompat.isAtLeastO()); in cancelNotification()
/packages/apps/Dialer/java/com/android/incallui/
DExternalCallNotifier.java31 import android.support.v4.os.BuildCompat;
242 if (BuildCompat.isAtLeastO()) { in postNotification()
277 if (BuildCompat.isAtLeastO()) { in postNotification()
454 if (BuildCompat.isAtLeastO()) { in showGroupSummaryNotification()
/packages/apps/Contacts/src/com/android/contacts/util/
DContactsNotificationChannelsUtil.java24 import androidx.core.os.BuildCompat;
35 if (!BuildCompat.isAtLeastO()) { in createDefaultChannel()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivity.java41 import com.android.wallpaper.compat.BuildCompat;
122 if (BuildCompat.isAtLeastQ()) { in onCreate()
177 if ((!BuildCompat.isAtLeastL() || resultCode == Activity.RESULT_OK) in onActivityResult()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DExifInterfaceCompat.java3 import com.android.wallpaper.compat.BuildCompat;
32 if (BuildCompat.isAtLeastOMR1()) { in ExifInterfaceCompat()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/
DMissingHashCodeGenerator.java24 import com.android.wallpaper.compat.BuildCompat;
45 || !BuildCompat.isAtLeastN()) { in onReceive()
/packages/apps/Dialer/java/com/android/incallui/audioroute/
DAudioRouteSelectorDialogFragment.java30 import android.support.v4.os.BuildCompat;
86 BuildCompat.isAtLeastO() in onCreateDialog()
101 if (BuildCompat.isAtLeastP()) { in onCreateView()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhotoInfoBuilder.java21 import android.support.v4.os.BuildCompat;
42 BuildCompat.isAtLeastP() in fromCoalescedRow()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsEntryViewHolder.java25 import android.support.v4.os.BuildCompat;
112 BuildCompat.isAtLeastP() in setCallDetails()
123 if (BuildCompat.isAtLeastP()) { in setCallDetails()
/packages/apps/Dialer/java/com/android/dialer/binary/common/
DDialerApplication.java22 import android.support.v4.os.BuildCompat;
54 if (BuildCompat.isAtLeastO()) { in onCreate()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionBackfillService.java28 import android.support.v4.os.BuildCompat;
44 if (BuildCompat.isAtLeastO()) { in scheduleTask()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DLegacyVoicemailNotificationReceiver.java27 import android.support.v4.os.BuildCompat;
60 if (!BuildCompat.isAtLeastO()) { in onReceive()
/packages/apps/Messaging/src/com/android/messaging/util/
DOsUtil.java25 import androidx.core.os.BuildCompat;
59 sIsAtLeastN = BuildCompat.isAtLeastN();

12