Searched defs:result (Results 201 - 225 of 938) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/accounts/
H A DGrantCredentialsPermissionActivity.java163 Intent result = new Intent();
164 result.putExtra("retry", true);
165 setResult(RESULT_OK, result);
166 setAccountAuthenticatorResult(result.getExtras());
177 public final void setAccountAuthenticatorResult(Bundle result) { argument
178 mResultBundle = result;
182 * Sends the result or a {@link AccountManager#ERROR_CODE_CANCELED} error if a
183 * result isn't present.
189 // send the result bundle back if set, otherwise send an error.
/frameworks/base/core/java/android/companion/
H A DBluetoothDeviceFilterUtils.java53 boolean result = matchesAddress(filter.getDeviceAddress(), device)
55 if (DEBUG) debugLogMatchResult(result, device, filter);
56 return result;
60 final boolean result = deviceAddress == null
62 if (DEBUG) debugLogMatchResult(result, device, deviceAddress);
63 return result;
80 final boolean result = serviceUuid == null ||
85 if (DEBUG) debugLogMatchResult(result, device, serviceUuid);
86 return result;
90 boolean result;
117 debugLogMatchResult( boolean result, BluetoothDevice device, Object criteria) argument
122 debugLogMatchResult( boolean result, ScanResult device, Object criteria) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyFaceDetectMapper.java194 * Update the {@code result} camera metadata map with the new value for the
202 * in the capture result.</p>
204 * @param result a non-{@code null} result
207 public void mapResultFaces(CameraMetadataNative result, LegacyRequest legacyRequest) { argument
208 checkNotNull(result, "result must not be null");
255 result.set(CaptureResult.STATISTICS_FACES, convertedFaces.toArray(new Face[0]));
256 result.set(CaptureResult.STATISTICS_FACE_DETECT_MODE, fdMode);
260 result
[all...]
H A DLegacyFocusStateMapper.java275 * Update the {@code result} camera metadata map with the new value for the
281 * @param result a non-{@code null} result
283 public void mapResultTriggers(CameraMetadataNative result) { argument
284 checkNotNull(result, "result must not be null");
296 result.set(CaptureResult.CONTROL_AF_STATE, newAfState);
/frameworks/base/core/java/android/net/
H A DNetworkKey.java70 public static NetworkKey createFromScanResult(@Nullable ScanResult result) { argument
71 if (result != null && result.wifiSsid != null) {
72 final String ssid = result.wifiSsid.toString();
73 final String bssid = result.BSSID;
/frameworks/base/core/java/android/os/
H A DRegistrantList.java74 internalNotifyRegistrants (Object result, Throwable exception) argument
78 r.internalNotifyRegistrant(result, exception);
95 notifyResult(Object result) argument
97 internalNotifyRegistrants (result, null);
104 internalNotifyRegistrants(ar.result, ar.exception);
/frameworks/base/core/java/android/service/resolver/
H A DResolverRankerService.java137 private static void sendResult(List<ResolverTarget> targets, IResolverRankerResult result) { argument
139 result.sendResult(targets);
148 public void predict(final List<ResolverTarget> targets, final IResolverRankerResult result) argument
158 sendResult(targets, result);
161 sendResult(null, result);
/frameworks/base/core/jni/android/graphics/
H A DDrawFilter.cpp59 const bool result = (flags & sFilterBitmapFlag) != 0; local
61 return result;
109 int result = RegisterMethodsOrDie(env, "android/graphics/DrawFilter", drawfilter_methods, local
111 result |= RegisterMethodsOrDie(env, "android/graphics/PaintFlagsDrawFilter", paintflags_methods,
H A DInterpolator.cpp53 SkInterpolatorBase::Result result; local
56 result = interp->timeToValues(msec, (SkScalar*)values);
66 return static_cast<jint>(result);
/frameworks/base/libs/androidfw/
H A DApkAssets.cpp46 int32_t result = ::OpenArchive(path.c_str(), &unmanaged_handle); local
47 if (result != 0) {
48 LOG(ERROR) << ::ErrorCodeString(result);
58 result = ::FindEntry(loaded_apk->zip_handle_.get(), entry_name, &entry);
59 if (result != 0) {
60 LOG(ERROR) << ::ErrorCodeString(result);
92 int32_t result = ::FindEntry(zip_handle_.get(), name, &entry); local
93 if (result != 0) {
152 int32_t result; local
153 while ((result
[all...]
H A DDisplayEventDispatcher.cpp43 status_t result = mReceiver.initCheck(); local
44 if (result) {
45 ALOGW("Failed to initialize display event receiver, status=%d", result);
46 return result;
H A DStreamingZipInflater.cpp178 int result = Z_OK; local
181 result = inflateInit2(&mInflateState, -MAX_WBITS);
184 if (result == Z_OK) result = ::inflate(&mInflateState, Z_SYNC_FLUSH);
185 if (result < 0) {
187 ALOGE("Error inflating asset: %d", result);
192 if (result == Z_STREAM_END) {
/frameworks/base/libs/androidfw/include/androidfw/
H A DUtil.h72 pointer result = ptr_; local
74 return result;
/frameworks/base/libs/hwui/tests/unit/
H A DSkiaBehaviorTests.cpp95 SkPath p0, p1, result; local
98 Op(p0, p1, kIntersect_SkPathOp, &result);
100 ASSERT_TRUE(result.isRect(&resultRect));
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGraphRunner.java32 * @param result will be RESULT_FINISHED if the graph finished running
38 public void onRunnerDone(int result); argument
/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.cpp92 const jint result = vm->GetEnv(reinterpret_cast<void**>(&env),
94 return result == JNI_OK ? env : NULL;
105 std::string result(c_value);
108 return result;
128 jobject result = JNI_NULL; local
130 return result;
134 Value result = MakeNullValue(); local
138 result = MakeIntValue(env->CallBooleanMethod(object, method) == JNI_TRUE ? 1 : 0);
141 result = MakeIntValue(env->CallIntMethod(object, method));
144 result
163 jobject result = JNI_NULL; local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_program.cpp137 char result[buffer_size]; local
138 result[buffer_size - 1] = '\0';
139 getvalue_function_(key.c_str(), result, buffer_size, user_data_);
140 return std::string(result);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DDevicePowerStatusAction.java105 private void invokeCallback(int result) { argument
108 callback.onComplete(result);
H A DOneTouchPlayAction.java135 private void invokeCallback(int result) { argument
138 callback.onComplete(result);
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssStatusListenerHelper.java41 protected ListenerOperation<IGnssStatusListener> getHandlerOperation(int result) { argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerServiceUtils.java84 // package will be removed from {@code packages} and added to {@code result} with its
88 Collection<PackageParser.Package> result,
102 result.add(pkg);
107 deps.removeAll(result);
108 result.addAll(deps);
122 LinkedList<PackageParser.Package> result = new LinkedList<>();
126 applyPackageFilter((pkg) -> pkg.coreApp, result, remainingPkgs, sortTemp,
132 applyPackageFilter((pkg) -> pkgNames.contains(pkg.packageName), result, remainingPkgs,
137 packageManagerService.getDexManager().isUsedByOtherApps(pkg.packageName), result,
170 applyPackageFilter(remainingPredicate, result, remainingPkg
87 applyPackageFilter(Predicate<PackageParser.Package> filter, Collection<PackageParser.Package> result, Collection<PackageParser.Package> packages, @NonNull List<PackageParser.Package> sortTemp, PackageManagerService packageManagerService) argument
[all...]
/frameworks/base/services/core/java/com/android/server/storage/
H A DFileCollector.java152 * Returns the file categorization measurement result.
161 * Returns the file categorization result for the primary internal storage UUID.
166 MeasurementResult result = new MeasurementResult();
175 result.imagesSize = stats.getImageBytes();
176 result.videosSize = stats.getVideoBytes();
177 result.audioSize = stats.getAudioBytes();
178 result.miscSize =
180 - result.imagesSize
181 - result.videosSize
182 - result
223 collectFiles(File file, MeasurementResult result) argument
245 handleFile(MeasurementResult result, File f) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbDeviceManager.cpp104 int result = ioctl(fd, ACCESSORY_IS_START_REQUESTED); local
106 return (result == 1);
116 int result = ioctl(fd, ACCESSORY_GET_AUDIO_MODE); local
118 return result;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dstats_scorer.cpp37 jfloat result[2]; local
38 result[0] = sum / numPixels; // mean
39 result[1] = sqrt((sumSquares - numPixels * result[0] * result[0]) / (numPixels - 1)); // stdev.
40 env->SetFloatArrayRegion(statsArray, 0, 2, result);
64 jfloat result[2]; local
65 result[0] = sum / numPixels; // mean
66 result[1] = (numPixels == 1) ?
67 0 : sqrt((sumSquares - numPixels * result[
[all...]
/frameworks/base/tests/net/java/com/android/server/connectivity/
H A DNetdEventListenerServiceTest.java288 void dnsEvent(int netId, int type, int result, int latency) throws Exception { argument
289 mNetdEventListenerService.onDnsEvent(netId, type, result, latency, "", null, 0, 0);

Completed in 1735 milliseconds

1234567891011>>