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.java14447 final long[] ksm = getKsmInfo(); in dumpApplicationMemoryUsage() local
14449 if (ksm[KSM_SHARING] != 0 || ksm[KSM_SHARED] != 0 || ksm[KSM_UNSHARED] != 0 in dumpApplicationMemoryUsage()
14450 || ksm[KSM_VOLATILE] != 0) { in dumpApplicationMemoryUsage()
14451 pw.print(" KSM: "); pw.print(ksm[KSM_SHARING]); in dumpApplicationMemoryUsage()
14453 pw.print(ksm[KSM_SHARED]); pw.println(" kB"); in dumpApplicationMemoryUsage()
14454 pw.print(" "); pw.print(ksm[KSM_UNSHARED]); in dumpApplicationMemoryUsage()
14456 pw.print(ksm[KSM_VOLATILE]); pw.println(" kB volatile"); in dumpApplicationMemoryUsage()
14476 pw.print("ksm,"); pw.print(ksm[KSM_SHARING]); pw.print(","); in dumpApplicationMemoryUsage()
14477 pw.print(ksm[KSM_SHARED]); pw.print(","); pw.print(ksm[KSM_UNSHARED]); in dumpApplicationMemoryUsage()
14478 pw.print(","); pw.println(ksm[KSM_VOLATILE]); in dumpApplicationMemoryUsage()
[all …]