/packages/apps/Messaging/src/com/android/messaging/util/ |
D | OsUtil.java | 36 public class OsUtil { class 147 if (OsUtil.sIsAtLeastJB_MR1 && !"Nexus 10".equals(Build.MODEL)) { in isSecondaryUser() 195 if (OsUtil.isAtLeastM()) { in hasPermission() 230 return OsUtil.hasPermission(Manifest.permission.ACCESS_FINE_LOCATION); in hasLocationPermission() 237 return OsUtil.hasPermission(Manifest.permission.READ_EXTERNAL_STORAGE); in hasStoragePermission() 241 return OsUtil.hasPermission(Manifest.permission.RECORD_AUDIO); in hasRecordAudioPermission()
|
D | PhoneUtils.java | 374 if (OsUtil.isAtLeastJB_MR1()) { in isDataRoamingEnabled() 656 if (OsUtil.isAtLeastL_MR1()) { in toLMr1() 893 if (OsUtil.isAtLeastKLP()) { in isDefaultSmsApp() 906 if (OsUtil.isAtLeastKLP()) { in getDefaultSmsApp() 926 if (OsUtil.isAtLeastKLP()) { in getDefaultSmsAppLabel() 946 if (OsUtil.isAtLeastJB_MR1()) { in isAirplaneModeOn() 990 if (OsUtil.isAtLeastL_MR1()) { in forEachActiveSubscription()
|
D | UiUtils.java | 254 if (OsUtil.isAtLeastL()) { in setStatusBarColor() 295 return OsUtil.isAtLeastJB_MR1() ? view.getPaddingStart() : view.getPaddingLeft(); in getPaddingStart() 299 return OsUtil.isAtLeastJB_MR1() ? view.getPaddingEnd() : view.getPaddingRight(); in getPaddingEnd() 303 return OsUtil.isAtLeastJB_MR2() && Factory.get().getApplicationContext().getResources() in isRtlMode() 312 if (!OsUtil.hasRequiredPermissions()) { in redirectToPermissionCheckIfNeeded()
|
D | ContactUtil.java | 522 return OsUtil.isAtLeastL() && ContactsContract.Contacts.isEnterpriseContactId(contactId); in isEnterpriseContactId() 529 if (OsUtil.isAtLeastM()) { in getEmailContentLookupUri() 539 if (OsUtil.isAtLeastM()) { in getPhoneLookupUri() 546 return OsUtil.hasPermission(Manifest.permission.READ_CONTACTS); in hasReadContactsPermission()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | GalleryMediaChooser.java | 39 import com.android.messaging.util.OsUtil; 65 if (OsUtil.hasStoragePermission()) { in destroyView() 133 if (OsUtil.hasStoragePermission()) { in createView() 138 updateForPermissionState(OsUtil.hasStoragePermission()); in createView() 187 if (OsUtil.hasStoragePermission()) { in onResume() 197 if (selected && !OsUtil.hasStoragePermission()) { in setSelected()
|
D | AudioMediaChooser.java | 27 import com.android.messaging.util.OsUtil; 111 if (selected && !OsUtil.hasRecordAudioPermission()) { in setSelected()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | PermissionCheckActivity.java | 31 import com.android.messaging.util.OsUtil; 93 final String[] missingPermissions = OsUtil.getMissingRequiredPermissions(); in tryRequestPermission() 109 if (OsUtil.hasRequiredPermissions()) { in onRequestPermissionsResult() 129 if (!OsUtil.hasRequiredPermissions()) { in redirectIfNeeded()
|
D | LineWrapLayout.java | 25 import com.android.messaging.util.OsUtil; 174 if (OsUtil.isAtLeastJB_MR2() && getResources().getConfiguration() in onLayout() 217 if (OsUtil.isAtLeastJB_MR2()) { in getStartMargin() 225 if (OsUtil.isAtLeastJB_MR2()) { in getEndMargin()
|
D | ViewPagerTabs.java | 38 import com.android.messaging.util.OsUtil; 133 if (OsUtil.isAtLeastL()) { in ViewPagerTabs() 226 if (OsUtil.isAtLeastJB_MR2() && Factory.get().getApplicationContext().getResources() in getRtlPosition()
|
D | ViewPagerTabStrip.java | 28 import com.android.messaging.util.OsUtil; 100 return OsUtil.isAtLeastJB_MR2() ? getLayoutDirection() == View.LAYOUT_DIRECTION_RTL : false; in isRtl()
|
D | SnackBarManager.java | 44 import com.android.messaging.util.OsUtil; 336 if (OsUtil.isAtLeastL()) { in getScreenBottomOffset() 343 if (OsUtil.isAtLeastL()) { in getScreenBottomOffset()
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | SmsReceiver.java | 51 import com.android.messaging.util.OsUtil; 80 if (OsUtil.isAtLeastKLP()) { in updateSmsReceiveHandler() 86 smsReceiverEnabled = OsUtil.isSecondaryUser(); in updateSmsReceiveHandler() 215 if (OsUtil.isAtLeastL_MR1()) { in deliverSmsMessages() 234 if (OsUtil.isSecondaryUser() && in onReceive() 239 } else if (!OsUtil.isAtLeastKLP()) { in onReceive()
|
D | AbortSmsReceiver.java | 23 import com.android.messaging.util.OsUtil; 35 if (!OsUtil.isAtLeastKLP() && PhoneUtils.getDefault().isSmsEnabled()) { in onReceive()
|
D | AbortMmsWapPushReceiver.java | 25 import com.android.messaging.util.OsUtil; 38 if (!OsUtil.isAtLeastKLP() && PhoneUtils.getDefault().isSmsEnabled()) { in onReceive()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationSimSelector.java | 29 import com.android.messaging.util.OsUtil; 50 Assert.isTrue(OsUtil.isAtLeastL_MR1()); in onSubscriptionListDataLoaded() 91 if (!OsUtil.isAtLeastL_MR1()) { in showHide()
|
D | SimIconView.java | 28 import com.android.messaging.util.OsUtil; 36 if (OsUtil.isAtLeastL()) { in SimIconView()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | BugleCarrierConfigValuesLoader.java | 29 import com.android.messaging.util.OsUtil; 95 if (OsUtil.isAtLeastL()) { in loadLocked() 160 if (!OsUtil.isAtLeastL_MR1()) { in getSubDepContext()
|
D | BugleUserAgentInfoLoader.java | 27 import com.android.messaging.util.OsUtil; 77 if (OsUtil.isAtLeastKLP()) { in loadLocked()
|
D | MmsConfig.java | 27 import com.android.messaging.util.OsUtil; 151 if (OsUtil.isAtLeastL_MR1()) { in load() 170 Assert.isTrue(OsUtil.isAtLeastL_MR1() != in addMmsConfig()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | WidgetConversationService.java | 52 import com.android.messaging.util.OsUtil; 219 if (OsUtil.isAtLeastJB()) { in getViewAt() 285 if (!OsUtil.isSecondaryUser()) { in updateViewContent() 292 if (!OsUtil.isSecondaryUser()) { in updateViewContent() 300 if (!OsUtil.isSecondaryUser()) { in updateViewContent()
|
/packages/apps/Messaging/src/com/android/messaging/ |
D | FactoryImpl.java | 45 import com.android.messaging.util.OsUtil; 107 if (OsUtil.hasRequiredPermissions()) { in register() 200 if (OsUtil.isAtLeastL_MR1()) { in getPhoneUtils()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApplicationSettingsActivity.java | 44 import com.android.messaging.util.OsUtil; 189 if (!OsUtil.isAtLeastKLP()) { in updateSmsEnabledPreferences() 224 final boolean canNotify = !OsUtil.isAtLeastKLP() in updateNotificationsPreferences()
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
D | RectEvaluatorCompat.java | 22 import com.android.messaging.util.OsUtil; 30 if (OsUtil.isAtLeastJB_MR2()) { in create()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | SelfParticipantsData.java | 25 import com.android.messaging.util.OsUtil; 78 if (!OsUtil.isAtLeastL_MR1()) { in isDefaultSelf()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | FrequentContactsCursorQueryData.java | 28 import com.android.messaging.util.OsUtil; 93 final String strequentQueryParam = OsUtil.isAtLeastL() ? in getUri()
|