/packages/apps/Dialer/java/com/android/dialer/smartdial/map/ |
D | CompositeSmartDialMap.java | 64 return extraMap.isPresent() && extraMap.get().isValidDialpadCharacter(ch); in isValidDialpadCharacter() 79 return extraMap.isPresent() && extraMap.get().isValidDialpadAlphabeticChar(ch); in isValidDialpadAlphabeticChar() 91 return extraMap.isPresent() && extraMap.get().isValidDialpadNumericChar(ch); in isValidDialpadNumericChar() 104 if (dialpadIndex.isPresent()) { in getDialpadIndex() 109 if (extraMap.isPresent()) { in getDialpadIndex() 113 return dialpadIndex.isPresent() ? dialpadIndex.get() : -1; in getDialpadIndex() 126 if (dialpadNumericChar.isPresent()) { in getDialpadNumericCharacter() 131 if (extraMap.isPresent()) { in getDialpadNumericCharacter() 135 return dialpadNumericChar.isPresent() ? dialpadNumericChar.get() : ch; in getDialpadNumericCharacter() 146 if (normalizedChar.isPresent()) { in normalizeCharacter() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | DtmfLocalTonePlayerTest.java | 57 when(mToneProxy.isPresent()).thenReturn(true); in testSupportedStart() 67 when(mToneProxy.isPresent()).thenReturn(true); in testUnsupportedStart() 77 when(mToneProxy.isPresent()).thenReturn(false); in testPlayToneWhenUninitialized() 88 when(mToneProxy.isPresent()).thenReturn(true); in testPlayToneWhenInitialized() 99 when(mToneProxy.isPresent()).thenReturn(false); in testStopToneWhenUninitialized() 110 when(mToneProxy.isPresent()).thenReturn(true); in testStopToneWhenInitialized() 121 when(mToneProxy.isPresent()).thenReturn(true); in testProperTeardown()
|
/packages/apps/Dialer/java/com/android/dialer/preferredsim/impl/ |
D | PreferredAccountWorkerImpl.java | 106 if (dataId.isPresent()) { in doInBackground() 108 if (preferred.isPresent()) { in doInBackground() 125 if (suggestion.isPresent() && suggestion.get().shouldAutoSelect) { in doInBackground() 132 if (suggestion.isPresent()) { in doInBackground() 135 if (dataId.isPresent()) { in doInBackground() 220 if (hint.isPresent()) { in createDialogOptionsBuilder() 226 if (activeCallLabel.isPresent()) { in createDialogOptionsBuilder() 273 if (accountType.isPresent() && !validAccountTypes.contains(accountType.get())) { in getDataId() 294 if (!rawContactId.isPresent()) { in getAccountType() 423 if (!activeCall.phoneAccountHandle().isPresent()) { in getActiveCallLabel()
|
/packages/apps/Camera2/src/com/android/camera/one/ |
D | OneCameraModule.java | 50 if (!manager.isPresent()) { in provideOneCameraOpener() 53 if (!manager.isPresent()) { in provideOneCameraOpener() 69 if (camera2HwManager.isPresent()) { in provideOneCameraManager() 74 if (legacyHwManager.isPresent()) { in provideOneCameraManager()
|
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/ |
D | Obd2CommandTest.java | 73 assertTrue("live frame contains a response", receivedResponse.isPresent()); in checkLiveFrameIntCommand() 101 assertTrue("live frame contains a response", receivedResponse.isPresent()); in checkLiveFrameFloatCommand() 129 assertTrue("freeze frame contains a response", receivedResponse.isPresent()); in checkFreezeFrameIntCommand() 157 assertTrue("freeze frame contains a response", receivedResponse.isPresent()); in checkFreezeFrameFloatCommand()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | DialerVvmConfigManager.java | 57 if (!(matcher.gid1().isPresent() && other.matcher.gid1().isPresent())) { in compareTo() 58 if (matcher.gid1().isPresent()) { in compareTo() 60 } else if (other.matcher.gid1().isPresent()) { in compareTo()
|
/packages/services/Car/service/src/com/android/car/storagemonitoring/ |
D | UfsWearInformationProvider.java | 104 if (!lifetimeA.isPresent() || !lifetimeB.isPresent() || !eol.isPresent()) { in load()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | DtmfLocalTonePlayer.java | 63 public boolean isPresent() { in isPresent() method in DtmfLocalTonePlayer.ToneGeneratorProxy 102 if (!mToneGeneratorProxy.isPresent()) { in handleMessage() 113 if (mToneGeneratorProxy.isPresent()) { in handleMessage()
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
D | DiagnosticJson.java | 70 if (mValue.isPresent()) throw new IllegalStateException("WriteOnce already stored"); in write() 75 if (!mValue.isPresent()) throw new IllegalStateException("WriteOnce never stored"); in get() 80 return mValue.isPresent() ? mValue.get() : defaultValue; in get()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | ModernMediaScannerTest.java | 158 assertFalse(parseOptionalDateTaken(exif, 0L).isPresent()); in testParseDateTaken_Gps() 161 assertFalse(parseOptionalDateTaken(exif, 0L).isPresent()); in testParseDateTaken_Gps() 189 assertFalse(parseOptionalDateTaken(exif, 1453972654000L - 86400000L).isPresent()); in testParseDateTaken_File() 190 assertFalse(parseOptionalDateTaken(exif, 1453972654000L + 86400000L).isPresent()); in testParseDateTaken_File() 200 assertFalse(parseOptionalDateTaken(exif, 0L).isPresent()); in testParseDateTaken_Hopeless()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DrawerController.java | 43 public abstract boolean isPresent(); in isPresent() method in DrawerController 175 public boolean isPresent() { in isPresent() method in DrawerController.RuntimeDrawerController 224 public boolean isPresent() { in isPresent() method in DrawerController.DummyDrawerController
|
/packages/apps/TV/src/com/android/tv/ |
D | TvApplication.java | 177 if (mOptionalBuiltInTunerManager.isPresent()) { in start() 197 if (mOptionalBuiltInTunerManager.isPresent()) { in start() 227 if (mOptionalBuiltInTunerManager.isPresent()) { in checkTunerServiceOnFirstLaunch() 497 && optionalEmbeddedTunerInputId.isPresent() in handleInputCountChanged()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | ExifUtil.java | 63 if (image.isPresent()) { in populateExif() 66 if (captureResult.isPresent()) { in populateExif() 69 if (location.isPresent()) { in populateExif()
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ |
D | AssistedDialingMediatorImpl.java | 71 if (!userHomeCountryCode.isPresent() || !userRoamingCountryCode.isPresent()) { in attemptAssistedDial()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | PhotoItem.java | 101 if (optionalDetails.isPresent()) { in getMediaDetails() 120 if (optionalView.isPresent()) { in getView() 201 if (mSessionPlaceholderBitmap.isPresent()) { in renderScreenSize()
|
D | SessionItem.java | 97 if (optionalView.isPresent()) { in getView() 105 if (placeholder.isPresent()) { in getView()
|
/packages/apps/Settings/src/com/android/settings/dream/ |
D | CurrentDreamPreferenceController.java | 62 if (!info.isPresent() || info.get().settingsComponentName == null) { in setGearClickListenerForPreference() 71 if (!info.isPresent()) return; in launchScreenSaverSettings()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dream/ |
D | CurrentDreamPreferenceController.java | 62 if (!info.isPresent() || info.get().settingsComponentName == null) { in setGearClickListenerForPreference() 71 if (!info.isPresent()) return; in launchScreenSaverSettings()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/ |
D | StateMachineImpl.java | 63 while (nextState.isPresent()) { in jumpToState() 109 if (newState.isPresent()) { in processEvent()
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
D | NativeNfcTag.java | 78 private boolean isPresent = true; field in NativeNfcTag.PresenceCheckWatchdog 116 while (isPresent && !isStopped) { in run() 123 isPresent = doPresenceCheck(); in run() 255 public synchronized boolean isPresent() { in isPresent() method in NativeNfcTag
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | TaskActionController.java | 55 if (!viewHolder.getTask().isPresent()) { in launchTaskFromView() 90 if (!viewHolder.getTask().isPresent()) { in removeTask()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallNotifier.java | 721 boolean isPresent = signalInfoRec.isPresent; in onSignalInfo() 722 if (DBG) log("onSignalInfo: isPresent=" + isPresent); in onSignalInfo() 723 if (isPresent) {// if tone is valid in onSignalInfo()
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/ |
D | Obd2LiveFrameGenerator.java | 83 if (result.isPresent()) { in generate() 104 if (result.isPresent()) { in generate()
|
D | Obd2FreezeFrameGenerator.java | 135 if (result.isPresent()) { in generate() 157 if (result.isPresent()) { in generate()
|
/packages/apps/Dialer/java/com/android/dialer/precall/impl/ |
D | AssistedDialAction.java | 67 if (transformedNumber.isPresent()) { in runWithoutUi() 101 if (!subscriptionInfo.isPresent()) { in getAssistedDialingTelephonyManager()
|