Home | History | Annotate | Download | only in devicepolicy

Lines Matching defs:returned

1146             Bundle returned = dpm.getApplicationRestrictions(admin1, "pkg1");
1147 assertNotNull(returned);
1148 assertEquals(returned.size(), 1);
1149 assertEquals(returned.get("KEY_STRING"), "Foo1");
1153 Bundle returned = dpm.getApplicationRestrictions(admin1, "pkg2");
1154 assertNotNull(returned);
1155 assertEquals(returned.size(), 1);
1156 assertEquals(returned.get("KEY_STRING"), "Foo2");
1377 Bundle returned = dpm.getApplicationRestrictions(null, "pkg1");
1378 assertEquals(1, returned.size(), 1);
1379 assertEquals("Foo1", returned.get("KEY_STRING"));
1392 assertEquals(returned, dpm.getApplicationRestrictions(admin1, "pkg1"));
2314 // reset to default (0 means the admin is not participating, so default should be returned)
2332 // 0 means the admin is not participating, so default should be returned