Searched refs:isSafeOperation (Results 1 – 5 of 5) sorted by relevance
66 localDevicePolicyManager.isSafeOperation( in isSafeOperation_isNotSafe_returnsFalse()77 localDevicePolicyManager.isSafeOperation( in isSafeOperation_isSafe_returnsTrue()
274 fun isSafeOperation(reason: CommonDevicePolicy.OperationSafetyReason): Boolean = in <lambda>() method283 ).use { devicePolicyManager.isSafeOperation(reason.value) } in <lambda>()
338 .isSafeOperation(OPERATION_SAFETY_REASON_DRIVING_DISTRACTION); in devicePolicyManager_returnsUsableInstance()
1823 TestApis.devicePolicy().isSafeOperation(reason))
8131 method public boolean isSafeOperation(int);