Home
last modified time | relevance | path

Searched refs:CommonUtils (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/TV/common/src/com/android/tv/common/feature/
DTestableFeature.java22 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()
DFeatureUtils.java21 import com.android.tv.common.util.CommonUtils;
144 return CommonUtils.isRoboTest();
/packages/apps/Test/connectivity/sl4n/facades/test/
Dtest_facade.cpp67 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in test_bool_true_return_wrapper()
84 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in test_bool_false_return_wrapper()
101 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in test_null_return_wrapper()
118 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in test_string_empty_return_wrapper()
137 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in test_string_max_return_wrapper()
165 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in test_specific_param_naming_wrapper()
/packages/apps/Test/connectivity/sl4n/facades/bluetooth/
Dbt_binder_facade.cpp209 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in bt_binder_get_local_name_wrapper()
230 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in bt_binder_init_interface_wapper()
247 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in bt_binder_set_local_name_wrapper()
274 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in bt_binder_get_local_address_wrapper()
295 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in bt_binder_enable_wrapper()
312 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in bt_binder_register_ble_wrapper()
330 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in bt_binder_set_adv_settings_wrapper()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DDeveloperOptionFragment.java28 import com.android.tv.common.util.CommonUtils;
64 if (CommonUtils.isDeveloper()) { in getItemList()
90 if (CommonUtils.isDeveloper()) { in getItemList()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerStorageCleanUpService.java30 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/
DDvrStorageStatusManager.java32 import com.android.tv.common.util.CommonUtils;
117 if (CommonUtils.isBundledInput(info.getId())) { in onPostExecute()
155 if (!CommonUtils.isInBundledPackageSet(packageName) in getDeleteOps()
DDvrManager.java43 import com.android.tv.common.util.CommonUtils;
831 if (CommonUtils.deleteDirOrFile(recordedProgramPath)) { in removeRecordedData()
850 return CommonUtils.isInBundledPackageSet(mRecordedProgram.getPackageName()); in isFromBundledInput()
/packages/apps/TV/src/com/android/tv/ui/
DAppLayerTvView.java24 import com.android.tv.common.util.CommonUtils;
56 ((SurfaceView) child).setSecure(!CommonUtils.isDeveloper()); in onViewAdded()
/packages/apps/TV/common/src/com/android/tv/common/
DBaseApplication.java27 import com.android.tv.common.util.CommonUtils;
82 if (!CommonUtils.isRunningInTest()) { in onCreate()
DSoftPreconditions.java24 import com.android.tv.common.util.CommonUtils;
195 if (BuildConfig.ENG && !CommonUtils.isRunningInTest()) { in warn()
DCommonPreferences.java32 import com.android.tv.common.util.CommonUtils;
147 return CommonUtils.isPackagedWithLiveChannels(context); in useContentProvider()
/packages/apps/TV/common/src/com/android/tv/common/util/
DCommonUtils.java37 public final class CommonUtils { class
60 private CommonUtils() {} in CommonUtils() method in CommonUtils
/packages/apps/TV/src/com/android/tv/setup/
DSystemSetupActivity.java33 import com.android.tv.common.util.CommonUtils;
84 Intent intent = CommonUtils.createSetupIntent(input); in executeAction()
/packages/apps/TV/src/com/android/tv/menu/
DTvOptionsRowAdapter.java23 import com.android.tv.common.util.CommonUtils;
52 if (CommonUtils.isDeveloper()) { in createBaseActions()
DMenu.java34 import com.android.tv.common.util.CommonUtils;
327 if (!CommonUtils.isRunningInTest()) { in disableAnimationForTest()
/packages/apps/Test/connectivity/sl4n/facades/wifi/
Dwifi_facade.cpp159 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in wifi_init_wrapper()
176 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { in wifi_get_supported_feature_set_wrapper()
/packages/apps/TV/src/com/android/tv/onboarding/
DOnboardingActivity.java34 import com.android.tv.common.util.CommonUtils;
179 Intent intent = CommonUtils.createSetupIntent(input); in executeAction()
/packages/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java42 import com.android.tv.common.util.CommonUtils;
426 && CommonUtils.isInBundledPackageSet( in isBundledInput()
629 if (CommonUtils.isRoboTest()) return false; in isInBlackList()
630 if (CommonUtils.isRunningInTest()) { in isInBlackList()
/packages/apps/TV/src/com/android/tv/search/
DLocalSearchProvider.java34 import com.android.tv.common.util.CommonUtils;
95 SoftPreconditions.checkState(CommonUtils.isRunningInTest()); in setSearchInterface()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrDetailsFragment.java42 import com.android.tv.common.util.CommonUtils;
200 if (CommonUtils.isInBundledPackageSet(recordedProgram.getPackageName()) in startPlayback()
/packages/apps/Test/connectivity/sl4n/utils/
Dcommon_utils.h22 class CommonUtils {
Dcommon_utils.cpp22 bool CommonUtils::IsParamLengthMatching(rapidjson::Document& doc, in IsParamLengthMatching()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java46 import com.android.tv.common.util.CommonUtils;
247 if (CommonUtils.isRunningInTest()) { in fetchImmediatelyIfNeeded()
337 if (!CommonUtils.isRunningInTest() && checkFetchPrerequisite()) { in executeFetchTaskIfPossible()
/packages/apps/TV/src/com/android/tv/dvr/data/
DScheduledRecording.java33 import com.android.tv.common.util.CommonUtils;
899 + CommonUtils.toIsoDateTimeString(mStartTimeMs) in toString()
904 + CommonUtils.toIsoDateTimeString(mEndTimeMs) in toString()

12