Searched refs:hasUserIdAndPackageName (Results 1 – 2 of 2) sorted by relevance
71 assertThat(clientRequest.hasUserIdAndPackageName(USER_ID, SYSTEM_PACKAGE_NAME)).isTrue(); in testClientRequest()72 assertThat(clientRequest.hasUserIdAndPackageName(-1, SYSTEM_PACKAGE_NAME)).isFalse(); in testClientRequest()73 assertThat(clientRequest.hasUserIdAndPackageName(USER_ID, "random.package.name")) in testClientRequest()
109 boolean hasUserIdAndPackageName(int userId, String packageName) { in hasUserIdAndPackageName() method in AmbientContextManagerService.ClientRequest179 if (clientRequest.hasUserIdAndPackageName(userId, packageName)) { in findExistingRequests()190 if (clientRequest.hasUserIdAndPackageName(userId, packageName)) { in getClientRequestObserver()332 if (cr.hasUserIdAndPackageName(userId, packageName)) { in stopAmbientContextEvent()