Searched refs:INVALID_ID (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerFakingPublisherTest.java | 44 private static final String INVALID_ID = field in ShortcutManagerFakingPublisherTest 67 final ShortcutInfo invalid = new ShortcutInfo.Builder(anotherContext, INVALID_ID) in testSpoofingPublisher() 68 .setShortLabel(INVALID_ID) in testSpoofingPublisher() 166 assertFalse("dumpsys shortcut contained invalid ID", s.contains(INVALID_ID)); in assertInvalidShortcutNotCreated()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ArrayAdapterTest.java | 53 private static final int INVALID_ID = -1; field in ArrayAdapterTest 74 new ArrayAdapter<String>(mContext, INVALID_ID); // invalid resource id in testConstructor() 77 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line, INVALID_ID); in testConstructor() 223 mArrayAdapter.setDropDownViewResource(INVALID_ID); in testSetDropDownViewResource() 421 ArrayAdapter.createFromResource(mContext, R.array.string, INVALID_ID); in testCreateFromResource() 431 ArrayAdapter.createFromResource(mContext, INVALID_ID, R.layout.simple_spinner_item); in testCreateFromResourceWithInvalidId()
|
D | AdapterViewTest.java | 69 private final static int INVALID_ID = -1; field in AdapterViewTest 100 new MockAdapterView(mActivity, null, INVALID_ID); in testConstructor()
|
D | RemoteViewsTest.java | 99 private static final int INVALID_ID = -1; field in RemoteViewsTest 160 mRemoteViews = new RemoteViews(PACKAGE_NAME, INVALID_ID); in testGetLayoutId() 161 assertEquals(INVALID_ID, mRemoteViews.getLayoutId()); in testGetLayoutId()
|
/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/ |
D | HostTestHelper.java | 85 if (sessionInfo.getParentSessionId() != PackageInstaller.SessionInfo.INVALID_ID in cleanUp()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 161 if (sessionInfo.getParentSessionId() != PackageInstaller.SessionInfo.INVALID_ID) { in cleanUp()
|