Home
last modified time | relevance | path

Searched refs:allowedPackage (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DMyVpnService.java142 String allowedPackage = packageArray[i]; in start() local
143 if (!TextUtils.isEmpty(allowedPackage)) { in start()
145 builder.addAllowedApplication(allowedPackage); in start()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothUtils.java227 for (String allowedPackage : allowedPackages) { in shouldEnableBTScanning()
228 if (TextUtils.equals(callingPackageName, allowedPackage)) { in shouldEnableBTScanning()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchDaoTest.java165 String allowedPackage = "allowed.package"; in testGetAllowedPackages_withOverride() local
166 when(mFlags.getAppsearchWriterAllowListOverride()).thenReturn(allowedPackage); in testGetAllowedPackages_withOverride()
171 assertThat(allowedPackages.get(0)).isEqualTo(allowedPackage); in testGetAllowedPackages_withOverride()