/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | AppVersionFetcherTest.java | 37 private static final String PACKAGE_NAME = "mypackage"; field in AppVersionFetcherTest 55 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_CODE)); in testFetchVersionCode_valid() 65 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_NAME)); in testFetchVersionName_valid() 77 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_CODE)); in testFetchVersionCode_validMultipleLines() 87 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_NAME)); in testFetchVersionName_validMultipleLines() 95 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_CODE); in testFetchVersionCode_invalidResponse() 106 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_NAME); in testFetchVersionName_invalidResponse()
|
/tools/tradefederation/core/src/com/android/tradefed/device/helper/ |
D | TelephonyHelper.java | 41 public static final String PACKAGE_NAME = "android.telephony.utility"; field in TelephonyHelper 53 new TestDescription(PACKAGE_NAME + CLASS_NAME, METHOD_NAME); 107 runner.setMethodName(PACKAGE_NAME + CLASS_NAME, METHOD_NAME); in getSimInfo() 136 device.uninstallPackage(PACKAGE_NAME); in getSimInfo() 165 return new DefaultRemoteAndroidTestRunner(PACKAGE_NAME, AJUR_RUNNER, idevice); in createTestRunner()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | TestAppInstallSetupTest.java | 78 private static final String PACKAGE_NAME = "PACKAGE_NAME"; field in TestAppInstallSetupTest 123 return PACKAGE_NAME; in setUp() 187 return PACKAGE_NAME; in testSetupAndTeardown_install_package_only() 226 return PACKAGE_NAME; in testSetupAndTeardown_install_runTestsAsUser() 373 return PACKAGE_NAME; in testSetup_installIncrementalAddPackages() 430 return PACKAGE_NAME; in testSetup_installIncrementalMissingSignature() 482 return PACKAGE_NAME; in testSetup_installIncrementalSessionIsBuilt() 530 assertThat(e).hasMessageThat().contains(PACKAGE_NAME); in testInstallFailure() 542 when(mMockTestDevice.uninstallPackage(PACKAGE_NAME)).thenReturn(null); in testInstallFailedUpdateIncompatible() 547 when(mMockTestDevice.uninstallPackage(PACKAGE_NAME)).thenReturn(null); in testInstallFailedUpdateIncompatible() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/helper/ |
D | TelephonyHelperTest.java | 57 when(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).thenReturn(null); in testGetSimInfo() 96 when(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).thenReturn(null); in testGetSimInfo_instrumentationFailed() 116 when(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).thenReturn(null); in testGetSimInfo_simTest_not_run() 135 when(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).thenReturn(null); in testGetSimInfo_simTest_failed()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | DumpsysPackageStatsParser.java | 29 private static final Pattern PACKAGE_NAME = Pattern.compile("^\\s*Package \\[(.*)\\].*"); field in DumpsysPackageStatsParser 50 Matcher m = PACKAGE_NAME.matcher(line); in parse()
|
/tools/tradefederation/core/util_apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiMonitorService.java | 51 public static final String PACKAGE_NAME = "com.android.tradefed.utils.wifi"; field in WifiMonitorService 52 public static final String ACTION_RECONNECT = PACKAGE_NAME + ".RECONNECT"; 53 public static final String ACTION_RECONNECT_COMPLETE = PACKAGE_NAME
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/ |
D | ContentProviderHandler.java | 72 public static final String PACKAGE_NAME = "android.tradefed.contentprovider"; field in ContentProviderHandler 120 if (mDevice.isPackageInstalled(PACKAGE_NAME, Integer.toString(getEffectiveUserId()))) { in setUp() 149 "cmd appops set %s android:legacy_storage allow", PACKAGE_NAME)); in setUp() 159 mDevice.executeShellV2Command(String.format("cmd appops get %s", PACKAGE_NAME)); in setUp() 175 mDevice.uninstallPackage(PACKAGE_NAME); in tearDown()
|
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/ |
D | GameCoreConfigurationXmlParser.java | 53 PACKAGE_NAME("packageName", null), enumConstant 154 getElement(element, Field.PACKAGE_NAME), in createApkInfo()
|
D | ApkInfo.java | 86 checkNotNull(packageName, Field.PACKAGE_NAME.getTag()); in ApkInfo()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/contentprovider/ |
D | ContentProviderHandlerTest.java | 97 ContentProviderHandler.PACKAGE_NAME)); in testSetUp_install() 103 String.format("cmd appops get %s", ContentProviderHandler.PACKAGE_NAME)); in testSetUp_install() 113 ContentProviderHandler.PACKAGE_NAME, String.valueOf(TEST_USER_ID)); in testSetUp_alreadyInstalled()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | AppTransitionTests.java | 68 private static final String PACKAGE_NAME = "com.android.apptransition.tests"; field in AppTransitionTests 327 new RemoteAndroidTestRunner(PACKAGE_NAME, mRunnerName, mDevice.getIDevice()); in createRemoteAndroidTestRunner() 376 if (PACKAGE_NAME.equals(target.packageName)) { in queryRunnerName() 381 String.format("Unable to determine runner name for package: %s", PACKAGE_NAME)); in queryRunnerName()
|
D | BootTimeTest.java | 113 private static final String PACKAGE_NAME = "com.android.boothelper"; field in BootTimeTest 1262 new RemoteAndroidTestRunner(PACKAGE_NAME, RUNNER, getDevice().getIDevice()); in createRemoteAndroidTestRunner()
|