Home
last modified time | relevance | path

Searched refs:NEARBY_SERVICE (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/nearby/tests/integration/untrusted/src/android/nearby/integration/untrusted/
DNearbyManagerTest.kt52 assertThat(appContext.getSystemService(Context.NEARBY_SERVICE)).isNotNull() in testContextGetNearbyService_fromUnTrustedApp_returnsNotNull()
61 val nearbyManager = appContext.getSystemService(Context.NEARBY_SERVICE) as NearbyManager in testNearbyManagerStartScan_fromUnTrustedApp_throwsException()
83 val nearbyManager = appContext.getSystemService(Context.NEARBY_SERVICE) as NearbyManager in testNearbyManagerStopScan_fromUnTrustedApp_logsError()
110 val nearbyManager = appContext.getSystemService(Context.NEARBY_SERVICE) as NearbyManager in testNearbyManagerStartBroadcast_fromUnTrustedApp_throwsException()
139 val nearbyManager = appContext.getSystemService(Context.NEARBY_SERVICE) as NearbyManager in testNearbyManagerStopBroadcast_fromUnTrustedApp_logsError()
160 val nearbyManager = appContext.getSystemService(Context.NEARBY_SERVICE) as NearbyManager in testNearbyManagerSetPoweredOffFindingEphemeralIds_fromUnTrustedApp_throwsException()
174 val nearbyManager = appContext.getSystemService(Context.NEARBY_SERVICE) as NearbyManager in testNearbyManagerSetPoweredOffFindingMode_fromUnTrustedApp_throwsException()
187 val nearbyManager = appContext.getSystemService(Context.NEARBY_SERVICE) as NearbyManager in testNearbyManagerGetPoweredOffFindingMode_fromUnTrustedApp_throwsException()
/packages/modules/Connectivity/nearby/tests/integration/privileged/src/android/nearby/integration/privileged/
DNearbyManagerTest.kt49 assertThat(appContext.getSystemService(Context.NEARBY_SERVICE)).isNotNull() in testContextGetNearbySystemService_fromPrivilegedApp_returnsNoneNull()
55 val nearbyManager = appContext.getSystemService(Context.NEARBY_SERVICE) as NearbyManager in testNearbyManagerStartScanStopScan_fromPrivilegedApp_succeed()
78 val nearbyManager = appContext.getSystemService(Context.NEARBY_SERVICE) as NearbyManager in testNearbyManagerStartBroadcastStopBroadcast_fromPrivilegedApp_succeed()
104 val nearbyManager = appContext.getSystemService(Context.NEARBY_SERVICE) as NearbyManager in testNearbyManagerSetPoweredOffFindingEphemeralIds_fromPrivilegedApp_succeed()
120 val nearbyManager = appContext.getSystemService(Context.NEARBY_SERVICE) as NearbyManager in testNearbyManagerSetPoweredOffFindingEphemeralIds_wrongSize_throwsException()
136 val nearbyManager = appContext.getSystemService(Context.NEARBY_SERVICE) as NearbyManager in testNearbyManagerSetGetPoweredOffMode_fromPrivilegedApp_succeed()
/packages/modules/Connectivity/service-t/src/com/android/server/
DConnectivityServiceInitializer.java89 Log.i(TAG, "Registering " + ConstantsShim.NEARBY_SERVICE); in onStart()
90 publishBinderService(ConstantsShim.NEARBY_SERVICE, mNearbyService, in onStart()
153 Log.i(TAG, "Skipping unsupported service " + ConstantsShim.NEARBY_SERVICE); in createNearbyService()
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DNearbyFrameworkInitializer.java42 Context.NEARBY_SERVICE, in registerServiceWrappers()
DNearbyManager.java60 @SystemService(Context.NEARBY_SERVICE)
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DConstantsShim.java57 public static final String NEARBY_SERVICE = "nearby"; field in ConstantsShim
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/
DNearbyFrameworkInitializerTest.java41 assertThat(ctx.getSystemService(Context.NEARBY_SERVICE)).isNotNull(); in testServicesRegistered()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/presence/
DPresenceManager.java132 .getSystemService(Context.NEARBY_SERVICE); in getNearbyManager()