/developers/build/prebuilts/gradle/AppUsageStatistics/Application/tests/src/com/example/android/appusagestatistics/ |
D | AppUsageStatisticsFragmentTests.java | 36 private AppUsageStatisticsFragment mTestFragment; field in AppUsageStatisticsFragmentTests 51 mTestFragment = (AppUsageStatisticsFragment) in setUp() 59 assertNotNull(mTestFragment.mUsageStatsManager); in testPreconditions() 60 assertNotNull(mTestFragment.mUsageListAdapter); in testPreconditions() 61 assertNotNull(mTestFragment.mRecyclerView); in testPreconditions() 62 assertNotNull(mTestFragment.mLayoutManager); in testPreconditions() 63 assertNotNull(mTestFragment.mOpenUsageSettingButton); in testPreconditions() 64 assertNotNull(mTestFragment.mSpinner); in testPreconditions() 76 List<UsageStats> usageStatsList = mTestFragment in testGetUsageStatistics() 87 List<UsageStats> usageStatsList = mTestFragment in testUpdateAppsList() [all …]
|
D | AppUsageStatisticsActivityTests.java | 42 private AppUsageStatisticsFragment mTestFragment; field in AppUsageStatisticsActivityTests 57 mTestFragment = (AppUsageStatisticsFragment) in setUp() 68 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
|
/developers/samples/android/system/AppUsageStatistics/Application/tests/src/com/example/android/appusagestatistics/ |
D | AppUsageStatisticsFragmentTests.java | 36 private AppUsageStatisticsFragment mTestFragment; field in AppUsageStatisticsFragmentTests 51 mTestFragment = (AppUsageStatisticsFragment) in setUp() 59 assertNotNull(mTestFragment.mUsageStatsManager); in testPreconditions() 60 assertNotNull(mTestFragment.mUsageListAdapter); in testPreconditions() 61 assertNotNull(mTestFragment.mRecyclerView); in testPreconditions() 62 assertNotNull(mTestFragment.mLayoutManager); in testPreconditions() 63 assertNotNull(mTestFragment.mOpenUsageSettingButton); in testPreconditions() 64 assertNotNull(mTestFragment.mSpinner); in testPreconditions() 76 List<UsageStats> usageStatsList = mTestFragment in testGetUsageStatistics() 87 List<UsageStats> usageStatsList = mTestFragment in testUpdateAppsList() [all …]
|
D | AppUsageStatisticsActivityTests.java | 42 private AppUsageStatisticsFragment mTestFragment; field in AppUsageStatisticsActivityTests 57 mTestFragment = (AppUsageStatisticsFragment) in setUp() 68 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
|
/developers/build/prebuilts/gradle/DirectorySelection/Application/tests/src/com/example/android/directoryselection/ |
D | DirectorySelectionFragmentTest.java | 42 private DirectorySelectionFragment mTestFragment; field in DirectorySelectionFragmentTest 57 mTestFragment = (DirectorySelectionFragment) in setUp() 62 assertNotNull(mTestFragment.mCurrentDirectoryTextView); in testPreconditions() 63 assertNotNull(mTestFragment.mCreateDirectoryButton); in testPreconditions() 64 assertNotNull(mTestFragment.mRecyclerView); in testPreconditions() 65 assertNotNull(mTestFragment.mAdapter); in testPreconditions() 66 assertNotNull(mTestFragment.mLayoutManager); in testPreconditions()
|
D | DirectorySelectionActivityTest.java | 28 private DirectorySelectionFragment mTestFragment; field in DirectorySelectionActivityTest 43 mTestFragment = (DirectorySelectionFragment) in setUp() 54 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
|
D | DirectoryEntryAdapterTest.java | 49 private DirectorySelectionFragment mTestFragment; field in DirectoryEntryAdapterTest 62 mTestFragment = (DirectorySelectionFragment) in setUp() 78 mTestFragment.mAdapter.setDirectoryEntries(mDirectoryEntries); in testGetItemCount() 80 assertEquals(2, mTestFragment.mAdapter.getItemCount()); in testGetItemCount()
|
/developers/samples/android/ui/window/AdvancedImmersiveMode/Application/tests/src/com/example/android/advancedimmersivemode/tests/ |
D | SampleTests.java | 44 private AdvancedImmersiveModeFragment mTestFragment; field in SampleTests 55 mTestFragment = (AdvancedImmersiveModeFragment) in setUp() 64 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions() 74 mTestFragment.mImmersiveModeCheckBox.setChecked(true); in testFlagsChanged() 75 mTestFragment.mHideNavCheckbox.setChecked(true); in testFlagsChanged() 76 mTestFragment.mHideStatusBarCheckBox.setChecked(true); in testFlagsChanged() 77 mTestFragment.toggleUiFlags(); in testFlagsChanged()
|
/developers/build/prebuilts/gradle/AdvancedImmersiveMode/Application/tests/src/com/example/android/advancedimmersivemode/tests/ |
D | SampleTests.java | 44 private AdvancedImmersiveModeFragment mTestFragment; field in SampleTests 55 mTestFragment = (AdvancedImmersiveModeFragment) in setUp() 64 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions() 74 mTestFragment.mImmersiveModeCheckBox.setChecked(true); in testFlagsChanged() 75 mTestFragment.mHideNavCheckbox.setChecked(true); in testFlagsChanged() 76 mTestFragment.mHideStatusBarCheckBox.setChecked(true); in testFlagsChanged() 77 mTestFragment.toggleUiFlags(); in testFlagsChanged()
|
/developers/samples/android/ui/Interpolator/Application/tests/src/com/example/android/interpolator/tests/ |
D | SampleTests.java | 37 private InterpolatorFragment mTestFragment; field in SampleTests 54 mTestFragment = (InterpolatorFragment) in setUp() 65 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions() 78 Interpolator[] interpolators = mTestFragment.getInterpolators(); in testInitialisation() 103 final Interpolator[] interpolators = mTestFragment.getInterpolators(); in testStartInterpolators() 107 … ObjectAnimator animator = mTestFragment.startAnimation(i, 1000L, mTestFragment.getPathIn()); in testStartInterpolators()
|
/developers/build/prebuilts/gradle/Interpolator/Application/tests/src/com/example/android/interpolator/tests/ |
D | SampleTests.java | 37 private InterpolatorFragment mTestFragment; field in SampleTests 54 mTestFragment = (InterpolatorFragment) in setUp() 65 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions() 78 Interpolator[] interpolators = mTestFragment.getInterpolators(); in testInitialisation() 103 final Interpolator[] interpolators = mTestFragment.getInterpolators(); in testStartInterpolators() 107 … ObjectAnimator animator = mTestFragment.startAnimation(i, 1000L, mTestFragment.getPathIn()); in testStartInterpolators()
|
/developers/samples/android/ui/DrawableTinting/Application/src/test/ |
D | SampleTests.java | 38 private DrawableTintingFragment mTestFragment; field in SampleTests 61 mTestFragment = (DrawableTintingFragment) in setUp() 64 final View fragmentView = mTestFragment.getView(); in setUp() 80 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions() 111 mTestFragment.updateTint(testColor, m); in testModes() 127 assertEquals(Color.RED, mTestFragment.getColor()); in testColor() 134 assertEquals(Color.BLUE, mTestFragment.getColor()); in testColor() 141 assertEquals(Color.GREEN, mTestFragment.getColor()); in testColor() 148 assertEquals(Color.BLACK, mTestFragment.getColor()); in testColor() 155 assertEquals(Color.TRANSPARENT, mTestFragment.getColor()); in testColor()
|
/developers/samples/android/ui/window/BasicImmersiveMode/Application/tests/src/com/example/android/basicimmersivemode/tests/ |
D | SampleTests.java | 44 private BasicImmersiveModeFragment mTestFragment; field in SampleTests 59 mTestFragment = (BasicImmersiveModeFragment) in setUp() 70 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions() 79 mTestFragment.toggleHideyBar(); in testFlagsChanged() 99 mTestFragment.toggleHideyBar(); in testDecorHeightExpanded()
|
/developers/build/prebuilts/gradle/BasicImmersiveMode/Application/tests/src/com/example/android/basicimmersivemode/tests/ |
D | SampleTests.java | 44 private BasicImmersiveModeFragment mTestFragment; field in SampleTests 59 mTestFragment = (BasicImmersiveModeFragment) in setUp() 70 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions() 79 mTestFragment.toggleHideyBar(); in testFlagsChanged() 99 mTestFragment.toggleHideyBar(); in testDecorHeightExpanded()
|
/developers/samples/android/ui/window/ImmersiveMode/Application/tests/src/com/example/android/immersivemode/tests/ |
D | ImmersiveModeSampleTests.java | 29 private ImmersiveModeFragment mTestFragment; field in ImmersiveModeSampleTests 44 mTestFragment = (ImmersiveModeFragment) in setUp() 55 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions() 64 mTestFragment.toggleHideyBar(); in testFlagsChanged() 84 mTestFragment.toggleHideyBar(); in testDecorHeightExpanded()
|
D | SampleTests.java | 46 private ImmersiveModeFragment mTestFragment; field in SampleTests 61 mTestFragment = (ImmersiveModeFragment) in setUp() 72 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
|
/developers/build/prebuilts/gradle/ImmersiveMode/Application/tests/src/com/example/android/immersivemode/tests/ |
D | ImmersiveModeSampleTests.java | 29 private ImmersiveModeFragment mTestFragment; field in ImmersiveModeSampleTests 44 mTestFragment = (ImmersiveModeFragment) in setUp() 55 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions() 64 mTestFragment.toggleHideyBar(); in testFlagsChanged() 84 mTestFragment.toggleHideyBar(); in testDecorHeightExpanded()
|
/developers/samples/android/ui/views/RecyclerView/Application/src/androidTest/java/com/example/android/recyclerview/test/ |
D | RecyclerViewSampleTests.java | 33 private RecyclerViewFragment mTestFragment; field in RecyclerViewSampleTests 48 mTestFragment = (RecyclerViewFragment) in setUp() 59 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions() 64 (RecyclerView) mTestFragment.getView().findViewById(R.id.recyclerView); in testRecyclerViewElementCount()
|
/developers/samples/android/media/ScreenCapture/Application/tests/src/com/example/android/screencapture/test/ |
D | SampleTests.java | 33 private ScreenCaptureFragment mTestFragment; field in SampleTests 43 mTestFragment = (ScreenCaptureFragment) in setUp() 52 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions() 56 final View view = mTestFragment.getView(); in testButtonToggle()
|
/developers/samples/android/security/keystore/BasicAndroidKeyStore/Application/tests/src/com/example/android/basicandroidkeystore/tests/ |
D | SampleTests.java | 46 private BasicAndroidKeyStoreFragment mTestFragment; field in SampleTests 61 mTestFragment = (BasicAndroidKeyStoreFragment) in setUp() 72 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
|
/developers/samples/android/ui/views/SlidingTabs/SlidingTabsBasic/Application/tests/src/com/example/android/slidingtabsbasic/tests/ |
D | SampleTests.java | 28 private SlidingTabsBasicFragment mTestFragment; field in SampleTests 43 mTestFragment = (SlidingTabsBasicFragment) in setUp() 54 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
|
/developers/samples/android/security/DirectBoot/Application/src/androidTest/java/com/example/android/filebasedencryption/test/ |
D | SampleTests.java | 28 private SchedulerFragment mTestFragment; field in SampleTests 43 mTestFragment = (SchedulerFragment) in setUp() 54 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
|
/developers/samples/android/notification/MessagingService/Application/src/androidTest/java/com/example/android/messagingservice/test/ |
D | SampleTests.java | 43 private MessagingServiceFragment mTestFragment; field in SampleTests 58 mTestFragment = (MessagingServiceFragment) in setUp() 69 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
|
/developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/androidTest/java/com/example/android/filebasedencryption/test/ |
D | SampleTests.java | 28 private ScopedDirectoryAccessFragment mTestFragment; field in SampleTests 43 mTestFragment = (ScopedDirectoryAccessFragment) in setUp() 54 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
|
/developers/samples/android/connectivity/nfc/BeamLargeFiles/Application/tests/src/com/example/android/beamlargefiles/tests/ |
D | SampleTests.java | 43 private BeamLargeFilesFragment mTestFragment; field in SampleTests 58 mTestFragment = (BeamLargeFilesFragment) in setUp() 69 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
|