Searched refs:getPoweredOffFindingMode (Results 1 – 5 of 5) sorted by relevance
203 if (mNearbyManager.getPoweredOffFindingMode() in testsetPoweredOffFindingEphemeralIds()214 if (mNearbyManager.getPoweredOffFindingMode() in testsetPoweredOffFindingEphemeralIds_noPrivilegedPermission()229 if (mNearbyManager.getPoweredOffFindingMode() in testSetAndGetPoweredOffFindingMode_enabled()238 assertThat(mNearbyManager.getPoweredOffFindingMode()) in testSetAndGetPoweredOffFindingMode_enabled()247 if (mNearbyManager.getPoweredOffFindingMode() in testSetAndGetPoweredOffFindingMode_disabled()252 assertThat(mNearbyManager.getPoweredOffFindingMode()) in testSetAndGetPoweredOffFindingMode_disabled()261 if (mNearbyManager.getPoweredOffFindingMode() in testSetPoweredOffFindingMode_noPrivilegedPermission()276 if (mNearbyManager.getPoweredOffFindingMode() in testGetPoweredOffFindingMode_noPrivilegedPermission()281 assertThrows(SecurityException.class, () -> mNearbyManager.getPoweredOffFindingMode()); in testGetPoweredOffFindingMode_noPrivilegedPermission()
106 if (nearbyManager.getPoweredOffFindingMode() in testNearbyManagerSetPoweredOffFindingEphemeralIds_fromPrivilegedApp_succeed()122 if (nearbyManager.getPoweredOffFindingMode() in testNearbyManagerSetPoweredOffFindingEphemeralIds_wrongSize_throwsException()138 if (nearbyManager.getPoweredOffFindingMode() in testNearbyManagerSetGetPoweredOffMode_fromPrivilegedApp_succeed()142 assertThat(nearbyManager.getPoweredOffFindingMode()) in testNearbyManagerSetGetPoweredOffMode_fromPrivilegedApp_succeed()
190 nearbyManager.getPoweredOffFindingMode() in testNearbyManagerGetPoweredOffFindingMode_fromUnTrustedApp_throwsException()
607 public @PoweredOffFindingMode int getPoweredOffFindingMode() { in getPoweredOffFindingMode() method in NearbyManager
62 …Permission(android.Manifest.permission.BLUETOOTH_PRIVILEGED) public int getPoweredOffFindingMode();