Home
last modified time | relevance | path

Searched refs:NS (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/flags/
DFlagCacheTest.java27 private static final String NS = "ns"; field in FlagCacheTest
34 assertThat(mFlagCache.getOrNull(NS, NAME)).isNull(); in testGetOrNull_unset()
39 assertThat(mFlagCache.getOrSet(NS, NAME, "value")).isEqualTo("value"); in testGetOrSet_unset()
44 mFlagCache.setIfChanged(NS, NAME, "value"); in testGetOrSet_alreadySet()
45 assertThat(mFlagCache.getOrSet(NS, NAME, "newvalue")).isEqualTo("value"); in testGetOrSet_alreadySet()
50 assertThat(mFlagCache.setIfChanged(NS, NAME, "value")).isTrue(); in testSetIfChanged_unset()
55 mFlagCache.setIfChanged(NS, NAME, "value"); in testSetIfChanged_noChange()
56 assertThat(mFlagCache.setIfChanged(NS, NAME, "value")).isFalse(); in testSetIfChanged_noChange()
61 mFlagCache.setIfChanged(NS, NAME, "value"); in testSetIfChanged_changing()
62 assertThat(mFlagCache.setIfChanged(NS, NAME, "newvalue")).isTrue(); in testSetIfChanged_changing()
[all …]
DFlagOverrideStoreTest.java38 private static final String NS = "ns"; field in FlagOverrideStoreTest
40 private static final String PROP_NAME = FlagOverrideStore.getPropName(NS, NAME);
60 mFlagStore.set(NS, NAME, "value"); in testSet_unset()
66 mFlagStore.set(NS, NAME, "value"); in testSet_setTwice()
67 mFlagStore.set(NS, NAME, "newvalue"); in testSet_setTwice()
74 assertThat(mFlagStore.get(NS, NAME)).isNull(); in testGet_unset()
80 assertThat(mFlagStore.get(NS, NAME)).isEqualTo("value"); in testGet_set()
85 mFlagStore.erase(NS, NAME); in testErase()
91 assertThat(mFlagStore.contains(NS, NAME)).isFalse(); in testContains_unset()
97 assertThat(mFlagStore.contains(NS, NAME)).isTrue(); in testContains_set()
[all …]
DFeatureFlagsServiceTest.java49 private static final String NS = "ns"; field in FeatureFlagsServiceTest
51 private static final String PROP_NAME = FlagOverrideStore.getPropName(NS, NAME);
91 SyncableFlag f = new SyncableFlag(NS, "a", "false", false); in testOverrideFlag_requiresWritePermission()
108 SyncableFlag f = new SyncableFlag(NS, "a", "false", false); in testResetFlag_requiresWritePermission()
123 new SyncableFlag(NS, "a", "false", false), in testSyncFlags_noOverrides()
124 new SyncableFlag(NS, "b", "true", false), in testSyncFlags_noOverrides()
125 new SyncableFlag(NS, "c", "false", false) in testSyncFlags_noOverrides()
148 new SyncableFlag(NS, "a", "false", false), in testSyncFlags_withSomeOverrides()
149 new SyncableFlag(NS, "b", "true", false), in testSyncFlags_withSomeOverrides()
150 new SyncableFlag(NS, "c", "false", false) in testSyncFlags_withSomeOverrides()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPreferredComponent.java183 final int NS = mSetClasses != null ? mSetClasses.length : 0; in writeToXml() local
190 serializer.attributeInt(null, ATTR_SET, NS); in writeToXml()
191 for (int s=0; s<NS; s++) { in writeToXml()
207 final int NS = mSetPackages.length; in sameSet() local
235 for (int j=0; j<NS; j++) { in sameSet()
245 return numMatch == NS; in sameSet()
251 final int NS = mSetPackages.length; in sameSet() local
256 for (int j=0; j<NS; j++) { in sameSet()
266 return numMatch == NS; in sameSet()
308 final int NS = mSetPackages.length; in isSuperset() local
[all …]
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DUseCasePriorityHints.java112 private static final String NS = null; field in UseCasePriorityHints
141 parser.require(XmlPullParser.START_TAG, NS, "config"); in readUseCase()
152 parser.require(XmlPullParser.END_TAG, NS, name); in readUseCase()
163 parser.require(XmlPullParser.END_TAG, NS, name); in readUseCase()
171 parser.require(XmlPullParser.END_TAG, NS, name); in readUseCase()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiUtils.java580 private static final String NS = null; field in HdmiUtils.ShortAudioDescriptorXmlParser
612 parser.require(XmlPullParser.START_TAG, NS, "config"); in readDevices()
643 parser.require(XmlPullParser.START_TAG, NS, "device"); in readDeviceConfig()
661 parser.require(XmlPullParser.END_TAG, NS, "supportedFormat"); in readDeviceConfig()
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java449 int NS = allProcs.size(); in collectStats() local
457 Stats st = curStatsIndex < NS ? allProcs.get(curStatsIndex) : null; in collectStats()
532 NS++; in collectStats()
602 NS--; in collectStats()
612 while (curStatsIndex < NS) { in collectStats()
622 NS--; in collectStats()
/frameworks/base/tools/aapt/
DStringPool.cpp67 const size_t NS = pool->size(); in printStringPool() local
68 for (size_t s=0; s<NS; s++) { in printStringPool()
/frameworks/base/core/java/com/android/internal/app/procstats/
DDumpUtils.java434 final int NS = screenStates != null ? screenStates.length : 1; in dumpStateHeadersCsv() local
437 for (int is=0; is<NS; is++) { in dumpStateHeadersCsv()
/frameworks/base/core/res/geoid_map_assets/
Dexpiration-distance-disk-tile-5.textpb2 …004n((\002\003F\v\241\354\231\214\226\363\022\340\223\2269\302\345z\017\303NS^p\363\304\245L4\323~…
/frameworks/base/tools/aapt2/
DDebug.cpp457 const size_t NS = pool->size(); in DumpResStringPool() local
458 for (size_t s=0; s<NS; s++) { in DumpResStringPool()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp908 const jsize NS = outStrings ? env->GetArrayLength(outStrings) : 0; in android_os_Process_parseProcLineArray() local
1006 if ((mode&PROC_OUT_STRING) != 0 && di < NS) { in android_os_Process_parseProcLineArray()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java10554 final int NS = mServiceStats.size(); in writeToParcelLocked() local
10555 out.writeInt(NS); in writeToParcelLocked()
10556 for (int i=0; i<NS; i++) { in writeToParcelLocked()
16828 int NS = in.readInt();
16829 if (NS > (MAX_WAKELOCKS_PER_UID+1)) {
16830 throw new ParcelFormatException("File corrupt: too many syncs " + NS);
16832 for (int is = 0; is < NS; is++) {
16905 NS = in.readInt();
16906 if (NS > 10000) {
16907 throw new ParcelFormatException("File corrupt: too many services " + NS);
[all …]
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/
Dindex17311 …+����L4�������i������N�(�݉9h��э[����L��#U�8��Y$lm�CdN���Pɯ�\=uo���I/�x�NSv��=�B�l@2�Y�<�8�…
Dmaster_playlist253 W�S��Yڻ�u��|NS�����:Ϋ;����AS�'-9e��4f���K h���η��ӌ�
546 …���uRI^��f] ��,�wan*��.y8��iO�me���!�G9����������������������������NS���9�n���@�"�=��}T�…
1107 …+����L4�������i������N�(�݉9h��э[����L��#U�8��Y$lm�CdN���Pɯ�\=uo���I/�x�NSv��=�B�l@2�Y�<�8�…
Daudio231 W�S��Yڻ�u��|NS�����:Ϋ;����AS�'-9e��4f���K h���η��ӌ�
Dindex9311 …+����L4�������i������N�(�݉9h��э[����L��#U�8��Y$lm�CdN���Pɯ�\=uo���I/�x�NSv��=�B�l@2�Y�<�8�…
Dindex13310 …+����L4�������i������N�(�݉9h��э[����L��#U�8��Y$lm�CdN���Pɯ�\=uo���I/�x�NSv��=�B�l@2�Y�<�8�…
Dindex15323 …+����L4�������i������N�(�݉9h��э[����L��#U�8��Y$lm�CdN���Pɯ�\=uo���I/�x�NSv��=�B�l@2�Y�<�8�…
Dindex11311 …+����L4�������i������N�(�݉9h��э[����L��#U�8��Y$lm�CdN���Pɯ�\=uo���I/�x�NSv��=�B�l@2�Y�<�8�…
Dindex10315 …+����L4�������i������N�(�݉9h��э[����L��#U�8��Y$lm�CdN���Pɯ�\=uo���I/�x�NSv��=�B�l@2�Y�<�8�…
Dindex18309 …+����L4�������i������N�(�݉9h��э[����L��#U�8��Y$lm�CdN���Pɯ�\=uo���I/�x�NSv��=�B�l@2�Y�<�8�…
Dindex16328 …+����L4�������i������N�(�݉9h��э[����L��#U�8��Y$lm�CdN���Pɯ�\=uo���I/�x�NSv��=�B�l@2�Y�<�8�…
Dindex12314 …+����L4�������i������N�(�݉9h��э[����L��#U�8��Y$lm�CdN���Pɯ�\=uo���I/�x�NSv��=�B�l@2�Y�<�8�…