Home
last modified time | relevance | path

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

/frameworks/base/tools/powermodel/test/com/android/powermodel/
DPowerProfileTest.java80 Assert.assertEquals(9, cpu.clusters[0].frequencies.length, EPSILON); in testReadGood()
81 Assert.assertEquals(100000, cpu.clusters[0].frequencies[0].speedHz); in testReadGood()
82 Assert.assertEquals(0.29f, cpu.clusters[0].frequencies[0].onMa, EPSILON); in testReadGood()
83 Assert.assertEquals(303200, cpu.clusters[0].frequencies[1].speedHz); in testReadGood()
84 Assert.assertEquals(0.63f, cpu.clusters[0].frequencies[1].onMa, EPSILON); in testReadGood()
85 Assert.assertEquals(380000, cpu.clusters[0].frequencies[2].speedHz); in testReadGood()
86 Assert.assertEquals(1.23f, cpu.clusters[0].frequencies[2].onMa, EPSILON); in testReadGood()
87 Assert.assertEquals(476000, cpu.clusters[0].frequencies[3].speedHz); in testReadGood()
88 Assert.assertEquals(1.24f, cpu.clusters[0].frequencies[3].onMa, EPSILON); in testReadGood()
89 Assert.assertEquals(552800, cpu.clusters[0].frequencies[4].speedHz); in testReadGood()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderTest.java173 long[] frequencies = {1, 2, 3, 4, 1, 2, 3, 4}; in testBucketSetup_simple() local
176 frequencies, 4); in testBucketSetup_simple()
179 frequencyBucketCreator.bucketFrequencies(frequencies)); in testBucketSetup_simple()
187 long[] frequencies = {1, 2, 3, 4, 5, 6, 7, 8}; in testBucketSetup_noBig() local
190 frequencies, 4); in testBucketSetup_noBig()
193 frequencyBucketCreator.bucketFrequencies(frequencies)); in testBucketSetup_noBig()
201 long[] frequencies = {1, 2, 3, 4, 5, 1, 2, 3}; in testBucketSetup_moreLittle() local
204 frequencies, 4); in testBucketSetup_moreLittle()
207 frequencyBucketCreator.bucketFrequencies(frequencies)); in testBucketSetup_moreLittle()
215 long[] frequencies = {1, 2, 3, 1, 2, 3, 4, 5}; in testBucketSetup_moreBig() local
[all …]
/frameworks/rs/perf-test-scripts/
Dset-gpu-freq46 frequencies=(`getprop $DIR/devfreq/available_frequencies`)
48 frequencies=(`getprop $DIR/gpu_available_frequencies`)
50 frequencies=(`getprop /d/clock/gbus/possible_rates`)
56 frequencies=( `printf "%s\n" "${frequencies[@]}" | sort -n` )
57 if [ ${frequencies[0]} == "(kHz)" ]; then
58 frequencies=(`printf "%s000\n" "${frequencies[@]:1}"`)
60 minFreq=${frequencies[0]}
61 maxFreq=${frequencies[-1]}
62 echo Frequencies: ${frequencies[@]}
66 freq=`printf "%d\n" "${frequencies[@]}" | awk -v closest=${frequencies[0]} -v target=$targetFreq 'B…
Dget-freq39 frequencies=
55 frequencies=(`getprop $CPU_DIR/$core/cpufreq/scaling_available_frequencies`)
57frequencies=(`adb shell cat $CPU_DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\…
59 frequencies=( `printf "%s\n" "${frequencies[@]}" | sort -n` )
76 frequencies=(`getprop $GPU_DIR/devfreq/available_frequencies`)
78 frequencies=(`getprop $GPU_DIR/gpu_available_frequencies`)
80 frequencies=(`getprop /d/clock/gbus/possible_rates`)
86 frequencies=( `printf "%s\n" "${frequencies[@]}" | sort -n` )
87 if [ ${frequencies[0]} == "(kHz)" ]; then
88 frequencies=(`printf "%s000\n" "${frequencies[@]:1}"`)
Dset-cpu-freq70 frequencies=(`getprop $DIR/$core/cpufreq/scaling_available_frequencies`)
72frequencies=(`adb shell cat $DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\r'`)
74 frequencies=(`printf "%s\n" "${frequencies[@]}" | sort -n`)
77 minFreq=${frequencies[0]}
78 maxFreq=${frequencies[-1]}
82 …freq=`printf "%d\n" "${frequencies[@]}" | awk -v c=${frequencies[0]} -v t=$targetFreq 'BEGIN{d=$0-…
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/
DPnoNetwork.java34 public int[] frequencies; field in PnoNetwork
48 && Arrays.equals(frequencies, network.frequencies) in equals()
58 Arrays.hashCode(frequencies)); in hashCode()
75 out.writeIntArray(frequencies); in writeToParcel()
86 result.frequencies = in.createIntArray();
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReader.java398 public FrequencyBucketCreator(long[] frequencies, int targetNumBuckets) { in FrequencyBucketCreator() argument
399 mNumFrequencies = frequencies.length; in FrequencyBucketCreator()
400 int[] clusterStartIndices = getClusterStartIndices(frequencies); in FrequencyBucketCreator()
431 public int[] bucketFrequencies(long[] frequencies) { in bucketFrequencies() argument
432 Preconditions.checkArgument(frequencies.length == mNumFrequencies); in bucketFrequencies()
435 buckets[i] = (int) frequencies[mBucketStartIndices[i]]; in bucketFrequencies()
447 private static int[] getClusterStartIndices(long[] frequencies) { in getClusterStartIndices() argument
450 for (int i = 0; i < frequencies.length - 1; i++) { in getClusterStartIndices()
451 if (frequencies[i] >= frequencies[i + 1]) { in getClusterStartIndices()
/frameworks/av/include/media/
DMicrophoneInfo.h56 Vector<float> frequencies; in MicrophoneInfo() local
59 frequencies.push_back(characteristic.frequency_responses[0][i]); in MicrophoneInfo()
62 mFrequencyResponses.push_back(frequencies); in MicrophoneInfo()
116 Vector<float> frequencies; in readFromParcel() local
117 RETURN_IF_FAILED(readFloatVector(parcel, &frequencies, frequenciesNum)); in readFromParcel()
122 if (frequencies.size() != responses.size()) { in readFromParcel()
125 mFrequencyResponses.push_back(frequencies); in readFromParcel()
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
DCpuProfile.java34 public Frequency[] frequencies; field in CpuProfile.Cluster
132 cluster.frequencies = new Frequency[speeds.length]; in build()
134 final Frequency freq = cluster.frequencies[j] = new Frequency(); in build()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/
DPnoSettingsTest.java57 mPnoNetwork1.frequencies = TEST_FREQUENCIES_1; in setUp()
62 mPnoNetwork2.frequencies = TEST_FREQUENCIES_2; in setUp()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLastResortWatchdogTest.java93 String[] bssids, int[] frequencies, String[] caps, int[] levels, in createFilteredQnsCandidates() argument
100 bssids[index], caps[index], levels[index], frequencies[index], timeStamp, in createFilteredQnsCandidates()
116 String[] bssids, int[] frequencies, String[] caps, int[] levels, in createFilteredQnsCandidates() argument
124 bssids[index], caps[index], levels[index], frequencies[index], timeStamp, in createFilteredQnsCandidates()
862 int[] frequencies = {2437, 5180, 5180, 2437, 2437, 5180, 5180, 2437}; in testFailureCounting_countFailuresAcrossSsids() local
874 bssids, frequencies, caps, levels, isEphemeral, hasEverConnected); in testFailureCounting_countFailuresAcrossSsids()
1473 int[] frequencies = {2437, 5180, 5180, 2437, 2437}; in testMetricsCollection() local
1481 bssids, frequencies, caps, levels, isEphemeral, hasEverConnected); in testMetricsCollection()
1583 bssids, frequencies, caps, levels, isEphemeral, hasEverConnected); in testMetricsCollection()
1780 int[] frequencies = {2437}; in testIncrementingWatchdogConnectionFailuresAfterTrigger() local
[all …]
DWifiNativeTest.java155 networkList[0].frequencies = TEST_FREQUENCIES_1;
156 networkList[1].frequencies = TEST_FREQUENCIES_2;
241 pnoNet1.frequencies = TEST_FREQUENCIES_2; in testHashCode()
247 pnoNet2.frequencies = TEST_FREQUENCIES_2; in testHashCode()
DWificondControlTest.java193 networkList[0].frequencies = TEST_FREQUENCIES_1;
196 networkList[1].frequencies = TEST_FREQUENCIES_2;
1350 if (!Arrays.equals(mExpectedPnoSettings.networkList[i].frequencies, in matches()
1351 settings.pnoNetworks.get(i).frequencies)) { in matches()
DWifiConfigManagerTest.java2148 assertTrue("frequencies should be empty", pnoNetworks.get(0).frequencies.length == 0); in testRetrievePnoListFrequencies()
2149 assertTrue("frequencies should be empty", pnoNetworks.get(1).frequencies.length == 0); in testRetrievePnoListFrequencies()
2178 assertEquals(2, pnoNetworks.get(0).frequencies.length); in testRetrievePnoListFrequencies()
2179 Arrays.sort(pnoNetworks.get(0).frequencies); in testRetrievePnoListFrequencies()
2180 assertEquals(TEST_FREQUENCY_1, pnoNetworks.get(0).frequencies[0]); in testRetrievePnoListFrequencies()
2181 assertEquals(TEST_FREQUENCY_2, pnoNetworks.get(0).frequencies[1]); in testRetrievePnoListFrequencies()
2182 assertTrue("frequencies should be empty", pnoNetworks.get(1).frequencies.length == 0); in testRetrievePnoListFrequencies()
2206 assertEquals(0, pnoNetworks.get(0).frequencies.length); in testRetrievePnoListFrequenciesFlagDisabled()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiScannerTest.java166 pnoNetwork1.frequencies = TEST_FREQUENCIES_1; in canSerializeAndDeserializePnoSettings()
167 pnoNetwork2.frequencies = TEST_FREQUENCIES_2; in canSerializeAndDeserializePnoSettings()
206 assertTrue(Arrays.equals(expected.frequencies, actual.frequencies)); in canSerializeAndDeserializePnoSettings()
216 assertNotNull(pnoNetwork.frequencies); in pnoNetworkFrequencyIsNotNull()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java626 public int[] frequencies = {}; field in WifiScanner.PnoSettings.PnoNetwork
679 dest.writeIntArray(networkList[i].frequencies); in writeToParcel()
706 network.frequencies = in.createIntArray();
/frameworks/native/cmds/flatland/
DREADME.txt72 flatland is being run. Check that the hardware clock frequencies are
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWificondControl.java747 condNetwork.frequencies = network.frequencies; in startPnoScan()
DWifiNative.java2489 public int[] frequencies; field in WifiNative.PnoNetwork
2501 && Arrays.equals(frequencies, other.frequencies); in equals()
2506 return Objects.hash(ssid, flags, auth_bit_field, frequencies); in hashCode()
DWifiConfigManager.java2751 pnoNetwork.frequencies = channelSet.stream() in retrievePnoNetworkList()
2757 + Arrays.toString(pnoNetwork.frequencies)); in retrievePnoNetworkList()
DWifiVendorHal.java688 pa.frequencies.add(cs.frequency); in makeStaBackgroundScanBucketParametersFromBucketSettings()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java1210 JSONArray frequencies = new JSONArray(); in jsonPostFrequencies() local
1233 frequencies.put(row); in jsonPostFrequencies()
1238 return frequencies; in jsonPostFrequencies()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java1752 nativePnoSetting.networkList[i].frequencies = in convertSettingsToPnoNative()
1753 pnoSettings.networkList[i].frequencies; in convertSettingsToPnoNative()
/frameworks/base/core/proto/android/os/
Dbatterystats.proto210 // All CPU frequencies of the device.
/frameworks/base/cmds/statsd/src/
Datoms.proto4419 * For each uid, we order the time by descending frequencies.
5398 * TODO(mishaw): This is an experimental atom. Issues with big/little CPU frequencies, and
5414 // Report eight different frequencies, and how much time is spent in each frequency. Frequencies
5416 // frequencies are given here as the alternative is sending eight separate atoms. This method