Home
last modified time | relevance | path

Searched refs:mTargetPackage (Results 1 – 13 of 13) sorted by relevance

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DSearchBot.java138 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 …]
DDirectoryListBot.java72 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()
DSidebarBot.java52 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()
DBots.java74 public final String mTargetPackage; field in Bots.BaseBot
80 mTargetPackage = in BaseBot()
DInspectorBot.java45 new UiSelector().resourceId(mTargetPackage + ":id/inspector_details_view"); in assertTitle()
47 detailView.resourceId(mTargetPackage + ":id/inspector_header_title"); in assertTitle()
DGestureBot.java53 mDirContainerId = mTargetPackage + ":id/container_directory"; in GestureBot()
54 mDirListId = mTargetPackage + ":id/dir_list"; in GestureBot()
DUiBot.java210 By.res(mTargetPackage + ":id/action_mode_bar")), mTimeout); in waitForActionModeBarToAppear()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBackgroundActivityPreferenceController.java56 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/
DBackgroundActivityPreferenceController.java56 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/
DAccountsSettingsTest.java48 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/
DPreferenceThemeTest.java47 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/
DLifecycleEventHandlingTest.java49 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/
DAbstractLauncherUiTest.java98 protected String mTargetPackage; field in AbstractLauncherUiTest
174 mTargetPackage = mTargetContext.getPackageName(); in setUp()