/packages/apps/TV/common/src/com/android/tv/common/feature/ |
D | TestableFeature.java | 22 import com.android.tv.common.util.CommonUtils; 59 if (!CommonUtils.isRunningInTest()) { in enableForTest() 68 if (!CommonUtils.isRunningInTest()) { in disableForTests() 80 if (!CommonUtils.isRunningInTest()) { in resetForTests() 89 if (CommonUtils.isRunningInTest() && mTestValue != null) { in isEnabled() 98 if (CommonUtils.isRunningInTest()) { in toString()
|
D | FeatureUtils.java | 20 import com.android.tv.common.util.CommonUtils; 126 return CommonUtils.isRoboTest();
|
/packages/apps/Settings/tests/componenttests/src/com/android/settings/notification/ |
D | AppNotificationComponentTest.java | 37 import com.android.settings.testutils.CommonUtils; 78 CommonUtils.getResId("recycler_view")); in test_special_app_could_not_disable_notification() 83 CommonUtils.getResId("recycler_view"))); in test_special_app_could_not_disable_notification() 89 () -> recyclerView.findViewById(CommonUtils.getResId("recycler_view")) in test_special_app_could_not_disable_notification() 93 CommonUtils.getResId("main_switch_bar")); in test_special_app_could_not_disable_notification() 112 CommonUtils.getResId("switchWidget")); in test_special_app_could_not_disable_notification()
|
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/util/ |
D | CommonUtilsTest.java | 40 assertThat(CommonUtils.deleteDirOrFile(file)).isTrue(); in deleteDirOrFile_file() 49 assertThat(CommonUtils.deleteDirOrFile(dir)).isTrue(); in deleteDirOrFile_Dir() 61 assertThat(CommonUtils.deleteDirOrFile(dir)).isFalse(); in deleteDirOrFile_unreadableDir() 75 assertThat(CommonUtils.deleteDirOrFile(dir)).isFalse(); in deleteDirOrFile_unreadableSubDir()
|
/packages/apps/Settings/tests/componenttests/src/com/android/settings/wifi/ |
D | WifiSettings2ActivityTest.java | 42 import com.android.settings.testutils.CommonUtils; 104 assertThat(CommonUtils.connectToURL(url)).isTrue(); in test_connect_to_wifi() 110 assertThat(CommonUtils.connectToURL(url)).isFalse(); in test_connect_to_wifi() 124 assertThat(CommonUtils.connectToURL(url)).isTrue(); in test_connect_to_wifi()
|
/packages/apps/Settings/tests/componenttests/src/com/android/settings/network/telephony/ |
D | MobileDataPreferenceControllerComponentTest.java | 19 import static com.android.settings.testutils.CommonUtils.set_wifi_enabled; 44 import com.android.settings.testutils.CommonUtils; 141 () -> CommonUtils.connectToURL(url))).isTrue(); in test_disable_mobile_network() 153 () -> CommonUtils.connectToURL(url))).isFalse(); in test_disable_mobile_network()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerStorageCleanUpService.java | 30 import com.android.tv.common.util.CommonUtils; 117 if (!CommonUtils.isInBundledPackageSet(packageName) in getRecordedProgramsDirs() 159 if (!CommonUtils.deleteDirOrFile(recordingDir)) { in doInBackground()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrStorageStatusManager.java | 32 import com.android.tv.common.util.CommonUtils; 117 if (CommonUtils.isBundledInput(info.getId()) && dvrManager != null) { in onPostExecute() 155 if (!CommonUtils.isInBundledPackageSet(packageName) in getDeleteOps()
|
D | DvrManager.java | 44 import com.android.tv.common.util.CommonUtils; 852 if (CommonUtils.deleteDirOrFile(recordedProgramPath)) { in removeRecordedData() 871 return CommonUtils.isInBundledPackageSet(mRecordedProgram.getPackageName()); in isFromBundledInput()
|
/packages/apps/TV/common/src/com/android/tv/common/ |
D | BaseApplication.java | 29 import com.android.tv.common.util.CommonUtils; 87 if (!CommonUtils.isRunningInTest()) { in onCreate()
|
D | SoftPreconditions.java | 24 import com.android.tv.common.util.CommonUtils; 195 if (BuildConfig.ENG && !CommonUtils.isRunningInTest()) { in warn()
|
D | CommonPreferences.java | 32 import com.android.tv.common.util.CommonUtils; 147 return CommonUtils.isPackagedWithLiveChannels(context); in useContentProvider()
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | CommonUtils.java | 35 public final class CommonUtils { class 59 private CommonUtils() {} in CommonUtils() method in CommonUtils
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ |
D | SetupPassthroughActivityTest.java | 41 import com.android.tv.common.util.CommonUtils; 168 CommonUtils.createSetupIntent(new Intent(), testInput.getId())); in create_trustedCallingPackage() 191 CommonUtils.createSetupIntent(new Intent(), testInput.getId())); in create_nonTrustedCallingPackage() 213 CommonUtils.createSetupIntent(new Intent(), testInput.getId())); in create_nullCallingPackage() 345 CommonUtils.createSetupIntent(new Intent(), inputId)); in createSetupActivityFor()
|
/packages/apps/Settings/tests/componenttests/src/com/android/settings/display/darkmode/ |
D | DarkThemeScheduleComponentTest.java | 38 import com.android.settings.testutils.CommonUtils; 88 CommonUtils.reopenScreen(); in test_step_for_custom_time()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/ |
D | ScheduledProgramReaperTest.java | 27 import com.android.tv.common.util.CommonUtils; 122 + CommonUtils.toIsoDateTimeString(mFakeClock.currentTimeMillis()), in testRun_oneRecordingsExpired()
|
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/ |
D | CommonUtils.java | 43 public class CommonUtils { class 44 private static final String TAG = CommonUtils.class.getSimpleName();
|
/packages/apps/TV/src/com/android/tv/util/ |
D | SetupUtils.java | 39 import com.android.tv.common.util.CommonUtils; 415 return CommonUtils.createSetupIntent(overlaySetupIntent, inputId); in createSetupIntent() 419 return CommonUtils.createSetupIntent(input); in createSetupIntent()
|
D | TvInputManagerHelper.java | 42 import com.android.tv.common.util.CommonUtils; 434 && CommonUtils.isInBundledPackageSet( in isBundledInput() 639 if (CommonUtils.isRoboTest()) return false; in isBlocked() 640 if (CommonUtils.isRunningInTest()) { in isBlocked()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | LocalSearchProvider.java | 34 import com.android.tv.common.util.CommonUtils; 107 SoftPreconditions.checkState(CommonUtils.isRunningInTest()); in setSearchInterface()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | Menu.java | 34 import com.android.tv.common.util.CommonUtils; 327 if (!CommonUtils.isRunningInTest()) { in disableAnimationForTest()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DvrDetailsFragment.java | 42 import com.android.tv.common.util.CommonUtils; 200 if (CommonUtils.isInBundledPackageSet(recordedProgram.getPackageName()) in startPlayback()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/utils/ |
D | Utils.java | 30 import com.android.tv.common.util.CommonUtils;
|
/packages/apps/TV/src/com/android/tv/setup/ |
D | SystemSetupActivity.java | 34 import com.android.tv.common.util.CommonUtils;
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | BufferManager.java | 28 import com.android.tv.common.util.CommonUtils; 544 CommonUtils.toIsoDateTimeString(earliestChunk.getCreatedTimeMs()))); in maybeEvictChunk()
|