Searched refs:mHasFeature (Results 1 – 10 of 10) sorted by relevance
40 private final boolean mHasFeature; field in RequiredFeatureRule44 mHasFeature = hasFeature(feature); in RequiredFeatureRule()53 if (!mHasFeature) { in apply()58 mHasFeature); in apply()
47 private boolean mHasFeature; field in BlockedNumberBackupRestoreTest58 mHasFeature = isFeatureSupported(); in setUp()61 if (mHasFeature && mIsSystemUser) { in setUp()74 if (mHasFeature && mIsSystemUser) { in tearDown()86 if (!mHasFeature || !mIsSystemUser) { in testBackupAndRestoreForSingleNumber()107 if (!mHasFeature || !mIsSystemUser) { in testBackupAndRestoreWithDeletion()
72 private boolean mHasFeature; field in SmsBackupRestoreTest82 mHasFeature = isFeatureSupported(); in setUp()83 if (mHasFeature) { in setUp()95 if (mHasFeature) { in tearDown()139 if (!mHasFeature) { in testSmsBackupRestore()
89 private boolean mHasFeature; field in DeviceAdminActivationTest101 mHasFeature = mInstrumentation.getContext().getPackageManager().hasSystemFeature( in setUp()112 if (!mHasFeature) { in testActivateGoodReceiverDisplaysActivationUi()128 if (!mHasFeature) { in testActivateBrokenReceiverFails()140 if (!mHasFeature) { in testActivateBrokenReceiver2Fails()152 if (!mHasFeature) { in testActivateBrokenReceiver3Fails()164 if (!mHasFeature) { in testActivateBrokenReceiver4Fails()176 if (!mHasFeature) { in testActivateBrokenReceiver5Fails()188 if (!mHasFeature) { in testNonSystemAppCantBecomeAdmin_withKeyEvent()
72 protected boolean mHasFeature; field in PrivacyDeviceOwnerTest87 mHasFeature = hasDeviceFeature("android.software.device_admin"); in setUp()88 if (!mHasFeature) return; in setUp()107 if (mHasFeature) { in tearDown()122 if (!mHasFeature) { in testDeviceOwnerWithInfo()131 if (!mHasFeature) { in testNonDeviceOwnerWithInfo()139 if (!mHasFeature) { in testDeviceOwnerWithoutInfo()148 if (!mHasFeature) { in testNonDeviceOwnerWithoutInfo()
47 mHasFeature = mContext.getPackageManager().hasSystemFeature(FEATURE_VOICE_RECOGNIZERS); in customSetup()49 Log.v(TAG, "setUp(): mHasFeature=" + mHasFeature + ", original airplane mode=" in customSetup()66 if (!mHasFeature) { in testAll()
38 mHasFeature = mContext.getPackageManager().hasSystemFeature(FEATURE_VOICE_RECOGNIZERS); in customSetup()43 if (!mHasFeature) { in testAll()
66 protected boolean mHasFeature; field in BroadcastTestBase81 mHasFeature = false; in setUp()88 Log.v(TAG, getClass().getSimpleName() + ".tearDown(): hasFeature=" + mHasFeature in tearDown()91 if (mHasFeature && mActivityDoneReceiver != null) { in tearDown()
41 mHasFeature = mContext.getPackageManager().hasSystemFeature(FEATURE_VOICE_RECOGNIZERS); in customSetup()52 if (!mHasFeature) { in testAll()
60 private boolean mHasFeature; field in NumberBlockingTest66 mHasFeature = getDevice().isMultiUserSupported() in setUp()70 if (!mHasFeature) { in setUp()84 if (mHasFeature) { in tearDown()97 if (!mHasFeature) { in testNumberBlocking()