Searched refs:canPackageHandleIntent (Results 1 – 3 of 3) sorted by relevance
64 doReturn(true).when(mController).canPackageHandleIntent(); in getAvailabilityStatus_shouldReturnAvailable()73 doReturn(false).when(mController).canPackageHandleIntent(); in getAvailabilityStatus_canNotHandleIntent_shouldReturnConditionallyUnavailable()81 doReturn(true).when(mController).canPackageHandleIntent(); in getAvailabilityStatus_isNotLocationProvider_shouldReturnConditionallyUnavailable()89 doReturn(false).when(mController).canPackageHandleIntent(); in getAvailabilityStatus_shouldReturnConditionallyUnavailable()98 mController.canPackageHandleIntent(); in canPackageHandleIntent_nullPackageInfo_shouldNotCrash()
49 return if (canPackageHandleIntent() && isLocationProvider()) { in getPreferenceType()99 private fun canPackageHandleIntent(): Boolean = getResolveInfo(/* flags = */ 0) != null in canPackageHandleIntent() method
89 if (canPackageHandleIntent() && isLocationProvider()) { in getAvailabilityStatus()102 boolean canPackageHandleIntent() { in canPackageHandleIntent() method in AppAllServicesPreferenceController