Home
last modified time | relevance | path

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

1234567

/frameworks/base/tools/powermodel/src/com/android/powermodel/
DAppList.java68 final AttributionKey attribution = app.getAttribution(); in build() local
71 if (attribution.isSpecialApp()) { in build()
72 specialApps.put(attribution.getSpecialApp(), appActivity); in build()
83 public BUILDER get(AttributionKey attribution) { in get() argument
84 return mApps.get(attribution); in get()
87 public BUILDER put(AttributionKey attribution, BUILDER app) { in put() argument
88 return mApps.put(attribution, app); in put()
DComponentActivity.java24 public AttributionKey attribution; field in ComponentActivity
26 protected ComponentActivity(AttributionKey attribution) { in ComponentActivity() argument
27 this.attribution = attribution; in ComponentActivity()
DActivityReport.java83 AppActivity.Builder app = mApps.get(activity.attribution); in addActivity()
86 app.setAttribution(activity.attribution); in addActivity()
87 mApps.put(activity.attribution, app); in addActivity()
DAppInfo.java48 public void setAttribution(AttributionKey attribution) { in setAttribution() argument
49 mAttribution = attribution; in setAttribution()
DComponentPower.java30 public AttributionKey attribution; field in ComponentPower
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
DModemRemainderActivity.java33 public ModemRemainderActivity(AttributionKey attribution) { in ModemRemainderActivity() argument
34 super(attribution); in ModemRemainderActivity()
63 result.attribution = this.attribution; in applyProfile()
DModemAppActivity.java33 public ModemAppActivity(AttributionKey attribution) { in ModemAppActivity() argument
34 super(attribution); in ModemAppActivity()
68 result.attribution = this.attribution; in applyProfile()
DModemGlobalActivity.java32 public ModemGlobalActivity(AttributionKey attribution) { in ModemGlobalActivity() argument
33 super(attribution); in ModemGlobalActivity()
/frameworks/base/core/java/android/permission/
DPermGroupUsage.java55 @Nullable CharSequence attribution) { in PermGroupUsage() argument
62 this.mAttribution = attribution; in PermGroupUsage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialog.kt123 val finalText = element.attribution?.let { in <lambda>()
172 val attribution: CharSequence?, in <lambda>() constant in PrivacyElement
185 if (attribution != null) { in <lambda>()
186 builder.append(", attribution=$attribution") in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DEventLogWriter.java83 public void action(int attribution, int action, int pageId, String key, int value) { in action() argument
86 if (attribution != MetricsProto.MetricsEvent.VIEW_UNKNOWN) { in action()
DMetricsFeatureProvider.java119 public void action(int attribution, int action, int pageId, String key, int value) { in action() argument
121 writer.action(attribution, action, pageId, key, value); in action()
DLogWriter.java59 void action(int attribution, int action, int pageId, String key, int value); in action() argument
/frameworks/base/services/core/java/com/android/server/powerstats/
DProtoStreamUtils.java572 final int attributionLength = energyConsumerResult[i].attribution.length; in packProtoMessage()
576 energyConsumerResult[i].attribution[j]; in packProtoMessage()
682 energyConsumerResult.attribution = in unpackEnergyConsumerResultProto()
708 final int attributionLength = result.attribution.length; in print()
710 final EnergyConsumerAttribution attribution = result.attribution[j]; in print() local
711 Slog.d(TAG, " UID: " + attribution.uid in print()
712 + " Energy (uWs): " + attribution.energyUWs); in print()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DMeasuredEnergySnapshotTest.java264 ecr.attribution = new EnergyConsumerAttribution[uids.length]; in createEnergyConsumerResult()
266 ecr.attribution[i] = new EnergyConsumerAttribution(); in createEnergyConsumerResult()
267 ecr.attribution[i].uid = uids[i]; in createEnergyConsumerResult()
268 ecr.attribution[i].energyUWs = uidEnergies[i]; in createEnergyConsumerResult()
/frameworks/proto_logging/stats/
Datom_field_options.proto52 // For state atoms with attribution chain, sometimes the primary key is the first uid in the chain.
68 // Used on simple proto fields. Do not use on attribution chains.
74 // Used on an attribution chain field to indicate that the first uid is the
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyDialogControllerTest.kt249 attribution = TEST_ATTRIBUTION in <lambda>()
261 attribution = TEST_ATTRIBUTION, in <lambda>()
594 attribution: CharSequence? = null in <lambda>()
603 `when`(usage.attribution).thenReturn(attribution) in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/powerstats/
DPowerStatsServiceTest.java237 energyConsumedList[i].attribution = in getEnergyConsumed()
239 for (int j = 0; j < energyConsumedList[i].attribution.length; j++) { in getEnergyConsumed()
240 energyConsumedList[i].attribution[j] = new EnergyConsumerAttribution(); in getEnergyConsumed()
241 energyConsumedList[i].attribution[j].uid = j; in getEnergyConsumed()
242 energyConsumedList[i].attribution[j].energyUWs = j; in getEnergyConsumed()
366 assertTrue(pssProto.energyConsumerResult[i].attribution.length in testWrittenModelDataMatchesReadIncidentReportData()
368 for (int j = 0; j < pssProto.energyConsumerResult[i].attribution.length; j++) { in testWrittenModelDataMatchesReadIncidentReportData()
369 assertTrue(pssProto.energyConsumerResult[i].attribution[j].uid == j); in testWrittenModelDataMatchesReadIncidentReportData()
370 assertTrue(pssProto.energyConsumerResult[i].attribution[j].energyUws == j); in testWrittenModelDataMatchesReadIncidentReportData()
/frameworks/proto_logging/stats/stats_log_api_gen/
Dtest.proto106 repeated android.os.statsd.AttributionNode attribution = 2; field
157 repeated android.os.statsd.AttributionNode attribution = 1 field
/frameworks/av/media/libstagefright/foundation/
DNOTICE115 attribution notices from the Source form of the Work,
121 include a readable copy of the attribution notices contained
130 do not modify the License. You may add Your own attribution
133 that such additional attribution notices cannot be construed
/frameworks/av/drm/libdrmframework/
DNOTICE115 attribution notices from the Source form of the Work,
121 include a readable copy of the attribution notices contained
130 do not modify the License. You may add Your own attribution
133 that such additional attribution notices cannot be construed
/frameworks/base/cmds/appwidget/
DNOTICE115 attribution notices from the Source form of the Work,
121 include a readable copy of the attribution notices contained
130 do not modify the License. You may add Your own attribution
133 that such additional attribution notices cannot be construed
/frameworks/av/media/libstagefright/
DNOTICE115 attribution notices from the Source form of the Work,
121 include a readable copy of the attribution notices contained
130 do not modify the License. You may add Your own attribution
133 that such additional attribution notices cannot be construed
/frameworks/base/cmds/pm/
DNOTICE115 attribution notices from the Source form of the Work,
121 include a readable copy of the attribution notices contained
130 do not modify the License. You may add Your own attribution
133 that such additional attribution notices cannot be construed
/frameworks/av/media/libstagefright/id3/
DNOTICE115 attribution notices from the Source form of the Work,
121 include a readable copy of the attribution notices contained
130 do not modify the License. You may add Your own attribution
133 that such additional attribution notices cannot be construed

1234567