Home
last modified time | relevance | path

Searched refs:getApplicationContext (Results 1 – 25 of 451) sorted by relevance

12345678910>>...19

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/
DDefaultBandwidthMeterTest.java59 ApplicationProvider.getApplicationContext() in setUp()
63 ApplicationProvider.getApplicationContext().getSystemService(Context.TELEPHONY_SERVICE); in setUp()
113 new DefaultBandwidthMeter.Builder(ApplicationProvider.getApplicationContext()).build(); in defaultInitialBitrateEstimate_forWifi_isGreaterThanEstimateFor2G()
118 new DefaultBandwidthMeter.Builder(ApplicationProvider.getApplicationContext()).build(); in defaultInitialBitrateEstimate_forWifi_isGreaterThanEstimateFor2G()
128 new DefaultBandwidthMeter.Builder(ApplicationProvider.getApplicationContext()).build(); in defaultInitialBitrateEstimate_forWifi_isGreaterThanEstimateFor3G()
133 new DefaultBandwidthMeter.Builder(ApplicationProvider.getApplicationContext()).build(); in defaultInitialBitrateEstimate_forWifi_isGreaterThanEstimateFor3G()
143 new DefaultBandwidthMeter.Builder(ApplicationProvider.getApplicationContext()).build(); in defaultInitialBitrateEstimate_forEthernet_isGreaterThanEstimateFor2G()
148 new DefaultBandwidthMeter.Builder(ApplicationProvider.getApplicationContext()).build(); in defaultInitialBitrateEstimate_forEthernet_isGreaterThanEstimateFor2G()
158 new DefaultBandwidthMeter.Builder(ApplicationProvider.getApplicationContext()).build(); in defaultInitialBitrateEstimate_forEthernet_isGreaterThanEstimateFor3G()
163 new DefaultBandwidthMeter.Builder(ApplicationProvider.getApplicationContext()).build(); in defaultInitialBitrateEstimate_forEthernet_isGreaterThanEstimateFor3G()
[all …]
DAssetDataSourceTest.java33 AssetDataSource dataSource = new AssetDataSource(ApplicationProvider.getApplicationContext()); in readFileUri()
38 TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), DATA_PATH), in readFileUri()
44 AssetDataSource dataSource = new AssetDataSource(ApplicationProvider.getApplicationContext()); in readAssetUri()
49 TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), DATA_PATH), in readAssetUri()
/external/libtextclassifier/notification/tests/src/com/android/textclassifier/notification/
DNotificationUtilsTest.java43 new Notification.Builder(ApplicationProvider.getApplicationContext(), "channel") in isMessaging_categoryMessage()
54 new Notification.Builder(ApplicationProvider.getApplicationContext(), "channel") in isMessaging_messagingStyle()
65 new Notification.Builder(ApplicationProvider.getApplicationContext(), "channel") in isMessaging_publicVersionCategoryMessage()
69 new Notification.Builder(ApplicationProvider.getApplicationContext(), "channel") in isMessaging_publicVersionCategoryMessage()
80 new Notification.Builder(ApplicationProvider.getApplicationContext(), "channel") in isMessaging_negative()
95 ApplicationProvider.getApplicationContext(), 0, new Intent(), 0)) in hasInlineReply_positive()
102 ApplicationProvider.getApplicationContext(), 0, new Intent(), 0)) in hasInlineReply_positive()
108 new Notification.Builder(ApplicationProvider.getApplicationContext(), "channel") in hasInlineReply_positive()
123 ApplicationProvider.getApplicationContext(), 0, new Intent(), 0)) in hasInlineReply_negative()
127 new Notification.Builder(ApplicationProvider.getApplicationContext(), "channel") in hasInlineReply_negative()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DDefaultMediaSourceFactoryTest.java48 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withoutMimeType_progressiveSource()
60 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withTag_tagInSource()
71 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withPath_progressiveSource()
82 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withNull_usesNonNullDefaults()
98 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withSubtitle_isMergingMediaSource()
115 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withSubtitle_hasTag()
134 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withStartPosition_isClippingMediaSource()
146 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withEndPosition_isClippingMediaSource()
158 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_relativeToDefaultPosition_isClippingMediaSource()
173 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_defaultToEnd_isNotClippingMediaSource()
[all …]
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ogg/
DOggExtractorNonParameterizedTest.java39 byte[] data = getByteArray(ApplicationProvider.getApplicationContext(), "ogg/vorbis_header"); in sniffVorbis()
45 byte[] data = getByteArray(ApplicationProvider.getApplicationContext(), "ogg/flac_header"); in sniffFlac()
51 byte[] data = getByteArray(ApplicationProvider.getApplicationContext(), "ogg/opus_header"); in sniffFailsOpusFile()
58 getByteArray(ApplicationProvider.getApplicationContext(), "ogg/invalid_ogg_header"); in sniffFailsInvalidOggHeader()
64 byte[] data = getByteArray(ApplicationProvider.getApplicationContext(), "ogg/invalid_header"); in sniffInvalidHeader()
70 byte[] data = getByteArray(ApplicationProvider.getApplicationContext(), "ogg/eof_header"); in sniffFailsEOF()
DOggPacketTest.java50 ApplicationProvider.getApplicationContext(), "ogg/four_packets_with_empty_page")); in readPacketsWithEmptyPage()
97 ApplicationProvider.getApplicationContext(), in readPacketWithZeroSizeTerminator()
111 ApplicationProvider.getApplicationContext(), in readContinuedPacketOverTwoPages()
128 ApplicationProvider.getApplicationContext(), in readContinuedPacketOverFourPages()
145 ApplicationProvider.getApplicationContext(), "ogg/continued_packet_at_start")); in readDiscardContinuedPacketAtStart()
160 ApplicationProvider.getApplicationContext(), in readZeroSizedPacketsAtEndOfStream()
171 byte[] data = TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), TEST_FILE); in parseRealFile()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/base/
DLocaleCompatTest.java56 ApplicationProvider.getApplicationContext() in getResourceLanguageTags_minApi24()
62 LocaleCompat.getResourceLanguageTags(ApplicationProvider.getApplicationContext()); in getResourceLanguageTags_minApi24()
70 ApplicationProvider.getApplicationContext() in getResourceLanguageTags_minApi21()
76 LocaleCompat.getResourceLanguageTags(ApplicationProvider.getApplicationContext()); in getResourceLanguageTags_minApi21()
84 ApplicationProvider.getApplicationContext().getResources().getConfiguration().locale = in getResourceLanguageTags_base()
88 LocaleCompat.getResourceLanguageTags(ApplicationProvider.getApplicationContext()); in getResourceLanguageTags_base()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java123 ApplicationProvider.getApplicationContext().getPackageManager(); in setUp()
131 ApplicationProvider.getApplicationContext() in packageInstallerCreateSession()
150 ApplicationProvider.getApplicationContext() in packageInstallerOpenSession()
211 ApplicationProvider.getApplicationContext().getPackageName(); in testCheckPermission_thisPackage()
351 intent.setPackage(ApplicationProvider.getApplicationContext().getPackageName()); in testQueryBroadcastReceiverSucceeds()
373 intent.setPackage(ApplicationProvider.getApplicationContext().getPackageName()); in testQueryBroadcastReceiver_matchAllWithoutIntentFilter()
387 ApplicationProvider.getApplicationContext().getPackageName(), in testGetPackageInfo_ForReceiversSucceeds()
447 ApplicationProvider.getApplicationContext() in getPermissionGroupInfo_fromManifest()
560 ApplicationProvider.getApplicationContext().getPackageName(), 0); in getApplicationInfo_ThisApplication()
563 .isEqualTo(ApplicationProvider.getApplicationContext().getPackageName()); in getApplicationInfo_ThisApplication()
[all …]
DShadowStatusBarManagerTest.java4 import static androidx.test.core.app.ApplicationProvider.getApplicationContext;
26 getApplicationContext().getSystemService(Context.STATUS_BAR_SERVICE))) in getDisable()
38 getApplicationContext().getSystemService(Context.STATUS_BAR_SERVICE))) in getDisable2()
47 getApplicationContext().getSystemService(Context.STATUS_BAR_SERVICE), in callDisableMethodofStatusBarManager()
56 getApplicationContext().getSystemService(Context.STATUS_BAR_SERVICE), in callDisable2MethodofStatusBarManager()
DSQLiteOpenHelperTest.java24 helper = new TestOpenHelper(ApplicationProvider.getApplicationContext(), "path", null, 1); in setUp()
99 new TestOpenHelper(ApplicationProvider.getApplicationContext(), path1, null, 1); in testGetPath()
101 ApplicationProvider.getApplicationContext().getDatabasePath(path1).getAbsolutePath(); in testGetPath()
105 new TestOpenHelper(ApplicationProvider.getApplicationContext(), path2, null, 1); in testGetPath()
107 ApplicationProvider.getApplicationContext().getDatabasePath(path2).getAbsolutePath(); in testGetPath()
114 new TestOpenHelper(ApplicationProvider.getApplicationContext(), "path2", null, 1); in testCloseMultipleDbs()
129 new TestOpenHelper(ApplicationProvider.getApplicationContext(), "path2", null, 1); in testOpenMultipleDbsOnCreate()
168 new TestOpenHelper(ApplicationProvider.getApplicationContext(), "path2", null, 1); in testMultipleDbsPreserveData()
180 new TestOpenHelper(ApplicationProvider.getApplicationContext(), "path2", null, 1); in testCloseOneDbKeepsDataForOther()
DShadowRelativeLayoutTest.java22 ImageView imageView = new ImageView(ApplicationProvider.getApplicationContext()); in getRules_shouldShowAddRuleData_sinceApiLevel17()
23 RelativeLayout layout = new RelativeLayout(ApplicationProvider.getApplicationContext()); in getRules_shouldShowAddRuleData_sinceApiLevel17()
35 ImageView imageView = new ImageView(ApplicationProvider.getApplicationContext()); in getRules_shouldShowAddRuleData_uptoApiLevel16()
36 RelativeLayout layout = new RelativeLayout(ApplicationProvider.getApplicationContext()); in getRules_shouldShowAddRuleData_uptoApiLevel16()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/eventhandlingadvanced/
DAdvancedEventHandlingActivity.java42 …Toast.makeText(getApplicationContext(), "Single tap: " + ((int)sCoord.x) + ", " + ((int)sCoord.y),… in onCreate()
44 … Toast.makeText(getApplicationContext(), "Single tap: Image not ready", Toast.LENGTH_SHORT).show(); in onCreate()
52 …Toast.makeText(getApplicationContext(), "Long press: " + ((int)sCoord.x) + ", " + ((int)sCoord.y),… in onCreate()
54 … Toast.makeText(getApplicationContext(), "Long press: Image not ready", Toast.LENGTH_SHORT).show(); in onCreate()
61 …Toast.makeText(getApplicationContext(), "Double tap: " + ((int)sCoord.x) + ", " + ((int)sCoord.y),… in onCreate()
63 … Toast.makeText(getApplicationContext(), "Double tap: Image not ready", Toast.LENGTH_SHORT).show(); in onCreate()
/external/exoplayer/tree/library/smoothstreaming/src/test/java/com/google/android/exoplayer2/source/smoothstreaming/
DDefaultMediaSourceFactoryTest.java41 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withMimeType_smoothstreamingSource()
55 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withTag_tagInSource()
71 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withIsmPath_smoothstreamingSource()
82 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withManifestPath_smoothstreamingSource()
93 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withNull_usesNonNullDefaults()
109 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()) in getSupportedTypes_smoothstreamingModule_containsTypeSS()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/subrip/
DSubripDecoderTest.java47 byte[] bytes = TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), EMPTY_FILE); in decodeEmpty()
57 byte[] bytes = TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), TYPICAL_FILE); in decodeTypical()
71 ApplicationProvider.getApplicationContext(), TYPICAL_WITH_BYTE_ORDER_MARK); in decodeTypicalWithByteOrderMark()
85 ApplicationProvider.getApplicationContext(), TYPICAL_EXTRA_BLANK_LINE); in decodeTypicalExtraBlankLine()
100 ApplicationProvider.getApplicationContext(), TYPICAL_MISSING_TIMECODE); in decodeTypicalMissingTimecode()
114 ApplicationProvider.getApplicationContext(), TYPICAL_MISSING_SEQUENCE); in decodeTypicalMissingSequence()
128 ApplicationProvider.getApplicationContext(), TYPICAL_NEGATIVE_TIMESTAMPS); in decodeTypicalNegativeTimestamps()
140 TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), TYPICAL_UNEXPECTED_END); in decodeTypicalUnexpectedEnd()
152 TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), TYPICAL_WITH_TAGS); in decodeCueWithTag()
186 ApplicationProvider.getApplicationContext(), TYPICAL_NO_HOURS_AND_MILLIS); in decodeTypicalNoHoursAndMillis()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/tx3g/
DTx3gDecoderTest.java59 byte[] bytes = TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), NO_SUBTITLE); in decodeNoSubtitle()
68 TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), SAMPLE_JUST_TEXT); in decodeJustText()
80 TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), SAMPLE_WITH_STYL); in decodeWithStyl()
98 ApplicationProvider.getApplicationContext(), SAMPLE_WITH_STYL_ALL_DEFAULTS); in decodeWithStylAllDefaults()
110 TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), SAMPLE_UTF16_BE_NO_STYL); in decodeUtf16BeNoStyl()
122 TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), SAMPLE_UTF16_LE_NO_STYL); in decodeUtf16LeNoStyl()
135 ApplicationProvider.getApplicationContext(), SAMPLE_WITH_MULTIPLE_STYL); in decodeWithMultipleStyl()
155 ApplicationProvider.getApplicationContext(), SAMPLE_WITH_OTHER_EXTENSION); in decodeWithOtherExtension()
170 TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), INITIALIZATION); in initializationDecodeWithStyl()
173 TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), SAMPLE_WITH_STYL); in initializationDecodeWithStyl()
[all …]
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/
DDefaultMediaSourceFactoryTest.java39 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withMimeType_dashSource()
55 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withTag_tagInSource()
71 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withPath_dashSource()
82 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withNull_usesNonNullDefaults()
98 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()) in getSupportedTypes_dashModule_containsTypeDash()
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/
DDefaultMediaSourceFactoryTest.java39 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withMimeType_hlsSource()
55 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withTag_tagInSource()
71 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withPath_hlsSource()
82 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()); in createMediaSource_withNull_usesNonNullDefaults()
98 DefaultMediaSourceFactory.newInstance(ApplicationProvider.getApplicationContext()) in getSupportedTypes_hlsModule_containsTypeHls()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/amr/
DAmrExtractorSeekTest.java54 new DefaultDataSourceFactory(ApplicationProvider.getApplicationContext(), "UserAgent") in setUp()
64 createAmrExtractor(), ApplicationProvider.getApplicationContext(), fileName) in amrExtractorReads_returnSeekableSeekMap_forNarrowBandAmr()
84 createAmrExtractor(), ApplicationProvider.getApplicationContext(), fileName) in seeking_handlesSeekingToPositionInFile_extractsCorrectFrame_forNarrowBandAmr()
110 createAmrExtractor(), ApplicationProvider.getApplicationContext(), fileName) in seeking_handlesSeekToEoF_extractsLastFrame_forNarrowBandAmr()
137 createAmrExtractor(), ApplicationProvider.getApplicationContext(), fileName) in seeking_handlesSeekingBackward_extractsCorrectFrames_forNarrowBandAmr()
166 createAmrExtractor(), ApplicationProvider.getApplicationContext(), fileName) in seeking_handlesSeekingForward_extractsCorrectFrames_forNarrowBandAmr()
195 createAmrExtractor(), ApplicationProvider.getApplicationContext(), fileName) in seeking_handlesRandomSeeks_extractsCorrectFrames_forNarrowBandAmr()
223 createAmrExtractor(), ApplicationProvider.getApplicationContext(), fileName) in amrExtractorReads_returnSeekableSeekMap_forWideBandAmr()
243 createAmrExtractor(), ApplicationProvider.getApplicationContext(), fileName) in seeking_handlesSeekingToPositionInFile_extractsCorrectFrame_forWideBandAmr()
269 createAmrExtractor(), ApplicationProvider.getApplicationContext(), fileName) in seeking_handlesSeekToEoF_extractsLastFrame_forWideBandAmr()
[all …]
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/
DModelFileManagerTest.java68 new File(ApplicationProvider.getApplicationContext().getCacheDir(), "rootTestDir"); in setup()
72 ApplicationProvider.getApplicationContext(), in setup()
125 ApplicationProvider.getApplicationContext(), in findBestModel_versionCode()
150 ApplicationProvider.getApplicationContext(), in findBestModel_languageDependentModelIsPreferred()
178 ApplicationProvider.getApplicationContext(), in findBestModel_noMatchedLanguageModel()
206 ApplicationProvider.getApplicationContext(), in findBestModel_languageIsMoreImportantThanVersion()
233 ApplicationProvider.getApplicationContext(), in findBestModel_preferMatchedLocaleModel()
258 ApplicationProvider.getApplicationContext(), in deleteUnusedModelFiles_olderModelDeleted()
290 ApplicationProvider.getApplicationContext(), in deleteUnusedModelFiles_languageIndependentOlderModelDeleted()
314 ApplicationProvider.getApplicationContext(), in deleteUnusedModelFiles_modelOnlySupportingLocalesNotInListDeleted()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DShadowingTest.java25 assertThat(new Toast(ApplicationProvider.getApplicationContext()).toString()) in shouldDelegateToObjectToStringIfShadowHasNone()
31 assertFalse(new View(ApplicationProvider.getApplicationContext()).hashCode() == 0); in shouldDelegateToObjectHashCodeIfShadowHasNone()
36 View view = new View(ApplicationProvider.getApplicationContext()); in shouldDelegateToObjectEqualsIfShadowHasNone()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/
DAdtsExtractorSeekTest.java52 new DefaultDataSourceFactory(ApplicationProvider.getApplicationContext(), "UserAgent") in setUp()
62 createAdtsExtractor(), ApplicationProvider.getApplicationContext(), fileName) in adtsExtractorReads_returnSeekableSeekMap()
81 createAdtsExtractor(), ApplicationProvider.getApplicationContext(), fileName) in seeking_handlesSeekingToPositionInFile_extractsCorrectSample()
107 createAdtsExtractor(), ApplicationProvider.getApplicationContext(), fileName) in seeking_handlesSeekToEoF_extractsLastSample()
133 createAdtsExtractor(), ApplicationProvider.getApplicationContext(), fileName) in seeking_handlesSeekingBackward_extractsCorrectSamples()
161 createAdtsExtractor(), ApplicationProvider.getApplicationContext(), fileName) in seeking_handlesSeekingForward_extractsCorrectSamples()
189 createAdtsExtractor(), ApplicationProvider.getApplicationContext(), fileName) in seeking_handlesRandomSeeks_extractsCorrectSamples()
/external/webrtc/examples/unityplugin/java/src/org/webrtc/
DUnityUtility.java26 return Camera2Enumerator.isSupported(ContextUtils.getApplicationContext()); in useCamera2()
48 createCameraCapturer(new Camera2Enumerator(ContextUtils.getApplicationContext())); in LinkCamera()
52 capturer.initialize(surfaceTextureHelper, ContextUtils.getApplicationContext(), in LinkCamera()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
DRoboMenuItemTest.java23 item = new RoboMenuItem(ApplicationProvider.getApplicationContext()); in setUp()
57 item.setActionView(new View(ApplicationProvider.getApplicationContext())); in expandActionView_shouldSetExpandedTrue()
64 item.setActionView(new View(ApplicationProvider.getApplicationContext())); in expandActionView_shouldInvokeListener()
77 item.setActionView(new View(ApplicationProvider.getApplicationContext())); in collapseActionView_shouldSetExpandedFalse()
85 item.setActionView(new View(ApplicationProvider.getApplicationContext())); in collapseActionView_shouldInvokeListener()
145 ApplicationProvider.getApplicationContext().getResources().getDrawable(R.drawable.an_image); in getIcon_shouldReturnDrawableFromSetIconDrawable()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DSimplePieChartActivity.java86 sf1.configure(getApplicationContext(), R.xml.pie_segment_formatter1); in onCreate()
91 sf2.configure(getApplicationContext(), R.xml.pie_segment_formatter2); in onCreate()
96 sf3.configure(getApplicationContext(), R.xml.pie_segment_formatter3); in onCreate()
101 sf4.configure(getApplicationContext(), R.xml.pie_segment_formatter4); in onCreate()
/external/dagger2/javatests/artifacts/hilt-android/simple/app/src/sharedTest/java/dagger/hilt/android/simple/
DDelayComponentReadyTest.java19 import static androidx.test.core.app.ApplicationProvider.getApplicationContext;
59 ApplicationProvider.getApplicationContext(), in testLateBindValue()
68 assertThat(EntryPoints.get(getApplicationContext(), FooEntryPoint.class).foo()) in testLateBindValue()
75 ApplicationProvider.getApplicationContext(), FooEntryPoint.class, FooEntryPoint::foo); in testUnitializedBindValue_fails()

12345678910>>...19