/external/webrtc/modules/audio_device/ |
D | audio_device_impl.cc | 379 bool isAvailable = false; in SpeakerVolumeIsAvailable() local 380 if (audio_device_->SpeakerVolumeIsAvailable(isAvailable) == -1) { in SpeakerVolumeIsAvailable() 383 *available = isAvailable; in SpeakerVolumeIsAvailable() 384 RTC_LOG(INFO) << "output: " << isAvailable; in SpeakerVolumeIsAvailable() 445 bool isAvailable = false; in SpeakerMuteIsAvailable() local 446 if (audio_device_->SpeakerMuteIsAvailable(isAvailable) == -1) { in SpeakerMuteIsAvailable() 449 *available = isAvailable; in SpeakerMuteIsAvailable() 450 RTC_LOG(INFO) << "output: " << isAvailable; in SpeakerMuteIsAvailable() 475 bool isAvailable = false; in MicrophoneMuteIsAvailable() local 476 if (audio_device_->MicrophoneMuteIsAvailable(isAvailable) == -1) { in MicrophoneMuteIsAvailable() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowNetworkInfo.java | 10 private boolean isAvailable; field in ShadowNetworkInfo 28 boolean isAvailable, in newInstance() argument 34 isAvailable, in newInstance() 43 boolean isAvailable, in newInstance() argument 50 info.setAvailableStatus(isAvailable); in newInstance() 86 protected boolean isAvailable() { in isAvailable() method in ShadowNetworkInfo 87 return isAvailable; in isAvailable() 95 public void setAvailableStatus(boolean isAvailable) { in setAvailableStatus() argument 96 this.isAvailable = isAvailable; in setAvailableStatus()
|
/external/webrtc/sdk/objc/native/src/audio/ |
D | audio_device_module_ios.mm | 123 bool isAvailable = false; 124 if (audio_device_->SpeakerVolumeIsAvailable(isAvailable) == -1) { 127 *available = isAvailable; 128 RTC_LOG(INFO) << "output: " << isAvailable; 189 bool isAvailable = false; 190 if (audio_device_->SpeakerMuteIsAvailable(isAvailable) == -1) { 193 *available = isAvailable; 194 RTC_LOG(INFO) << "output: " << isAvailable; 219 bool isAvailable = false; 220 if (audio_device_->MicrophoneMuteIsAvailable(isAvailable) == -1) { [all …]
|
/external/llvm-project/clang-tools-extra/clangd/unittests/tweaks/ |
D | SwapIfBranchesTests.cpp | 31 EXPECT_THAT("if(2 + [[2]] + 2) { return; } else {return;}", isAvailable()); in TEST_F() 34 Not(isAvailable())); in TEST_F() 36 EXPECT_THAT("if(2 + 2 + 2) { return[[; } else {return;]]}", isAvailable()); in TEST_F() 39 Not(isAvailable())); in TEST_F() 41 EXPECT_THAT("^if (1) return; else { return; }", Not(isAvailable())); in TEST_F() 43 EXPECT_THAT("[[if(1){}else{}if(2){}else{}]]", Not(isAvailable())); in TEST_F()
|
D | DumpRecordLayoutTests.cpp | 26 EXPECT_THAT("struct X { int ^a; };", Not(isAvailable())); in TEST_F() 27 EXPECT_THAT("struct ^X;", Not(isAvailable())); in TEST_F() 28 EXPECT_THAT("template <typename T> struct ^X { T t; };", Not(isAvailable())); in TEST_F() 29 EXPECT_THAT("enum ^X {};", Not(isAvailable())); in TEST_F()
|
D | TweakTesting.h | 100 ::testing::Matcher<llvm::StringRef> isAvailable() const; 116 EXPECT_THAT(Case, ::clang::clangd::TweakTest::isAvailable()); \ 123 ::testing::Not(::clang::clangd::TweakTest::isAvailable())); \
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | LibraryLoader.java | 29 private boolean isAvailable; field in LibraryLoader 50 public synchronized boolean isAvailable() { in isAvailable() method in LibraryLoader 52 return isAvailable; in isAvailable() 59 isAvailable = true; in isAvailable() 65 return isAvailable; in isAvailable()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | ServiceProvidersTest.java | 43 public boolean isAvailable(ServiceProvidersTestAbstractProvider provider) { 44 return provider.isAvailable(); 234 private final boolean isAvailable; field in ServiceProvidersTest.BaseProvider 237 public BaseProvider(boolean isAvailable, int priority) { in BaseProvider() argument 238 this.isAvailable = isAvailable; in BaseProvider() 243 public boolean isAvailable() { in isAvailable() method in ServiceProvidersTest.BaseProvider 244 return isAvailable; in isAvailable() 283 public boolean isAvailable() { in isAvailable() method in ServiceProvidersTest.FailAtInitProvider 295 public boolean isAvailable() { in isAvailable() method in ServiceProvidersTest.FailAtPriorityProvider 309 public boolean isAvailable() { in isAvailable() method in ServiceProvidersTest.FailAtAvailableProvider
|
D | NameResolverProviderTest.java | 126 private final boolean isAvailable; field in NameResolverProviderTest.BaseProvider 129 public BaseProvider(boolean isAvailable, int priority) { in BaseProvider() argument 130 this.isAvailable = isAvailable; in BaseProvider() 135 protected boolean isAvailable() { in isAvailable() method in NameResolverProviderTest.BaseProvider 136 return isAvailable; in isAvailable()
|
/external/exoplayer/tree/extensions/vp9/src/main/java/com/google/android/exoplayer2/ext/vp9/ |
D | VpxLibrary.java | 56 public static boolean isAvailable() { in isAvailable() method in VpxLibrary 57 return LOADER.isAvailable(); in isAvailable() 63 return isAvailable() ? vpxGetVersion() : null; in getVersion() 72 return isAvailable() ? vpxGetBuildConfig() : null; in getBuildConfig()
|
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
D | ExtensionsTable.java | 111 boolean isAvailable = false; in functionAvailable() 118 isAvailable = extNS.isFunctionAvailable(funcName); in functionAvailable() 120 return isAvailable; in functionAvailable() 135 boolean isAvailable = false; in elementAvailable() 141 isAvailable = extNS.isElementAvailable(elemName); in elementAvailable() 143 return isAvailable; in elementAvailable()
|
/external/exoplayer/tree/extensions/ffmpeg/src/main/java/com/google/android/exoplayer2/ext/ffmpeg/ |
D | FfmpegLibrary.java | 54 public static boolean isAvailable() { in isAvailable() method in FfmpegLibrary 55 return LOADER.isAvailable(); in isAvailable() 60 return isAvailable() ? ffmpegGetVersion() : null; in getVersion() 69 if (!isAvailable()) { in supportsFormat()
|
/external/deqp/scripts/ |
D | check_build_sanity.py | 42 def isAvailable (self, env): member in BuildTestStep 72 def isAvailable (self, env): member in BuildConfigGen 83 def isAvailable (self, env): member in UnixConfig 107 def isAvailable (self, env): member in Build 108 return self.configGen.isAvailable(env) and self.generator != None and self.generator.isAvailable() 135 if step.isAvailable(env): 277 if step.isAvailable(env):
|
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/ |
D | ProfileConnectorTest.java | 181 assertThat(testProfileConnector.isAvailable()).isTrue(); in isAvailable_workProfileIsTurnedOn_returnsTrue() 190 assertThat(testProfileConnector.isAvailable()).isFalse(); in isAvailable_workProfileIsTurnedOff_returnsFalse() 199 assertThat(testProfileConnector.isAvailable()).isTrue(); in isAvailable_runningOnWorkProfile_returnsTrue() 207 assertThat(testProfileConnector.isAvailable()).isFalse(); in isAvailable_defaultAvailabilityRestrictions_isNotUnlocked_returnsFalse() 215 assertThat(testProfileConnector.isAvailable()).isTrue(); in isAvailable_defaultAvailabilityRestrictions_isUnlocked_returnsTrue() 223 assertThat(directBootAwareConnector.isAvailable()).isTrue(); in isAvailable_directBootAwareAvailabilityRestrictions_isNotUnlocked_returnsTrue() 231 assertThat(directBootAwareConnector.isAvailable()).isTrue(); in isAvailable_directBootAwareAvailabilityRestrictions_isUnlocked_returnsTrue()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | ServerProvider.java | 38 public boolean isAvailable(ServerProvider provider) { 39 return provider.isAvailable(); 65 protected abstract boolean isAvailable(); in isAvailable() method in ServerProvider
|
D | ManagedChannelProvider.java | 43 public boolean isAvailable(ManagedChannelProvider provider) { 44 return provider.isAvailable(); 71 protected abstract boolean isAvailable(); in isAvailable() method in ManagedChannelProvider
|
D | NameResolverProvider.java | 88 protected abstract boolean isAvailable(); in isAvailable() method in NameResolverProvider 155 public boolean isAvailable(NameResolverProvider provider) { in isAvailable() method in NameResolverProvider.NameResolverPriorityAccessor 156 return provider.isAvailable(); in isAvailable()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationServiceTest.java | 357 boolean isAvailable[] = new boolean[1]; in TestSeparateTrees() 360 isAvailable); in TestSeparateTrees() 365 isAvailable[0] == true); in TestSeparateTrees() 369 isAvailable); in TestSeparateTrees() 374 isAvailable[0] == false); in TestSeparateTrees() 419 boolean isAvailable[] = new boolean[1]; in TestGetFunctionalEquivalent() 423 ULocale actual = Collator.getFunctionalEquivalent(kw[0],input,isAvailable); in TestGetFunctionalEquivalent() 424 if(!actual.equals(expect) || (expectAvailable!=isAvailable[0])) { in TestGetFunctionalEquivalent() 425 …tFunctionalEquivalent(" + input + ")=" + actual + ", avail " + new Boolean(isAvailable[0]) + ", " + in TestGetFunctionalEquivalent() 428 …ator.getFunctionalEquivalent(" + input + ")=" + actual + ", avail " + new Boolean(isAvailable[0])); in TestGetFunctionalEquivalent()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationServiceTest.java | 360 boolean isAvailable[] = new boolean[1]; in TestSeparateTrees() 363 isAvailable); in TestSeparateTrees() 368 isAvailable[0] == true); in TestSeparateTrees() 372 isAvailable); in TestSeparateTrees() 377 isAvailable[0] == false); in TestSeparateTrees() 422 boolean isAvailable[] = new boolean[1]; in TestGetFunctionalEquivalent() 426 ULocale actual = Collator.getFunctionalEquivalent(kw[0],input,isAvailable); in TestGetFunctionalEquivalent() 427 if(!actual.equals(expect) || (expectAvailable!=isAvailable[0])) { in TestGetFunctionalEquivalent() 428 …tFunctionalEquivalent(" + input + ")=" + actual + ", avail " + new Boolean(isAvailable[0]) + ", " + in TestGetFunctionalEquivalent() 431 …ator.getFunctionalEquivalent(" + input + ")=" + actual + ", avail " + new Boolean(isAvailable[0])); in TestGetFunctionalEquivalent()
|
/external/exoplayer/tree/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/ |
D | OpusLibrary.java | 56 public static boolean isAvailable() { in isAvailable() method in OpusLibrary 57 return LOADER.isAvailable(); in isAvailable() 63 return isAvailable() ? opusGetVersion() : null; in getVersion()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CurrencyTest.java | 811 assertTrue("USD all time", Currency.isAvailable("USD", null, null)); in TestIsAvailable() 812 assertTrue("USD before 1995", Currency.isAvailable("USD", null, d1995)); in TestIsAvailable() 813 assertTrue("USD 1995-2005", Currency.isAvailable("USD", d1995, d2005)); in TestIsAvailable() 814 assertTrue("USD after 2005", Currency.isAvailable("USD", d2005, null)); in TestIsAvailable() 815 assertTrue("USD on 2005-01-01", Currency.isAvailable("USD", d2005, d2005)); in TestIsAvailable() 817 assertTrue("usd all time", Currency.isAvailable("usd", null, null)); in TestIsAvailable() 819 assertTrue("DEM all time", Currency.isAvailable("DEM", null, null)); in TestIsAvailable() 820 assertTrue("DEM before 1995", Currency.isAvailable("DEM", null, d1995)); in TestIsAvailable() 821 assertTrue("DEM 1995-2000", Currency.isAvailable("DEM", d1995, d2000)); in TestIsAvailable() 822 assertTrue("DEM 1995-2005", Currency.isAvailable("DEM", d1995, d2005)); in TestIsAvailable() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | CurrencyTest.java | 814 assertTrue("USD all time", Currency.isAvailable("USD", null, null)); in TestIsAvailable() 815 assertTrue("USD before 1995", Currency.isAvailable("USD", null, d1995)); in TestIsAvailable() 816 assertTrue("USD 1995-2005", Currency.isAvailable("USD", d1995, d2005)); in TestIsAvailable() 817 assertTrue("USD after 2005", Currency.isAvailable("USD", d2005, null)); in TestIsAvailable() 818 assertTrue("USD on 2005-01-01", Currency.isAvailable("USD", d2005, d2005)); in TestIsAvailable() 820 assertTrue("usd all time", Currency.isAvailable("usd", null, null)); in TestIsAvailable() 822 assertTrue("DEM all time", Currency.isAvailable("DEM", null, null)); in TestIsAvailable() 823 assertTrue("DEM before 1995", Currency.isAvailable("DEM", null, d1995)); in TestIsAvailable() 824 assertTrue("DEM 1995-2000", Currency.isAvailable("DEM", d1995, d2000)); in TestIsAvailable() 825 assertTrue("DEM 1995-2005", Currency.isAvailable("DEM", d1995, d2005)); in TestIsAvailable() [all …]
|
/external/deqp/scripts/build/ |
D | config.py | 109 def isAvailable (self): member in UnixMakefileGenerator 116 def isAvailable (self): member in NMakeGenerator 123 def isAvailable (self): member in NinjaGenerator 172 def isAvailable (self): member in VSProjectGenerator 219 if generator.isAvailable():
|
/external/exoplayer/tree/extensions/av1/src/main/java/com/google/android/exoplayer2/ext/av1/ |
D | Gav1Library.java | 33 public static boolean isAvailable() { in isAvailable() method in Gav1Library 34 return LOADER.isAvailable(); in isAvailable()
|
/external/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/ |
D | FlacLibrary.java | 48 public static boolean isAvailable() { in isAvailable() method in FlacLibrary 49 return LOADER.isAvailable(); in isAvailable()
|