Home
last modified time | relevance | path

Searched refs:prefixLength (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCommon.java82 int prefixLength = (int) Math.round(PREFIX_LENGTH_S * rate); in prefix() local
83 double[] samplePrefixArray = new double[prefixLength]; in prefix()
84 for (int i = 0; i < prefixLength; i++) { in prefix()
85 double index = (double) i / prefixLength * (prefixArray.length - 1); in prefix()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyVpnService.java68 int prefixLength = Integer.parseInt(prefixAndMask[1]); in start() local
69 builder.addAddress(address, prefixLength); in start()
84 int prefixLength = Integer.parseInt(prefixAndMask[1]); in start() local
85 builder.addRoute(address, prefixLength); in start()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DReflectorVpnService.java147 int prefixLength = Integer.parseInt(prefixAndMask[1]); in start() local
148 builder.addAddress(address, prefixLength); in start()
163 int prefixLength = Integer.parseInt(prefixAndMask[1]); in start() local
164 builder.addRoute(address, prefixLength); in start()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java1851 final int prefixLength = "package:".length(); in getEnabledSystemPackageNames() local
1854 .map(line -> line.substring(prefixLength)) in getEnabledSystemPackageNames()