Home
last modified time | relevance | path

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

/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java101 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_noData() local
106 ksm.writeToParcel(parcel, 0); in testKeyphraseSoundModelParcelUnparcel_noData()
113 assertEquals(ksm.uuid, unparceled.uuid); in testKeyphraseSoundModelParcelUnparcel_noData()
115 assertEquals(ksm.type, unparceled.type); in testKeyphraseSoundModelParcelUnparcel_noData()
124 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_zeroData() local
129 ksm.writeToParcel(parcel, 0); in testKeyphraseSoundModelParcelUnparcel_zeroData()
136 assertEquals(ksm.uuid, unparceled.uuid); in testKeyphraseSoundModelParcelUnparcel_zeroData()
137 assertEquals(ksm.type, unparceled.type); in testKeyphraseSoundModelParcelUnparcel_zeroData()
138 assertTrue(Arrays.equals(ksm.keyphrases, unparceled.keyphrases)); in testKeyphraseSoundModelParcelUnparcel_zeroData()
139 assertTrue(Arrays.equals(ksm.data, unparceled.data)); in testKeyphraseSoundModelParcelUnparcel_zeroData()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java12887 final long[] ksm = getKsmInfo(); in dumpApplicationMemoryUsage() local
12889 if (ksm[KSM_SHARING] != 0 || ksm[KSM_SHARED] != 0 || ksm[KSM_UNSHARED] != 0 in dumpApplicationMemoryUsage()
12890 || ksm[KSM_VOLATILE] != 0) { in dumpApplicationMemoryUsage()
12891 pw.print(" KSM: "); pw.print(stringifyKBSize(ksm[KSM_SHARING])); in dumpApplicationMemoryUsage()
12893 pw.print(stringifyKBSize(ksm[KSM_SHARED])); in dumpApplicationMemoryUsage()
12894 pw.print(" "); pw.print(stringifyKBSize(ksm[KSM_UNSHARED])); in dumpApplicationMemoryUsage()
12897 ksm[KSM_VOLATILE])); pw.println(" volatile"); in dumpApplicationMemoryUsage()
12916 pw.print("ksm,"); pw.print(ksm[KSM_SHARING]); pw.print(","); in dumpApplicationMemoryUsage()
12917 pw.print(ksm[KSM_SHARED]); pw.print(","); pw.print(ksm[KSM_UNSHARED]); in dumpApplicationMemoryUsage()
12918 pw.print(","); pw.println(ksm[KSM_VOLATILE]); in dumpApplicationMemoryUsage()
[all …]