OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DpmTestUtils
(Results
1 - 8
of
8
) sorted by null
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
UserRestrictionsUtilsTest.java
25
import com.android.server.devicepolicy.
DpmTestUtils
;
52
assertFalse(UserRestrictionsUtils.isEmpty(
DpmTestUtils
.newRestrictions("a")));
59
DpmTestUtils
.assertRestrictions(out, new Bundle());
67
Bundle a =
DpmTestUtils
.newRestrictions("a", "d");
68
Bundle b =
DpmTestUtils
.newRestrictions("b", "d", "e");
72
DpmTestUtils
.assertRestrictions(
DpmTestUtils
.newRestrictions("a", "b", "d", "e"), a);
76
DpmTestUtils
.assertRestrictions(
DpmTestUtils
.newRestrictions("a", "b", "d", "e"), a);
125
UserRestrictionsUtils.sortToGlobalAndLocal(
DpmTestUtils
.newRestrictions
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DevicePolicyManagerServiceMigrationTest.java
67
DpmTestUtils
.writeToFile(
69
DpmTestUtils
.readAsset(mRealTestContext,
72
DpmTestUtils
.writeToFile(
74
DpmTestUtils
.readAsset(mRealTestContext,
77
DpmTestUtils
.writeToFile(
79
DpmTestUtils
.readAsset(mRealTestContext,
81
DpmTestUtils
.writeToFile(
83
DpmTestUtils
.readAsset(mRealTestContext,
88
eq(UserHandle.USER_SYSTEM))).thenReturn(
DpmTestUtils
.newRestrictions(
93
eq(10))).thenReturn(
DpmTestUtils
.newRestrictions
[
all
...]
OwnersTest.java
43
DpmTestUtils
.writeToFile(owners.getLegacyConfigFileWithTestOverride(),
44
DpmTestUtils
.readAsset(mRealTestContext, "OwnersTest/test01/input.xml"));
96
DpmTestUtils
.writeToFile(owners.getLegacyConfigFileWithTestOverride(),
97
DpmTestUtils
.readAsset(mRealTestContext, "OwnersTest/test02/input.xml"));
154
DpmTestUtils
.writeToFile(owners.getLegacyConfigFileWithTestOverride(),
155
DpmTestUtils
.readAsset(mRealTestContext, "OwnersTest/test03/input.xml"));
232
DpmTestUtils
.writeToFile(owners.getLegacyConfigFileWithTestOverride(),
233
DpmTestUtils
.readAsset(mRealTestContext, "OwnersTest/test04/input.xml"));
342
DpmTestUtils
.writeToFile(owners.getLegacyConfigFileWithTestOverride(),
343
DpmTestUtils
.readAsset(mRealTestContext, "OwnersTest/test05/input.xml"))
[
all
...]
DpmTestBase.java
72
final PackageInfo pi =
DpmTestUtils
.cloneParcelable(
117
final ApplicationInfo ai =
DpmTestUtils
.cloneParcelable(
149
realResolveInfo.set(0,
DpmTestUtils
.cloneParcelable(realResolveInfo.get(0)));
DpmTestUtils.java
47
public class
DpmTestUtils
extends AndroidTestCase {
102
final T clone = p.readParcelable(
DpmTestUtils
.class.getClassLoader());
DevicePolicyManagerTest.java
303
assertEquals(0,
DpmTestUtils
.getListSizeAllowingNull(
[
all
...]
MockUtils.java
86
final Bundle expected =
DpmTestUtils
.newRestrictions(Preconditions.checkNotNull(keys));
DpmMockContext.java
279
DpmTestUtils
.clearDir(dataDir);
367
DpmTestUtils
.clearDir(dir);
Completed in 401 milliseconds