Home
last modified time | relevance | path

Searched refs:deps (Results 1 – 25 of 150) sorted by relevance

123456

/packages/modules/Connectivity/tests/unit/java/com/android/metrics/
DNetworkNsdReportedMetricsTest.kt39 private val deps = mock(NetworkNsdReportedMetrics.Dependencies::class.java) constant
44 doReturn(random).`when`(deps).makeRandomGenerator() in setUp()
52 val metrics = NetworkNsdReportedMetrics(clientId, deps) in testReportServiceRegistrationSucceeded()
56 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceRegistrationSucceeded()
72 val metrics = NetworkNsdReportedMetrics(clientId, deps) in testReportServiceRegistrationFailed()
76 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceRegistrationFailed()
96 val metrics = NetworkNsdReportedMetrics(clientId, deps) in testReportServiceUnregistration()
102 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceUnregistration()
121 val metrics = NetworkNsdReportedMetrics(clientId, deps) in testReportServiceDiscoveryStarted()
125 verify(deps).statsWrite(eventCaptor.capture()) in testReportServiceDiscoveryStarted()
[all …]
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DCursorPreviewsInteractorTest.kt130 ) { deps -> in <lambda>() method
132 cursorPreviewsInteractor.launch(deps.cursor, deps.initialPreviews) in <lambda>()
170 ) { deps -> in <lambda>() method
172 cursorPreviewsInteractor.launch(deps.cursor, deps.initialPreviews) in <lambda>()
203 ) { deps -> in <lambda>() method
205 cursorPreviewsInteractor.launch(deps.cursor, deps.initialPreviews) in <lambda>()
235 ) { deps -> in <lambda>() method
237 cursorPreviewsInteractor.launch(deps.cursor, deps.initialPreviews) in <lambda>()
257 ) { deps -> in <lambda>() method
259 cursorPreviewsInteractor.launch(deps.cursor, deps.initialPreviews) in <lambda>()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsRecordRepositoryTest.kt143 private val deps = object : Dependencies() { constant in com.android.server.connectivity.mdns.MdnsRecordRepositoryTest
162 deps.resetElapsedRealTime(); in setUp()
184 val repository = MdnsRecordRepository(thread.looper, deps, TEST_HOSTNAME, makeFlags()) in makeFlags()
219 val repository = MdnsRecordRepository(thread.looper, deps, TEST_HOSTNAME, makeFlags()) in testAddAndConflicts()
231 val repository = MdnsRecordRepository(thread.looper, deps, TEST_HOSTNAME, makeFlags()) in testAddAndUpdates()
265 val repository = MdnsRecordRepository(thread.looper, deps, TEST_HOSTNAME, makeFlags()) in testInvalidReuseOfServiceId()
274 val repository = MdnsRecordRepository(thread.looper, deps, TEST_HOSTNAME, makeFlags()) in testHasActiveService()
291 val repository = MdnsRecordRepository(thread.looper, deps, TEST_HOSTNAME, makeFlags()) in testExitAnnouncements()
321 val repository = MdnsRecordRepository(thread.looper, deps, TEST_HOSTNAME, makeFlags()) in testExitAnnouncements_WithSubtypes()
363 val repository = MdnsRecordRepository(thread.looper, deps, TEST_HOSTNAME, makeFlags()) in testExitingServiceReAdded()
[all …]
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsRecorderTest.java114 final NetworkStatsMetricsLogger.Dependencies deps = in testFileReadingMetrics_empty() local
116 final NetworkStatsMetricsLogger logger = new NetworkStatsMetricsLogger(deps); in testFileReadingMetrics_empty()
119 verify(deps).writeRecorderFileReadingStats( in testFileReadingMetrics_empty()
134 verify(deps).writeRecorderFileReadingStats( in testFileReadingMetrics_empty()
160 final NetworkStatsMetricsLogger.Dependencies deps = in testFileReadingMetrics() local
162 final NetworkStatsMetricsLogger logger = new NetworkStatsMetricsLogger(deps); in testFileReadingMetrics()
165 verify(deps).writeRecorderFileReadingStats( in testFileReadingMetrics()
191 final NetworkStatsMetricsLogger.Dependencies deps = in testFileReadingMetrics_fileAttributes() local
193 final NetworkStatsMetricsLogger logger = new NetworkStatsMetricsLogger(deps); in testFileReadingMetrics_fileAttributes()
196 verify(deps).writeRecorderFileReadingStats( in testFileReadingMetrics_fileAttributes()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DIkeAlarm.java53 static IkeAlarm newExactAlarm(IkeAlarmConfig alarmConfig, Dependencies deps) { in newExactAlarm() argument
54 return new IkeAlarmWithListener(alarmConfig, deps); in newExactAlarm()
67 static IkeAlarm newExactAndAllowWhileIdleAlarm(IkeAlarmConfig alarmConfig, Dependencies deps) { in newExactAndAllowWhileIdleAlarm() argument
68 if (deps.getMyUid() == Process.SYSTEM_UID) { in newExactAndAllowWhileIdleAlarm()
71 return new IkeAlarmWithListener(alarmConfig, deps); in newExactAndAllowWhileIdleAlarm()
164 IkeAlarmWithListener(IkeAlarmConfig alarmConfig, Dependencies deps) { in IkeAlarmWithListener() argument
168 mWakeupMsg = deps.newWakeMessage(alarmConfig); in IkeAlarmWithListener()
/packages/modules/Bluetooth/system/gd/dumpsys/bundler/
Dbundler.gni101 deps = [ ":${action_name}" ]
102 if (defined(invoker.deps)) {
103 deps += invoker.deps
116 forward_variables_from(invoker, [ "deps" ])
117 assert(defined(deps), "deps must be set")
123 foreach(s, deps) {
/packages/services/Car/tools/telemetry/lua-interpreter/
DBUILD20 deps = ["@lua//:lua_library"],
28 deps = ["@lua//:lua_library"],
56 deps = [requirement("Flask")],
70 deps = [requirement("Flask")],
/packages/modules/Bluetooth/system/gd/os/
DBUILD.gn28 deps = [
47 deps = [
70 deps = [ "//bt/system/gd:gd_default_deps" ]
73 deps += [ ":BluetoothOsSources_chromeos" ]
75 deps += [ ":BluetoothOsSources_linux" ]
/packages/modules/Bluetooth/system/stack/mmc/
DBUILD.gn20 deps = [
31 deps += [
92 deps = [
98 deps += [ "//bt/system/stack/mmc/codec_server:libcodec_server_a2dp_aac" ]
107 deps = [
138 deps = [
167 deps = [
/packages/modules/Bluetooth/system/gd/rust/shim/
DBUILD.gn26 deps = [ ":cxxlibheader" ]
31 deps = [ ":init_flags_bridge_header" ]
36 deps = []
40 deps = [
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java111 public BpfCoordinatorShimImpl(@NonNull final Dependencies deps) { in BpfCoordinatorShimImpl() argument
112 mLog = deps.getSharedLog().forSubComponent(TAG); in BpfCoordinatorShimImpl()
114 mBpfDownstream4Map = deps.getBpfDownstream4Map(); in BpfCoordinatorShimImpl()
115 mBpfUpstream4Map = deps.getBpfUpstream4Map(); in BpfCoordinatorShimImpl()
116 mBpfDownstream6Map = deps.getBpfDownstream6Map(); in BpfCoordinatorShimImpl()
117 mBpfUpstream6Map = deps.getBpfUpstream6Map(); in BpfCoordinatorShimImpl()
118 mBpfStatsMap = deps.getBpfStatsMap(); in BpfCoordinatorShimImpl()
119 mBpfLimitMap = deps.getBpfLimitMap(); in BpfCoordinatorShimImpl()
120 mBpfDevMap = deps.getBpfDevMap(); in BpfCoordinatorShimImpl()
/packages/modules/Bluetooth/system/gd/rust/topshim/
DBUILD.gn37 deps = [ ":cxxlibheader" ]
53 deps = [
79 deps = [
91 deps = []
95 deps = [
/packages/modules/Bluetooth/system/
DBUILD.gn24 deps = [ ":bluetooth" ]
27 #deps += [ ":bluetooth_tests" ]
33 deps = [
43 #deps = [
57 deps = [
65 deps = [
138 deps = [
/packages/modules/Bluetooth/system/gd/metrics/
DBUILD.gn24 deps = [ "//bt/system/gd:gd_default_deps" ]
50 deps = [ "//bt/system/gd:gd_default_deps" ]
53 deps += [ ":BluetoothMetricsSources_chromeos" ]
55 deps += [ ":BluetoothMetricsSources_linux" ]
/packages/modules/Connectivity/Tethering/apishim/common/com/android/networkstack/tethering/apishim/common/
DBpfCoordinatorShim.java40 public static BpfCoordinatorShim getBpfCoordinatorShim(@NonNull final Dependencies deps) { in getBpfCoordinatorShim() argument
41 if (deps.isAtLeastS()) { in getBpfCoordinatorShim()
43 deps); in getBpfCoordinatorShim()
46 deps); in getBpfCoordinatorShim()
/packages/modules/Bluetooth/system/gd/security/
DBUILD.gn22 deps = [ "//bt/system/gd:gd_default_deps" ]
31 deps = [ "//bt/system/gd:gd_default_deps" ]
40 deps = [ "//bt/system/gd:gd_default_deps" ]
58 deps = [
/packages/modules/Virtualization/microdroid/
DAndroid.bp56 "deps",
69 deps: [
114 deps: [
123 deps: [
138 deps: [
143 deps: [
163 deps: ["derive_microdroid_vendor_dice_node"],
171 deps: [
325 deps: [
351 deps: [
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSLocalAgentTests.kt113 deps.setBuildSdk(VERSION_V) in keepScore()
129 deps.setBuildSdk(VERSION_V) in keepScore()
158 deps.setBuildSdk(VERSION_V) in keepScore()
245 deps.setBuildSdk(VERSION_V) in keepScore()
285 deps.setBuildSdk(VERSION_V) in keepScore()
321 deps.setBuildSdk(VERSION_V) in keepScore()
373 deps.setBuildSdk(VERSION_V) in keepScore()
425 deps.setBuildSdk(VERSION_V) in keepScore()
482 deps.setBuildSdk(VERSION_V) in keepScore()
547 deps.setBuildSdk(VERSION_V) in keepScore()
[all …]
/packages/modules/Bluetooth/system/gd/packet/parser/
Dflex.gni56 deps = [ ":${action_name}" ]
58 if (defined(invoker.deps)) {
59 deps += invoker.deps
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringDependencies.java59 @NonNull BpfCoordinator.Dependencies deps) { in makeBpfCoordinator()
60 return new BpfCoordinator(deps); in makeBpfCoordinator()
75 @NonNull SharedLog log, @NonNull OffloadController.Dependencies deps) { in makeOffloadController() argument
79 getContext().getContentResolver(), statsManager, log, deps); in makeOffloadController()
/packages/modules/common/tools/
Dcheck_allowed_deps.py20 deps = set()
30 deps.add(dep)
31 return deps
/packages/apps/Camera2/src/com/android/camera/async/
DObservableCombiner.java67 ArrayList<I> deps = new ArrayList<>(); in transform()
69 deps.add(dependency.get()); in transform()
71 return function.apply(deps); in transform()
/packages/modules/Bluetooth/system/gd/hal/
DBUILD.gn27 deps = [ "//bt/system/gd:gd_default_deps" ]
44 deps = [ "//bt/system/gd:gd_default_deps" ]
53 deps = [ "//bt/system/gd:gd_default_deps" ]
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackServiceTest.kt83 private val deps = mock(Dependencies::class.java).apply { in <lambda>() constant
101 private val connector = NetworkStackConnector(context, permChecker, deps)
169 verify(deps).makeDhcpServer(any(), eq(TEST_IFACE), any(), any()) in prepareDumpVersionTest()
186 verify(deps).makeNetworkMonitor(any(), any(), eq(Network(123)), any(), any()) in prepareDumpVersionTest()
198 verify(deps).makeIpClient(any(), eq(TEST_IFACE), any(), any()) in prepareDumpVersionTest()
/packages/modules/Bluetooth/system/device/
DBUILD.gn35 deps = [
47 deps = [
71 deps = [

123456