OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mHasFeature
(Results
1 - 25
of
31
) sorted by null
1
2
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
MixedProfileOwnerTest.java
29
if (
mHasFeature
) {
39
if (
mHasFeature
) {
CustomManagedProfileTest.java
30
mHasFeature
=
mHasFeature
&& hasDeviceFeature("android.software.managed_users");
38
if (
mHasFeature
) {
ProfileOwnerTestApi23.java
33
if (
mHasFeature
) {
43
if (
mHasFeature
) {
51
if (!
mHasFeature
) {
DeviceAdminHostSideTestApi23.java
31
if (!
mHasFeature
) {
DeviceAdminHostSideTestApi24.java
31
if (!
mHasFeature
) {
DeviceOwnerTest.java
59
if (
mHasFeature
) {
68
mHasEphemeralUserFeature =
mHasFeature
&& canCreateAdditionalUsers(1) && hasUserSplit();
70
mHasFeature
&& canCreateAdditionalUsers(1) && !hasUserSplit();
71
mHasCreateAndManageUserFeature =
mHasFeature
&& canCreateAdditionalUsers(1);
76
if (
mHasFeature
) {
111
if (!
mHasFeature
|| getMaxNumberOfUsersSupported() < 2) {
290
if (!
mHasFeature
|| getMaxNumberOfUsersSupported() < 2) {
308
if (!
mHasFeature
) {
317
if (!
mHasFeature
) {
329
if (!
mHasFeature
) {
[
all
...]
LauncherAppsProfileTest.java
43
mHasFeature
=
mHasFeature
&& hasDeviceFeature("android.software.managed_users");
44
if (
mHasFeature
) {
61
if (
mHasFeature
) {
69
if (!
mHasFeature
) {
87
if (!
mHasFeature
) {
99
if (!
mHasFeature
) {
112
if (!
mHasFeature
) {
MixedManagedProfileOwnerTest.java
39
mHasFeature
&= hasDeviceFeature("android.software.managed_users");
41
if (
mHasFeature
) {
60
if (
mHasFeature
) {
73
if (!
mHasFeature
) {
107
if (
mHasFeature
) {
127
if (!
mHasFeature
) {
EphemeralUserTest.java
27
mHasFeature
= canCreateAdditionalUsers(1);
38
if (!
mHasFeature
|| !hasUserSplit()) {
48
if (!
mHasFeature
) {
61
if (!
mHasFeature
|| !hasDeviceFeature("android.software.managed_users")
75
if (!
mHasFeature
|| !hasUserSplit()) {
90
if (!
mHasFeature
|| !hasUserSplit()) {
110
if (!
mHasFeature
|| hasUserSplit()) {
ProfileOwnerTest.java
37
if (
mHasFeature
) {
47
if (
mHasFeature
) {
64
if (!
mHasFeature
) {
MixedDeviceOwnerTest.java
35
if (
mHasFeature
) {
47
if (
mHasFeature
) {
DeviceAndProfileOwnerTest.java
97
if (
mHasFeature
) {
117
if (!
mHasFeature
) {
124
if (!
mHasFeature
) {
166
if (!
mHasFeature
) {
174
if (!
mHasFeature
) {
182
if (!
mHasFeature
) {
197
if (!
mHasFeature
) {
213
if (!
mHasFeature
) {
221
if (!
mHasFeature
) {
230
// if (!
mHasFeature
) {
[
all
...]
BaseDeviceAdminHostSideTest.java
79
if (
mHasFeature
) {
87
if (
mHasFeature
) {
111
if (!
mHasFeature
) {
138
if (!
mHasFeature
) {
156
if (!
mHasFeature
) {
UserRestrictionsTest.java
42
if (
mHasFeature
) {
70
if (!
mHasFeature
) {
84
if (!
mHasFeature
) {
103
if (!
mHasFeature
|| !mSupportsMultiUser) {
121
if (!
mHasFeature
|| !mSupportsMultiUser) {
168
if (!
mHasFeature
|| !mSupportsMultiUser) {
CustomDeviceOwnerTest.java
60
if (
mHasFeature
) {
69
if (!
mHasFeature
) {
99
if (!
mHasFeature
|| getMaxNumberOfUsersSupported() < 2) {
116
if (!
mHasFeature
) {
135
if (!
mHasFeature
) {
ManagedProfileTest.java
85
mHasFeature
=
mHasFeature
&& hasDeviceFeature(
89
if (
mHasFeature
) {
104
if (
mHasFeature
) {
114
if (!
mHasFeature
) {
126
if (!
mHasFeature
) {
145
fail(
mHasFeature
? "Device must allow creating only one managed profile"
154
if (!
mHasFeature
|| !hasDeviceFeature(FEATURE_WIFI)) {
172
if (!
mHasFeature
) {
194
if (!
mHasFeature
) {
[
all
...]
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
SystemUpdatePolicyTest.java
44
private boolean
mHasFeature
;
49
mHasFeature
= Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP_MR1;
51
if (
mHasFeature
) {
60
if (
mHasFeature
) {
68
if (!
mHasFeature
) {
75
if (!
mHasFeature
) {
82
if (!
mHasFeature
) {
89
if (!
mHasFeature
) {
96
if (!
mHasFeature
) {
/cts/tests/tests/net/src/android/net/cts/
AirplaneModeTest.java
33
private boolean
mHasFeature
;
40
mHasFeature
= (mContext.getPackageManager().hasSystemFeature(FEATURE_BLUETOOTH)
46
if (!
mHasFeature
) {
TheaterModeTest.java
32
private boolean
mHasFeature
;
39
mHasFeature
= (mContext.getPackageManager().hasSystemFeature(FEATURE_BLUETOOTH)
45
if (!
mHasFeature
) {
/cts/tests/tests/provider/src/android/provider/cts/
BlockedNumberBackupRestoreTest.java
46
private boolean
mHasFeature
;
56
mHasFeature
= isFeatureSupported();
58
if (
mHasFeature
) {
71
if (
mHasFeature
) {
83
if (!
mHasFeature
) {
104
if (!
mHasFeature
) {
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/
BatterySaverModeTest.java
42
mHasFeature
= mContext.getPackageManager().hasSystemFeature(FEATURE_VOICE_RECOGNIZERS);
46
if (!
mHasFeature
) {
AirplaneModeTest.java
41
mHasFeature
= mContext.getPackageManager().hasSystemFeature(FEATURE_VOICE_RECOGNIZERS);
49
if (!
mHasFeature
) {
ZenModeTest.java
40
mHasFeature
= mContext.getPackageManager().hasSystemFeature(FEATURE_VOICE_RECOGNIZERS);
54
if (!
mHasFeature
) {
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
VoiceInteractionTest.java
46
protected boolean
mHasFeature
;
58
mHasFeature
= mContext.getPackageManager().hasSystemFeature(FEATURE_VOICE_RECOGNIZERS);
59
if (
mHasFeature
) {
67
if (
mHasFeature
&& mReceiver != null) {
92
if (!
mHasFeature
) {
/cts/libs/deviceutil/src/android/cts/util/
BroadcastTestBase.java
45
protected boolean
mHasFeature
;
54
mHasFeature
= false;
59
if (
mHasFeature
&& mActivityDoneReceiver != null) {
Completed in 207 milliseconds
1
2