Searched refs:ksm (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/ |
D | SoundTriggerTest.java | 106 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_noData() local 111 ksm.writeToParcel(parcel, 0); in testKeyphraseSoundModelParcelUnparcel_noData() 118 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_noData() 120 assertEquals(ksm.getType(), unparceled.getType()); in testKeyphraseSoundModelParcelUnparcel_noData() 131 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_zeroData() local 136 ksm.writeToParcel(parcel, 0); in testKeyphraseSoundModelParcelUnparcel_zeroData() 143 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_zeroData() 144 assertEquals(ksm.getType(), unparceled.getType()); in testKeyphraseSoundModelParcelUnparcel_zeroData() 145 assertTrue(Arrays.equals(ksm.getKeyphrases(), unparceled.getKeyphrases())); in testKeyphraseSoundModelParcelUnparcel_zeroData() 146 assertTrue(Arrays.equals(ksm.getData(), unparceled.getData())); in testKeyphraseSoundModelParcelUnparcel_zeroData() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 13787 final long[] ksm = getKsmInfo(); in dumpApplicationMemoryUsage() local 13789 if (ksm[KSM_SHARING] != 0 || ksm[KSM_SHARED] != 0 || ksm[KSM_UNSHARED] != 0 in dumpApplicationMemoryUsage() 13790 || ksm[KSM_VOLATILE] != 0) { in dumpApplicationMemoryUsage() 13791 pw.print(" KSM: "); pw.print(stringifyKBSize(ksm[KSM_SHARING])); in dumpApplicationMemoryUsage() 13793 pw.print(stringifyKBSize(ksm[KSM_SHARED])); in dumpApplicationMemoryUsage() 13794 pw.print(" "); pw.print(stringifyKBSize(ksm[KSM_UNSHARED])); in dumpApplicationMemoryUsage() 13797 ksm[KSM_VOLATILE])); pw.println(" volatile"); in dumpApplicationMemoryUsage() 13816 pw.print("ksm,"); pw.print(ksm[KSM_SHARING]); pw.print(","); in dumpApplicationMemoryUsage() 13817 pw.print(ksm[KSM_SHARED]); pw.print(","); pw.print(ksm[KSM_UNSHARED]); in dumpApplicationMemoryUsage() 13818 pw.print(","); pw.println(ksm[KSM_VOLATILE]); in dumpApplicationMemoryUsage() [all …]
|