/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | UserInfo.kt | 32 val partial : Boolean? 33 val preCreated : Boolean? 39 val guestToRemove : Boolean? 66 fun supportsSwitchTo(): Boolean = proxy.supportsSwitchTo() 69 fun isPrimary(): Boolean = proxy.isPrimary() 72 fun isAdmin(): Boolean = proxy.isAdmin() 75 fun isGuest(): Boolean = proxy.isGuest() 78 fun isRestricted(): Boolean = proxy.isRestricted() 81 fun isProfile(): Boolean = proxy.isProfile() 84 fun isManagedProfile(): Boolean = proxy.isManagedProfile() [all …]
|
D | AdbUser.java | 60 @Nullable Boolean mHasProfileOwner; 61 @Nullable Boolean mIsPrimary; 63 @Nullable Boolean mIsRemoving; 107 public Boolean hasProfileOwner() { in hasProfileOwner() 114 public Boolean isPrimary() { in isPrimary()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | NotificationListener.kt | 58 fun startNotificationListener(): Boolean { in startNotificationListener() 68 fun stopNotificationListener(): Boolean { in stopNotificationListener() 78 predicate: (StatusBarNotification) -> Boolean in waitForNotificationToAppear() 88 predicate: (StatusBarNotification) -> Boolean in waitForNotificationToDisappear() 89 ): Boolean { in waitForNotificationToDisappear() 95 private fun wait(condition: () -> Boolean): Boolean { in wait() 104 validator: (R) -> Boolean = { it != null } in waitForResult() 105 ): Pair<Boolean, R?> {
|
/cts/tests/mediapc/common/src/android/mediapc/cts/common/ |
D | CameraRequirement.java | 40 RequiredMeasurement<Boolean> requirement = RequiredMeasurement in create240FpsReq() 41 .<Boolean>builder() in create240FpsReq() 89 RequiredMeasurement<Boolean> rearCamera2NightRequirement = RequiredMeasurement in createCameraExtensionReq() 90 .<Boolean>builder() in createCameraExtensionReq() 96 RequiredMeasurement<Boolean> frontCamera2NightRequirement = RequiredMeasurement in createCameraExtensionReq() 97 .<Boolean>builder() in createCameraExtensionReq() 104 RequiredMeasurement<Boolean> rearCameraXNightRequirement = RequiredMeasurement in createCameraExtensionReq() 105 .<Boolean>builder() in createCameraExtensionReq() 111 RequiredMeasurement<Boolean> frontCameraXNightRequirement = RequiredMeasurement in createCameraExtensionReq() 112 .<Boolean>builder() in createCameraExtensionReq() [all …]
|
D | EglRequirement.java | 32 RequiredMeasurement<Boolean> protected_content = in createR7_1_4_1__H_1_2() 33 RequiredMeasurement.<Boolean>builder().setId( in createR7_1_4_1__H_1_2() 38 RequiredMeasurement<Boolean> img_context_priority = in createR7_1_4_1__H_1_2() 39 RequiredMeasurement.<Boolean>builder().setId( in createR7_1_4_1__H_1_2()
|
/cts/libs/input/src/com/android/cts/input/ |
D | InputEventMatchers.kt | 36 override fun matchesSafely(event: MotionEvent): Boolean { in withCoords() 47 override fun matchesSafely(event: MotionEvent): Boolean { in withPointerCount() 60 override fun matchesSafely(event: MotionEvent): Boolean { in withCoords() 71 override fun matchesSafely(event: MotionEvent): Boolean { in withRawCoords() 86 override fun matchesSafely(event: MotionEvent): Boolean { in withMotionAction() 104 override fun matchesSafely(event: MotionEvent): Boolean { in withMotionAction() 123 override fun matchesSafely(event: MotionEvent): Boolean { in withSource() 133 override fun matchesSafely(event: MotionEvent): Boolean { in withDeviceId() 143 override fun matchesSafely(event: MotionEvent): Boolean { in withEventTime() 153 override fun matchesSafely(event: MotionEvent): Boolean { in withFlags() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontTestUtil.java | 91 private static final List<Pair<Integer, Boolean>> sStyleList; 92 private static final Map<Pair<Integer, Boolean>, String> sFontMap; 93 private static final Map<Pair<Integer, Boolean>, Integer> sTtcMap; 94 private static final Map<Pair<Integer, Boolean>, String> sVariationSettingsMap; 95 private static final Map<Pair<Integer, Boolean>, Integer> sResourceMap; 182 ArrayList<Pair<Integer, Boolean>> styles = new ArrayList<>(); 203 HashMap<Pair<Integer, Boolean>, String> map = new HashMap<>(); 204 HashMap<Pair<Integer, Boolean>, Integer> ttcMap = new HashMap<>(); 205 HashMap<Pair<Integer, Boolean>, String> variationMap = new HashMap<>(); 206 HashMap<Pair<Integer, Boolean>, Integer> resourceMap = new HashMap<>(); [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ResultObjects/ |
D | ResultObject.java | 27 private HashMap<BaseResultsDialog.ResultType, Boolean> mResults; 34 public ResultObject(HashMap<BaseResultsDialog.ResultType, Boolean> results) { in ResultObject() 42 for (Boolean result : mResults.values()) { in hasPassed() 53 public HashMap<AccuracyResultDialog.ResultType, Boolean> getResults() { in getResults()
|
/cts/tests/input/src/android/input/cts/ |
D | CaptureEventActivity.kt | 48 override fun dispatchGenericMotionEvent(ev: MotionEvent?): Boolean { in dispatchGenericMotionEvent() 53 override fun dispatchTouchEvent(ev: MotionEvent?): Boolean { in dispatchTouchEvent() 58 override fun dispatchKeyEvent(event: KeyEvent?): Boolean { in dispatchKeyEvent() 63 override fun dispatchTrackballEvent(ev: MotionEvent?): Boolean { in dispatchTrackballEvent() 72 fun hasReceivedEvents(): Boolean { in hasReceivedEvents()
|
/cts/tests/core/runner-axt/src/com/android/cts/runner/ |
D | CtsLibcoreTestRunListener.java | 131 Boolean getDateFormatIs24Hour(); in getDateFormatIs24Hour() 132 void setDateFormatIs24Hour(Boolean value); in setDateFormatIs24Hour() 149 public Boolean getDateFormatIs24Hour() { in getDateFormatIs24Hour() 151 return (Boolean) mDateFormatIs24HourField.get(null); in getDateFormatIs24Hour() 158 public void setDateFormatIs24Hour(Boolean value) { in setDateFormatIs24Hour() 174 public Boolean getDateFormatIs24Hour() { in getDateFormatIs24Hour() 179 public void setDateFormatIs24Hour(Boolean value) { in setDateFormatIs24Hour() 204 private final Boolean mDefaultIs24Hour; 219 Boolean.toString(pm.hasSystemFeature(PackageManager.FEATURE_WIFI))); in TestEnvironment() 227 Boolean.toString(activityManager.isLowRamDevice())); in TestEnvironment()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | ServiceWorkerClientTest.java | 194 Callable<Boolean> registrationSuccess = new Callable<Boolean>() { in testServiceWorkerClientInterceptCallback() 196 public Boolean call() { in testServiceWorkerClientInterceptCallback() 203 Callable<Boolean> receivedRequest = new Callable<Boolean>() { in testServiceWorkerClientInterceptCallback() 205 public Boolean call() { in testServiceWorkerClientInterceptCallback() 219 Callable<Boolean> unregisterSuccess = new Callable<Boolean>() { in testServiceWorkerClientInterceptCallback() 221 public Boolean call() { in testServiceWorkerClientInterceptCallback() 242 Callable<Boolean> registrationFailure = in testSetNullServiceWorkerClient()
|
D | GeolocationTest.java | 349 Callable<Boolean> receivedRequest = new Callable<Boolean>() { in testSimpleGeolocationRequestAcceptOnce() 351 public Boolean call() { in testSimpleGeolocationRequestAcceptOnce() 356 Callable<Boolean> receivedLocation = new Callable<Boolean>() { in testSimpleGeolocationRequestAcceptOnce() 358 public Boolean call() { in testSimpleGeolocationRequestAcceptOnce() 411 android.webkit.ValueCallback<Boolean> { 427 public void onReceiveValue(Boolean value) { in onReceiveValue() 441 Callable<Boolean> receivedRequest = new Callable<Boolean>() { in testSimpleGeolocationRequestAcceptAlways() 443 public Boolean call() { in testSimpleGeolocationRequestAcceptAlways() 448 Callable<Boolean> receivedLocation = new Callable<Boolean>() { in testSimpleGeolocationRequestAcceptAlways() 450 public Boolean call() { in testSimpleGeolocationRequestAcceptAlways() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | IntentServiceTest.java | 64 new Callable<Boolean>() { in testIntents() 66 public Boolean call() throws Exception { in testIntents() 71 PollingCheck.check("accumulator not correct", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents() 73 public Boolean call() throws Exception { in testIntents() 78 PollingCheck.check("onDestroyCalled not called", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents() 80 public Boolean call() throws Exception { in testIntents()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | TelecomCtsVoipCall.java | 61 public void onSetActive(@NonNull Consumer<Boolean> wasCompleted) { 63 wasCompleted.accept(Boolean.TRUE); 67 public void onSetInactive(@NonNull Consumer<Boolean> wasCompleted) { 69 wasCompleted.accept(Boolean.TRUE); 73 public void onAnswer(int videoState, @NonNull Consumer<Boolean> wasCompleted) { 75 wasCompleted.accept(Boolean.TRUE); 79 public void onDisconnect(DisconnectCause disconnectCause, Consumer<Boolean> wasCompleted) { 82 wasCompleted.accept(Boolean.TRUE); 86 public void onCallStreamingStarted(@NonNull Consumer<Boolean> wasCompleted) {
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/utils/ |
D | PolicyEngineUtils.java | 44 public static final List<Boolean> TRUE_MORE_RESTRICTIVE = List.of(true, false); 46 public static final List<Boolean> FALSE_MORE_RESTRICTIVE = List.of(false, true); 51 public static PolicyState<Boolean> getBooleanPolicyState(PolicyKey policyKey, UserHandle user) { in getBooleanPolicyState() 58 return (PolicyState<Boolean>) state.getPoliciesForUser(user).get(policyKey); in getBooleanPolicyState() 60 return (PolicyState<Boolean>) state.getPoliciesForUser(UserHandle.ALL) in getBooleanPolicyState() 121 public static MostRestrictive<Boolean> getMostRestrictiveBooleanMechanism( in getMostRestrictiveBooleanMechanism() 122 PolicyState<Boolean> policyState) { in getMostRestrictiveBooleanMechanism() 124 return (MostRestrictive<Boolean>) policyState.getResolutionMechanism(); in getMostRestrictiveBooleanMechanism()
|
/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/steps/enterprise/launcher/ |
D | HasPersonalSafetyAppLaunchedStepAutomation.java | 30 public final class HasPersonalSafetyAppLaunchedStepAutomation implements Automation<Boolean> { 33 public Boolean automate() throws Exception { in automate() 34 Boolean hasPersonalSafetyAppLaunched = TestApis.ui().device().findObject( in automate()
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | RuntimePermissionsAppOpTrackingTest.kt | 740 accessorForeground: Boolean, in <lambda>() 741 receiverForeground: Boolean, in <lambda>() 742 accessorTrusted: Boolean, in <lambda>() 745 checkAccessor: Boolean, in <lambda>() 746 fromDatasource: Boolean in <lambda>() 760 accessorForeground: Boolean, in <lambda>() 761 receiverForeground: Boolean, in <lambda>() 762 accessorTrusted: Boolean, in <lambda>() 765 checkAccessor: Boolean, in <lambda>() 766 fromDatasource: Boolean in <lambda>() [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | AudioRestrictionTest.java | 40 private final Callable<Boolean> mCheckIfMasterVolumeMuted = new Callable<Boolean>() { 42 public Boolean call() throws Exception { 160 waitUntil(true, new Callable<Boolean>() { in testDisallowUnmuteMicrophone() 162 public Boolean call() throws Exception { in testDisallowUnmuteMicrophone() 173 waitUntil(false, new Callable<Boolean>() { in testDisallowUnmuteMicrophone() 175 public Boolean call() throws Exception { in testDisallowUnmuteMicrophone()
|
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/ |
D | UiAutomationTestBase.kt | 79 var bluetoothWasEnabled: Boolean = false in <lambda>() 123 singleDevice: Boolean = false, in <lambda>() 124 selfManaged: Boolean = false, in <lambda>() 136 singleDevice: Boolean = false, in <lambda>() 137 selfManaged: Boolean = false, in <lambda>() 145 singleDevice: Boolean, in <lambda>() 146 selfManaged: Boolean, in <lambda>() 147 userRejected: Boolean, in <lambda>() 194 protected fun test_timeout(singleDevice: Boolean = false) { in <lambda>() 227 singleDevice: Boolean, in <lambda>() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockingBroadcastReceiver.java | 72 private final Function<Intent, Boolean> mChecker; 83 Function<Intent, Boolean> checker) { in create() 88 Function<Intent, Boolean> checker) { in create() 98 Function<Intent, Boolean> checker) { in create() 118 Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver() 123 Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver() 132 Context context, Set<IntentFilter> intentFilters, Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BlockingBroadcastReceiver.java | 77 private final Function<Intent, Boolean> mChecker; 88 Function<Intent, Boolean> checker) { in create() 93 Function<Intent, Boolean> checker) { in create() 103 Function<Intent, Boolean> checker) { in create() 123 Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver() 128 Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver() 137 Context context, Set<IntentFilter> intentFilters, Function<Intent, Boolean> checker) { in BlockingBroadcastReceiver()
|
D | BitmapUtils.java | 40 private static Boolean compareBasicBitmapsInfo(Bitmap bmp1, Bitmap bmp2) { in compareBasicBitmapsInfo() 42 return Boolean.TRUE; in compareBasicBitmapsInfo() 47 return Boolean.FALSE; in compareBasicBitmapsInfo() 52 return Boolean.FALSE; in compareBasicBitmapsInfo() 59 return Boolean.FALSE; in compareBasicBitmapsInfo() 66 return Boolean.FALSE; in compareBasicBitmapsInfo() 76 final Boolean basicComparison = compareBasicBitmapsInfo(bmp1, bmp2); in compareBitmaps() 97 final Boolean basicComparison = compareBasicBitmapsInfo(bmp1, bmp2); in compareBitmaps() 172 final Boolean basicComparison = compareBasicBitmapsInfo(expected, actual); in compareBitmapsMse()
|
/cts/tests/tests/sensorprivacy/src/android/sensorprivacy/cts/ |
D | SensorPrivacyBaseTest.kt | 108 var oldState: Boolean = false in <lambda>() 183 fun testDialog(delayedActivity: Boolean = false, delayedActivityNewTask: Boolean = false) { in <lambda>() 212 OnSensorPrivacyChangedListener { _, enabled: Boolean -> in <lambda>() 227 listener = OnSensorPrivacyChangedListener { _, enabled: Boolean -> in <lambda>() 257 override fun onSensorPrivacyChanged(sensor: Int, enabled: Boolean) { in <lambda>() 279 override fun onSensorPrivacyChanged(sensor: Int, enabled: Boolean) { in <lambda>() 304 override fun onSensorPrivacyChanged(sensor: Int, enabled: Boolean) { in <lambda>() 324 override fun onSensorPrivacyChanged(sensor: Int, enabled: Boolean) { in <lambda>() 542 private fun startTestApp(retryCameraOnError: Boolean) { in <lambda>() 557 private fun startTestOverlayApp(retryCameraOnError: Boolean) { in <lambda>() [all …]
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | LoaderTest.java | 198 private final LoaderManager.LoaderCallbacks<Boolean> mLoaderCallbacks = 199 new LoaderManager.LoaderCallbacks<Boolean>() { 201 public Loader<Boolean> onCreateLoader(int id, Bundle args) { 206 public void onLoadFinished(Loader<Boolean> loader, Boolean data) { 211 public void onLoaderReset(Loader<Boolean> loader) { 224 static class DummyLoader extends Loader<Boolean> {
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | ServiceRunnerActivity.java | 38 private Boolean mSuccess; 40 public synchronized Boolean getSuccess() { in getSuccess() 57 mActivity.mSuccess = Boolean.TRUE; in handleMessage() 64 mActivity.mSuccess = Boolean.FALSE; in handleMessage()
|