Home
last modified time | relevance | path

Searched refs:newDescriptor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DPowerStatsTest.java90 PowerStats.Descriptor newDescriptor = in parceling_compatibleParcel() local
92 assertThat(newDescriptor.powerComponentId).isEqualTo(BatteryConsumer.POWER_COMPONENT_CPU); in parceling_compatibleParcel()
93 assertThat(newDescriptor.name).isEqualTo("cpu"); in parceling_compatibleParcel()
94 assertThat(newDescriptor.statsArrayLength).isEqualTo(3); in parceling_compatibleParcel()
95 assertThat(newDescriptor.stateStatsArrayLength).isEqualTo(1); in parceling_compatibleParcel()
96 assertThat(newDescriptor.uidStatsArrayLength).isEqualTo(2); in parceling_compatibleParcel()
97 assertThat(newDescriptor.extras.getBoolean("hasPowerMonitor")).isTrue(); in parceling_compatibleParcel()
99 mRegistry.register(newDescriptor); in parceling_compatibleParcel()
/frameworks/native/libs/binder/ndk/
Dibinder.cpp103 const String16& newDescriptor = clazz->getInterfaceDescriptor(); in associateClass() local
125 if (newDescriptor == currentDescriptor) { in associateClass()
132 __func__, String8(newDescriptor).c_str(), String8(currentDescriptor).c_str()); in associateClass()
143 if (descriptor != newDescriptor && !(asABpBinder() && asABpBinder()->isServiceFuzzing())) { in associateClass()
146 __func__, String8(newDescriptor).c_str(), SanitizeString(descriptor).c_str()); in associateClass()
150 __func__, String8(newDescriptor).c_str(), SanitizeString(descriptor).c_str()); in associateClass()