Home
last modified time | relevance | path

Searched refs:Boolean (Results 1 – 25 of 83) sorted by relevance

1234

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAudioRestrictionTest.java30 private final Callable<Boolean> mCheckIfMasterVolumeMuted = new Callable<Boolean>() {
32 public Boolean call() throws Exception {
116 waitUntil(true, new Callable<Boolean>() { in testDisallowUnmuteMicrophone()
118 public Boolean call() throws Exception { in testDisallowUnmuteMicrophone()
129 waitUntil(false, new Callable<Boolean>() { in testDisallowUnmuteMicrophone()
131 public Boolean call() throws Exception { in testDisallowUnmuteMicrophone()
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java257 return getValue(new ValueGetter<Boolean>() { in canZoomIn()
259 public Boolean capture() { in canZoomIn()
266 return getValue(new ValueGetter<Boolean>() {
268 public Boolean capture() {
275 return getValue(new ValueGetter<Boolean>() {
277 public Boolean capture() {
284 return getValue(new ValueGetter<Boolean>() {
286 public Boolean capture() {
543 new Callable<Boolean>() {
545 public Boolean call() {
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DGeolocationTest.java335 Callable<Boolean> receivedRequest = new Callable<Boolean>() { in testSimpleGeolocationRequestAcceptOnce()
337 public Boolean call() { in testSimpleGeolocationRequestAcceptOnce()
342 Callable<Boolean> receivedLocation = new Callable<Boolean>() { in testSimpleGeolocationRequestAcceptOnce()
344 public Boolean call() { in testSimpleGeolocationRequestAcceptOnce()
397 android.webkit.ValueCallback<Boolean> {
413 public void onReceiveValue(Boolean value) { in onReceiveValue()
429 Callable<Boolean> receivedRequest = new Callable<Boolean>() { in testSimpleGeolocationRequestAcceptAlways()
431 public Boolean call() { in testSimpleGeolocationRequestAcceptAlways()
436 Callable<Boolean> receivedLocation = new Callable<Boolean>() { in testSimpleGeolocationRequestAcceptAlways()
438 public Boolean call() { in testSimpleGeolocationRequestAcceptAlways()
[all …]
DServiceWorkerClientTest.java146 Callable<Boolean> registrationSuccess = new Callable<Boolean>() { in testServiceWorkerClientInterceptCallback()
148 public Boolean call() { in testServiceWorkerClientInterceptCallback()
155 Callable<Boolean> receivedRequest = new Callable<Boolean>() { in testServiceWorkerClientInterceptCallback()
157 public Boolean call() { in testServiceWorkerClientInterceptCallback()
DCookieManagerTest.java180 final ValueCallback<Boolean> callback = new ValueCallback<Boolean>() { in testSetCookieCallback()
182 public void onReceiveValue(Boolean success) { in testSetCookieCallback()
274 final ValueCallback<Boolean> callback = new ValueCallback<Boolean>() { in testRemoveCookiesCallback()
276 public void onReceiveValue(Boolean n) { in testRemoveCookiesCallback()
413 private void removeAllCookiesOnUiThread(final ValueCallback<Boolean> callback) { in removeAllCookiesOnUiThread()
422 private void removeSessionCookiesOnUiThread(final ValueCallback<Boolean> callback) { in removeSessionCookiesOnUiThread()
432 final ValueCallback<Boolean> callback) { in setCookieOnUiThread()
/cts/tests/app/src/android/app/cts/
DIntentServiceTest.java63 new Callable<Boolean>() { in testIntents()
65 public Boolean call() throws Exception { in testIntents()
70 PollingCheck.check("accumulator not correct", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents()
72 public Boolean call() throws Exception { in testIntents()
77 PollingCheck.check("onDestroyCalled not called", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents()
79 public Boolean call() throws Exception { in testIntents()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DServiceRunnerActivity.java38 private Boolean mSuccess;
40 public synchronized Boolean getSuccess() { in getSuccess()
57 mActivity.mSuccess = Boolean.TRUE; in handleMessage()
64 mActivity.mSuccess = Boolean.FALSE; in handleMessage()
DPermissionTestService.java82 class NetworkTestAsyncTask extends AsyncTask<Void, Void, Boolean> {
83 protected Boolean doInBackground(Void... nothing) { in doInBackground()
87 protected void onPostExecute(Boolean success) { in onPostExecute()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DSampleDeviceInfo.java32 boolean[] booleans = {Boolean.TRUE, Boolean.FALSE}; in collectDeviceInfo()
39 store.addResult("foo_boolean", Boolean.TRUE); in collectDeviceInfo()
/cts/tests/tests/security/src/android/security/cts/
DPutOverflowTest.java31 Boolean result = (Boolean)put.invoke(keystore, "crashFile", buffer, -1, 0); in testCrash()
/cts/tests/tests/keystore/src/android/keystore/cts/
DPutOverflowTest.java31 Boolean result = (Boolean)put.invoke(keystore, "crashFile", buffer, -1, 0); in testCrash()
/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java283 List<Pair<String, Boolean>> additionalRequirements = new ArrayList<>(); in validateCapability()
346 Boolean contrastCurveModeSupported = false; in validateCapability()
347 Boolean gammaAndPresetModeSupported = false; in validateCapability()
348 Boolean offColorAberrationModeSupported = false; in validateCapability()
368 Boolean tonemapModeQualified = in validateCapability()
370 additionalRequirements.add(new Pair<String, Boolean>( in validateCapability()
374 additionalRequirements.add(new Pair<String, Boolean>( in validateCapability()
376 additionalRequirements.add(new Pair<String, Boolean>( in validateCapability()
392 additionalRequirements.add(new Pair<String, Boolean>( in validateCapability()
430 for (Pair<String, Boolean> p : additionalRequirements) { in validateCapability()
[all …]
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiInfoTest.java140 PollingCheck.check("getNetworkId not -1", 20000, new Callable<Boolean>() { in testWifiInfoProperties()
142 public Boolean call() throws Exception { in testWifiInfoProperties()
148 PollingCheck.check("getWifiState not disabled", 20000, new Callable<Boolean>() { in testWifiInfoProperties()
150 public Boolean call() throws Exception { in testWifiInfoProperties()
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java206 private final Boolean mDefaultIs24Hour;
220 Boolean.toString(pm.hasSystemFeature(PackageManager.FEATURE_WIFI))); in TestEnvironment()
237 private static Boolean getDateFormatIs24Hour() { in getDateFormatIs24Hour()
239 return (Boolean) sDateFormatIs24HourField.get(null); in getDateFormatIs24Hour()
245 private static void setDateFormatIs24Hour(Boolean value) { in setDateFormatIs24Hour()
/cts/hostsidetests/sustainedperf/dhrystone/
Ddhry_1.c25 Boolean Bool_Glob;
36 Boolean Reg = false;
41 Boolean Reg = true;
289 Boolean Bool_Loc; in Proc_4()
Ddhry_2.c135 Boolean Func_2 (Str_1_Par_Ref, Str_2_Par_Ref) in Func_2()
177 Boolean Func_3 (Enum_Par_Val) in Func_3()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DNativeMediaActivity.java55 private final BlockingQueue<Boolean> mNativeWaitQ = new LinkedBlockingQueue<Boolean>();
110 public Boolean waitForNativeMediaLifeCycle() throws InterruptedException { in waitForNativeMediaLifeCycle()
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateBitmapTask.java34 class GenerateBitmapTask extends AsyncTask<Void, Void, Boolean> {
65 protected Boolean doInBackground(Void... ignored) { in doInBackground()
/cts/tests/tests/textureview/src/android/textureview/cts/
DTextureViewSnapshotTestActivity.java50 public Boolean waitForCompletion() { in waitForCompletion()
51 Boolean success = false; in waitForCompletion()
DTextureViewTestActivity.java72 public Boolean waitForCompletion() { in waitForCompletion()
73 Boolean success = false; in waitForCompletion()
/cts/tests/tests/hardware/src/android/hardware/cts/
DLowRamDeviceTest.java79 Boolean supports64Bit = supportsSixtyFourBit(); in testMinimumMemory()
81 Boolean lowRamDevice = mActivityManager.isLowRamDevice(); in testMinimumMemory()
82 Boolean watch = mPackageManager.hasSystemFeature(PackageManager.FEATURE_WATCH); in testMinimumMemory()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DTvInputDiscoveryTestActivity.java180 new AsyncTask<Void, Void, Boolean>() { in verifyGlobalSearch()
182 protected Boolean doInBackground(Void... params) { in verifyGlobalSearch()
198 protected void onPostExecute(Boolean result) { in verifyGlobalSearch()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DBaseEmulatorActivity.java126 private class SetupServicesTask extends AsyncTask<ComponentName, Void, Boolean> {
128 protected void onPostExecute(Boolean result) { in onPostExecute()
144 protected Boolean doInBackground(ComponentName... components) { in doInBackground()
/cts/tests/tests/graphics/src/android/opengl/cts/
DCompressedTextureLoader.java439 static HashMap<String, Boolean> sExtensionMap;
440 static HashMap<String, Boolean> sFormatMap;
447 sExtensionMap = new HashMap<String, Boolean>(); in updateSupportedFormats()
448 sFormatMap = new HashMap<String, Boolean>(); in updateSupportedFormats()
482 Boolean supported = sFormatMap.get(format); in isFormatSupported()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoWriteSecureSettingsPermissionTest.java39 values.put(Settings.Secure.VALUE, Boolean.TRUE); in testWriteSecureSettings()

1234