Searched refs:hp (Results 1 – 11 of 11) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | MetricsUtils.java | 85 public static int addValueToLogHistogram(long x, SparseIntArray histogram, LogHistParms hp) { in addValueToLogHistogram() argument 86 double logArg = (double) (x - hp.b) / (double) hp.p; in addValueToLogHistogram() 89 bigBucketIndex = (int) (Math.log(logArg) / hp.mLog); in addValueToLogHistogram() 95 } else if (bigBucketIndex >= hp.n) { in addValueToLogHistogram() 96 bigBucketIndex = hp.n - 1; in addValueToLogHistogram() 97 subBucketIndex = hp.s - 1; in addValueToLogHistogram() 99 subBucketIndex = (int) ((x - hp.bb[bigBucketIndex]) / hp.sbw[bigBucketIndex]); in addValueToLogHistogram() 100 if (subBucketIndex >= hp.s) { // probably a rounding error so move to next big bucket in addValueToLogHistogram() 102 if (bigBucketIndex >= hp.n) { in addValueToLogHistogram() 103 bigBucketIndex = hp.n - 1; in addValueToLogHistogram() [all …]
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mopria/ |
D | MopriaRecommendationPlugin.java | 25 import com.android.printservice.recommendation.plugin.hp.MDnsUtils; 26 import com.android.printservice.recommendation.plugin.hp.ServiceRecommendationPlugin; 27 import com.android.printservice.recommendation.plugin.hp.VendorInfo;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | MetricsUtilsTest.java | 188 MetricsUtils.LogHistParms hp, int expectedKey, int expectedValue) { in bucketValueAndVerify() argument 189 MetricsUtils.addValueToLogHistogram(value, h, hp); in bucketValueAndVerify() 193 private void bucketValueAndVerify(String prefix, int value, SparseIntArray h, int[] hp, in bucketValueAndVerify() argument 195 MetricsUtils.addValueToLinearHistogram(value, h, hp); in bucketValueAndVerify()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactoryTest.java | 334 HandoverParams hp = new HandoverParams(ApnSetting.TYPE_MMS, in testHandoverNoLiveData() local 336 AsyncResult ar = new AsyncResult(null, hp, null); in testHandoverNoLiveData() 343 hp = new HandoverParams(ApnSetting.TYPE_MMS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, in testHandoverNoLiveData() 345 ar = new AsyncResult(null, hp, null); in testHandoverNoLiveData()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
D | VendorInfo.java | 17 package com.android.printservice.recommendation.plugin.hp;
|
D | ServiceRecommendationPlugin.java | 17 package com.android.printservice.recommendation.plugin.hp;
|
D | MDnsUtils.java | 17 package com.android.printservice.recommendation.plugin.hp;
|
D | ServiceResolveQueue.java | 17 package com.android.printservice.recommendation.plugin.hp;
|
D | HPRecommendationPlugin.java | 17 package com.android.printservice.recommendation.plugin.hp;
|
D | ServiceListener.java | 17 package com.android.printservice.recommendation.plugin.hp;
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/ |
D | RecommendationServiceImpl.java | 27 import com.android.printservice.recommendation.plugin.hp.HPRecommendationPlugin;
|