OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:newRestrictions
(Results
1 - 8
of
8
) sorted by null
/developers/build/prebuilts/gradle/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
GetRestrictionsReceiver.java
91
ArrayList<RestrictionEntry>
newRestrictions
= new ArrayList<>();
96
newRestrictions
.add(reBoolean);
100
newRestrictions
.add(reSingleChoice);
104
newRestrictions
.add(reMultiSelect);
106
return
newRestrictions
;
/developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
GetRestrictionsReceiver.java
91
ArrayList<RestrictionEntry>
newRestrictions
= new ArrayList<>();
96
newRestrictions
.add(reBoolean);
100
newRestrictions
.add(reSingleChoice);
104
newRestrictions
.add(reMultiSelect);
106
return
newRestrictions
;
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
GetRestrictionsReceiver.java
91
ArrayList<RestrictionEntry>
newRestrictions
= new ArrayList<>();
96
newRestrictions
.add(reBoolean);
100
newRestrictions
.add(reSingleChoice);
104
newRestrictions
.add(reMultiSelect);
106
return
newRestrictions
;
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DevicePolicyManagerServiceMigrationTest.java
85
eq(UserHandle.USER_SYSTEM))).thenReturn(DpmTestUtils.
newRestrictions
(
90
eq(10))).thenReturn(DpmTestUtils.
newRestrictions
(
99
eq(11))).thenReturn(DpmTestUtils.
newRestrictions
(
152
DpmTestUtils.
newRestrictions
(
158
DpmTestUtils.
newRestrictions
(
168
DpmTestUtils.
newRestrictions
(
179
DpmTestUtils.
newRestrictions
(
186
DpmTestUtils.
newRestrictions
(
192
DpmTestUtils.
newRestrictions
(
214
eq(UserHandle.USER_SYSTEM))).thenReturn(DpmTestUtils.
newRestrictions
(
[
all
...]
DpmTestUtils.java
60
public static Bundle
newRestrictions
(String... restrictions) {
149
final Bundle a =
newRestrictions
();
150
final Bundle b =
newRestrictions
("a");
151
final Bundle c =
newRestrictions
("a");
152
final Bundle d =
newRestrictions
("b", "c");
153
final Bundle e =
newRestrictions
("b", "c");
DevicePolicyManagerTest.java
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
UserRestrictionsUtilsTest.java
20
import static com.android.server.devicepolicy.DpmTestUtils.
newRestrictions
;
55
assertFalse(UserRestrictionsUtils.isEmpty(
newRestrictions
("a")));
70
Bundle a =
newRestrictions
("a", "d");
71
Bundle b =
newRestrictions
("b", "d", "e");
75
assertRestrictions(
newRestrictions
("a", "b", "d", "e"), a);
79
assertRestrictions(
newRestrictions
("a", "b", "d", "e"), a);
131
UserRestrictionsUtils.sortToGlobalAndLocal(
newRestrictions
(
142
assertRestrictions(
newRestrictions
(
155
assertRestrictions(
newRestrictions
(
165
UserRestrictionsUtils.sortToGlobalAndLocal(
newRestrictions
(
[
all
...]
/frameworks/base/services/core/java/com/android/server/pm/
UserManagerService.java
[
all
...]
Completed in 430 milliseconds