Home
last modified time | relevance | path

Searched refs:isPresent (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/
DRemoteResultTest.java36 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/
DCdmaInformationRecords.java134 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()
DCdmaCallWaitingNotification.java37 public int isPresent = 0; field in CdmaCallWaitingNotification
52 + " isPresent: " + isPresent in toString()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/storage/
DTertiaryKeysTableTest.java63 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/
DRSScreenFunctionsPass.cpp39 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()
DRSIsThreadablePass.cpp81 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/
DRemoteResult.java53 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/
DExternalProtoCompiler.java70 if (outFile.isPresent()) { in buildAndRunCompilerProcess()
100 if (errorFile.isPresent()) { in encodeFromTextprotoFile()
119 if (errorFile.isPresent()) { in decodeToTextprotoFile()
DDeveloperTuningforkParser.java59 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/
DRecoverableKeyStoreSecondaryKeyManagerTest.java109 assertThat(retrievedKey.isPresent()).isTrue(); in get_getsKeyGeneratedByController()
123 assertThat(retrievedKey.isPresent()).isFalse(); in get_forNonExistentKey_returnsEmptyOptional()
/frameworks/base/core/java/android/nfc/tech/
DNdef.java276 if (msg == null && !tagService.isPresent(serviceHandle)) { in getNdefMessage()
280 } else if (!tagService.isPresent(serviceHandle)) { in getNdefMessage()
DBasicTagTechnology.java63 return mTag.getTagService().isPresent(mTag.getServiceHandle()); in isConnected()
/frameworks/base/core/java/android/nfc/
DINfcTag.aidl32 boolean isPresent(int nativeHandle); in isPresent() method
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DFrameworkShadowLooper.java43 if (mIsCurrentThread.isPresent()) { in isCurrentThread()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderEndToEndTest.java135 assertTrue(currentProcessCpuUsage.isPresent()); in getAverageWorkTime()
153 assertTrue(averageWorkTimeMillis.isPresent()); in getAverageWorkTime()
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectablePropertyProcessor.java391 } else if (enumMapping.isPresent()) { in determinePropertyType()
400 } else if (flagMapping.isPresent()) { in determinePropertyType()
700 if (mask.isPresent()) { in processFlagMapping()
DPlatformInspectableProcessor.java106 if (!classElement.isPresent()) { in processProperties()
/frameworks/base/location/java/android/location/
DGeocoder.java59 public static boolean isPresent() { in isPresent() method in Geocoder
/frameworks/base/services/core/java/com/android/server/broadcastradio/
DBroadcastRadioService.java59 max.isPresent() ? max.getAsInt() + 1 : 0); in BroadcastRadioService()
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/
DLayersTraceSubject.java109 if (getSubject().getSource().isPresent()) { in test()
DWmTraceSubject.java110 if (failureTracePath.isPresent()) { in test()
DWindowManagerTrace.java88 if (!entry.isPresent()) { in getEntry()
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportStats.java60 if (aggregatedStats.isPresent()) { in dump()
/frameworks/base/core/java/android/app/slice/
DSliceQuery.java77 return stream(container).filter(s -> (s == item)).findAny().isPresent(); in contains()
/frameworks/base/tests/NativeProcessesMemoryTest/src/com/android/tests/nativeprocesses/
DNativeProcessesMemoryTest.java114 if (mem.isPresent()) { in sampleAndLogAllProcesses()

12