Home
last modified time | relevance | path

Searched refs:expectedPackageName (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DKeyboardQuickSwitch.java173 public LaunchedAppState launchFocusedAppTask(@NonNull String expectedPackageName) { in launchFocusedAppTask() argument
175 return (LaunchedAppState) launchFocusedTask(expectedPackageName); in launchFocusedAppTask()
192 @Nullable String expectedPackageName) { in launchFocusedTask()
195 + (expectedPackageName == null ? "Overview" : expectedPackageName))) { in launchFocusedTask()
198 if (expectedPackageName == null || !mIsHomeState) { in launchFocusedTask()
210 if (expectedPackageName != null) { in launchFocusedTask()
211 mLauncher.assertAppLaunched(expectedPackageName); in launchFocusedTask()
DLaunchable.java59 public LaunchedAppState launch(String expectedPackageName) { in launch() argument
62 "want to launch an app (%s) from %s", expectedPackageName, launchableType()))) { in launch() argument
77 return mLauncher.assertAppLaunched(expectedPackageName); in launch()
DBaseOverview.java444 public LaunchedAppState launchFocusedTaskByEnterKey(@NonNull String expectedPackageName) { in launchFocusedTaskByEnterKey() argument
454 mLauncher.assertAppLaunched(expectedPackageName); in launchFocusedTaskByEnterKey()
DLauncherInstrumentation.java1346 LaunchedAppState assertAppLaunched(@NonNull String expectedPackageName) { in assertAppLaunched() argument
1347 BySelector packageSelector = By.pkg(expectedPackageName); in assertAppLaunched()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/
DDeviceSideTestCaseTest.java39 String expectedPackageName = expectedContext.getPackageName(); in testContextReferences() local
42 .isSameInstanceAs(expectedPackageName); in testContextReferences()
45 .isSameInstanceAs(expectedPackageName); in testContextReferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffEntryTest.java528 final String expectedPackageName = "com.fake.google.com"; in testGetPackageName_returnExpectedResult() local
531 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, expectedPackageName); in testGetPackageName_returnExpectedResult()
534 assertThat(entry.getPackageName()).isEqualTo(expectedPackageName); in testGetPackageName_returnExpectedResult()
539 final String expectedPackageName = "com.fake.google.com"; in testGetPackageName_withProcessName_returnExpectedResult() local
542 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, expectedPackageName + ":privileged_process0"); in testGetPackageName_withProcessName_returnExpectedResult()
545 assertThat(entry.getPackageName()).isEqualTo(expectedPackageName); in testGetPackageName_withProcessName_returnExpectedResult()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java1085 private void validateScanResultsFailureBroadcastSent(String expectedPackageName) { in validateScanResultsFailureBroadcastSent() argument
1101 assertEquals(expectedPackageName, packageName); in validateScanResultsFailureBroadcastSent()
DWifiNetworkSuggestionsManagerTest.java3295 String expectedPackageName, WifiNetworkSuggestion expectedNetworkSuggestion) { in validatePostConnectionBroadcastSent() argument
3309 assertEquals(expectedPackageName, packageName); in validatePostConnectionBroadcastSent()