Searched refs:ksm (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/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, unparceled); in testKeyphraseSoundModelParcelUnparcel_noData() 128 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_zeroData() local 133 ksm.writeToParcel(parcel, 0); in testKeyphraseSoundModelParcelUnparcel_zeroData() 140 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_zeroData() 141 assertEquals(ksm.getType(), unparceled.getType()); in testKeyphraseSoundModelParcelUnparcel_zeroData() 142 assertTrue(Arrays.equals(ksm.getKeyphrases(), unparceled.getKeyphrases())); in testKeyphraseSoundModelParcelUnparcel_zeroData() 143 assertTrue(Arrays.equals(ksm.getData(), unparceled.getData())); in testKeyphraseSoundModelParcelUnparcel_zeroData() 150 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_noKeyphrases() local [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppProfiler.java | 1845 final long[] ksm = getKsmInfo(); in reportMemUsage() local 1846 if (ksm[KSM_SHARING] != 0 || ksm[KSM_SHARED] != 0 || ksm[KSM_UNSHARED] != 0 in reportMemUsage() 1847 || ksm[KSM_VOLATILE] != 0) { in reportMemUsage() 1849 memInfoBuilder.append(stringifyKBSize(ksm[KSM_SHARING])); in reportMemUsage() 1851 memInfoBuilder.append(stringifyKBSize(ksm[KSM_SHARED])); in reportMemUsage() 1853 memInfoBuilder.append(stringifyKBSize(ksm[KSM_UNSHARED])); in reportMemUsage() 1855 memInfoBuilder.append(stringifyKBSize(ksm[KSM_VOLATILE])); in reportMemUsage()
|