Lines Matching refs:getPackage
57 public String getPackage() {
102 UiObject2 tos = mDevice.wait(Until.findObject(By.res(getPackage(), "terms_accept")),
112 By.res(getPackage(), UI_NEGATIVE_BUTTON_ID)), MAX_DIALOG_TRANSITION);
126 By.res(getPackage(), UI_POSITIVE_BUTTON_ID)), MAX_DIALOG_TRANSITION);
133 mDevice.wait(Until.findObject(By.res(getPackage(), UI_SEARCH_BOX_ID)),
202 mDevice.findObject(By.res(getPackage(), "switch_widget")).click();
221 mDevice.findObject(By.res(getPackage(), "switch_widget")).click();
247 By.res(getPackage(), UI_VIEW_HOLDER_ID));
253 UiObject2 urlLoc = mDevice.findObject(By.res(getPackage(), UI_SEARCH_BOX_ID));
257 mDevice.wait(Until.findObject(By.res(getPackage(), UI_URL_BAR_ID)), ANIMATION_TIMEOUT);
262 urlLoc = mDevice.findObject(By.res(getPackage(), UI_URL_BAR_ID));
280 return mDevice.findObject(By.clazz(ListView.class).pkg(getPackage()));
287 } else if (mDevice.hasObject(By.res(getPackage(), "progress"))) {
288 mDevice.wait(Until.gone(By.res(getPackage(), "progress")), PAGE_LOAD_TIMEOUT);
293 return mDevice.hasObject(By.res(getPackage(), "fre_pager"));
301 By.res(getPackage(), UI_POSITIVE_BUTTON_ID)), MAX_DIALOG_TRANSITION);