/platform_testing/tests/automotive/functional/dialer/src/android/platform/tests/ |
D | DialTest.java | 79 mVehicleHardKeysHelper.get().pressEndCallKey(); in endCall() 84 mDialerHelper.get().dialANumber(mSmallPhoneNumber.get()); in testDialSmallNumber() 85 mDialerHelper.get().makeCall(); in testDialSmallNumber() 86 String actualDialedNumber = mDialerHelper.get().getDialedNumber(); in testDialSmallNumber() 87 assertEquals(mSmallPhoneNumber.get(), actualDialedNumber.replaceAll("[-()\\s]", "")); in testDialSmallNumber() 88 mDialerHelper.get().endCall(); in testDialSmallNumber() 93 mDialerHelper.get().dialANumber(mLargePhoneNumber.get()); in testDialLargeNumber() 94 mDialerHelper.get().makeCall(); in testDialLargeNumber() 95 String actualDialedNumber = mDialerHelper.get().getDialedNumber(); in testDialLargeNumber() 96 assertEquals(mLargePhoneNumber.get(), actualDialedNumber.replaceAll("[-()\\s]", "")); in testDialLargeNumber() [all …]
|
/platform_testing/tests/automotive/functional/settings/src/android/platform/tests/ |
D | MicroPhoneSettingTest.java | 53 mSettingHelper.get().openSetting(SettingsConstants.PRIVACY_SETTINGS); in openPrivacySetting() 56 mSettingHelper.get().checkMenuExists("Microphone")); in openPrivacySetting() 57 mSettingHelper.get().openMenuWith("MicroPhone"); in openPrivacySetting() 60 mSettingHelper.get().checkMenuExists("Use microphone")); in openPrivacySetting() 65 mSettingHelper.get().openSetting(SettingsConstants.PRIVACY_SETTINGS); in manageMicrophonePermissions() 68 mSettingHelper.get().checkMenuExists("Microphone")); in manageMicrophonePermissions() 69 mSettingHelper.get().openMenuWith("MicroPhone"); in manageMicrophonePermissions() 70 mPrivacySettingsHelper.get().clickManageMicroPhonePermissions(); in manageMicrophonePermissions() 73 mPrivacySettingsHelper.get().verifyMicrophoneManagePermissionsPage()); in manageMicrophonePermissions() 78 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() [all …]
|
D | PrivacySettingVerifyUIElementsTest.java | 47 mSettingHelper.get().openSetting(SettingsConstants.PRIVACY_SETTINGS); in openPrivacySetting() 50 mSettingHelper.get().checkMenuExists("Microphone")); in openPrivacySetting() 55 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 56 mSettingHelper.get().exit(); in goBackToSettingsScreen() 63 mSettingsUIHelper.get().hasUIElement(AutomotiveConfigConstants.MICROPHONE)); in testVerifyMicrophoneUIElement() 64 mSettingsUIHelper.get().openUIOptions(AutomotiveConfigConstants.MICROPHONE); in testVerifyMicrophoneUIElement() 67 mSettingHelper.get().checkMenuExists("Use microphone")); in testVerifyMicrophoneUIElement() 68 String currentTitle = mSettingHelper.get().getPageTitleText(); in testVerifyMicrophoneUIElement() 69 mSettingsUIHelper.get().pressBackButton(); in testVerifyMicrophoneUIElement() 70 String newTitle = mSettingHelper.get().getPageTitleText(); in testVerifyMicrophoneUIElement() [all …]
|
D | SettingTest.java | 47 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 52 mSettingHelper.get().openSetting(SettingsConstants.DISPLAY_SETTINGS); in testDisplaySettings() 55 mSettingHelper.get().checkMenuExists("Brightness level")); in testDisplaySettings() 60 mSettingHelper.get().openSetting(SettingsConstants.SOUND_SETTINGS); in testSoundSettings() 63 mSettingHelper.get().checkMenuExists("In-call volume")); in testSoundSettings() 68 mSettingHelper.get().openSetting(SettingsConstants.APPS_SETTINGS); in testAppinfoSettings() 71 mSettingHelper.get().checkMenuExists("Recently opened")); in testAppinfoSettings() 72 mAppInfoSettingsHelper.get().showAllApps(); in testAppinfoSettings() 77 mSettingHelper.get().openSetting(SettingsConstants.PROFILE_ACCOUNT_SETTINGS); in testAccountsSettings() 80 mSettingHelper.get().checkMenuExists("Add a profile")); in testAccountsSettings() [all …]
|
D | AppInfoSettingTest.java | 35 mSettingHelper.get().openSetting(SettingsConstants.APPS_SETTINGS); in openAppInfoFacet() 38 mSettingHelper.get().checkMenuExists("Reset app grid to A-Z order")); in openAppInfoFacet() 39 mAppInfoSettingsHelper.get().showAllApps(); in openAppInfoFacet() 44 mSettingHelper.get().exit(); in goBackToSettingsScreen() 49 mAppInfoSettingsHelper.get().selectApp(CONTACTS_APP); in testDisableEnableApplication() 50 mAppInfoSettingsHelper.get().enableDisableApplication(State.DISABLE); in testDisableEnableApplication() 53 mAppInfoSettingsHelper.get().isApplicationDisabled(CONTACT_PACKAGE)); in testDisableEnableApplication() 54 mAppInfoSettingsHelper.get().enableDisableApplication(State.ENABLE); in testDisableEnableApplication() 57 !mAppInfoSettingsHelper.get().isApplicationDisabled(CONTACT_PACKAGE)); in testDisableEnableApplication() 62 mAppInfoSettingsHelper.get().selectApp(CONTACTS_APP); in testApplicationPermissions() [all …]
|
D | StorageSettingTest.java | 49 mSettingHelper.get().openSetting(SettingsConstants.SYSTEM_SETTINGS); in openSystemStorageFacet() 52 mSettingHelper.get().checkMenuExists("Languages & input")); in openSystemStorageFacet() 53 mSystemSettingsHelper.get().openStorageMenu(); in openSystemStorageFacet() 58 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 66 .get() in testMusicAndAudio() 71 .get() in testMusicAndAudio() 74 .get() in testMusicAndAudio() 78 mSettingHelper.get().checkMenuExists("Hide system apps")); in testMusicAndAudio() 86 .get() in testOtherApps() 91 .get() in testOtherApps() [all …]
|
D | SecuritySettingTest.java | 49 mSettingHelper.get().openSetting(SettingsConstants.SECURITY_SETTINGS); in openSecuritySettingFacet() 52 mSettingHelper.get().checkMenuExists("Profile lock")); in openSecuritySettingFacet() 57 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 62 mSecuritySettingsHelper.get().setLockByPassword(PASSWORD); in testLockUnlockDeviceByPassword() 63 assertTrue("Password has not been set", mSecuritySettingsHelper.get().isDeviceLocked()); in testLockUnlockDeviceByPassword() 64 mSecuritySettingsHelper.get().unlockByPassword(PASSWORD); in testLockUnlockDeviceByPassword() 65 mSecuritySettingsHelper.get().removeLock(); in testLockUnlockDeviceByPassword() 67 "Password has not been removed", !mSecuritySettingsHelper.get().isDeviceLocked()); in testLockUnlockDeviceByPassword() 72 mSecuritySettingsHelper.get().setLockByPin(PIN); in testLockUnlockDeviceByPIN() 73 assertTrue("PIN has not been set", mSecuritySettingsHelper.get().isDeviceLocked()); in testLockUnlockDeviceByPIN() [all …]
|
D | AppInfoVerifyUIElementsTest.java | 51 mSettingHelper.get().openSetting(SettingsConstants.APPS_SETTINGS); in openAppInfoFacet() 56 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 57 mSettingHelper.get().exit(); in goBackToSettingsScreen() 65 .get() in testVerifyAppsPermissionUIElements() 67 mAppInfoSettingsHelper.get().showAllApps(); in testVerifyAppsPermissionUIElements() 68 mAppInfoSettingsHelper.get().selectApp(CALENDAR_APP); in testVerifyAppsPermissionUIElements() 72 .get() in testVerifyAppsPermissionUIElements() 77 .get() in testVerifyAppsPermissionUIElements() 82 .get() in testVerifyAppsPermissionUIElements() 87 .get() in testVerifyAppsPermissionUIElements() [all …]
|
D | DateTimeSettingTest.java | 62 mSettingHelper.get().openSetting(SettingsConstants.DATE_AND_TIME_SETTINGS); in openDateTimeFacet() 67 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 72 mDateTimeSettingsHelper.get().setDate(DATE); in testSetDate() 73 assertTrue(mDateTimeSettingsHelper.get().getDate().equals(DATE)); in testSetDate() 78 mDateTimeSettingsHelper.get().setTimeInTwelveHourFormat(HOUR, MINUTE, IS_AM); in testSetTimeTwelveHourFormat() 79 assertTrue(mDateTimeSettingsHelper.get().getTime().matches(FULL_TIME_TWELVE_REGEX)); in testSetTimeTwelveHourFormat() 84 mDateTimeSettingsHelper.get().setTimeInTwentyFourHourFormat(HOUR, MINUTE); in testSetTimeTwentyFourHourFormat() 85 assertTrue(mDateTimeSettingsHelper.get().getTime().equals(FULL_TIME_TWENTYFOUR)); in testSetTimeTwentyFourHourFormat() 90 mDateTimeSettingsHelper.get().setTimeZone(TIME_ZONE); in testSetTimeZone() 91 assertTrue(mDateTimeSettingsHelper.get().getTimeZone().equals(TIME_ZONE_FULL)); in testSetTimeZone() [all …]
|
D | PrivacySettingTest.java | 46 mSettingHelper.get().openSetting(SettingsConstants.PRIVACY_SETTINGS); in openPrivacySetting() 49 mSettingHelper.get().checkMenuExists("Microphone")); in openPrivacySetting() 54 mSettingHelper.get().goBackToSettingsScreen(); in goBackToSettingsScreen() 59 mSettingHelper.get().openMenuWith("Data sharing with Google"); in testActivityControlUserLoggedIn() 60 mSettingHelper.get().openMenuWith("Activity Controls"); in testActivityControlUserLoggedIn() 63 mPrivacySettingsHelper.get().isManageActivityControlOpen()); in testActivityControlUserLoggedIn() 69 mSettingHelper.get().openMenuWith("Data sharing with Google"); in testAutofillServiceNoUserLoggedIn() 70 mSettingHelper.get().openMenuWith("Autofill service from Google"); in testAutofillServiceNoUserLoggedIn() 73 mPrivacySettingsHelper.get().isAccountAddedAutofill()); in testAutofillServiceNoUserLoggedIn() 79 mSettingHelper.get().openMenuWith("Data sharing with Google"); in testAutofillServiceUserLoggedIn() [all …]
|
/platform_testing/tests/automotive/functional/uxrestriction/src/android/platform/tests/ |
D | UxRestrictionTest.java | 53 mHardKeysHelper.get().setDrivingState(DrivingState.MOVING); in enableDrivingMode() 54 mHardKeysHelper.get().setSpeed(SPEED_TWENTY); in enableDrivingMode() 59 mSettingHelper.get().goBackToSettingsScreen(); in disableDrivingMode() 60 mHardKeysHelper.get().setSpeed(SPEED_ZERO); in disableDrivingMode() 61 mHardKeysHelper.get().setDrivingState(DrivingState.PARKED); in disableDrivingMode() 66 mSettingHelper.get().openSetting(SettingsConstants.SOUND_SETTINGS); in testRestrictedSoundSettings() 67 String currentTitle = mSettingHelper.get().getPageTitleText(); in testRestrictedSoundSettings() 70 mSettingHelper.get().checkMenuExists("In-call volume")); in testRestrictedSoundSettings() 71 mSettingHelper.get().openMenuWith("In-call Volume"); in testRestrictedSoundSettings() 72 String newTitle = mSettingHelper.get().getPageTitleText(); in testRestrictedSoundSettings() [all …]
|
D | DrivingOptimizedAppsTest.java | 58 mHardKeysHelper.get().setDrivingState(DrivingState.MOVING); in enableDrivingMode() 59 mHardKeysHelper.get().setSpeed(SPEED_TWENTY); in enableDrivingMode() 64 mAppGridHelper.get().goToHomePage(); in disableDrivingMode() 65 mHardKeysHelper.get().setDrivingState(DrivingState.PARKED); in disableDrivingMode() 70 mAppGridHelper.get().open(); in testOpenSettings() 71 mAppGridHelper.get().openApp("Settings"); in testOpenSettings() 75 .get() in testOpenSettings() 81 mAppGridHelper.get().open(); in testOpenRadio() 82 mAppGridHelper.get().openApp("Radio"); in testOpenRadio() 86 .get() in testOpenRadio() [all …]
|
/platform_testing/tests/automotive/functional/statusbar/src/android/platform/tests/ |
D | NetworkPaletteTest.java | 49 mStatusBarHelper.get().openNetworkPalette(); in openNetworkPalette() 52 mSettingHelper.get().checkMenuExists("Network & internet settings")); in openNetworkPalette() 57 mSettingHelper.get().exit(); in goBackToHomeScreen() 63 if (!mStatusBarHelper.get().isNetworkSwitchEnabled(HOTSPOT)) { in testHotspotName() 64 mStatusBarHelper.get().networkPaletteToggleOnOff(HOTSPOT); in testHotspotName() 68 mStatusBarHelper.get().isHotspotNameDisplayed()); in testHotspotName() 70 mStatusBarHelper.get().networkPaletteToggleOnOff(HOTSPOT); in testHotspotName() 71 assertFalse("Hotspot is enabled", mStatusBarHelper.get().isNetworkSwitchEnabled(HOTSPOT)); in testHotspotName() 77 if (!mSettingHelper.get().isWifiOn()) { in testWifiName() 78 mStatusBarHelper.get().networkPaletteToggleOnOff(WIFI); in testWifiName() [all …]
|
D | BluetoothPaletteTest.java | 40 mStatusBarHelper.get().openBluetoothPalette(); in openBluetoothPalette() 45 mStatusBarHelper.get().turnOnOffBluetooth(true); in testDefaultStatusOfBlueToothPalette() 48 mStatusBarHelper.get().hasBluetoothSwitch()); in testDefaultStatusOfBlueToothPalette() 51 mStatusBarHelper.get().hasToggleOnMessage()); in testDefaultStatusOfBlueToothPalette() 58 mStatusBarHelper.get().turnOnOffBluetooth(false); in testBluetoothDisableMessage() 61 mStatusBarHelper.get().hasToggleOffMessage()); in testBluetoothDisableMessage() 62 mStatusBarHelper.get().turnOnOffBluetooth(true); in testBluetoothDisableMessage() 67 mStatusBarHelper.get().openBluetoothSettings(); in testOpenBluetoothSettings() 70 mStatusBarHelper.get().hasBluetoothSettingsPageTitle()); in testOpenBluetoothSettings() 76 mStatusBarHelper.get().open(); in setup()
|
/platform_testing/tests/automotive/snippets/phone/src/com/google/android/mobly/snippet/bundled/ |
D | DialerSnippet.java | 40 mDialerHelper.get().open(); in openPhoneApp() 46 mDialerHelper.get().openDialPad(); in openDialPad() 51 mDialerHelper.get().dialANumber(phoneNumber); in dialANumber() 56 mDialerHelper.get().makeCall(); in makeCall() 61 mDialerHelper.get().endCall(); in endCall() 66 mHardKeysHelper.get().pressEndCallKey(); in endCallWithHardkey() 71 mDialerHelper.get().openCallHistory(); in openCallHistory() 77 mDialerHelper.get().openDialerSettings(); in openDialerSettings() 82 mDialerHelper.get().callContact(contactName); in callContact() 87 return mDialerHelper.get().getConnectedPhoneName(); in getConnectedPhoneName() [all …]
|
D | MediaPlayerSnippet.java | 32 mAutoMediaHelper.get().playMedia(); in playMedia() 37 mAutoMediaHelper.get().pauseMedia(); in pauseMedia() 42 mAutoMediaHelper.get().clickNextTrack(); in clickNextTrack() 47 mAutoMediaHelper.get().clickPreviousTrack(); in clickPreviousTrack() 52 return mAutoMediaHelper.get().getMediaTrackName(); in getMediaTrackName() 57 mAutoMediaHelper.get().minimizeNowPlaying(); in minimizeNowPlaying() 62 mAutoMediaHelper.get().maximizeNowPlaying(); in maximizeNowPlaying() 67 return mAutoMediaHelper.get().isPlaying(); in isPlaying() 72 mAutoMediaHelper.get().openMediaAppMenuItems(); in openMediaAppMenuItems() 77 mAutoMediaHelper.get().open(); in openMediaApp() [all …]
|
D | StatusBarSnippet.java | 36 return mStatusBarHelper.get().isBluetoothButtonEnabled(); in isBluetoothButtonEnabled() 41 return mStatusBarHelper.get().isBluetoothPhoneButtonEnabled(); in isBluetoothPhoneButtonEnabled() 46 return mStatusBarHelper.get().isBluetoothMediaButtonEnabled(); in isBluetoothMediaButtonEnabled() 52 mStatusBarHelper.get().clickOnBluetoothPaletteMediaButton(); in clickOnBluetoothPaletteMediaButton() 57 return mStatusBarHelper.get().isBluetoothConnectedToMobile(); in isBluetoothConnectedToMobile() 62 return mStatusBarHelper.get().isBluetoothDisconnected(); in isBluetoothDisconnected() 67 mStatusBarHelper.get().openBluetoothPalette(); in openBluetoothPalette() 72 mStatusBarHelper.get().clickBluetoothButton(); in clickBluetoothButton() 77 return mStatusBarHelper.get().isBluetoothConnected(); in isBluetoothConnected() 82 mStatusBarHelper.get().open(); in pressHome() [all …]
|
D | SettingsSnippet.java | 45 return mBluetoothSettingsHelper.get().isBluetoothPreferenceChecked(); in isBluetoothPreferenceChecked() 50 return mBluetoothSettingsHelper.get().isMediaPreferenceChecked(); in isMediaPreferenceChecked() 55 return mBluetoothSettingsHelper.get().isMediaPreferenceEnabled(); in isMediaPreferenceEnabled() 60 return mBluetoothSettingsHelper.get().isPhonePreferenceChecked(); in isPhonePreferenceChecked() 65 return mBluetoothSettingsHelper.get().isPhonePreferenceEnabled(); in isPhonePreferenceEnabled() 73 return mBluetoothSettingsHelper.get().getDeviceSummary(); in getDeviceSummary() 78 mSettingsHelper.get().openFullSettings(); in openSystemSettings() 83 mSettingsHelper.get().openSetting(sBluetoothSettings); in openBluetoothSettings() 89 mBluetoothSettingsHelper.get().pressPhoneToggleOnDevice(deviceName); in pressPhoneToggleOnDevice() 94 mBluetoothSettingsHelper.get().pressBluetoothToggleOnDevice(deviceName); in pressBluetoothToggleOnDevice() [all …]
|
/platform_testing/tests/automotive/functional/notifications/src/android/platform/tests/ |
D | NotificationTest.java | 54 mNotificationMockingHelper.get().clearAllNotification(); in clearAllNotification() 59 mNotificationHelper.get().exit(); in exit() 64 mNotificationHelper.get().open(); in testOpenCloseNotification() 65 assertTrue("Notification did not open.", mNotificationHelper.get().isAppInForeground()); in testOpenCloseNotification() 66 mNotificationHelper.get().exit(); in testOpenCloseNotification() 67 assertFalse("Notification did not close.", mNotificationHelper.get().isAppInForeground()); in testOpenCloseNotification() 72 mNotificationMockingHelper.get().postNotifications(1); in testClearAllNotification() 73 mNotificationHelper.get().tapClearAllBtn(); in testClearAllNotification() 74 mNotificationHelper.get().exit(); in testClearAllNotification() 77 mNotificationHelper.get().checkNotificationExists(NOTIFICATION_TITLE)); in testClearAllNotification() [all …]
|
/platform_testing/tests/automotive/functional/appgrid/src/android/platform/tests/ |
D | AppGridTest.java | 43 mAppGridHelper.get().exit(); in testOpen() 44 assertFalse("App Grid is open even after exit.", mAppGridHelper.get().isAppInForeground()); in testOpen() 46 mAppGridHelper.get().open(); in testOpen() 47 assertTrue("App Grid is not open.", mAppGridHelper.get().isAppInForeground()); in testOpen() 53 mAppGridHelper.get().open(); in testExit() 54 assertTrue("App Grid is not open.", mAppGridHelper.get().isAppInForeground()); in testExit() 56 mAppGridHelper.get().exit(); in testExit() 57 assertFalse("App Grid is open even after exit.", mAppGridHelper.get().isAppInForeground()); in testExit() 63 mAppGridHelper.get().exit(); in testScroll() 64 mAppGridHelper.get().open(); in testScroll() [all …]
|
/platform_testing/libraries/collectors-helper/lyric/test/src/com/android/helpers/ |
D | LyricMemProfilerHelperTest.java | 245 assertThat(metrics.get("nativeHeap")).isGreaterThan(0); in testParsePid() 246 assertThat(metrics.get("totalPss")).isGreaterThan(0); in testParsePid() 248 assertThat(metrics.get("CameraProviderNativeHeap")).isGreaterThan(0); in testParsePid() 249 assertThat(metrics.get("CameraProviderTotalPss")).isGreaterThan(0); in testParsePid() 251 assertThat(metrics.get("CameraServerNativeHeap")).isGreaterThan(0); in testParsePid() 252 assertThat(metrics.get("CameraServerTotalPss")).isGreaterThan(0); in testParsePid() 254 assertThat(metrics.get("CameraAppNativeHeap")).isGreaterThan(0); in testParsePid() 255 assertThat(metrics.get("CameraAppTotalPss")).isGreaterThan(0); in testParsePid() 390 assertThat(metrics.get("nativeHeap")).isEqualTo(377584); in testProcessOutput() 391 assertThat(metrics.get("totalPss")).isEqualTo(550123); in testProcessOutput() [all …]
|
/platform_testing/tests/automotive/functional/mediacenter/src/android/platform/tests/ |
D | MediaTestAppTest.java | 56 sAutoHomeHelper.get().openMediaWidget(); in setup() 57 sMediaCenterHelper.get().openMediaAppMenuItems(); in setup() 60 && mMediaTestApp.get() != null && !mMediaTestApp.get().isEmpty()) { in setup() 61 mediaAppName = mMediaTestApp.get(); in setup() 63 sMediaCenterHelper.get().openApp(mediaAppName); in setup() 65 sMediaCenterHelper.get().getMediaAppTitle().equals(mediaAppName)); in setup() 66 sMediaCenterHelper.get().openMediaAppSettingsPage(); in setup() 67 sTestMediaAppHelper.get().loadMediaInLocalMediaTestApp(); in setup() 72 sMediaCenterHelper.get().playMedia(); in testPlayPauseMedia() 73 assertTrue("Song not playing.", sMediaCenterHelper.get().isPlaying()); in testPlayPauseMedia() [all …]
|
/platform_testing/tests/automotive/functional/AdminUserGrantPermissions/src/android/platform/tests/ |
D | GrantPermissionsToNonAdminUserTest.java | 55 mSettingHelper.get().goBackToSettingsScreen(); in goBackToHomeScreen() 66 mSettingHelper.get().openSetting(SettingsConstants.PROFILE_ACCOUNT_SETTINGS); in testOpenPermissionsPageOfNonAdmin() 67 mUsersHelper.get().openPermissionsPage(USER_NAME); in testOpenPermissionsPageOfNonAdmin() 73 (mUsersHelper.get().isToggleOn(AutomotiveConfigConstants.CREATE_NEW_PROFILE_SWITCH)) in testToggleOffAllPermissionsAndCheck() 75 .get() in testToggleOffAllPermissionsAndCheck() 78 (mUsersHelper.get().isToggleOn(AutomotiveConfigConstants.MAKE_PHONE_CALLS_SWITCH)) in testToggleOffAllPermissionsAndCheck() 80 .get() in testToggleOffAllPermissionsAndCheck() 83 (mUsersHelper.get().isToggleOn(AutomotiveConfigConstants.INSTALL_NEW_APPS_SWITCH)) in testToggleOffAllPermissionsAndCheck() 85 .get() in testToggleOffAllPermissionsAndCheck() 88 (mUsersHelper.get().isToggleOn(AutomotiveConfigConstants.UNINSTALL_APPS_SWITCH)) in testToggleOffAllPermissionsAndCheck() [all …]
|
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/ |
D | HeapDumpHelperTest.java | 66 assertTrue(metrics.get("managed_heapdump_empty_files_count").equalsIgnoreCase("0")); in testHeapDumpCollectionNoProcess() 67 assertTrue(metrics.get("native_heapdump_empty_files_count").equalsIgnoreCase("0")); in testHeapDumpCollectionNoProcess() 76 assertTrue(metrics.get("managed_heapdump_empty_files_count").equalsIgnoreCase("0")); in testSuccessfulHeapDumpCollection() 77 assertTrue(metrics.get("native_heapdump_empty_files_count").equalsIgnoreCase("0")); in testSuccessfulHeapDumpCollection() 79 metrics.get("managed_heapdump_file_1") in testSuccessfulHeapDumpCollection() 92 assertTrue(metrics.get("managed_heapdump_empty_files_count").equalsIgnoreCase("1")); in testHeapCollectionProcessWithSpecialChars() 93 assertTrue(metrics.get("native_heapdump_empty_files_count").equalsIgnoreCase("0")); in testHeapCollectionProcessWithSpecialChars() 95 metrics.get("managed_heapdump_file_1") in testHeapCollectionProcessWithSpecialChars() 109 assertTrue(metrics.get("managed_heapdump_empty_files_count").equalsIgnoreCase("0")); in testSuccessfulHeapDumpCollectionForTwoProcesses() 110 assertTrue(metrics.get("native_heapdump_empty_files_count").equalsIgnoreCase("0")); in testSuccessfulHeapDumpCollectionForTwoProcesses() [all …]
|
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/ |
D | BusinessLogicTest.java | 136 String description = bl.mRules.get("testCaseName1").get(0).getDescription(); in testCorrectLogic() 138 List<BusinessLogicRule> rulesList1 = bl.mRules.get("testCaseName1").get(0).getRules(); in testCorrectLogic() 140 BusinessLogicRule rule1 = rulesList1.get(0); in testCorrectLogic() 143 BusinessLogicRuleCondition rule1Condition = rule1Conditions.get(0); in testCorrectLogic() 151 rule1Condition.mMethodArgs.get(0)); in testCorrectLogic() 154 BusinessLogicRuleAction rule1Action = rule1Actions.get(0); in testCorrectLogic() 160 rule1Action.mMethodArgs.get(0)); in testCorrectLogic() 162 rule1Action.mMethodArgs.get(1)); in testCorrectLogic() 164 List<BusinessLogicRule> rulesList2 = bl.mRules.get("testCaseName2").get(0).getRules(); in testCorrectLogic() 166 BusinessLogicRule rule2 = rulesList2.get(0); in testCorrectLogic() [all …]
|