OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:getApplicationRestrictions
(Results
1 - 6
of
6
) sorted by null
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowRestrictionsManager.java
16
* Sets the application restrictions as returned by {@link RestrictionsManager#
getApplicationRestrictions
()}.
26
protected Bundle
getApplicationRestrictions
() {
ShadowUserManager.java
79
protected Bundle
getApplicationRestrictions
(String packageName) {
85
* Sets the value returned by {@link UserManager#
getApplicationRestrictions
(String)}.
ShadowDevicePolicyManager.java
332
protected Bundle
getApplicationRestrictions
(ComponentName admin, String packageName) {
334
return
getApplicationRestrictions
(packageName);
338
public Bundle
getApplicationRestrictions
(String packageName) {
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowRestrictionsManagerTest.java
33
public void
getApplicationRestrictions
() {
34
assertThat(restrictionsManager.
getApplicationRestrictions
()).isNull();
40
assertThat(restrictionsManager.
getApplicationRestrictions
().getCharSequence("test_key")).isEqualTo("test_value");
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
AppRestrictionsDelegateTest.java
98
mDpm.
getApplicationRestrictions
(null, APP_RESTRICTIONS_TARGET_PKG);
106
assertBundle0(mDpm.
getApplicationRestrictions
(null, APP_RESTRICTIONS_TARGET_PKG));
113
assertBundle1(mDpm.
getApplicationRestrictions
(null, APP_RESTRICTIONS_TARGET_PKG));
118
mDpm.
getApplicationRestrictions
(null, APP_RESTRICTIONS_TARGET_PKG).isEmpty());
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
ApplicationRestrictionsTest.java
119
mDevicePolicyManager.
getApplicationRestrictions
(null, APP_RESTRICTIONS_TARGET_PKG);
136
assertBundle0(mDevicePolicyManager.
getApplicationRestrictions
(
138
assertBundle1(mDevicePolicyManager.
getApplicationRestrictions
(
147
assertBundle1(mDevicePolicyManager.
getApplicationRestrictions
(
153
assertTrue(mDevicePolicyManager.
getApplicationRestrictions
(
159
assertTrue(mDevicePolicyManager.
getApplicationRestrictions
(
168
assertBundle0(mDevicePolicyManager.
getApplicationRestrictions
(
176
assertBundle1(mDevicePolicyManager.
getApplicationRestrictions
(
183
mUserManager.
getApplicationRestrictions
(OTHER_PACKAGE);
332
return mUserManager.
getApplicationRestrictions
(mContext.getPackageName())
[
all
...]
Completed in 540 milliseconds