Home
last modified time | relevance | path

Searched refs:booleanArray (Results 1 – 25 of 142) sorted by relevance

123456

/aosp_15_r20/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/concurrent/locks/
H A DLockingVisitorsTest.java41 protected boolean containsTrue(final boolean[] booleanArray) { in containsTrue() argument
42 synchronized (booleanArray) { in containsTrue()
43 return ArrayUtils.contains(booleanArray, true); in containsTrue()
81 protected void set(final boolean[] booleanArray, final int offset, final boolean value) { in set() argument
82 synchronized (booleanArray) { in set()
83 booleanArray[offset] = value; in set()
/aosp_15_r20/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/
DParcelableForToString.h46 ::std::vector<bool> booleanArray;
59booleanArray, stringValue, stringArray, stringList, parcelableValue, parcelableArray, enumValue, e…
62booleanArray, stringValue, stringArray, stringList, parcelableValue, parcelableArray, enumValue, e…
97 _aidl_os << ", booleanArray: " << ::android::internal::ToString(booleanArray); in toString()
/aosp_15_r20/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/
DParcelableForToString.h46 ::std::vector<bool> booleanArray;
59booleanArray, stringValue, stringArray, stringList, parcelableValue, parcelableArray, enumValue, e…
62booleanArray, stringValue, stringArray, stringList, parcelableValue, parcelableArray, enumValue, e…
97 _aidl_os << ", booleanArray: " << ::android::internal::ToString(booleanArray); in toString()
/aosp_15_r20/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk-source/gen/include/aidl/android/aidl/tests/
DParcelableForToString.h54 std::vector<bool> booleanArray; variable
71booleanArray, stringValue, stringArray, stringList, parcelableValue, parcelableArray, enumValue, e…
74booleanArray, stringValue, stringArray, stringList, parcelableValue, parcelableArray, enumValue, e…
104 _aidl_os << ", booleanArray: " << ::android::internal::ToString(booleanArray); in toString()
/aosp_15_r20/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-ndk-source/gen/include/aidl/android/aidl/tests/
DParcelableForToString.h54 std::vector<bool> booleanArray; variable
71booleanArray, stringValue, stringArray, stringList, parcelableValue, parcelableArray, enumValue, e…
74booleanArray, stringValue, stringArray, stringList, parcelableValue, parcelableArray, enumValue, e…
104 _aidl_os << ", booleanArray: " << ::android::internal::ToString(booleanArray); in toString()
/aosp_15_r20/external/mockito/src/test/java/org/mockitousage/stubbing/
H A DStubbingWithAdditionalAnswersTest.java192 boolean[] booleanArray = { true, false }; in can_return_based_on_strongly_typed_four_parameter_function()
193 …assertThat(iMethods.fourArgumentMethod(1, "string1", "string2", booleanArray)).isEqualTo("answered… in can_return_based_on_strongly_typed_four_parameter_function()
194 verify(target, times(1)).fourArgumentMethod(1, "string1", "string2", booleanArray); in can_return_based_on_strongly_typed_four_parameter_function()
209 boolean[] booleanArray = { true, false }; in will_execute_a_void_based_on_strongly_typed_four_parameter_function()
210 iMethods.fourArgumentMethod(1, "string1", "string2", booleanArray); in will_execute_a_void_based_on_strongly_typed_four_parameter_function()
213 verify(target, times(1)).fourArgumentMethod(1, "string1", "string2", booleanArray); in will_execute_a_void_based_on_strongly_typed_four_parameter_function()
/aosp_15_r20/external/ow2-asm/asm-tree/src/main/java/org/objectweb/asm/tree/
H A DUtil.java79 static List<Boolean> asArrayList(final boolean[] booleanArray) { in asArrayList() argument
80 if (booleanArray == null) { in asArrayList()
83 ArrayList<Boolean> booleanList = new ArrayList<>(booleanArray.length); in asArrayList()
84 for (boolean b : booleanArray) { in asArrayList()
/aosp_15_r20/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-rust-source/gen/android/aidl/tests/
DParcelableForToString.rs24 pub r#booleanArray: Vec<bool>,
51 r#booleanArray: Default::default(), in default()
80 subparcel.write(&self.r#booleanArray)?; in write_to_parcel()
131 self.r#booleanArray = subparcel.read()?; in read_from_parcel()
/aosp_15_r20/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/
DParcelableForToString.rs24 pub r#booleanArray: Vec<bool>,
51 r#booleanArray: Default::default(), in default()
80 subparcel.write(&self.r#booleanArray)?; in write_to_parcel()
131 self.r#booleanArray = subparcel.read()?; in read_from_parcel()
/aosp_15_r20/packages/modules/AppSearch/testing/safeparceltests/src/android/app/appsearch/safeparcel/
DTestSafeParcelableV2.java152 public boolean[] booleanArray; field in TestSafeParcelableV2
222 @Param(id = 33) boolean[] booleanArray, in TestSafeParcelableV2()
267 this.booleanArray = booleanArray; in TestSafeParcelableV2()
/aosp_15_r20/external/leakcanary2/shark-graph/src/test/java/shark/
H A DHprofPrimitiveArrayStripperTest.kt27 val booleanArray = BooleanArrayDump(id, 1, booleanArrayOf(true, false, true, true)) in <lambda>() constant
29 val hprofBytes = listOf(booleanArray, charArray).asHprofBytes() in <lambda>()
44 assertThat(booleanArrays[0].id).isEqualTo(booleanArray.id) in <lambda>()
/aosp_15_r20/external/dagger2/javatests/dagger/functional/basic/
H A DInjectedThing.java67 @Inject boolean[] booleanArray; field in InjectedThing
137 boolean[] booleanArray, in InjectedThing()
206 @Inject void booleanArray(boolean[] booleanArray) {} in booleanArray() method in InjectedThing
/aosp_15_r20/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
H A DArrayUtilsAddTest.java523 boolean[] booleanArray = ArrayUtils.add( null, 0, true ); in testAddObjectAtIndex()
524 assertArrayEquals(new boolean[]{true}, booleanArray); in testAddObjectAtIndex()
528 booleanArray = ArrayUtils.add( new boolean[] { true }, 0, false); in testAddObjectAtIndex()
529 assertArrayEquals(new boolean[]{false, true}, booleanArray); in testAddObjectAtIndex()
530 booleanArray = ArrayUtils.add( new boolean[] { false }, 1, true); in testAddObjectAtIndex()
531 assertArrayEquals(new boolean[]{false, true}, booleanArray); in testAddObjectAtIndex()
532 booleanArray = ArrayUtils.add( new boolean[] { true, false }, 1, true); in testAddObjectAtIndex()
533 assertArrayEquals(new boolean[]{true, true, false}, booleanArray); in testAddObjectAtIndex()
/aosp_15_r20/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/
DParcelableForToString.java23 public boolean[] booleanArray; field in ParcelableForToString
62 _aidl_parcel.writeBooleanArray(booleanArray); in writeToParcel()
108 booleanArray = _aidl_parcel.createBooleanArray(); in readFromParcel()
152 _aidl_sj.add("booleanArray: " + (java.util.Arrays.toString(booleanArray))); in toString()
/aosp_15_r20/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-java-source/gen/android/aidl/tests/
DParcelableForToString.java23 public boolean[] booleanArray; field in ParcelableForToString
62 _aidl_parcel.writeBooleanArray(booleanArray); in writeToParcel()
108 booleanArray = _aidl_parcel.createBooleanArray(); in readFromParcel()
152 _aidl_sj.add("booleanArray: " + (java.util.Arrays.toString(booleanArray))); in toString()
/aosp_15_r20/external/caliper/examples/src/main/java/examples/
H A DCopyArrayBenchmark.java246 boolean[] booleanArray; field in CopyArrayBenchmark
257 booleanArray = new boolean[size]; in setUp()
270 booleanArray[i] = num % 2 == 0; in setUp()
292 dummy += System.identityHashCode(strategy.copy(booleanArray)); in booleans()
/aosp_15_r20/external/dagger2/javatests/dagger/functional/kotlinsrc/basic/
H A DInjectedThing.kt65 booleanArray: BooleanArray,
124 @Inject internal lateinit var booleanArray: BooleanArray variable
178 @Inject internal fun booleanArray(booleanArray: BooleanArray) {} in booleanArray() method
/aosp_15_r20/cts/tests/tests/os/src/android/os/cts/
H A DBundleTest.java191 boolean[] booleanArray = mBundle.getBooleanArray(KEY1); in testGetBooleanArray()
192 assertNotNull(booleanArray); in testGetBooleanArray()
193 assertEquals(3, booleanArray.length); in testGetBooleanArray()
194 assertEquals(true, booleanArray[0]); in testGetBooleanArray()
195 assertEquals(false, booleanArray[1]); in testGetBooleanArray()
196 assertEquals(true, booleanArray[2]); in testGetBooleanArray()
198 booleanArray = mBundle.getBooleanArray(KEY1); in testGetBooleanArray()
199 assertNotNull(booleanArray); in testGetBooleanArray()
200 assertEquals(3, booleanArray.length); in testGetBooleanArray()
201 assertEquals(true, booleanArray[0]); in testGetBooleanArray()
[all …]
/aosp_15_r20/packages/services/Car/packages/ScriptExecutor/src/
DJniUtils.cpp103 jbooleanArray booleanArray = static_cast<jbooleanArray>(value.get()); in pushBundleToLuaTable() local
104 const auto kLength = env->GetArrayLength(booleanArray); in pushBundleToLuaTable()
109 jboolean* rawBooleanArray = env->GetBooleanArrayElements(booleanArray, nullptr); in pushBundleToLuaTable()
118 env->ReleaseBooleanArrayElements(booleanArray, rawBooleanArray, JNI_ABORT); in pushBundleToLuaTable()
/aosp_15_r20/art/test/661-checker-simd-cf-loops/src/
H A DMain.java25 public static boolean[] booleanArray = new boolean[ARRAY_LENGTH]; field in Main
529 initBooleanArray(booleanArray); in main()
531 $compile$noinline$SimpleBoolean(booleanArray, booleanArray2); in main()
532 expectIntEquals(86, BooleanArraySum(booleanArray)); in main()
/aosp_15_r20/external/kotlinpoet/interop/ksp/test-processor/src/main/kotlin/com/squareup/kotlinpoet/ksp/test/processor/
H A DexampleAnnotations.kt23 val booleanArray: BooleanArray = [true], constant in com.squareup.kotlinpoet.ksp.test.processor.ExampleAnnotationWithDefaults
50 val booleanArray: BooleanArray, constant in com.squareup.kotlinpoet.ksp.test.processor.ComprehensiveAnnotation
/aosp_15_r20/external/ow2-asm/asm/src/main/java/org/objectweb/asm/
H A DAnnotationWriter.java217 boolean[] booleanArray = (boolean[]) value; in visit()
218 annotation.put12('[', booleanArray.length); in visit()
219 for (boolean booleanValue : booleanArray) { in visit()
/aosp_15_r20/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/safeparcel/
DGenericDocumentParcelTest.java258 boolean[] booleanArray = new boolean[] {true, false}; in testRecreateFromParcelWithParentTypes()
270 .putInPropertyMap("propBooleans", booleanArray) in testRecreateFromParcelWithParentTypes()
312 assertThat(propertyMap.get("propBooleans").getBooleanValues()).isEqualTo(booleanArray); in testRecreateFromParcelWithParentTypes()
/aosp_15_r20/art/dex2oat/
H A Dtransaction_test.cc429 Handle<mirror::BooleanArray> booleanArray = hs.NewHandle( in TEST_F() local
431 ASSERT_TRUE(booleanArray != nullptr); in TEST_F()
432 ASSERT_EQ(booleanArray->GetLength(), 1); in TEST_F()
433 ASSERT_EQ(booleanArray->GetWithoutChecks(0), false); in TEST_F()
510 booleanArray->SetWithoutChecks<true>(0, true); in TEST_F()
522 EXPECT_EQ(booleanArray->GetWithoutChecks(0), false); in TEST_F()
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DArraysTest.java61 boolean[] booleanArray; field in ArraysTest
2520 booleanArray = new boolean[arraySize]; in setUp()
2541 booleanArray[counter] = false; in setUp()
2542 booleanArray[counter + 1] = true; in setUp()
3361 boolean[] result = Arrays.copyOf(booleanArray, arraySize * 2); in test_copyOf_$ZI()
3364 assertEquals(booleanArray[i], result[i]); in test_copyOf_$ZI()
3369 result = Arrays.copyOf(booleanArray, arraySize / 2); in test_copyOf_$ZI()
3372 assertEquals(booleanArray[i], result[i]); in test_copyOf_$ZI()
3381 Arrays.copyOf(booleanArray, -1); in test_copyOf_$ZI()
4027 boolean[] result = Arrays.copyOfRange(booleanArray, 0, arraySize * 2); in test_copyOfRange_$ZII()
[all …]

123456