/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/ |
D | RemoteResultTest.java | 36 boolean isPresent = result.isPresent(); in testIsPresent_whenNonFailedResult_returnsTrue() 38 assertThat(isPresent).isTrue(); in testIsPresent_whenNonFailedResult_returnsTrue() 43 boolean timeOutIsPresent = RemoteResult.FAILED_TIMED_OUT.isPresent(); in testIsPresent_whenTimeOutResult_returnsFalse() 50 boolean cancelledIsPresent = RemoteResult.FAILED_CANCELLED.isPresent(); in testIsPresent_whenCancelledResult_returnsFalse() 57 boolean threadInterruptedIsPresent = RemoteResult.FAILED_THREAD_INTERRUPTED.isPresent(); in testIsPresent_whenThreadInterruptedResult_returnsFalse()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaInformationRecords.java | 134 public boolean isPresent; /* non-zero if signal information record is present */ field in CdmaInformationRecords.CdmaSignalInfoRec 141 public CdmaSignalInfoRec(int isPresent, int signalType, int alertPitch, int signal) { in CdmaSignalInfoRec() argument 142 this.isPresent = isPresent != 0; in CdmaSignalInfoRec() 151 " isPresent: " + isPresent + in toString()
|
D | CdmaCallWaitingNotification.java | 37 public int isPresent = 0; field in CdmaCallWaitingNotification 52 + " isPresent: " + isPresent in toString()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/storage/ |
D | TertiaryKeysTableTest.java | 63 assertThat(maybeKeyInDb.isPresent()).isTrue(); in addKey_onEmptyDatabase_putsKeyInDb() 97 assertThat(mTertiaryKeysTable.getKey(SECONDARY_ALIAS, PACKAGE_NAME).isPresent()).isTrue(); in addKey_havingSamePackageNameButDifferentAlias_doesNotReplaceOldKey() 100 assertThat(mTertiaryKeysTable.getKey(alias2, PACKAGE_NAME).isPresent()).isTrue(); in addKey_havingSamePackageNameButDifferentAlias_doesNotReplaceOldKey() 112 assertThat(key.isPresent()).isFalse(); in getKey_forMissingKey_returnsEmptyOptional()
|
/frameworks/compile/libbcc/lib/ |
D | RSScreenFunctionsPass.cpp | 39 bool isPresent(std::vector<std::string> &list, const std::string &name) { in isPresent() function in __anond30c6dca0111::RSScreenFunctionsPass 62 if (isPresent(whiteList, FName.str())) in isLegal()
|
D | RSIsThreadablePass.cpp | 81 bool isPresent(std::vector<std::string> &list, const std::string &name) { in isPresent() function in __anondf87f5790111::RSIsThreadablePass 106 if (isPresent(nonThreadableFns, F.getName().str())) { in runOnModule()
|
/frameworks/base/services/backup/java/com/android/server/backup/remote/ |
D | RemoteResult.java | 53 public boolean isPresent() { in isPresent() method in RemoteResult 63 Preconditions.checkState(isPresent(), "Can't obtain value of failed result"); in get()
|
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/main/java/com/google/tuningfork/validation/ |
D | ExternalProtoCompiler.java | 70 if (outFile.isPresent()) { in buildAndRunCompilerProcess() 100 if (errorFile.isPresent()) { in encodeFromTextprotoFile() 119 if (errorFile.isPresent()) { in decodeToTextprotoFile()
|
D | DeveloperTuningforkParser.java | 59 if (devTuningforkProto.isPresent()) { in validate() 84 if (tuningforkSettings.isPresent()) { in validateAndSaveBinarySettings() 99 if (errors.hasSettingsErrors() || !settings.isPresent()) { in validateAndSaveBinarySettings()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/keys/ |
D | RecoverableKeyStoreSecondaryKeyManagerTest.java | 109 assertThat(retrievedKey.isPresent()).isTrue(); in get_getsKeyGeneratedByController() 123 assertThat(retrievedKey.isPresent()).isFalse(); in get_forNonExistentKey_returnsEmptyOptional()
|
/frameworks/base/core/java/android/nfc/tech/ |
D | Ndef.java | 276 if (msg == null && !tagService.isPresent(serviceHandle)) { in getNdefMessage() 280 } else if (!tagService.isPresent(serviceHandle)) { in getNdefMessage()
|
D | BasicTagTechnology.java | 63 return mTag.getTagService().isPresent(mTag.getServiceHandle()); in isConnected()
|
/frameworks/base/core/java/android/nfc/ |
D | INfcTag.aidl | 32 boolean isPresent(int nativeHandle); in isPresent() method
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | FrameworkShadowLooper.java | 43 if (mIsCurrentThread.isPresent()) { in isCurrentThread()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderEndToEndTest.java | 135 assertTrue(currentProcessCpuUsage.isPresent()); in getAverageWorkTime() 153 assertTrue(averageWorkTimeMillis.isPresent()); in getAverageWorkTime()
|
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/ |
D | InspectablePropertyProcessor.java | 391 } else if (enumMapping.isPresent()) { in determinePropertyType() 400 } else if (flagMapping.isPresent()) { in determinePropertyType() 700 if (mask.isPresent()) { in processFlagMapping()
|
D | PlatformInspectableProcessor.java | 106 if (!classElement.isPresent()) { in processProperties()
|
/frameworks/base/location/java/android/location/ |
D | Geocoder.java | 59 public static boolean isPresent() { in isPresent() method in Geocoder
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/ |
D | BroadcastRadioService.java | 59 max.isPresent() ? max.getAsInt() + 1 : 0); in BroadcastRadioService()
|
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/ |
D | LayersTraceSubject.java | 109 if (getSubject().getSource().isPresent()) { in test()
|
D | WmTraceSubject.java | 110 if (failureTracePath.isPresent()) { in test()
|
D | WindowManagerTrace.java | 88 if (!entry.isPresent()) { in getEntry()
|
/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
D | TransportStats.java | 60 if (aggregatedStats.isPresent()) { in dump()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceQuery.java | 77 return stream(container).filter(s -> (s == item)).findAny().isPresent(); in contains()
|
/frameworks/base/tests/NativeProcessesMemoryTest/src/com/android/tests/nativeprocesses/ |
D | NativeProcessesMemoryTest.java | 114 if (mem.isPresent()) { in sampleAndLogAllProcesses()
|