/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | AppVersionFetcherTest.java | 34 private static final String PACKAGE_NAME = "mypackage"; field in AppVersionFetcherTest 52 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_CODE)); in testFetchVersionCode_valid() 63 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_NAME)); in testFetchVersionName_valid() 76 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_CODE)); in testFetchVersionCode_validMultipleLines() 87 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_NAME)); in testFetchVersionName_validMultipleLines() 98 AppVersionFetcher.fetch(mMockDevice, PACKAGE_NAME, AppVersionInfo.VERSION_CODE); in testFetchVersionCode_invalidResponse() 113 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() 159 return new DefaultRemoteAndroidTestRunner(PACKAGE_NAME, AJUR_RUNNER, idevice); in createTestRunner()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | TestAppInstallSetupTest.java | 66 private static final String PACKAGE_NAME = "PACKAGE_NAME"; field in TestAppInstallSetupTest 102 return PACKAGE_NAME; in setUp() 165 return PACKAGE_NAME; in testSetupAndTeardown_install_package_only() 290 assertThat(e).hasMessageThat().contains(PACKAGE_NAME); in testInstallFailure() 303 EasyMock.expect(mMockTestDevice.uninstallPackage(PACKAGE_NAME)).andReturn(null); in testInstallFailedUpdateIncompatible() 310 EasyMock.expect(mMockTestDevice.uninstallPackage(PACKAGE_NAME)).andReturn(null); in testInstallFailedUpdateIncompatible() 393 return PACKAGE_NAME; in testFindApk_override() 425 return PACKAGE_NAME; in testFindApk_override_onlyInBuild() 453 f -> PACKAGE_NAME, in setUp_emptyDirectoryWithNoThrowOption_installsNothing() 470 f -> PACKAGE_NAME, in setUp_emptyDirectory_throwsException() [all …]
|
/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/tests/src/com/android/tradefed/device/helper/ |
D | TelephonyHelperTest.java | 58 EasyMock.expect(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).andReturn(null); in testGetSimInfo() 107 EasyMock.expect(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).andReturn(null); in testGetSimInfo_instrumentationFailed() 135 EasyMock.expect(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).andReturn(null); in testGetSimInfo_simTest_not_run() 162 EasyMock.expect(mDevice.uninstallPackage(TelephonyHelper.PACKAGE_NAME)).andReturn(null); in testGetSimInfo_simTest_failed()
|
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiMonitorService.java | 53 public static final String PACKAGE_NAME = "com.android.tradefed.utils.wifi"; field in WifiMonitorService 54 public static final String ACTION_RECONNECT = PACKAGE_NAME + ".RECONNECT"; 55 public static final String ACTION_RECONNECT_COMPLETE = PACKAGE_NAME
|
/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/tests/src/com/android/tradefed/device/contentprovider/ |
D | ContentProviderHandlerTest.java | 73 ContentProviderHandler.PACKAGE_NAME)); in testSetUp_install() 79 String.format("cmd appops get %s", ContentProviderHandler.PACKAGE_NAME)); in testSetUp_install() 89 .isPackageInstalled(ContentProviderHandler.PACKAGE_NAME, "0"); 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()
|