/packages/apps/Nfc/nci/jni/ |
D | PeerToPeer.cpp | 194 static const char fn[] = "PeerToPeer::registerServer"; in registerServer() local 196 << StringPrintf("%s: enter; service name: %s JNI handle: %u", fn, in registerServer() 204 "%s: service name=%s already registered, handle: 0x%04x", fn, in registerServer() 218 "%s: added new p2p server index: %d handle: %u name: %s", fn, ii, in registerServer() 226 LOG(ERROR) << StringPrintf("%s: service name=%s no free entry", fn, in registerServer() 233 "%s: got new p2p server h=0x%X", fn, pSrv->mNfaP2pServerHandle); in registerServer() 236 LOG(ERROR) << StringPrintf("%s: invalid server handle", fn); in registerServer() 253 static const char fn[] = "PeerToPeer::removeServer"; in removeServer() local 261 fn, jniHandle, mServers[i]->mNfaP2pServerHandle, in removeServer() 268 LOG(ERROR) << StringPrintf("%s: unknown server jni handle: %u", fn, in removeServer() [all …]
|
D | RoutingManager.cpp | 68 static const char fn[] = "RoutingManager::RoutingManager()"; in RoutingManager() local 83 "%s: Active SE for Nfc-F is 0x%02X", fn, mDefaultFelicaRoute); in RoutingManager() 87 << StringPrintf("%s: default route is 0x%02X", fn, mDefaultEe); in RoutingManager() 135 static const char fn[] = "RoutingManager::initialize()"; in initialize() local 141 DLOG_IF(INFO, nfc_debug_enabled) << fn << ": try ee register"; in initialize() 144 LOG(ERROR) << StringPrintf("%s: fail ee register; error=0x%X", fn, in initialize() 155 LOG(INFO) << fn << "Waiting for EE info"; in initialize() 171 LOG(ERROR) << fn << "Failed to register wildcard AID for DH"; in initialize() 185 static const char fn[] = "RoutingManager::enableRoutingToHost()"; in enableRoutingToHost() local 196 LOG(ERROR) << fn << "Fail to set default proto routing for T3T"; in enableRoutingToHost() [all …]
|
D | NfcTag.cpp | 153 static const char fn[] = "NfcTag::setDeactivationState"; in setDeactivationState() local 158 << StringPrintf("%s: state=%u", fn, mActivationState); in setDeactivationState() 171 static const char fn[] = "NfcTag::setActivationState"; in setActivationState() local 175 << StringPrintf("%s: state=%u", fn, mActivationState); in setActivationState() 237 static const char fn[] = "NfcTag::IsSameKovio"; in IsSameKovio() local 238 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", fn); in IsSameKovio() 271 << StringPrintf("%s: exit, is same Kovio=%d", fn, rVal); in IsSameKovio() 288 static const char fn[] = "NfcTag::discoverTechnologies (activation)"; in discoverTechnologies() local 289 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", fn); in discoverTechnologies() 295 LOG(ERROR) << StringPrintf("%s: exceed max=%d", fn, MAX_NUM_TECHNOLOGY); in discoverTechnologies() [all …]
|
D | PowerSwitch.cpp | 91 static const char fn[] = "PowerSwitch::initialize"; in initialize() local 96 "%s: level=%s (%u)", fn, powerLevelToString(level), level); in initialize() 101 "%s: desired screen-off state=%d", fn, mDesiredScreenOffPowerState); in initialize() 115 LOG(ERROR) << StringPrintf("%s: not handled", fn); in initialize() 149 static const char fn[] = "PowerSwitch::setLevel"; in setLevel() local 155 "%s: level=%s (%u)", fn, powerLevelToString(newLevel), newLevel); in setLevel() 162 LOG(ERROR) << StringPrintf("%s: unknown power level", fn); in setLevel() 172 << StringPrintf("%s: wait for deactivation", fn); in setLevel() 197 LOG(ERROR) << StringPrintf("%s: not handled", fn); in setLevel() 202 "%s: actual power level=%s", fn, powerLevelToString(mCurrLevel)); in setLevel() [all …]
|
D | RouteDataSet.cpp | 160 static const char fn[] = "RouteDataSet::import"; in import() local 161 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", fn); in import() 172 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: fail parse", fn); in import() 178 LOG(ERROR) << StringPrintf("%s: fail root element", fn); in import() 182 << StringPrintf("%s: root=%s", fn, node1->name); in import() 192 << StringPrintf("%s: found SecElemSelectedRoutes", fn); in import() 206 << StringPrintf("%s: found DefaultRoutes", fn); in import() 227 << StringPrintf("%s: exit; return=%u", fn, retval); in import() 242 static const char fn[] = "RouteDataSet::saveToFile"; in saveToFile() local 252 LOG(ERROR) << StringPrintf("%s: fail to open file", fn); in saveToFile() [all …]
|
D | NfcStatsUtil.cpp | 43 static const char fn[] = "NfcStatsUtil::logNfcTagType"; in logNfcTagType() local 45 << StringPrintf("%s: protocol %d, mode %d", fn, protocol, discoveryMode); in logNfcTagType() 87 static const char fn[] = "NfcStatsUtil::writeNfcStatsTagTypeOccurred"; in writeNfcStatsTagTypeOccurred() local 88 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: %d", fn, tagType); in writeNfcStatsTagTypeOccurred()
|
/packages/apps/Camera2/src/com/android/camera/async/ |
D | Futures2.java | 90 final AsyncFunction2<T1, T2, TResult> fn) { 106 return fn.apply(value1, value2); 120 final Function2<T1, T2, TResult> fn) { 121 return joinAll(f1, f2, new ImmediateAsyncFunction2<>(fn)); 134 final AsyncFunction3<T1, T2, T3, TResult> fn) { 152 return fn.apply(value1, value2, value3); 167 final Function3<T1, T2, T3, TResult> fn) { 168 return joinAll(f1, f2, f3, new ImmediateAsyncFunction3<>(fn)); 179 public ImmediateAsyncFunction2(Function2<T1, T2, TResult> fn) { 180 mFn = fn; [all …]
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | behavior.py | 61 def set_default(self, fn): argument 62 assertThat(fn).isNotNone() 63 self._default_fn = fn 126 def _commit(self, fn): argument 127 self._behavior.append(BehaviorInstance(self._matcher, self._persistence, fn)) 132 def __init__(self, matcher, persistence, fn): argument 135 self._fn = fn
|
/packages/modules/Bluetooth/system/test/common/ |
D | mock_functions.cc | 28 int get_func_call_count(const char* fn) { in get_func_call_count() argument 29 return _get_func_call_count_map()[fn]; in get_func_call_count() 31 void inc_func_call_count(const char* fn) { _get_func_call_count_map()[fn]++; } in inc_func_call_count() argument
|
D | mock_functions.h | 24 int get_func_call_count(const char* fn); 25 void inc_func_call_count(const char* fn);
|
/packages/modules/adb/fdevent/ |
D | fdevent.cpp | 170 std::function<void()> fn; in FlushRunQueue() local 176 fn = std::move(this->run_queue_.front()); in FlushRunQueue() 179 fn(); in FlushRunQueue() 189 void fdevent_context::Run(std::function<void()> fn) { in Run() argument 192 run_queue_.push_back(std::move(fn)); in Run() 254 void fdevent_run_on_looper(std::function<void()> fn) { in fdevent_run_on_looper() argument 255 fdevent_get_ambient()->Run(std::move(fn)); in fdevent_run_on_looper()
|
D | fdevent.h | 116 void Run(std::function<void()> fn); 158 void fdevent_run_on_looper(std::function<void()> fn);
|
/packages/services/Car/car-lib/src/android/car/util/concurrent/ |
D | AndroidFuture.java | 310 @NonNull Function<? super T, ? extends CompletionStage<U>> fn) { in thenCompose() argument 311 return thenComposeAsync(fn, DIRECT_EXECUTOR); in thenCompose() 317 @NonNull Function<? super T, ? extends CompletionStage<U>> fn, in thenComposeAsync() argument 319 return new ThenComposeAsync<>(this, fn, executor); in thenComposeAsync() 329 @NonNull Function<? super T, ? extends CompletionStage<U>> fn, in ThenComposeAsync() argument 331 mFn = Preconditions.checkNotNull(fn); in ThenComposeAsync() 373 public <U> AndroidFuture<U> thenApply(@NonNull Function<? super T, ? extends U> fn) { in thenApply() argument 374 return thenApplyAsync(fn, DIRECT_EXECUTOR); in thenApply() 379 public <U> AndroidFuture<U> thenApplyAsync(@NonNull Function<? super T, ? extends U> fn, in thenApplyAsync() argument 381 return new ThenApplyAsync<>(this, fn, executor); in thenApplyAsync() [all …]
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/ |
D | InitialConfiguration.java | 220 public static <T> boolean any(Iterable<T> coll, Predicate<T> fn) { in any() argument 222 if (fn.test(t)) { in any() 232 public static <T> boolean all(Iterable<T> coll, Predicate<T> fn) { in all() argument 233 return !any(coll, not(fn)); in all() 239 public static <T> Predicate<T> not(Predicate<T> fn) { in not() argument 240 return (t) -> !fn.test(t); in not()
|
/packages/apps/Camera2/src/com/android/camera/ui/motion/ |
D | UnitBezier.java | 75 private float solve(float target, DerivableFloatFn fn) { in solve() argument 81 float value = fn.value(input) - target; in solve() 85 float derivative = fn.derivative(input); in solve() 105 float value = fn.value(input); in solve()
|
/packages/modules/NeuralNetworks/common/types/src/ |
D | DynamicCLDeps.cpp | 29 void* fn = dlsym(handle, name); in loadFunction() local 30 CHECK(fn != nullptr) << "Unable to open function " << name << ": " << dlerror(); in loadFunction() 31 return fn; in loadFunction()
|
/packages/apps/Launcher3/tools/ |
D | print_db.py | 43 def pull_file(fn): argument 44 print "pull_file: " + fn 47 + " " + fn); 151 def process_file(fn): argument 153 print "process_file: " + fn 154 conn = sqlite3.connect(fn)
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestServerFlag.cpp | 133 GetServerConfigurableFlagFunc fn = makeFuncWithReturn(trueString); in TEST() local 134 EXPECT_EQ(getServerTelemetryEnableFlag(fn), true); in TEST() 139 GetServerConfigurableFlagFunc fn = makeFuncWithReturn(falseString); in TEST() local 140 EXPECT_EQ(getServerTelemetryEnableFlag(fn), false); in TEST()
|
D | TestStatsdTelemetry.cpp | 231 constexpr auto fn = [](Atom&& /*atom*/) {}; in TEST() local 233 { AsyncLogger logger(fn, kLongTime); } in TEST() 240 auto fn = [&loggingOccurred](Atom&& /*atom*/) mutable { loggingOccurred.signal(); }; in TEST() local 244 AsyncLogger logger(fn, kLongTime); in TEST() 256 const auto fn = [&count, &loggingOccurred](Atom&& /*atom*/) { in TEST() local 262 AsyncLogger logger(fn, kLongTime); in TEST() 283 const auto fn = [&count, &allDataSent](Atom&& /*atom*/) { in TEST() local 291 AsyncLogger logger(fn, std::chrono::nanoseconds(0)); in TEST()
|
/packages/modules/Bluetooth/system/common/ |
D | utils.h | 21 #define RUN_NO_INTR(fn) \ argument 23 } while ((fn) == -1 && errno == EINTR)
|
/packages/modules/Bluetooth/system/gd/os/ |
D | utils.h | 22 #define RUN_NO_INTR(fn) \ argument 24 } while ((fn) == -1 && errno == EINTR)
|
/packages/modules/Bluetooth/system/osi/include/ |
D | osi.h | 56 #define OSI_NO_INTR(fn) \ argument 58 } while ((fn) == -1 && errno == EINTR)
|
/packages/modules/Bluetooth/tools/rootcanal/net/posix/ |
D | posix_async_socket.h | 90 #define REPEAT_UNTIL_NO_INTR(fn) \ argument 92 } while ((fn) == -1 && errno == EINTR)
|
/packages/modules/Bluetooth/system/gd/hal/ |
D | mgmt.cc | 37 #define RETRY_ON_INTR(fn) \ argument 39 } while ((fn) == -1 && errno == EINTR)
|
/packages/modules/adb/ |
D | adb_utils.h | 82 void PopAll(Fn fn) { in PopAll() argument 93 fn(t); in PopAll()
|