/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | SearchBot.java | 138 return findObject(mTargetPackage + ":id/option_menu_search"); in findSearchView() 142 return findObject(mTargetPackage + ":id/option_menu_search", in findSearchViewTextField() 143 mTargetPackage + ":id/search_src_text"); in findSearchViewTextField() 147 return findObject(mTargetPackage + ":id/option_menu_search", in findSearchViewClearButton() 148 mTargetPackage + ":id/search_close_btn"); in findSearchViewClearButton() 152 return findObject(mTargetPackage + ":id/search_view"); in findFragmentSearchView() 156 return findObject(mTargetPackage + ":id/search_view", in findFragmentSearchViewTextField() 157 mTargetPackage + ":id/search_src_text"); in findFragmentSearchViewTextField() 161 return findObject(mTargetPackage + ":id/search_view", in findFragmentSearchClearButton() 162 mTargetPackage + ":id/search_close_btn"); in findFragmentSearchClearButton() [all …]
|
D | DirectoryListBot.java | 72 mDirContainerId = mTargetPackage + ":id/container_directory"; in DirectoryListBot() 73 mDirListId = mTargetPackage + ":id/dir_list"; in DirectoryListBot() 74 mItemRootId = mTargetPackage + ":id/item_root"; in DirectoryListBot() 75 mPreviewId = mTargetPackage + ":id/preview_icon"; in DirectoryListBot() 159 mTargetPackage + ":id/message_textview"); in findHeaderMessageTextView() 165 mTargetPackage + ":id/button_dismiss"); in findHeaderMessageButton() 171 mTargetPackage + ":id/message"); in findPlaceholderMessageTextView() 212 .equals(mTargetPackage + ":id/icon_check"); in isDocumentSelected() 248 findObject(mTargetPackage + ":id/snackbar_action"); in clickSnackbarAction()
|
D | SidebarBot.java | 52 mRootListId = mTargetPackage + ":id/roots_list"; in SidebarBot() 60 mTargetPackage + ":id/container_roots").childSelector( in findRoot() 79 mTargetPackage + ":id/container_roots").childSelector( in openDrawer() 86 mTargetPackage + ":id/toolbar").childSelector( in openDrawer()
|
D | Bots.java | 74 public final String mTargetPackage; field in Bots.BaseBot 80 mTargetPackage = in BaseBot()
|
D | InspectorBot.java | 45 new UiSelector().resourceId(mTargetPackage + ":id/inspector_details_view"); in assertTitle() 47 detailView.resourceId(mTargetPackage + ":id/inspector_header_title"); in assertTitle()
|
D | GestureBot.java | 53 mDirContainerId = mTargetPackage + ":id/container_directory"; in GestureBot() 54 mDirListId = mTargetPackage + ":id/dir_list"; in GestureBot()
|
D | UiBot.java | 210 By.res(mTargetPackage + ":id/action_mode_bar")), mTimeout); in waitForActionModeBarToAppear()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BackgroundActivityPreferenceController.java | 56 private String mTargetPackage; field in BackgroundActivityPreferenceController 74 mTargetPackage = packageName; in BackgroundActivityPreferenceController() 86 .checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, mUid, mTargetPackage); in updateState() 87 final boolean whitelisted = mPowerWhitelistBackend.isWhitelisted(mTargetPackage); in updateState() 89 || Utils.isProfileOrDeviceOwner(mUserManager, mDpm, mTargetPackage)) { in updateState() 99 return mTargetPackage != null; in isAvailable() 111 .checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, mUid, mTargetPackage); in handlePreferenceTreeClick() 120 if (mPowerWhitelistBackend.isWhitelisted(mTargetPackage)) { in updateSummary() 125 .checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, mUid, mTargetPackage); in updateSummary() 140 .setPackageName(mTargetPackage) in showDialog()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BackgroundActivityPreferenceController.java | 56 private String mTargetPackage; field in BackgroundActivityPreferenceController 74 mTargetPackage = packageName; in BackgroundActivityPreferenceController() 86 .checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, mUid, mTargetPackage); in updateState() 87 final boolean whitelisted = mPowerWhitelistBackend.isWhitelisted(mTargetPackage); in updateState() 89 || Utils.isProfileOrDeviceOwner(mUserManager, mDpm, mTargetPackage)) { in updateState() 99 return mTargetPackage != null; in isAvailable() 111 .checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, mUid, mTargetPackage); in handlePreferenceTreeClick() 120 if (mPowerWhitelistBackend.isWhitelisted(mTargetPackage)) { in updateSummary() 125 .checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, mUid, mTargetPackage); in updateSummary() 140 .setPackageName(mTargetPackage) in showDialog()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/accounts/ |
D | AccountsSettingsTest.java | 48 private String mTargetPackage; field in AccountsSettingsTest 54 mTargetPackage = mContext.getPackageName(); in setUp() 81 .setPackage(mTargetPackage) in launchAccountsSettings() 86 new UiSelector().packageName(mTargetPackage).scrollable(true)); in launchAccountsSettings()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/ |
D | PreferenceThemeTest.java | 47 private String mTargetPackage; field in PreferenceThemeTest 53 mTargetPackage = mTargetContext.getPackageName(); in setUp() 68 .setPackage(mTargetPackage) in launchSetupWizardLockScreen()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/core/ |
D | LifecycleEventHandlingTest.java | 49 private String mTargetPackage; field in LifecycleEventHandlingTest 58 mTargetPackage = mContext.getPackageName(); in setUp() 73 Until.findObject(By.res(mTargetPackage, "main_content")), in launchDashboard_shouldSeeFooter()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | AbstractLauncherUiTest.java | 98 protected String mTargetPackage; field in AbstractLauncherUiTest 146 mTargetPackage = mTargetContext.getPackageName(); in setUp()
|